CentOS6.4 Drupal-7.31 Installation

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.