By info268212
can someone explain how to install ZenCart on our new VPS?
i installed the LAMP stack no problem.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
if someone else like me is following this article new file for wget is
Do it directly in cd /var/www/html/ saves time
First, download the latest version of zencart
<pre>wget http://optimate.dl.sourceforge.net/project/zencart/CURRENT - Zen Cart 1.5.x Series/zen-cart-v1.5.1-full-fileset-09182012.zip</pre>
unzip and move to /var/www/ <pre>apt-get install zip unzip zen-cart-.zip -d /var/www/ mv /var/www/zen-cart- /var/www/zen-cart/</pre>
create MySQL db <pre>mysql -u root -p CREATE DATABASE zen; CREATE USER ‘zenuser’@‘localhost’ IDENTIFIED BY ‘yournewpassword’; GRANT ALL PRIVILEGES ON zencart.* TO ‘zencartuser’@‘localhost’; FLUSH PRIVILEGES;</pre>
create Apache vhost https://www.digitalocean.com/community/articles/how-to-set-up-apache-virtual-hosts-on-ubuntu-12-04-lts , for instance <pre> ServerAdmin you@your.tld DocumentRoot /var/www/zen-cart/ ServerName your.tld ServerAlias www.your.tld ErrorLog logs/your.tld-error_log CustomLog logs/your.tld-access_log common</pre> restart Apache <code>service apache2 restart</code>
Prepare installer, change permissions (some folders and files need writable permissions for use in Zen Cart) <pre>cd /var/www/zen-cart/ mv admin/includes/dist-configure.php admin/includes/configure.php mv includes/dist-configure.php includes/configure.php chmod 777 admin/includes/configure.php chmod 777 includes/configure.php chmod 777 cache chmod 777 includes/languages/english/html_includes chmod 777 logs chmod 777 media chmod 777 pub chmod 777 images/ chmod 777 admin/backups chmod 777 admin/images/graphs</pre>
Go to http://your.tld/zc_install to complete the installation.
To finish, delete / dir & reset permissions /admin/includes/ /includes/ files to read-only mode 644. Rename /admin to something else. configure.phpand configure.phpof zc_installthe
You might stumble upon the following error: <pre>ERROR: date.timezone not set in php.ini. Please contact your hosting company to set the timezone in the server PHP configuration before continuing.</pre> fix it: <code>nano /etc/php5/apache2/php.ini</code> search for date, then set for example: <code>date.timezone = “Europe/Amsterdam”</code> Now save, close and restart your apache. <code>service apache2 restart</code>
Happy installing.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.