PukiWiki is a wiki software that is written in PHP language. It is free and open-source software that can be used for creating and managing wiki pages that are free and collaborative. This tutorial will guide you on how to install PukiWiki on POP! OS.
ctrl+alt+t
.$ sudo wget https://ja.osdn.net/frs/redir.php?m=ikiwiki&f=%2Fpukiwiki%2F68083%2Fpukiwiki-1.5.2_utf8.zip -O pukiwiki.zip
$ sudo unzip pukiwiki.zip
$ sudo mv pukiwiki /var/www/html/
$ sudo mysql -u root -p
mysql> CREATE DATABASE pukiwiki_db;
mysql> CREATE USER 'pukiwiki_user'@'localhost' IDENTIFIED BY 'password';
mysql> GRANT ALL PRIVILEGES ON pukiwiki_db . * TO 'pukiwiki_user'@'localhost';
mysql> FLUSH PRIVILEGES;
mysql> exit;
$ cd /var/www/html/pukiwiki/
$ sudo mv pukiwiki.ini.php.sample pukiwiki.ini.php
$ sudo nano pukiwiki.ini.php
Update the following fields in the PukiWiki config file:
$edit_auth
- set this to true
$edit_auth_pages
- update this to access the pages of your choice$mysql_auth
- set this to true
$mysql_server
- set this to 'localhost'
$mysql_user
- set this to the user you created for PukiWiki database$mysql_pass
- set this to the password you created for PukiWiki user$mysql_db
- set this to the name of the database you created for PukiWikiSave and close the PukiWiki config file by typing ctrl+x
, y
, and enter
.
$ sudo chown -R www-data:www-data /var/www/html/pukiwiki/
wiki
directory by running the following command:$ sudo chmod -R 775 /var/www/html/pukiwiki/wiki/
$ sudo systemctl restart apache2
http://localhost/pukiwiki/
to access PukiWiki. create page
button.Congratulations! You have successfully installed PukiWiki on your POP! OS system.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!