{"id":18681,"date":"2016-02-19T14:17:37","date_gmt":"2016-02-19T20:17:37","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=18681"},"modified":"2022-06-03T03:43:47","modified_gmt":"2022-06-03T08:43:47","slug":"how-to-install-impresscms-on-ubuntu-14-04","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-impresscms-on-ubuntu-14-04\/","title":{"rendered":"How to install ImpressCMS on Ubuntu 14.04"},"content":{"rendered":"
ImpressCMS is an open source Content Management System (CMS) for building and maintaining dynamic web sites, written in PHP and using a popular open source MySQL database system for content storage. ImpressCMS is extremely useful for managing online communities because it has the ability to create user groups and assign permissions for managing content to each different group. It is fairly easy to install ImpressCMS on an Ubuntu 14.04 VPS<\/a>. The installation process should take about 5-10 minutes if you follow the very easy steps described below.<\/p>\n At the time of writing this tutorial, ImpressCMS 1.3.8 is the latest stable version available and it requires:<\/p>\n INSTRUCTIONS:<\/p>\n Login to your VPS via SSH<\/p>\n Update the system<\/p>\n Install MariaDB 10.0<\/p>\n To install MariaDB, run the following command:<\/p>\n Next, we need to create a database for our ImpressCMS installation.<\/p>\n Do not forget to replace \u2018your-password\u2019 with a strong password.<\/p>\n Install Apache2 web server<\/p>\n Install PHP and required PHP modules<\/p>\n To install the latest stable version of PHP version 5 and all necessary modules, run:<\/p>\n Activate the mod_rewrite module with<\/p>\n and restart Apache<\/p>\n Download and extract the latest version of ImpressCMS on your server:<\/p>\n All files have to be readable by the web server, so we need to set a proper ownership<\/p>\n Create a new virtual host directive in Apache. For example, create a new Apache configuration file named \u2018impresscms.conf\u2019 on your virtual server:<\/p>\n Then, add the following lines:<\/p>\n Restart the Apache web server for the changes to take effect:<\/p>\n Open your favorite web browser, navigate to http:\/\/your-domain.com\/ and if you configured everything correctly the ImpressCMS installer should be starting. You should follow the easy instructions on the install screen inserting the necessary information as requested.<\/p>\n That is it. The ImpressCMS installation is now complete.<\/p>\n Of course you don\u2019t have to do any of this if you use one of our Linux VPS Hosting<\/a> services, in which case you can simply ask our expert Linux admins to install ImpressCMS<\/strong> for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n PS.<\/span><\/strong><\/span> 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.<\/p>\n","protected":false},"excerpt":{"rendered":" ImpressCMS is an open source Content Management System (CMS) for building and maintaining dynamic web sites, written in PHP and … <\/p>\n\n
ssh user@vps_IP<\/pre>\n
[user]$ sudo apt-get update && sudo apt-get -y upgrade<\/pre>\n
[user]$ sudo apt-get install -y mariadb-server<\/pre>\n
[user]$ mysql -u root -p\r\n\r\nMariaDB [(none)]> CREATE DATABASE impresscms;\r\nMariaDB [(none)]> GRANT ALL PRIVILEGES ON impresscms.* TO 'impressuser'@'localhost' IDENTIFIED BY 'your-password';\r\nMariaDB [(none)]> FLUSH PRIVILEGES;\r\nMariaDB [(none)]> \\q<\/pre>\n
[user]$ sudo apt-get install apache2<\/pre>\n
[user]$ sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt php5-mysql php5-gd<\/pre>\n
[user]$ sudo a2enmod rewrite<\/pre>\n
[user]$ sudo service apache2 restart<\/pre>\n
[user]$ sudo cd \/opt && wget https:\/\/github.com\/ImpressCMS\/impresscms\/releases\/download\/v1.3.8\/impresscms-1.3.8.zip\r\n[user]$ sudo mkdir impresscms\r\n[user]$ sudo unzip impresscms-1.3.8.zip -d impresscms\/\r\n[user]$ sudo mv impresscms\/ \/var\/www\/html\/impresscms<\/pre>\n
[user]$ sudo chown www-data:www-data -R \/var\/www\/html\/impresscms\/<\/pre>\n
[user]$ sudo touch \/etc\/apache2\/sites-available\/impresscms.conf\r\n[user]$ sudo ln -s \/etc\/apache2\/sites-available\/impresscms.conf \/etc\/apache2\/sites-enabled\/impresscms.conf\r\n[user]$ sudo nano \/etc\/apache2\/sites-available\/impresscms.conf<\/pre>\n
<VirtualHost *:80>\r\nServerAdmin admin@yourdomain.com\r\nDocumentRoot \/var\/www\/html\/impresscms\/htdocs\/\r\nServerName your-domain.com\r\nServerAlias www.your-domain.com\r\n<Directory \/var\/www\/html\/impresscms\/htdocs\/>\r\nOptions FollowSymLinks\r\nAllowOverride All\r\nOrder allow,deny\r\nallow from all\r\n<\/Directory>\r\nErrorLog \/var\/log\/apache2\/your-domain.com-error_log\r\nCustomLog \/var\/log\/apache2\/your-domain.com-access_log common\r\n<\/VirtualHost>\r\n<\/pre>\n
[user]$ sudo service apache2 restart<\/pre>\n