Magento 1.3.2.3 Installer For Ubuntu 9.04

November 8, 2010 by: jennyamy

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:

$ 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.

Content of script Magento-1.3.2.3-installer-for-ubuntu9.04.sh:

#!/bin/bash
clear
stty erase '^?'

echo -n "Do you want to update your Ubuntu packages? (Y/n): "
read upgrade
if [ -z "$upgrade" ]
then
upgrade=y
fi

for lang in `apt-cache pkgnames language-pack-gnome- | grep -i base`
do
array=( "${array[@]}" "$lang" )
done

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
Have you found this script useful? Please support author by PayPal donation.

Leave a Reply