Your shopping cart is empty. Browse our Store

Magento

Open Source eCommerce Evolved

Magento Forum

   
Installation Instructions for Magento on a VMWare Version of Ubuntu 7.10
 
developerx
Jr. Member
 
Total Posts:  19
Joined:  2007-10-24
 

After many hours of trying to get Magento 0.7.14800 to work with scratch version of Ubuntu, I finally got it working, below are steps I followed:

Install Ubuntu Gutsy Gibbon (7.10) with LAMP Option

Prepare Ubuntu
sudo apt-get update
sudo apt-get install make
sudo apt-get install curl
sudo apt-get install php5-curl
sudo apt-get install php5-mcrypt
sudo apt-get install php5-mhash
sudo apt-get install php5-dev
sudo apt-get install php-pear
sudo apt-get install libmysqlclient15-dev
sudo pecl install pdo
sudo pecl install pdo_mysql
sudo nano /etc/php5/apache2/php.ini

Append to bottom of file:

extension=pdo.so
extension=pdo_mysql.so

Prepare Apache
cd /etc/apache2/mods-enabled
sudo ln -s ../mods-available/rewrite.load
sudo nano /etc/apache2/sites-enabled/000-default

Change AllowOverride from None to All

sudo /etc/init.d/apache2 restart

Prepare Network
sudo nano /etc/network/interfaces

Change iface from dhcp to static and append to bottom of file:

address 192.168.0.10
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1

sudo /etc/init.d/networking restart

Download and Prepare Magento
wget http://www.magentocommerce.com/downloads/assets/0.7.14800/magento-0.7.14800.tar.bz2
sudo mv magento*.bz2 /var/www
cd /var/www
sudo tar -xf magento*.bz2
sudo chown root magento -R
sudo chgrp root magento -R
cd magento
sudo chmod o+w var var/.htaccess app/etc
sudo chmod o+w media -R

sudo chmod o+w lib/pear/download -R
sudo chmod o+w app/code/core -R

^ These steps are missing from the installation notes, or at least are needed by this version

Prepare MySQL
sudo mysql
create database magento;
grant all on magento.* to ‘magento’@’localhost’ identified by ‘magento’;
flush privileges;

Install Magento
Browse to http://192.168.0.10/magento
Set locale details, click Continue

Click “Process with Automatic Download (Beta)”, click OK

Set MySql details
Change secure Connection to http and port 80
Untick “Do not use Apache Rewrites”, and tick “Skip URL validation”, click Continue

Enter personal Information, click Continue

You’re finished!

Notes that are useful
To Change the MySQL database details edit file /var/www/magento/app/etc/local.xml
To Change website url in magento edit table core_config_data, paths web/unsecure/host and web/secure/host

Enjoy wink

 
Magento Community Magento Community
Magento Community
Magento Community
 
developerx
Jr. Member
 
Total Posts:  19
Joined:  2007-10-24
 

To install APC
sudo apt-get install perl
sudo apt-get install apache2-dev
sudo pecl install apc
sudo nano /etc/php5/apache2/php.ini

Append to the bottom of the file:

extension=apc.so

sudo /etc/init.d/apache2 restart

 
Magento Community Magento Community
Magento Community
Magento Community
 
developerx
Jr. Member
 
Total Posts:  19
Joined:  2007-10-24
 

Have realised there is a permission issue with:

developerx - 11 January 2008 06:28 AM

sudo chmod o+w app/code/core -R

had to use in the magento dir

sudo chmod o+w * -R

There must be another dir that is not writable by default

 
Magento Community Magento Community
Magento Community
Magento Community
 
STB
Jr. Member
 
Total Posts:  9
Joined:  2008-02-06
 
developerx - 11 January 2008 06:28 AM

Prepare Apache
cd /etc/apache2/mods-enabled
sudo ln -s ../mods-available/rewrite.load
sudo nano /etc/apache2/sites-enabled/000-default

Change AllowOverride from None to All

sudo /etc/init.d/apache2 restart

If error occurs restarting apache (server 127.0.0.1 unknown), maybe your etc/apache2/apache.conf must be fixed adding :

ServerName localhost

bye… stefano.

 
Magento Community Magento Community
Magento Community
Magento Community
 
ale acuna
Jr. Member
 
Total Posts:  1
Joined:  2008-06-18
 

I have followed all these instruction here, but I was doing as a root, not using ssh neither VMWare, trying to setup my Magento, but the Apache server was working before I follow these instruction and I was stucked on the folder write permission problems.
So now my http://localhost is not showing anything.
Apache is not working neither, when i do sudo /etc/init.d/apache2 restart
http (no pid file) not running
please help me!!!

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International) to request a call-back.
© Copyright 2008 Varien. Magento is a trademark of Irubin Consulting Inc. DBA Varien    Privacy Policy|Terms of Service