Step 1

rpm -Uvh

Step 2. Install LAMP (Apache, PHP and MySQL) on CentOS 6.

yum update yum intsall httpd yum install –enablerepo=webtatic-testing php56w php56w-opcache yum install –enablerepo=webtatic-testing mysql55w mysql55w-server yum install –enablerepo=webtatic-testing php56w-xml yum install –enablerepo=webtatic-testing php56w-mcrypt yum install –enablerepo=webtatic-testing php56w-gd yum install –enablerepo=webtatic-testing php56w-mysql Start LAMP service, enable to start on boot: service httpd start service mysqld start

Step 3. Configure PHP for Magento.

vi /etc/php.ini

Search for the line ‘memory_limit‘ in the file:

memory_limit = 128M ### and change the value to 512 ### memory_limit = 512M

Step 4. Configuring MySQL for Magento.


mysql -u root -p

mysql> create database magentodb; mysql> GRANT ALL PRIVILEGES ON magentodb . * TO magento@’localhost’ IDENTIFIED BY ‘PASSWORD’ WITH GRANT OPTION; mysql> flush privileges;

Step 5. Install Magento.

cd /var/www/html/ wget -xvzf magento- tar -xvzf magento- rm magento-

cd /var/www/html/ chmod -R o+w app/etc/ chmod -R o+w var/ chmod -R o+w media/

Step 6. Accessing Magento. or http://server-ip  port 80