Step 1: Install lnmp
One-click installation of lnmp/var/www/html Ubuntu/var/WWW in centos Environment
1) # wget-C http://soft.vpser.net/lnmp/lnmp0.9-full.tar.gz
2) # tar zxvf lnmp0.9-full.tar.gz
3) # cd lnmp0.9-full/
4) #./centos. Sh 2> & 1 | tee lnmp. Log
Domain Name: localhost
Set MySQL passwd: Default Root: Root
Step 2: Install Drupal
1) download Drupal
# Cd/home/wwwroot // nginx webpage root directory
# Wget http://ftp.drupal.org/files/projects/drupal-7.31.zip
# Unzip drupal-7.31.zip
# Mv
Drupal-7.31 Drupal
# Cd Drupal
# Cp sites/default/Default. settings. php sites/default/settings. php
# Chmod-r777 Drupal
Step 3: Install the Chinese package
# Cd/home/wwwroot/Drupal/profiles/standard/translations
# Wget http://ftp.drupal.org/files/translations/7.x/drupal/drupal-7.31.zh-hans.po
Step 4: Create Drupal's own MySQL database
# Mysql-uroot -pwww.cnyunwei.com
Mysql> show databases;
Mysql> Create Database Drupal;
Mysql> grant all privileges on *. * to [email protected] identified by 'root' with grant option;
Mysql> flush privileges;
Step 5: Go to the browser interface to install Drupal
1) input in the browser
Http: // 192.168.5.19/Drupal/install. php
2) The installation successful page is as follows:
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/4C/76/wKiom1Q98QvgBMHEAAKops7sZcE191.jpg "Title =" qq 51115115936.jpg "alt =" wkiom1q98qvgbmheaakops7szce191.jpg "/>
Step 6: Do you think your website is not beautiful enough? Install a topic!
# Cd/home/wwwroot/Drupal/sites/All/themes
# Wget http://ftp.drupal.org/files/projects/mayo-7.x-2.1.tar.gz
# Tar zxvf mayo-7.x-2.1.tar.gz
This article from the "Sha ba" blog, please be sure to keep this source http://songlisha.blog.51cto.com/6269280/1564283
Centos6.4 _ x86_64 installation Drupal-7.31 must be successful!