How to set up a LAMP Server and OXID eShop on CentOS

With this tutorial we provide you a step-by-step instructions for installing a full-featured LAMP stack and OXID eShop on a CentOS system. In the following you will be instructed on setting up Apache, MySQL, PHP and OXID eShop.

Root access is required to edit the following files and to execute commands. Log in as root (su) or simply prepend sudo to all commands that require root privileges.

Configure the Linux server

We are using CentOS 6 with 64 bit.

Install and Configure the Apache Web Server

Make a backup of the httpd.conf file.

Move to this directory and create a vhost.conf file.

Copy the following lines in the vhost.conf, replace domain.com with your domain and save it.

Anytime you change an option in your vhost.conf file, remember to reload the configuration with the following command:

Create the website directories. Replace domain.com with your domain.

Open the httpd.conf file to enable mod_rewrite.

Go to <Directory /> and <Directory "/var/www/html"> and replace AllowOverride None with AllowOverride All.

Start Apache and set the chkconfig levels to automatically start Apache when the system boots.

Install and Configure MySQL

Check that MySQL is running.

Run the MySQL secure script and set a root password.

Create the database. Replace USER, DATABASE and PASSWORD with your settings.

Install and Configure PHP

Open the php.ini file.

Replace the following settings in your php.ini.

Install some more packages.

Install the Zend Guard Loader.

Check that the Zend Guard Loader is loaded.

Install OXID eShop

Download OXID eShop from oxid-esales.com and upload the zip file to your website directory /srv/www/domain.com/public_html. Then you can unzip the file and set the ownership.

Now, open the domain in your browser and start with the OXID eShop installation.

 

0.00 avg. rating (0% score) - 0 votes


0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *