![]() ![]() Then connect again with browser and enjoy your own mediawiki. $ scp LocalSettings.php ssh sudo cp LocalSettings.php /etc/mediawiki Also give the name for your wiki and create account as administrator.Īfter setup is done, you shall be able to download the LocalSettings.php from your browser. Just follow what they ask to select language, check environment, enter database name – it’s my_wiki in this example, enter database username – it’s mysqluser in this example, enter database password – it’s YourPassword in this example. MediaWiki is a powerful wiki engine that was originally developed to serve the needs of Wikipedia - the free encyclopedia. Its syntax is similar to the one used by MediaWiki. ![]() If you are going to use a hostname later, you need to connect to setup page with the hostname $ echo `uvt-kvm ip mywiki` mywiki | sudo tee -a /etc/hostsĬonnect to mediawiki setup page with browser and click “Please set up the wiki first”. It works on plain text files and thus does not need a database. Mysql> GRANT ALL ON my_wiki.* TO OK, 0 rows affected (0.01 sec)Ĭreate symlink to publish mediawiki with apache2 $ sudo ln -s /var/lib/mediawiki /var/www/html/mywiki Mysql> CREATE USER IDENTIFIED BY 'YourPassword' To create mysql user and database $ sudo mysql -u root -p # for mysql just installed, password is empty. Then install mediawiki from Ubuntu archive. $ sudo uvt-kvm create mywiki release=focal -memory 2048 -disk 1024 $ sudo uvt-simplestreams-libvirt sync release=focal arch=amd64 ![]() A quick and easy way is to create a KVM guest on any Ubuntu machines. Since mediawiki is in universe, they are not supported by Canonical and you need to handle security issues on your own if your plan is to have it publicly.įirst thing you need is to have a machine, no matter it is virtual or physical, installed with Ubuntu 20.04 LTS. All details you need to know is in mediawiki website. All you need to do is to install with apt-get and configure it. This is easy since mediawiki is in focal/universe. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |