Known is a flexible social publishing platform that allows you to easily create and manage your own website or blog. In this tutorial, we'll walk you through the steps to install Known on a Fedora server.
Before starting the installation process, make sure your server meets the following requirements:
The first step is to update all installed packages on Fedora Server. To do so, open a terminal and execute the following command:
sudo dnf update
Known requires an Apache web server installed on your server. To install Apache, run the following command:
sudo dnf install httpd
Known requires PHP version 7.3 or later. To install PHP, run the following command:
sudo dnf install php php-mysqlnd php-opcache php-gd php-xml php-mbstring
Known requires a database server to store its data. In this tutorial, we'll use MariaDB. To install it, run the following command:
sudo dnf install mariadb-server
After installing MariaDB, we need to configure it. Start the MariaDB service using the following command:
sudo systemctl start mariadb
Then, run mysql_secure_installation
to secure the MariaDB installation:
sudo mysql_secure_installation
We'll now create a database and a user for Known.
Log in to MariaDB by executing the following command:
sudo mysql -u root -p
Enter your MySQL/MariaDB root user password when prompted, then create a new database and user:
CREATE DATABASE known;
GRANT ALL PRIVILEGES ON known.* TO 'knownuser'@'localhost' IDENTIFIED BY 'password';
FLUSH PRIVILEGES;
exit
Make sure to replace knownuser
and password
with your desired database username and password.
Now, it's time to download Known from their website. Go to the https://withknown.com/ website and download the latest version of Known.
Once downloaded, extract the file into the /var/www/html/
directory:
cd ~/Downloads && unzip known-latest.zip
sudo mv known /var/www/html/.
Set appropriate file permissions for the Known installation by issuing the following command:
sudo chown -R apache:apache /var/www/html/known
To configure Apache for Known, create a new virtual host file by running the following command:
sudo nano /etc/httpd/conf.d/known.conf
Paste the following code into the file:
<VirtualHost *:80>
ServerName your-domain.com
DocumentRoot /var/www/html/known
<Directory /var/www/html/known>
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
ErrorLog /var/log/httpd/your-domain.com-error_log
CustomLog /var/log/httpd/your-domain.com-access_log common
</VirtualHost>
Replace your-domain.com
with your actual domain name.
Save and exit the file.
Enable and start the Apache web server and MariaDB:
sudo systemctl enable httpd mariadb
sudo systemctl start httpd mariadb
Open a web browser and navigate to http://your-domain.com/known
to start the Known configuration wizard.
Follow the prompts to configure your site.
Once the installation is complete, log in to your Known site using the username and password you provided during the installation.
Congratulations! You have successfully installed Known on your Fedora server.
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!