How can I quickly install wordpress on a cloud host (Meituan cloud) ubuntu?

Source: Internet
Author: User
Tags install wordpress
Cainiao only uses virtual hosts. I bought Meituan cloud and ubuntu system this time. I used a VM instance for the first time... The knowledge base of Meituan cloud still does not operate. I feel like it is for the veteran. I am a newbie and I am totally helpless .. I still don't understand my answers to the customer service after I open a ticket .. Because the customer service answers are concise and concise .. Although I have repeatedly said that I am a Cainiao. Who can tell me what I should do to use wordpress smoothly ?? Cainiao only uses virtual hosts.

I bought Meituan cloud and ubuntu system this time.
I used a VM instance for the first time... The knowledge base of Meituan cloud still does not operate. I feel like it is for the veteran. I am a newbie and I am totally helpless ..

I still don't understand my answers to the customer service after I open a ticket .. Because the customer service answers are concise and concise .. Although I have repeatedly said that I am a Cainiao.

Who can tell me what I should do to use wordpress smoothly ?? Reply: If you are not familiar with linux, we recommend that you install the virtual host panel AMH. For more information, see: install the AMH4.2 virtual host panel. Update: I am too busy to get my driver's license. My girlfriend had no time to get online a few days ago. Take the time to update today.

Click http://shang.qq.com/wpa/qunwpa? Idkey = ba36ddc26faeeb84153430641f02e5d34ddbce3964ee945abbde0a9b002a118b Or scan the QR code to join the blog chat qq group 371926528,
The subject is that I have purchased a cloud host of the Ubuntu system. I have installed a virtual machine on my computer and then the Ubuntu desktop operating system. The subject is the Ubuntu Server operating system, in fact, they are all the same. I also install them through the command line.

The ultimate goal of the subject is to install WordPress, so we need to build a web environment, WordPress is PHP + MYSQL, so we need a lamp or LNMP environment, L stands for linux, A stands for Apache, M stands for mysql, P stands for PHP, and N stands for nginx. nginx and apache do the same thing, but they are two different software. Next we will use LAMP as an example to build a WEB environment, and then follow WordPress.

1: install mysql
Zhangchaoquan @ zhangchaoquan-VirtualBox :~ $ Apt-get install mysql-server mysql-client
Sudo is used to get super administrator permissions. I used to use a red hat. now I forget sudo every time I use Ubuntu. Sudo is used to get super administrator permissions. I used to use a red hat. now I forget sudo every time I use Ubuntu.
Encounter: Do you want to continue? Enter y and press enter.

During installation, you will be asked to set the database password for the root user.

2: install the apache server
Zhangchaoquan @ zhangchaoquan-VirtualBox :~ $ Sudo apt-get install apache2

After installation, enter localhost or 127.0.0.1 in the browser to check whether apache is installed successfully (the subject should enter the IP address of the VM instance in the browser) After installation, enter localhost or 127.0.0.1 in the browser to check whether apache is installed successfully (the subject should enter the IP address of the VM instance in the browser)
If you see the above interface, it means that apache has been installed. If you see the above interface, it means that apache has been installed.

3: install PHP
Zhangchaoquan @ zhangchaoquan-VirtualBox :~ $ Sudo apt-get install libapache2-mod-php5
After the installation is complete, write a simple php probe to check whether php is successfully installed. After the installation is complete, write a simple php probe to check whether php is successfully installed.
By the way, restart apache.
Zhangchaoquan @ zhangchaoquan-VirtualBox :~ $ Service apache2 restart

Write a php probe
Zhangchaoquan @ zhangchaoquan-VirtualBox :~ $ Sudo vim/var/www/html/blogpark. php
/Var/www/html/is the default site root directory of apache
Remember to save and exit at the end: wq. Remember to save and exit at the end: wq.

Then check localhost/blogpark. php in the browser. if you see the following page, it indicates that php is successfully installed.

4: Configure PHP and MYSQL
Apt-cache search php5
Sudo apt-get install php5-mysql php5-curl php5-gd php5-intl php5-imagick php5-imap php5-mcrypt php5-memcache php5-ming php5-ps php5-pspell php5-recode
This process is a bit long ,,,,,,
Restart apache Restart apache
Zhangchaoquan @ zhangchaoquan-VirtualBox :~ $ Service apache2 restart

The environment is basically configured here

5: create a new database to install WordPress. the database name is wordpress.
Zhangchaoquan @ zhangchaoquan-VirtualBox :~ $ Mysql-u root-p
Enter password
Mysql> create database wordpress; (create database command)
Then exit Then exit
Mysql> exit;

6: install wordpress. The point is to wash your face. don't fall asleep !!!
Download wordpress:
Zhangchaoquan @ zhangchaoquan-VirtualBox :~ $ Wget https://cn.wordpress.org/wordpress-4.3-zh_CN.zip
The speed is really TMD slow, and the Tianchao wall is too powerful. The speed is really TMD slow, and the Tianchao wall is too powerful.

Wait, change to your own virtual host.
(The above is the download server using the Hong Kong Virtual host I am using, you can see that the average download speed is more than kb/s, and this year is only 98 yuan, in order to suspect advertising, address mosaic) (The above is the download server using the Hong Kong Virtual host I am using, you can see that the average download speed is more than kb/s, and this year is only 98 yuan, in order to suspect advertising, address mosaic)

Download the package, decompress the package ,,,
Zhangchaoquan @ zhangchaoquan-VirtualBox :~ $ Unzip wordpress-4.3-zh_CN.zip
Or
Zhangchaoquan @ zhangchaoquan-VirtualBox :~ $ Jarxvf wordpress-4.3-zh_CN.zip
Move the wordpress program to the home directory of the website
Zhangchaoquan @ zhangchaoquan-VirtualBox :~ $ Sudo cp-r wordpress/*/var/www/html/

Visit: http: // localhost/wp-admin/setup-config.php You will be able to see the familiar interface. it's too late and you don't want to worry about it. The remaining question subjects should be able to complete.
For convenience, you can also install phpmyadmin and vsftpd. For convenience, you can also install phpmyadmin and vsftpd. If only wordpress is installed, run
Sudo apt-get install wordpress
(WordPress-Community Help Wiki) )
But if you want to use it, you need to install servers (Nginx, Apache) and databases (Mysql) to access it from the Internet ).
Manual configuration may cause various problems, so install the VPS panel.
Https://www.baidu.com? Wd = vps % E9 % 9D % A2 % E6 % 9D % BF WDCP Baidu
Lamp integration, a lot of one-click configuration
Upload and install WordPress code.

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.