Installing Oxid eShop on Ubuntu
For a small project, I had to install Oxid eShop on my Ubuntu system. There are installation instructions at Server and system requirements and Oxid Wiki - Installation, though these are generic instructions for any system.
For Ubuntu, you can simplify the first steps by just installing the necessary packages. First, you must install a LAMP (Linux, Apache, MySQL, PHP) stack. This is done simply by
apt-get install apache2 mysql-server php5 php5-mysql
apt-get install php5-gd php5-curl
Apache’s mod_rewrite module is also needed and activated by
a2enmod rewrite service apache2 reload
mod_rewrite for Oxid, you need the following in your
Apache configuration, e.g.
/etc/apache2/conf-enabled or activated with
Assume Oxid is installed in the directory
Alias /oxid /var/www/oxid <Directory /var/www/oxid> Options +FollowSymLinks AllowOverride All </Directory>
As described at Files & Folder Permission Setup, you must allow write access to
cd /var/www/oxid chown -R www-data.www-data config.inc.php .htaccess log/ tmp/ out/pictures/ out/media/ export/
.htaccess may be read only.
Finally, create a database for Oxid
mysqladmin -u root -p create oxid
and give access to some Oxid user
grant all privileges on oxid.* to 'oxid'@'localhost' identified by 'SeCrEtPaSsWoRd;
Normal password rules apply. Note the user and password, you need it later for setup.
That’s it for preparation, now go to
http://www.example.com/oxid and follow setup instructions.