How to install Known on OpenSUSE Latest

Known is a free and open-source social publishing platform that allows individuals or communities to share their stories, ideas, and updates with others. Known is very flexible and can be customized to meet user's specific needs. Here's a step-by-step guide to installing Known on OpenSUSE Latest.

Step 1: Install the Required Dependencies

Before installing Known, you must ensure that your system meets all the prerequisite dependencies. OpenSUSE has a built-in package manager called 'zypper', which can be used to install the necessary packages, including PHP and MySQL. Open your terminal and execute the following command:

sudo zypper install apache2 mysql mysql-client php php-mysql php-curl php-gd php-mbstring php-zip

Once installed, check that Apache and MySQL are running by starting them with the following commands:

sudo systemctl start apache2
sudo systemctl start mysql

You can test if your Apache server is running by browsing to http://localhost/ in your web browser.

Step 2: Download and Install Known

The latest version of Known is available on its official website. Download the latest release from the Known website using the following command:

sudo wget https://github.com/idno/Known/archive/master.zip

After the download is complete, unzip the file to the /var/www directory using the following command:

sudo unzip master.zip -d /var/www

Next, rename the extracted directory:

sudo mv /var/www/Known-master /var/www/Known

Give Apache the necessary permissions to access the Known directory with the following command:

sudo chown -R wwwrun:www /var/www/Known

Step 3: Configure MySQL for Known

In order for Known to work, it needs a MySQL database. Log in to the MySQL shell as the root user with the following command:

sudo mysql -u root -p

Once you're in the MySQL shell, create a database for Known issue the following command:

CREATE DATABASE known;

Now we need to create a user for the Known database with the following command:

CREATE USER 'known'@'localhost' IDENTIFIED BY 'password';

Note: Replace password with your strong unique password.

Finally, we need to grant the user permissions to the Known database with the following command:

GRANT ALL PRIVILEGES ON known.* TO 'known'@'localhost' IDENTIFIED BY 'password';

Again, replace password with your unique password.

Exit the MySQL shell by typing exit;.

Step 4: Configure Known

Now that you've installed Known and configured your database successfully, you need to make sure Known is properly configured.

Navigate to the Known installation directory:

cd /var/www/Known

Copy the file config.ini.sample to config.ini.

cp config.ini.sample config.ini

Now open config.ini with your preferred text editor and change the following settings:

datasource = mysql
dbhost     = localhost
dbname     = known
dbuser     = known
dbpass     = password

Again, replace password with your unique MySQL password.

Save and exit the config.ini file.

Step 5: Install Known

Before accessing Known through your web browser, you have to install Known using the following command:

php composer.phar install

This will download and install all the necessary packages and libraries for Known.

Step 6: Browse to Your Known Site

At this point, Known should be installed and working. Open your web browser and go to http://localhost/Known or your domain name if you are using a web domain.

You will see the Known installation page. Follow the installation steps to finish setting up your Known site.

Congratulations! You have successfully installed Known on OpenSUSE Latest.

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!