Http://devdocs.magento.com/guides/m1x/index.html
Http://devdocs.magento.com/guides/m1x/install/installing_install.html
Http://merch.docs.magento.com/ce/user_guide/Magento_Community_Edition_User_Guide.html
Useradd user
Yum Update
Yum Clean
Yum Install Yum-utils
Yum-complete-transaction
Yum Install PHP Php-mysql
Yum Install httpd
Yum Install Mysql-server
Service mysqld Start
Mysql_secure_installation
= Fix php5.1 Upgrade to PHP5.4W
RPM-UVH http://mirror.webtatic.com/yum/el5/latest.rpm
Yum Remove PHP Php-mysql
Yum Install Yum-plugin-replace
Yum Replace Php-common--replace-with=php54w-common
Yum Install php54w
Yum Install Php54w-mcrypt
Yum Install PHP54W-GD
Yum Install Php54w-soap
Yum Install php54w-mbstring
Yum install Php54w-devel # for Phpredis extension
= Disable Iptables
Iptables-f
Http://wiki.centos.org/HowTos/Network/IPTables
Cat/etc/sysconfig/iptables | See the Rules
Iptables-a input-j Rh-firewall-1-input
Iptables-a forward-j Rh-firewall-1-input
Iptables-a rh-firewall-1-input-i lo-j ACCEPT
Iptables-a rh-firewall-1-input-p ICMP--icmp-type any-j ACCEPT
Iptables-a rh-firewall-1-input-p 50-j ACCEPT
Iptables-a rh-firewall-1-input-p 51-j ACCEPT
Iptables-a rh-firewall-1-input-p UDP--dport 5353-d 224.0.0.251-j ACCEPT
Iptables-a rh-firewall-1-input-p udp-m UDP--dport 631-j ACCEPT
Iptables-a rh-firewall-1-input-p tcp-m TCP--dport 631-j ACCEPT
Iptables-a rh-firewall-1-input-m State--state established,related-j ACCEPT
Iptables-a rh-firewall-1-input-m State--state new-m tcp-p TCP--dport 22-j ACCEPT
Iptables-a rh-firewall-1-input-j REJECT--reject-with icmp-host-prohibited
Modprobe ip_conntrack_ftp
Iptables-i input-p tcp-m tcp--dport 21-m conntrack--ctstate established-j accept-m comment--comment "Allow FTP C Onnections on port 21 "
Iptables-i output-p tcp-m tcp--dport 21-m conntrack--ctstate new,established-j accept-m comment--comment "Allow F TP connections on port 21 "
Iptables-i input-p tcp-m tcp--dport 20-m conntrack--ctstate established,related-j accept-m comment--comment "all ow FTP connections on port 20 "
Iptables-i output-p tcp-m tcp--dport 20-m conntrack--ctstate established-j accept-m comment--comment "Allow FTP C Onnections on Port 20 "
Iptables-i input-m State--state new,established-m tcp-p TCP--dport 80-j ACCEPT
Service Iptables Save
= Settings
Chown-r 777 Magento/media
Php_value memory_limit 512M in. htaccess
= Install git
Yum-y Install zlib-devel openssl-devel cpio expat-devel gettext-devel gcc
wget https://www.kernel.org/pub/software/scm/git/git-1.8.5.4.tar.gz
Make Configure
./configure--with-expat--with-openssl--with-curl
Make && make install
= Upgrade MySQL
Yum Remove mysql-*
Yum Remove libmysqlclient15-5.0.95-5.w5.x86_
Download mysql-community-release-el5-{version-number}.noarch.rpm from Http://dev.mysql.com/doc/mysql-repo-excerpt /5.6/en/linux-installation-yum-repo.html
RPM-UVH mysql-community-release-el5-5.noarch.rpm
Yum Install Mysql-community-server
Yum Install-y Dovecot
Yum Install-y Perl-dbd-mysql
Yum Install-y Php54w-mysql
= Remove index.php in URL
in/etc/conf/httpd.conf, in sections <directory "/var/www/html", change allowoverride None to allowoverride all
Edit magento/.htaccess and uncomment the line:rewritebase/magento/
In admin console,
In System->configuration->web->search Engines optimizations, select Yes
In System->configuration->web->secure->use Secure Urls in the fontend, select Yes
= Admin Console Settings
System->configuration->system->advanced->advanced->disable Modules Output
System->configuration->system->advanced->developer->log Settings
Set Mage::setisdevelopermode (TRUE); and Ini_set (' display_errors ', 1); In file index.php
System->cache Management
System->index Management
= Access control to Catogeroy
System->category->customer Groups Access Control http://www.zetaprints.com/magentohelp/ magento-access-control-for-dynamic-imaging/
= Install Extenstion
System->magento Connect
= = PhpMyAdmin
cd/var/www/html && MV PhpMyAdmin PMA
Product video link
Http://de.magentocommerce.com/magento-connect/product-videos-2.html
Http://www.magentocommerce.com/magento-connect/product-video-1.html
Http://www.magentocommerce.com/magento-connect/product-video-4.html
Installed http://www.magentocommerce.com/magento-connect/youtube-video-gallery-1.html
Disable mage_notification module to off the noti of callout
Set logo
System->configuration->general->design->logo Image SRC
Change color
Install Ruby and RubyGems and compass
Curl-ssl Https://get.rvm.io | Bash
srouce/etc/profile.d/rvm.sh
RVM Install 1.9.3
RVM Use 1.9.3--default
Gem Install Compass
Change color = Compass Watch. && Edit Skin/frontend/rwd/default/scss/_var.scss
Log all SQL
Edit lib/varien/db/adapter/pdo/mysql.php, on these $_debug $_logallqueries http://magento.stackexchange.com/ Questions/25113/how-to-log-all-magento-sql
Install Redis
wget https://github.com/antirez/redis/archive/2.8.21.tar.gz
Tar zxf redis-2.8.21.tar.gz
Make && sudo make install
CD Utils
./install_server.sh # The last answer is "/usr/local/bin/redis-server"
sudo chkconfig redis_6379 on
sudo service redis_6379 start
Install Phpredisadmin
git clone git://github.com/erikdubbelboer/phpredisadmin.git
CD Phpredisadmin
git clone https://github.com/nrk/predis.git Vendor
Install cm_redissession
Enable Cm_redissession module
/app/etc/modules/cm_redissession.xml Active--true
RM-RF Var/cache
System > Cache Management, Flush Magento Cache
Update App/etc/local.xml
Install Cm_cache_backend_redis && Phpredis && Modman
Modman Init
Modman Clone Https://github.com/colinmollenhour/Cm_Cache_Backend_Redis
Lib Credis && Cm_cache_backend_redis is already installed, just copy these files to respective directory
Run PHP stats.php to show the usage of tags in redis
What stuff have done with Magento