Friday, June 19, 2009

Magento Installation

Megento installation is so easy and you run it so easy .

Down load Magento form http://www.magentocommerce.com/download/noregister
down load
magento-1.3.2.1.tar.gz
magento-sample-data-1.1.2.tar.gz

download that 2 tar files.
Install some software
apt-get install apach2 mysql-server php5 php5-mysql php5-curl php5-gd php5-mcrypt php5-cgi

After install
open
vim
/etc/php5/apache2/php.ini
and find
memory_limit = 256M
save that file

open
vim /etc/hosts
127.0.0.1 www.example.com

$ cp -rf magento -1.3.2.1.tar.gz
magento-sample-data-1.1.2.tar.gz /var/www
$ cd /var/www
$ tar -xfv magento-1.3.2.1.tar.gz
$ tar -xvf
magento-sample-data-1.1.2.tar.gz

mv magento-sample-data
-1.1.2/media/* magento/media/
mv magento-sample-data-1.1.2/magento_sample_data_for_1.1.2.sql magento/data.sql
chmod o+w var var/.htaccess app/etc
chmod -R o+w media

open mysql
mysql -u root -p
password=

mysql>create datebase magento;

mysql -h DBHOST -u DBUSER -pDBPASS DBNAME <>

mysql -h localhost -u user name -p user password data base name < style="font-style: italic;">
./pear mage-setup .


./pear install magento-core/Mage_All_Latest-stable


It will take some time and magento works
open firefox and other broser
type there
www.example.com/magento
after that it is ask
agree check it
ask mysql user name and password
country name and country money.
then you get two option
Frant hand and back hand
if you click back hand then
user name = admin
password =123123

ok

Thanks
jiten jha


No comments: