How to install ImpressCMS on a CentOS 6 VPS

ImpressCMS logoImpressCMS is free and open source content management system developed by the community. This PHP based CMS makes the building and maintaining of dynamic websites an easy and fast process. ImpressCMS is a powerful system that is an ideal solution for a wide range of users.

This blog article describing the installation of ImpressCMS on a CentOS VPS.

In order to run ImpressCMS on your CentOS 6 server, you need to have the following requirements installed on your server:

  • Web server
  • PHP version 5.3 or higher
  • MySQL server version 4.1+ or MariaDB version 5.1+

Login to your server as user ‘root’ and make sure that all packages are updated:

yum -y update

Download the latest stable release of ImpressCMS from their official website

wget http://downloads.sourceforge.net/project/impresscms/ImpressCMS%20Official%20Releases/ImpressCMS%201.3%20Branch/ImpressCMS%201.3.6/impresscms_1.3.6.1_final.zip

Unpack the ImpressCMS zip archive somewhere on your server

mkdir /tmp/impresscms
unzip impresscms_1.3.6.1_final.zip -d /tmp/impresscms

The files needed for a new ImpressCMS installation are located in the ‘htdocs’ directory, so you need to copy these files to the domain’s document root directory.

cp -R /tmp/impresscms/htdocs/* /var/www/html/

Make the apache user to be owner of the following files and directories:

cd /var/www/html
chown -R apache: uploads/ cache/ templates_c/ mainfile.php modules/

Now, Login to your MySQL server and create a MySQL database and user with full privileges to the databaser:

mysql -u root -p
CREATE DATABASE impresscms;
CREATE USER 'impresscmsuser'@'localhost' IDENTIFIED BY 'PASSWORD';
GRANT ALL PRIVILEGES ON impresscms.* TO 'impresscmsuser'@'localhost';
FLUSH PRIVILEGES;
exit

Don’t forget to replace ‘PASSWORD‘ with an actual strong password utilizing at least 8 characters including alphanumeric and grammatical symbols.

With this step, the installation through the command line is finished. Now, using a web browser open http:/YOURDOMAIN.TLD and an installation wizard guide you through the installation. The wizard will check if your server meets the requirements, you will be prompted to enter the information of the MySQL database we created earlier in this article, create your administrator account, etc…

That’s all. If you closely follow the instructions in this article you have successfully installed ImpressCMS on your CentOS 6 server.

Of course you don’t have to do any of this if you use one of our Linux VPS services, in which case you can simply ask our expert Linux admins to install ImpressCMS 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.

Leave a Comment