Search
Translations of this page:

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

The majority of what you need to run Magento already exists on a 2.0.7 or greater Joyent Accelerator. These instructions were compiled against tests on a 2.1.4 Accelerator.

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

you will probably want to create a special user. In this setup example we'll just use the default user/password combo that comes with your Joyent Accelerator and avoid setting up mysql users at this time.

Install the Application

Next, we'll actuall add the application to a subdirectory in the default web root.

You may wish to do this in the main directory or even create your own subdomain or virtual server. That is out of the scope of this document but will work just fine.

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.

Optional To Do Items

 
all-accelerators/kb/magento.txt · Last modified: 2008/12/08 22:08 by lderezinski
 
Recent changes RSS feed Creative Commons License Driven by DokuWiki