How to Install Known on Manjaro

Known is a powerful social publishing platform that allows users to easily publish and share content online. In this guide, we will walk you through the steps to install Known on Manjaro.

Prerequisites

Before we get started with the installation, make sure that your Manjaro system meets the following requirements:

Step 1: Download Known

The first step in the installation process is to download Known. You can do this by visiting the Known website at https://withknown.com/ and clicking on the "Download" button.

Step 2: Create a directory for Known

Create a directory for Known on your Manjaro system. You can choose any directory you like, but in this guide we'll use /var/www/known.

sudo mkdir /var/www/known

Step 3: Extract and Move Files to Known Directory

Extract the downloaded archive and move all the files to the directory you created in Step 2.

sudo tar -xvf known-vx.x.x.tar.gz -C /var/www
sudo mv /var/www/known-x.x.x/* /var/www/known

Step 4: Set Permissions

Now set the correct permissions for the Known directory.

sudo chown -R www-data:www-data /var/www/known
sudo chmod -R 755 /var/www/known

Step 5: Create a Database

Create a new database for Known.

mysql -u root -p
CREATE DATABASE known;

Step 6: Create a Database User

Create a new user for the database.

CREATE USER 'knownuser'@'localhost' IDENTIFIED BY 'your-new-password';
GRANT ALL PRIVILEGES ON known.* TO 'knownuser'@'localhost' IDENTIFIED BY 'your-new-password';
FLUSH PRIVILEGES;

Step 7: Configure Known

Copy the config.ini.dist file to config.ini.

cd /var/www/known
cp config.ini.dist config.ini

Edit config.ini and enter the database details you just created.

...
database = "mysqli://knownuser:your-new-password@localhost/known"
...

Step 8: Configure Apache

Create an Apache virtual host for Known.

sudo nano /etc/httpd/conf/httpd.conf

Add the following configuration to the end of the file.

<VirtualHost *:80>
ServerName yourdomain.com
ServerAlias www.yourdomain.com
DocumentRoot /var/www/known
<Directory /var/www/known>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
</VirtualHost>

Note: Replace yourdomain.com with your actual domain name.

Step 9: Restart Apache

Restart the Apache web server to apply the changes.

sudo systemctl restart httpd

Step 10: Access Known

Visit your domain name in your web browser to access your newly installed Known site.

For example: http://yourdomain.com

Conclusion

Congratulations! You have successfully installed Known on Manjaro. Now, you can start exploring this amazing social publishing platform and create your own content.

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!