listening to friends with Magento in building e-commerce system, I am curious. Then he downloaded a package and deployed a set. the host uses Linux center os6.5, the installation program is very smooth, the deployment of a set of about one hours or so. #################Linux Environment Construction ##################
install Apache2, and then start:Yum Install httpd/etc/init.d/httpd Startat this point, Apache can provide HTTP services, but cannot parse PHP, or even database. Apache Master Config file:/etc/httpd/conf/httpd.conf
The Apache master configuration directory allows you to categorize different types of configurations into this directory:/etc/httpd/conf.d/
Apache Web site root directory:/var/www/html/
Apache log file directory:/VAR/LOG/HTTPD If you want to change the port , vi/etc/httpd/conf/httpd.conf, if modifying the port binding port is unsuccessful, see the link below http://stackoverflow.com/questions/17079670/ Httpd-server-not-started-13permission-denied-make-sock-could-not-bind-to-adIf the service starts up, the extranet link is not: Can shut down firewall (temporary scheme)/etc/init.d/iptables stop
install MySQLyum install MySQL mysql-server/etc/init.d/mysqld Startthen go to MySQL table to modify the root user's password to abc123Use MySQL;Update user Set Password=password (' abc123 ') where user= ' root ';MY.CNF configuration file for MySQL:/etc/my.cnf
MySQL database file location:/usr/lib/mysql
Installing PHP5Yum Install phpafter installation, create a info.php file in/var/www/html/:echo "<?php phpinfo ()?>" >/var/www/html/info.php access: ip:80/info.php, if you print info, PHP environment is built successfully! ############ #下面正式开始magento安装 ############
download files to local(You can also download the package directly wget to Linux) http://www.magentocommerce.com/download
using RZ to read files from localIf you cannot use this command, yum install lrzsz-y
Unzip the fileUnzip **.zip/var/www/html/magentovisit: Ip:80/magentofollow the prompts to go.
Issue 1:* * * path must be writable This problem only needs to beAll files under the/var/www/html/magento path are set to writable. Chmod-r 777/var/www/html/magento/* (Of course, after this modification has a very large security risk, here mainly for the initial construction)
Question 2:Module * * Not downloadedYum Install php-dom php-mcrypt PHP-GD installation mcrypt error: http://blog.hostonnet.com/installing-php-mcrypt-in-centos-6