Centos6.4 _ x86_64 installation Drupal-7.31 must be successful!

Source: Internet
Author: User

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!

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.