How to install Wolf CMS on a CentOS VPS

Wolf CMS is free and open-source, PHP based content management system that offers simple and elegant user interface. Wolf CMS is a fork of Frog CMS. In order to run Wolf CMS on your server you need to have a web server, PHP5 and MySQL or SQLite 3 database server installed. In this tutorial we will install Wolf CMS on a CentOS 7 VPS with Apache, PHP and MariaDB.

Af the very beginning we need to make sure that all packages installed on the server are up to date

yum -y update

Wolf CMS depends on a database, so we will install MariaDB server

yum install mariadb mariadb-server

Start the MariaDB database server and enable the service at boot time

systemctl start mariadb
systemctl enable mariadb

Run the ‘mysql_secure_installation’ post installation script which removes the test database and secures MariaDB. It will also prompt you to set your MariaDB root password.

Log in to the MariaDB server using the ‘root’ user and create new user and database with Unicode collation type

The archive will be unpacked in a new ‘wolfcms’ directory. Change your current working directory and change the owner of the directory

cd /var/www/html/wolfcms
chown -R apache:apache wolfcms

In order to use clean URLs we will rename activate the .htaccess file by renaming it

mv _.htaccess .htaccess

If it is not already turned off, it is recommended to turn off magic_quotes_gpc because this feature is deprecated. To do this we need to edit PHP’s configuation file and make sure that the following line is set to off

Finally, open you favorite web browser, navigate to http://yourdomain.tld/ and follow the steps of the setup wizard to complete the installation.

After the setup is completed, delete the /install and /docs directories and remove the write permissions for the config.php file.

Of course you don’t have to do any of this if you use one of our Linux VPS Hosting services, in which case you can simply ask our expert Linux admins to install Wolf CMS for you. They are available 24×7 and will take care of your request immediately.

PS. If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.