Magento 1.3.2.3 installer for ubuntu 9.04
OpenERP Appliance & All-In-One & Magento Forum
This script automates the setting up of Magento 1.3.2.3 on Ubuntu 9.0.4 Server & Desktop.
New update! Magento 1.3.2.4 installer
Magento (http://www.magentocommerce.com/) is an Open Source ecommerce web application.
Requirements: A fresh installation of Ubuntu 9.0.4 Server or Desktop without Apache nor Mysql. Only the core of the system is needed, so during the installation of your Ubuntu Server don’t select software to install like LAMP Server in the “Software Selection” menu (except for OpenSSH Server). This script installs Apache, PHP and Mysql; and expects to deal with default config files.
TIP: test this script within a Virtual Machine after installing Ubuntu 9.04 from scratch. Run the virtual machine in a bridged network (host and guest have same subnet and can be reached from the LAN).
Run the script as non-root with the following commands:
$ gzip -d Magento-1.3.2.3-installer-for-ubuntu9.04.sh.gz
$ chmod +x Magento-1.3.2.3-installer-for-ubuntu9.04.sh
$ ./Magento-1.3.2.3-installer-for-ubuntu9.04.sh
You will be asked for:
1) Mysql root password
2) IP address your OpenERP Web service will be listening on
3) Magento Admin username & Password
4) Your LANG, etc.
Magento Translations can be found at http://www.magentocommerce.com/langs
Example of how to install the Spanish (Spain) translation with modern theme (Full package Download):
sudo apt-get install unzip -y
unzip es_ES_modern_full_package.zip
sudo cp -r app/locale/es_ES/ /var/www/magento/app/locale/
sudo cp -r app/design/frontend/default/modern/locale/es_ES/ /var/www/magento/app/design/frontend/default/default/locale/
sudo chown -R www-data.www-data /var/www/magento/app
Refresh Magento Cache from Magento Admin Panel -> System-> Cache Management
The output of the script ends with:
MySQL “root” Administrator Password: mysqlpassword
MySQL Database Name for Magento = magentodb
MySQL Database Administrator for Magento = magentodbadmin
MySQL Database Administrator’s Password for Magento = magentodbpasswdMagento Admin Username = admin
Magento Admin Password = password
Magento Admin First Name: myfirstname
Magento Admin Last Name: mylastname
Magento Admin Email Address: mymail@addr.comMagento default locale = en_US
Magento default timezone = America/Los_Angeles
Magento default currency = USDAdd “magentoshop.com” to your DNS System!
Check your Magento URL with a browser: http://magentoshop.com/magento
23 Comments
Sorry, the comment form is closed at this time.
Thank you, thank you, thank you! I have been fiddling for hours trying to get a simple Magento test server set up. I did a clean install of Ubuntu 9.04 Desktop, ran the script, and voila! Everything seems to be working great.
This is exactly the sort of thing that Linux needs: a simple script for beginners, while still allowing modification by experts. Great job.
I have one question, should I simply install all the defaults? (Such as the address is asks for is 127.0.1.1 instead of 127.0.0.1, is this correct or am I missing something)
thanks for your work
Ubuntu comes with two default records in /etc/hosts:
127.0.0.1 localhost
127.0.1.1 yourhostname
This is why 127.0.1.1 was included in the script as default IP addr that maps to your hostname and DNS Name of Magento (when no other IP address is given by the user).
127.0.1.1 is fine to test Magento locally, but a real IP addr is recommended in a network env.
Network settings of your Ubuntu sytem should be configured first.
You are my new personal hero 🙂
Every producer of CMS, E-Commerce etc. etc. should go this way with an installer script.
Thank you for the script.
Now my question!
“You will be asked for:
2) IP address your OpenERP Web service will be listening on”
I try this script on a virtual ubuntu 9.04 (vmware) but this script didn t ask me for 2) OpenERP …
How can I connect Magento with OpenERP with your Script?
Hi Olaf,
I’m gonna check and update this script as it’s now out of date (latest Magento release is v1.3.2.4). Will test the new openerp-magento connector in the following days and hopefully be able to create a video-tutorial.
Thanks!
I am not shure why, but in my installation Magento seem to update automaticaly to v1.3.2.4 !!!
Thank you!
Wow! I don’t understand how this is possible, but that’s good news!!!
Thanks for your feedback!
Thank you for sharing above script with us.
You’re welcome. I like sharing the knowledge. Please mind the latest release is v1.3.2.4.
[…] Magento-1.3.2.4-installer-for-ubuntu9.10.sh.gz : Magento 1.3.2.4 installer for Ubuntu 9.04 & Ubuntu 9.10. The Magento extension for multiwebsite OpenERP connector has to be added by its Web Admin Tool. More info here. […]
help me
*
o Path “/var/www/magento/app/etc” must be writable
o Path “/var/www/magento/var” must be writable
o Path “/var/www/magento/media” must be writable
local installation
Hi Luigi,
First of all, try the new installer:
https://opensourceconsulting.wordpress.com/2009/11/06/magento-openerp-integration-on-ubuntu/
File permissions can be modified with the command “chmod”.
Regards
I’m unable to access my Webmin panel after installing the script. Any ideas why?
Probably because this script considers no more web applications run on the same ubuntu host. Proceed with a fresh install of ubuntu if you don’t want to deal with Apache’s config files.
Hi, I ran this script, but the links do not work after installation and also realized that my samba and my FTP stopped working, someone can tell me why?
First of all, it is recommended to run this installer on a fresh ubuntu 8.04 server or desktop. Secondly, this script blocks most of the ports by default (like those used by samba and FTP).
Your blog is a great source of information for magento developers and for people who wants to learn magento.
Magento Developer
Thanks for your kindness. Good to hear that from a Magento expert!
Hi
tried this script out after many hours of reading and searching about magento, linux and ubuntu
The few problems in the installation are
Starting to download Mage_Core_Modules-1.4.0.1.tgz (1,773,350 bytes)
…done: 1,471,328 bytes
Starting to download Lib_ZF_Locale-1.9.6.0.tgz (1,522,612 bytes)
…done: 750,105 bytes
Installing Magento…
FAILED
ERROR: Illegal scheme supplied, only alphanumeric characters are permitted
Im running under WinXp 64 Pro
Wmware with Ubuntu 9.10 latest update + Vmware tools
If I start localhost/magento I will get magentoinstall to work but it would be nicer with a clean install without errors of course.
Any ideas out there ?
best regards
from Sweden.
Hi, thanks a lot for this tutorial, everything goes perfect except when I have to enter mysql username , password and DB name it crashes with the following message:
There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: 530609370573
I am unable to find this error log, am new to linux, can somebody please help.
I am running Ubuntu 10.04 server(LAMP).
Thanks in advance
Hi guys problem solved, basically I was entered a different user with all privileges and no password and it worked 🙂
Cheers
Problem Solved guys
I entered a new user with all privileges and no password and it worked, earlier i was entering root user.
Cheers 🙂