Magento Ecommerce Installation and Related Troubleshooting


admin - Posted on 18 May 2009

I understnd people are having variour problems related to Magento- 1.3.1 Installtion on Redhat Fedora Release 9 systems.

The following configuration I am using for Installaion and development

1.0 2.0 GHZ dual core Win-XPP as the Development Platform with Service Pack 3 and 2 GB Ram. The Redhat Fedora 9 as the Linux Server- 1.5GB Mamory and 2.0 GHZ single core cpu. Upgrade the Linux server with the command yum -y update. Also make sure HTTPD and MYSQL are always running at the system startup. XVNC helps in remore control. Putty is necessay to communicate from Win-XPP to Linux server.
2.0 I have Firefox with Dom and CSS debuggsing attachment and current flash plugins.
3.0 I am using WIN-SCP(Free sftp client) to tranfer files berween my XPP and the Redhat Linux. Transfer the Package at /var/www/html. Do chmod -R 777 magento. Create empty database in mysql using the command
mysql -u root -p
your password;
drop database magento;
create database magento;
quit;

4.0 I had created a static IP like 192.168.1.140 on the Fedora server-9- This is crucial. Since Magento 1.3.1 will not work, if you have isntalled on ip say 192.168.1.110 and that the DHCP server has chnaged the IP address. The magento-1.3.1 server requires static IP address. This is my experience.
5.0 Create mysql Database like magento usng mysql command.
Please note that you need to provide password to your mysql server other wise it will not work with magento 1.3.1.
5.5 Load the Sample Database using the follwoing command
mysql -u root -p
your-password
use magento;
source sqlscript.sql;
quit;
This will load the sample database, You have to substitute the passord and sql script name.

6.0 Make sure the Fedora-9 server has the Correct time using NTP server. The cookies are time sensitive and will not work on IE7 if the time between the Win-XPP and Fedora are nagative.

7.0 Install as usual and you can log into admin console using IE7 and FF using the URL 192.168.1.140/index.php/admin

BTW, MY testing box IP is 192.168.1.140.
8.0 Many Fedora core 9 do not come installed with PHP Cahe software APC. You can intall APc using the following directions
http://www.howtoforge.com/integrating-apc-into-php5-and-lighttpd-fedora9

Related Information
I also found the following Tutorial effective:
1.0 Site Ground
http://www.siteground.com/tutorials/magento/index.htm