Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

How to install ImpressPages 4 on an Ubuntu 14.04 VPS

ImpressPages 4 is an open source Content Management System (CMS) with a built-in content editor written in PHP and using a popular open source MySQL database system for content storage. ImpressPages 4 is incredibly easy to learn and helps you create beautiful websites with quality content. This guide should work on other Debian-based systems as well but was tested and written for an Ubuntu 14.04 VPS. You can check our previous tutorial if want to install ImpressPages on CentOS. The installation process should take about 5-10 minutes if you follow the very easy steps described below.

At the time of writing this tutorial, ImpressPages 4.10.1 is the latest stable version available and it requires:

  • Apache web server;
  • PHP (version 5.5 or higher);
  • MySQL(version 5.1 or higher) installed on your Linux Virtual Server;

INSTRUCTIONS:

Login to your VPS via SSH

ssh user@vps_IP

Update the system

[user]$ sudo apt-get update && sudo apt-get -y upgrade

Install MariaDB

To install MariaDB, run the following command:

[user]$ sudo apt-get install -y mariadb-server

Next, we need to create a database for our ImpressPages 4 installation.

[user]$ mysql -u root -p

MariaDB [(none)]> CREATE DATABASE impresspages;
MariaDB [(none)]> GRANT ALL PRIVILEGES ON impresspages.* TO 'impressuser'@'localhost' IDENTIFIED BY 'your-password';
MariaDB [(none)]> FLUSH PRIVILEGES;
MariaDB [(none)]> \q

Do not forget to replace ‘your-password’ with a strong password.

Install Apache2 web server

[user]$ sudo apt-get install apache2

Install PHP and required PHP modules

To install the latest stable version of PHP version 5. and all necessary modules, run:

[user]$ sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt php5-mysql php5-gd

Activate the mod_rewrite module with

[user]$ sudo a2enmod rewrite

and restart Apache:

[user]$ sudo service apache2 restart

Download and extract the latest version of ImpressPages 4 on your server:

[user]$ sudo cd /opt && wget wget http://download.impresspages.org/ImpressPages_4_10_1.zip
[user]$ sudo unzip ImpressPages_4_10_1.zip
[user]$ sudo mv ImpressPages/ /var/www/html/ImpressPages

All files have to be readable by the web server, so we need to set a proper ownership:

[user]$ sudo chown www-data:www-data -R /var/www/html/ImpressPages/

Create a new virtual host directive in Apache. For example, create a new Apache configuration file named ‘impresspages.conf’ on your virtual server:

[user]$ sudo touch /etc/apache2/sites-available/impresspages.conf
[user]$ sudo ln -s /etc/apache2/sites-available/impresspages.conf /etc/apache2/sites-enabled/impresspages.conf
[user]$ sudo nano /etc/apache2/sites-available/impresspages.conf

Then, add the following lines:


ServerAdmin [email protected]
DocumentRoot /var/www/html/ImpressPages/
ServerName your-domain.com
ServerAlias www.your-domain.com

Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all

ErrorLog /var/log/apache2/your-domain.com-error_log
CustomLog /var/log/apache2/your-domain.com-access_log common

Restart the Apache Web Server for the changes to take effect:

[user]$ sudo service apache2 restart

Open your favorite web browser, navigate to http://your-domain.com/ and if you configured everything correctly the ImpressPages 4 installer should be starting. You should follow the easy instructions on the install screen inserting the necessary information as requested.

That is it. The ImpressPages 4 installation is now complete.

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.



This post first appeared on Virtual-Server.org Virtual Server, please read the originial post: here

Share the post

How to install ImpressPages 4 on an Ubuntu 14.04 VPS

×

Subscribe to Virtual-server.org Virtual Server

Get updates delivered right to your inbox!

Thank you for your subscription

×