{"id":5854,"date":"2018-08-01T14:36:37","date_gmt":"2018-08-01T10:36:37","guid":{"rendered":"https:\/\/www.howtoforge.com\/tutorial\/how-to-install-impresspages-cms-on-ubuntu-1804\/"},"modified":"2018-08-01T14:36:37","modified_gmt":"2018-08-01T10:36:37","slug":"how-to-install-impresspages-cms-on-ubuntu-18-04","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/how-to-install-impresspages-cms-on-ubuntu-18-04\/","title":{"rendered":"How to Install ImpressPages CMS on Ubuntu 18.04"},"content":{"rendered":"<p>ImpressPages is a free, open source and user-friendly, MVC-based, Content Management System with a built-in content editor that can be used to create a personal or business website. It is written in PHP and using a popular open source MySQL\/MariaDB database system for content storage. You can easily manage your content on every device using ImpressPages. ImpressPages come with lot&#8217;s of features like, Inline editing, Drag&amp;drop, Grid, Widgets, Multi-language support and translations.<\/p>\n<p>In this tutorial, we will learn how to install ImpressPages on Ubuntu 18.04 LTS.<\/p>\n<h2 id=\"requirements\">Requirements<\/h2>\n<ul>\n<li>A server running Ubuntu 18.04.<\/li>\n<li>A non-root user with sudo privileges.<\/li>\n<\/ul>\n<h2 id=\"install-lamp-server\">Install LAMP Server<\/h2>\n<p>Before starting, you will need to install LAMP (Apache, MariaDB and PHP) to your system. You can install all of them by running the following command:<\/p>\n<p class=\"command\">sudo apt-get install apache2 mariadb-server php7.1 libapache2-mod-php7.1 php7.1-gd php7.1-opcache php7.1-mysql php7.1-json php7.1-mcrypt php7.1-xml php7.1-curl wget unzip -y<\/p>\n<p>Once all the packages are installed, start Apache and MariaDB service and enable them to start on boot time:<\/p>\n<p class=\"command\">sudo systemctl start apache2<br \/>sudo systemctl enable apache2<br \/>sudo systemctl start mariadb<br \/>sudo systemctl enable mariadb<\/p>\n<p>Next, open php.ini file and make some changes:<\/p>\n<p class=\"command\">sudo nano \/etc\/php\/7.2\/apache2\/php.ini<\/p>\n<p>Make the following changes:<\/p>\n<pre>memory_limit = 256M&#13;\nupload_max_filesize = 100M&#13;\nmax_execution_time = 360&#13;\nfile_uploads = On&#13;\ndate.timezone = Asia\/Kolkata&#13;\n<\/pre>\n<p>Save and close the file, when you are finished.<\/p>\n<h2 id=\"configuring-mariadb-for-impresspages\">Configuring MariaDB for ImpressPages<\/h2>\n<p>By default, MariaDB is not secured, You can secure MariaDB using the mysql_secure_installation script:<\/p>\n<p class=\"command\">mysql_secure_installation<\/p>\n<p>Answer all the questions as shown below:<\/p>\n<pre>Set root password? [Y\/n] n&#13;\nRemove anonymous users? [Y\/n] y&#13;\nDisallow root login remotely? [Y\/n] y&#13;\nRemove test database and access to it? [Y\/n] y&#13;\nReload privilege tables now? [Y\/n] y&#13;\n<\/pre>\n<p>Once MariaDB is secured, log in to MariaDB shell:<\/p>\n<p>Enter your root password, then create a database and user for ImpressPages:<\/p>\n<p class=\"command\">MariaDB [(none)]&gt; CREATE DATABASE impressdb;<br \/>MariaDB [(none)]&gt; GRANT ALL PRIVILEGES ON impressdb.* TO &#8216;impress&#8217;@&#8217;localhost&#8217; IDENTIFIED BY &#8216;password&#8217;;<\/p>\n<p>Next, flush the privileges and exit from the MariaDB shell:<\/p>\n<p class=\"command\">MariaDB [(none)]&gt; FLUSH PRIVILEGES;<br \/>MariaDB [(none)]&gt; \\q<\/p>\n<h2 id=\"install-impresspages\">Install ImpressPages<\/h2>\n<p>First, go to the ImpressPages official website and download the latest stable version with the following command:<\/p>\n<p class=\"command\">wget http:\/\/download.impresspages.org\/ImpressPages_5_0_3.zip<\/p>\n<p>Next, unzip the downloaded file using the following command:<\/p>\n<p class=\"command\">unzip ImpressPages_5_0_3.zip<\/p>\n<p>Next, copy the extracted directory to the Apache root directory:<\/p>\n<p class=\"command\">sudo cp -r ImpressPages \/var\/www\/html\/impress<\/p>\n<p>Next, set proper permissions to the impress directory:<\/p>\n<p class=\"command\">sudo chown -R www-data:www-data \/var\/www\/html\/impress\/<br \/>sudo chmod -R 755 \/var\/www\/html\/impress\/<\/p>\n<p>Next, you will need to configure Apache2 configuration file for ImpressPages. You can do this with the following command:<\/p>\n<p class=\"command\">sudo nano \/etc\/apache2\/sites-available\/impress.conf<\/p>\n<p>Add the following lines:<\/p>\n<pre>&lt;VirtualHost *:80&gt;&#13; ServerAdmin <a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"b0d1d4ddd9def0d5c8d1ddc0dcd59ed3dfdd\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>&#13; DocumentRoot \/var\/www\/html\/impress&#13; ServerName example.com&#13; ServerAlias www.example.com&#13;\n&#13; &lt;Directory \/var\/www\/html\/impress\/&gt;&#13; Options FollowSymlinks&#13; AllowOverride All&#13; Require all granted&#13; &lt;\/Directory&gt;&#13;\n&#13; ErrorLog ${APACHE_LOG_DIR}\/error.log&#13; CustomLog ${APACHE_LOG_DIR}\/access.log combined&#13;\n&#13;\n&lt;\/VirtualHost&gt;&#13;\n<\/pre>\n<p>Save and close the file, when you are finished.<\/p>\n<p>Next, enable apache virtual host file and rewrite module with the following command:<\/p>\n<p class=\"command\">sudo a2ensite impress.conf<br \/>sudo a2enmod rewrite<\/p>\n<p>Finally, restart Apache service to apply all the changes:<\/p>\n<p class=\"command\">sudo systemctl restart apache2<\/p>\n<h2 id=\"access-impresspages\">Access ImpressPages<\/h2>\n<p>Now, open your web browser and type the URL http:\/\/example.com. You will be redirected to the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-page1\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_impresspages_cms_on_ubuntu_1804\/big\/page1.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/08\/how-to-install-impresspages-cms-on-ubuntu-18-04.png\" alt=\"Website configuration\" width=\"550\" height=\"299\" title=\"\"><\/a><\/p>\n<p>Here, provide your website name and email address, then click on the <strong>Next<\/strong> button. You should see the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-page2\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_impresspages_cms_on_ubuntu_1804\/big\/page2.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/08\/how-to-install-impresspages-cms-on-ubuntu-18-04-1.png\" alt=\"Database configuration\" width=\"550\" height=\"310\" title=\"\"><\/a><\/p>\n<p>Here, provide your database details, then click on the <strong>Next<\/strong> button. You should see the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-page3\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_impresspages_cms_on_ubuntu_1804\/big\/page3.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/08\/how-to-install-impresspages-cms-on-ubuntu-18-04-2.png\" alt=\"Accept license\" width=\"550\" height=\"293\" title=\"\"><\/a><\/p>\n<p>Here, note down your admin username and password, then click on the <strong>Yes, I understand how to log in next time<\/strong> button. You should see the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-page4\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_impresspages_cms_on_ubuntu_1804\/big\/page4.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/08\/how-to-install-impresspages-cms-on-ubuntu-18-04-3.png\" alt=\"Login\" width=\"550\" height=\"293\" title=\"\"><\/a><\/p>\n<p>Here, provide your admin username and password, then click on the <strong>Login<\/strong> button. You should see the ImpressPages dashboard in the following image:<\/p>\n<p><a class=\"fancybox\" id=\"img-page6\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_impresspages_cms_on_ubuntu_1804\/big\/page6.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/08\/how-to-install-impresspages-cms-on-ubuntu-18-04-4.png\" alt=\"ImpressPages CMS\" width=\"550\" height=\"292\" title=\"\"><\/a><\/p>\n<div>\n<p><b>Share this page:<\/b><\/p>\n<p>\n<a href=\"https:\/\/www.facebook.com\/sharer.php?u=https%3A%2F%2Fwww.howtoforge.com%2Ftutorial%2Fhow-to-install-impresspages-cms-on-ubuntu-1804%2F\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/08\/how-to-install-impresspages-cms-on-ubuntu-18-04-5.png\" height=\"20\" alt=\"\" title=\"\"><\/a><br \/>\n<a href=\"https:\/\/twitter.com\/intent\/tweet?url=https%3A%2F%2Fwww.howtoforge.com%2Ftutorial%2Fhow-to-install-impresspages-cms-on-ubuntu-1804%2F&amp;text=How+to+Install+ImpressPages+CMS+on+Ubuntu+18.04&amp;via=howtoforgecom&amp;related=howtoforgecom\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/08\/how-to-install-impresspages-cms-on-ubuntu-18-04-6.png\" height=\"20\" alt=\"\" title=\"\"><\/a><br \/>\n<a href=\"https:\/\/twitter.com\/howtoforgecom\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/08\/how-to-install-impresspages-cms-on-ubuntu-18-04-7.png\" height=\"20\" alt=\"\" title=\"\"><\/a><br \/>\n<a href=\"https:\/\/plus.google.com\/share?url=https%3A%2F%2Fwww.howtoforge.com%2Ftutorial%2Fhow-to-install-impresspages-cms-on-ubuntu-1804%2F\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/08\/how-to-install-impresspages-cms-on-ubuntu-18-04-8.png\" height=\"20\" alt=\"\" title=\"\"><\/a>\n<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>ImpressPages is a free, open source and user-friendly, MVC-based, Content Management System with a built-in content editor that can be used to create a personal or business website. It is written in PHP and using a popular open source MySQL\/MariaDB database system for content storage. You can easily manage your content on every device using [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36],"tags":[],"class_list":["post-5854","post","type-post","status-publish","format-standard","hentry","category-36"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/5854","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=5854"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/5854\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=5854"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=5854"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=5854"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}