WiKiss is a lightweight and easy-to-use wiki software that lets users create and edit wiki pages easily. It is written in PHP, and it uses a MySQL database to store the data. If you're looking to install WiKiss on your macOS computer, this tutorial will guide you through the process.
Before you begin, you'll need to have the following:
If you haven't installed Homebrew yet, you can follow the instructions on their website https://brew.sh/. After installing Homebrew, run the following commands in the terminal to install PHP and MySQL:
brew update
brew install php@7.4
brew install mysql
tar xvfz wikiss.tar.gz -C ~/wikiss/
mywiki
, you can rename the directory by running the following command:mv ~/wikiss ~/mywiki
mysql -u root
CREATE DATABASE mywiki;
Make sure to replace mywiki
with the name you've chosen for your wiki.
mywiki
database:CREATE USER 'wikiss'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON mywiki.* TO 'wikiss'@'localhost';
Make sure to replace password
with a password of your choice.
exit;
mywiki/config.php
file in a text editor:vim ~/mywiki/config.php
define('DB_TYPE', 'mysql');
define('DB_HOST', 'localhost');
define('DB_NAME', 'mywiki');
define('DB_USER', 'wikiss');
define('DB_PASS', 'password');
Replace the values with the settings you've created in the previous section.
config.php
file.sudo vim /etc/apache2/httpd.conf
<VirtualHost *:80>
ServerName mywiki.local
DocumentRoot /Users/YOUR_USERNAME/mywiki/
<Directory "/Users/YOUR_USERNAME/mywiki/">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Make sure to replace YOUR_USERNAME
with your actual username.
Save and close the httpd.conf
file.
Restart the Apache web server:
sudo apachectl restart
Open your web browser and navigate to http://mywiki.local/
.
You should now see the WiKiss installation page. Follow the on-screen instructions to complete the installation process.
After installation, log in to the wiki using the default username and password:
username: admin
password: admin
In this tutorial, you've learned how to install WiKiss on your macOS computer using Homebrew and configure it to work with Apache and MySQL. Now you can experiment and customize your new wiki to suit your needs.
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!