Installing Magento on a Joyent Accelerator
Magento is a PHP based eCommerce application. All of it's various features can be reviewed on the Magento website.
http://www.magentocommerce.com/features
Accelerator Modifications
To run magento on a Joyent accelerator a few minor adjustments are needed to the accelerator environment.
Enable PDO and PDO_Mysql
You must enable 3 PHP extensions that are already installed but not enabled by default. This is very easy.
Modify the default /opt/local/etc/php.ini file as follows.
Change
;extension=pdo.so ;extension=pdo_mysql.so
To
extension=pdo.so extension=pdo_mysql.so
Setup the Database
There are many ways to setup your database. This example assumes you will do it from the command line.
mysqladmin -u root -p create 'magento' Enter the password for the root mysql user from your welcome to joyent email
Install the Application
Next, we'll actuall add the application to a subdirectory in the default web root.
Install the Code from SVN
Here is how we'll install the lastest code from the SVN respository
cd /home/jill/web/public svn checkout http://svn.magentocommerce.com/source/branches/1.1 magento sudo chown -R www:www magento
Setup the Application
The next part is done from within your web browser.
Go to: http://<Accelerator name>.joyent.us/magento
and following the instructions.
