CentOS6.4 Drupal-7.31 Installation
Step 1: Install LNMP
One-click installation of lnmp/var/www/html ubuntu/var/www in CentOs Environment
1) # wget-chttp: // 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
# Wgethttp: // ftp.drupal.org/files/projects/drupal-7.31.zip
# Unzip drupal-7.31.zip
# Mv
Drupal-7.31 drupal
# Cd drupal
# Cp sites/default. settings. php sites/default/settings. php
# Chmod-r777 drupal
Step 3: Install the Chinese package
# Cd/home/wwwroot/drupal/profiles/standard/translations
# Wgethttp: // 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 *. * toroot @ localhostidentified 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:
Step 6: Do you think your website is not beautiful enough? Install a topic!
# Cd/home/wwwroot/drupal/sites/all/themes
# Wgethttp: // ftp.drupal.org/files/projects/mayo-7.x-2.1.tar.gz
# Tar zxvf mayo-7.x-2.1.tar.gz