Sunday, October 14, 2012

How To Install ImpressCMS On Ubuntu 12.10/12.04/11.10/Linux Mint 13



ImpressCMS is a Content Management System (CMS) that allows users to build and maintain dynamic web sites for personal and business use. The latest version of ImpressCMS is 1.3.3 Final which brings more new features and improvements. You can find its release notes here.

In this tutorial we will explain detailed instructions for installing ImpressCMS in the following Linux distributions:


  • Ubuntu 12.10/12.04/11.10 or older
  • Linux Mint 13/12
  • Also applicable for other Debian-based distributions
1. LAMP Installation

I recommend using the LAMP server to be able to run the ImpressCMS script. You can find here and here two ways for installing the LAMP server on Ubuntu/Linux Mint. After installing the LAMP server, you need also to install php5-gd package with these commands:

sudo apt-get install php5-gd

sudo /etc/init.d/apache2 restart

2. Creating MySQL Database and User

You can create a MysQL database and user either in phpMyAdmin or from command line as follows:

- Login to the MySQL server with this command:

mysql -u root -p

- We will create now a database named "impresscms" with this command:

create database impresscms;

- We will now create a database user and password with this command (set any password of your choice, "1234" is just an example):

CREATE USER 'impresscms'@'localhost' IDENTIFIED BY '1234';

- Grant now the created user all access privileges for the database with this command:

GRANT ALL PRIVILEGES ON impresscms.* TO 'impresscms' IDENTIFIED BY '1234';

- Exit now the MySQL server with this command:

exit

- You have now created the following MySQL details that will be used later while installing ImpressCMS:

  1. Hostname: localhost
  2. Databse Name: impresscms
  3. Database User: impresscms
  4. Database Password: 1234
3. Installing ImpressCMS (1.3.3 Final)

Via the terminal, install ImpressCMS with the following commands:

cd /tmp

wget -c http://goo.gl/iGQBC -O impresscms_1.3.3_final.zip

unzip -q impresscms_1.3.3_final.zip

sudo mkdir -p /var/www/impresscms

sudo cp -R htdocs/* /var/www/impresscms/

sudo chmod 777 -R /var/www/impresscms/

Open now this link to start the installation of ImpressCMS:

http://localhost/impresscms

Note: You can change localhost with your IP address if installing on a server.
In the first page, select a default language and click the next button:


In "Configuration check" page, the script will check server requirements, all details must be marked in green:


In "Paths settings" page, scroll down and change "Impress CMS physical trust path" as follows:

/var/XXXXXXXX

to

/var/www/impresscms/XXXXXXXX

Then click the "Create Trust Path" button:


In the next "Database connection" page, enter MySQL details we have generated above:

  1. Database: mysql
  2. Server hostname: localhost
  3. User name: impresscms
  4. Password: 1234   (set your own password)

In "Database configuration" page, enter the name of the database we have created above (impresscms) and click Next:


When you reach the "Initial settings" page, enter your admin access details and click Next:


Then complete the rest of the installation wizard. The welcome page will be like this if the installation is successful:


Before accessing your admin area, run this command:

sudo chmod 444 /var/www/impresscms/mainfile.php


You can now log in using your admin details. Here is a screenshot of the admin area:


Install Miro 5.0.4 From PPA In Ubuntu 12.04/Linux Mint 13



Miro 5.0.4 has been released recently and PPA installation is available for Ubuntu/Linux Mint systems. Miro is an open source internet TV application that allows users in a single interface to play, convert and share audio and  video contents either locally or online. It also allows to download torrents as well as buying music and applications.



 The PPA is not yet updated for Ubuntu 12.10 (Quantal Quetzal) and can be used to install Miro for the following Linux distros:

  • Ubuntu 12.04/11.10
  • Linux Mint 13/12
Miro 5.0.4 Installation

Open the terminal and run these commands:

sudo add-apt-repository -y ppa:pcf/miro-releases
sudo apt-get update
sudo apt-get -y install miro

Miro Home Page

Slackel 14.0


Dimitris Tzemos has announced the release of Slackel 14.0, a Slackware-based Linux distribution featuring the KDE 4.8.5 desktop and a good collection of KDE-centric software applications: "Slackel KDE 14.0 has been released. A collection of four KDE ISO images are immediately available, including 32-bit and 64-bit installation images as well as 32-bit and 64-bit live images that can be burned to a DVD or used with a USB drive. The software included in live images is exactly the same as that present in the standard Slackel KDE 14.0 installation DVDs. The Slackel live DVD images includes Linux kernel 3.2.29 and were built using SaLT (Salix Live Technology). Slackel KDE 14.0 includes the stable 14.0 tree of Slackware Linux and KDE 4.8.5 accompanied by a very rich collection of KDE-centric software." Read the rest of the release announcement for more details. Download links (MD5): slackel-kde-14.0.iso (993MB), slackel64-kde-14.0.iso (941MB), slackellive-kde-14.0-32.iso (994MB), slackellive-kde-14.0-64.iso (1,003MB).