Serendipity is a PHP-based blogging and content management system (CMS) that allows you to create and manage your website or blog with ease. In this tutorial, we will show you how to install Serendipity on Manjaro.
Before we proceed with the installation, ensure that you have the following prerequisites:
Go to the Serendipity website and download the latest stable release of the software.
Extract the contents of the downloaded file to your web server’s document root (usually located at /var/www/html/
).
$ sudo mysql -u root -p
MariaDB [(none)]> CREATE DATABASE serendipitydb;
MariaDB [(none)]> CREATE USER 'serendipityuser'@'localhost' IDENTIFIED BY 'password';
MariaDB [(none)]> GRANT ALL PRIVILEGES ON serendipitydb.* TO 'serendipityuser'@'localhost';
MariaDB [(none)]> FLUSH PRIVILEGES;
serendipity_config.inc.php-dist
file in the Serendipity folder to serendipity_config.inc.php
.$ cd /var/www/html/serendipity/
$ mv serendipity_config.inc.php-dist serendipity_config.inc.php
serendipity_config.inc.php
file in a text editor of your choice and modify the database settings as shown below:$serendipity['dbHost'] = 'localhost'; // Database hostname
$serendipity['dbName'] = 'serendipitydb'; // Database name
$serendipity['dbUser'] = 'serendipityuser'; // Database username
$serendipity['dbPass'] = 'password'; // Database password
Open your web browser and enter http://localhost/serendipity/
in the address bar.
Follow the installation wizard and enter the required settings such as the site name, your email address, and the administrator login credentials.
Once you have completed the installation, log in to your Serendipity dashboard and start customizing your website or blog.
Congratulations, you have successfully installed Serendipity on Manjaro!
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!