ssh -C -L 9999:localhost:80 edit your /etc/hosts to point the webserver's name to your localhost, then open a web browser to the config page. You could also use ssh to port forward your http traffic from your local machine to the remote server. Either set up a ssl server] (see OpenSSL) and connect with, or visit from the server itself (using elinks or lynx, two excellent text-based web browsers): elinks localhost/mediawiki Since you will be entering passwords, you shouldn't use an unsecured connection. This method regards starting your website from a remote location. Then restart apache: sudo /etc/init.d/apache2 restart It is possible that the above line might be needed in earlier versions of Ubuntu too, but again this hasn't been confirmed. Apparently in Ubuntu 14.04 and above you might have to further enable it by running sudo a2enconf mediawiki but this hasn't been verified yet.Optionally install add-ons: sudo apt-get install imagemagick mediawiki-math php5-gdĮnable MediaWiki by editing the following file and remove the '#' from the third line so that it reads 'Alias /mediawiki /var/lib/mediawiki': sudo nano /etc/mediawiki/nf Install the package: sudo apt-get install mediawiki (Each of the components (Apache2, MySQL5, and PHP) can also be installed individually, if you wish.) Make sure you record your MySQL root superuser name and superuser password that you will create at installation. The easiest method is to first install a full LAMP (Linux, Apache2, MySQL, PHP) server: sudo apt-get install tasksel See MediaWiki for more information.īeware: apt-get installs old versions of mediawiki, which is no longer supported by upstream. MediaWiki is the engine that is used for Wikipedia.
0 Comments
Leave a Reply. |