How to Install Known on EndeavourOS Latest

Known is a self-hosted social blogging platform that allows you to create your own website, publish content, and interact with your audience. If you're looking to try it out, here is a step-by-step tutorial on how to install Known on EndeavourOS Latest.

Prerequisites

Before we begin, you will need to have EndeavourOS Latest installed on your system, and have a LAMP stack set up. If you haven't set up a LAMP stack yet, you can follow the tutorial here - https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mariadb-php-lamp-stack-on-ubuntu-20-04.

Step 1 - Download and extract Known

First, you need to download the latest version of Known from their website. Go to https://withknown.com/ and click on the "Download" button. You will be redirected to the GitHub page for the project. Choose the "Download ZIP" option to download the ZIP file.

Once the download completes, extract the ZIP file to the webroot of your Apache server. You can use the following command:

sudo unzip ~/Downloads/known-master.zip -d /var/www/html/

This command will extract the contents of the ZIP file to the /var/www/html/known-master/ directory.

Step 2 - Create a Database

Next, you need to create a database for Known to store its data. You can do this by accessing the MySQL shell using the following command:

sudo mysql -u root

Once you enter the MySQL shell, run the following commands to create a new database and a user for it:

CREATE DATABASE known;
CREATE USER knownuser IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON known.* TO knownuser;

Make sure to replace 'password' with a strong password.

Once you have created the database and user, exit the MySQL shell using the following command:

exit

Step 3 - Configure Known

Now that you have extracted Known to the webroot of your Apache server and created a database for it, you need to configure it.

First, rename the config.ini.default file to config.ini using the following command:

sudo mv /var/www/html/known-master/config.ini.default /var/www/html/known-master/config.ini

Next, open the config.ini file using a text editor:

sudo nano /var/www/html/known-master/config.ini

Find the following lines and replace them with your database details:

$dbtype = 'mysql';
$dbhost = 'localhost';
$dbname = 'known';
$dbuser = 'knownuser';
$dbpass = 'password';

Make sure to replace 'password' with the password you set earlier.

Once you have made these changes, save and close the file.

Step 4 - Install Known

You're now ready to install Known. Open your web browser and navigate to http://your-server-ip/known-master/. You should see the Known installation page.

Follow the on-screen instructions to complete the installation. You will need to provide some basic information, such as your site's name, your email address, and your preferred username and password for the administrator account.

Once the installation is complete, you should see the Known homepage.

Step 5 - Set up SSL

By default, Known does not come with SSL enabled. However, it's strongly recommended that you enable SSL to secure your website.

To enable SSL, you will need to obtain an SSL certificate from a trusted Certificate Authority (CA) such as Let's Encrypt. You can follow this tutorial - https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-20-04 - to obtain and install a free SSL certificate using Let's Encrypt.

Conclusion

Congratulations! You have successfully installed Known on EndeavourOS Latest. You can now create content and interact with your audience on your very own self-hosted social blogging platform.

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!