Build a WordPress environment on Ubuntu 14.04.5 LTS

Source: Internet
Author: User
Tags phpmyadmin

After supper idle bored, look at their own virtual machine in a long time ago installed Ubuntu 14.04.5 LTS, suddenly want to build a website, choose to choose, decided to use the WordPress environment, the following step by step to build it.

1. Download the wordpress Package

wget https://cn.wordpress.org/wordpress-4.8.1-zh_cn.tar.gz

Download interface

2. Installing Apache2.0

Install apache2

Because my current user is root, if the non-root user wants to add sudo to the above command

No error, now should have started to run, with the browser to try, enter the virtual machine IP

Apache Installation Complete

3. Install PHP

Install PHP5

4. Install MySQL

Install Mysql-server

This requires setting the root user's password, setting a

Re-enter, after installation, check the network port monitoring, you can see that MySQL has started to work.

5. Installation Support

Install libapache2-mod-auth-mysqlaptInstall php5-mysql

6. Installing phpMyAdmin

Install phpMyAdmin

Select the Web server on which to configure phpMyAdmin, select the first one here

Ask if you want to configure database information first select No, you can see that phpMyAdmin is installed under/usr/share/

Next to configure the phpMyAdmin in the browser, because the Apache directory under/var/www/html, you need to establish a link to this directory, as follows:

LN -s/usr/share/phpmyadmin/

Next Test in the browser, is OK, enter the MySQL username and password to create a database for WordPress

7. Unzip the WordPress file and copy to the Apache working directory

Next Browser Login

8. Complete the installation

Support basic completion, the Web page began to configure it!

Build a WordPress environment on Ubuntu 14.04.5 LTS

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.