GetSimple CMS is a popular open-source content management system that allows users to easily create, edit and manage their websites. The software is designed to be lightweight, user-friendly and easy to install. In this tutorial, we will walk you through the steps to install GetSimple CMS on the latest version of OpenSUSE.
Before we start installing GetSimple CMS, let's make sure that our system has all the required packages installed. To install the necessary packages, open a terminal window and run the following command:
sudo zypper install apache2 php7 apache2-mod_php7 php7-gd php7-pdo php7-mysql mariadb mariadb-client
This will install the Apache web server, PHP 7, and the required PHP modules. It will also install the MariaDB database server and client.
Now that we have installed the necessary packages, it's time to configure our MySQL/MariaDB server. To do this, we will start off by creating a new database and user for GetSimple CMS.
First, log into the MySQL/MariaDB server by running the following command:
sudo mysql -u root -p
You will be prompted for the root password. Once you enter the password, you will be logged into the MySQL/MariaDB shell. Now, create a new database by running the following command:
CREATE DATABASE getsimple;
Next, create a new user and grant them full privileges on the getsimple
database:
CREATE USER 'getsimple'@'localhost' IDENTIFIED BY 'strong-password';
GRANT ALL PRIVILEGES ON getsimple.* TO 'getsimple'@'localhost';
FLUSH PRIVILEGES;
Make sure to replace strong-password
with a strong password of your choice. With this, our database is now set up and ready to go.
Now that we have our web server and database server set up, it's time to download and install GetSimple CMS. To download the latest version of GetSimple CMS, use the following command:
wget https://github.com/GetSimpleCMS/GetSimpleCMS/archive/master.zip
Once the download is complete, extract the contents of the archive to your web server's document root directory:
sudo unzip master.zip -d /srv/www/htdocs/
This will extract the contents of the archive to the /srv/www/htdocs/GetSimpleCMS-master
directory. Rename this directory to getsimple
:
sudo mv /srv/www/htdocs/GetSimpleCMS-master /srv/www/htdocs/getsimple
Next, change the ownership of the getsimple
directory to the Apache user:
sudo chown -R wwwrun:www /srv/www/htdocs/getsimple
This will ensure that Apache has the necessary permissions to read and write files in the getsimple
directory.
Now that GetSimple CMS is installed, we need to configure it to use our MySQL/MariaDB database. To do this, first, navigate to the /srv/www/htdocs/getsimple/
directory:
cd /srv/www/htdocs/getsimple/
Next, rename the gsconfig-sample.php
file to gsconfig.php
:
sudo mv gsconfig-sample.php gsconfig.php
Open the gsconfig.php
file in your favorite text editor and enter the MySQL/MariaDB database details that we configured in Step 2:
define('GSDBHOST', 'localhost');
define('GSDBNAME', 'getsimple');
define('GSDBUSER', 'getsimple');
define('GSDBPASS', 'strong-password');
Make sure to replace strong-password
with the password that you used in Step 2. Save the file and exit your text editor.
With everything set up, it's time to access GetSimple CMS. Point your web browser to http://localhost/getsimple/
and you should see the GetSimple CMS installation page. Follow the on-screen instructions to complete the installation process.
Once the installation is complete, you can log in to the admin panel by pointing your web browser to http://localhost/getsimple/admin/
and entering the login credentials that you specified during the installation process.
In this tutorial, we walked through the steps to install GetSimple CMS on the latest version of OpenSUSE. With your new content management system up and running, you can now start creating your website and managing your 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!