Skip to content

SYSCONF profile providing a Mediawiki HTTP service through NginX+PHP-FPM with Gitted import/export of the MySQL database

Notifications You must be signed in to change notification settings

geonef/sysconf.gitted.mediawiki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Sysconf profile

This is a SYSCONF profile. SYSCONF is a method and tool to manage custom system files for easy install, backup and sync.

This profile provides a MediaWiki service. MediaWiki is a free software open source wiki package written in PHP, originally for use on Wikipedia. It is now also used by several other projects of the non-profit Wikimedia Foundation and by many other wikis, including this website, the home of MediaWiki.

Services

# netstat -tlpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      8065/php-fpm.conf)
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      -               
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      8044/nginx      
  • The main service is NginX running on port 80.
  • You can also access the MySQL service on the port 3306.

Gitted import/export

This profile will import/export:

  • MySQL data in the mysql/ directory from/to the MySQL database mediawiki (see etc/gitted/sync/ for the responsible scripts)

  • SYSCONF files in the sysconf/ directory from/to container living /sysconf. This is provided by the sysconf.gitted profile.

Gitted integration

git subtree add -P sysconf/sysconf.gitted.mediawiki [email protected]:geonef/sysconf.gitted.mediawiki.git master
  • Integrate it in the dependency chain, for example:
echo sysconf.gitted.mediawiki >sysconf/actual/deps
  • Commit it, then make or update the container:
sysconf/gitted-client register
sysconf/gitted-client add mw
git push mw master
  • Enjoy your fresh Mediawiki at : http://10.0.3.x/ :)

Authors

Written by Jean-Francois Gigand [email protected]. Feel free to contact me!

About

SYSCONF profile providing a Mediawiki HTTP service through NginX+PHP-FPM with Gitted import/export of the MySQL database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published