Create an OXID eShop Server in Amazon’s Cloud

Are you looking for a quick way to set up an OXID eShop server, maybe for research or testing purposes? With Amazon’s cloud services, this is a snap to set up and use. The following instructions guide you through the process.

1.Start an Apache/PHP Amazon Machine Image (eg. zend/zend-server-ce-4.0.5-linux-32bit-20090109.manifest.xml)
2.Enter the correct Access group which allows Access on port 80
3.Connect to the AMI with your key file:

 ssh -i zendoxid.pem

4.Install ‘joe’ or another preferred editor:

root@domU-12-31-39-03-2C-81:~# apt-get install joe
Reading package lists... Done Building dependency ... [...] 

5.Install MySQL with root password ‘oxid’:

root@domU-12-31-39-03-2C-81:~# apt-get  install mysql-server
Reading package lists... Done Building dependency tree ... [...] 

6.Install an SVN client such as ‘esvn’:

root@domU-12-31-39-03-2C-81:/var/www# apt-get install esvn
Reading package lists... Done Building dependency .... [...] 

7.Find the latest version of OXID eShop by checking the SVN tags at

8.Download OXID eShop using the latest SVN tag:

root@domU-12-31-39-03-2C-81:/var/www# svn export 
Exported revision 193. 

9.Install the ‘postfix’ mailserver to handle outgoing mail from the OXID eShop:

root@domU-12-31-39-03-2C-81:/var/log# apt-get install postfix

10.Adopt .htaccess and fix the ‘rewrite_base’ directive.

11.Set the Apache configuration directive ‘AllowOverride = All’ in the main Apache configuration file to ensure that the .htaccess file is considered:

root@domU-12-31-39-03-2C-81:/var/www/CE-4.1.6-22740# joe /etc/apache2/sites-available/default
        <Directory /var/www/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Order allow,deny
                allow from all

12.Restart Apache to have your changes take effect:

root@domU-12-31-39-03-2C-81:/var/www/CE-4.1.6-22740# /etc/init.d/apache2  stop

 * Stopping web server apache2                                                                                                                                                                                                             ... waiting .                                                                                                                                                                                                                     [ OK ]

root@domU-12-31-39-03-2C-81:/var/www/CE-4.1.6-22740# /etc/init.d/apache2 start 

 * Starting web server apache2                                                                                                                                                                                                     [ OK ]


13.Modify the RewriteBase configuration directive in the .htaccess file to reflect your OXID eShop settings (only necessary for OXID eShop greater than v4.3.0):

root@domU-12-31-39-03-2C-81:/var/www/CE-4.1.6-22740# joe .htaccess

RewriteBase /CE-4.1.6-22740 [...] 

14.Change ownership of exported files to the Web server user:

root@domU-12-31-39-03-2C-81:/var/www# chown -R www-data.www-data  CE-4.1.6-22740/

15.Access the OXID eShop interface in your browser eg.
16.Change the mailserver settings in the eShop admin panel to ‘localhost’ and configure mail adresses properly
17.Have fun 🙂

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 *