Aliyun ECS (Linux) one-click Install Web Environment SH installation step _linux

Source: Internet
Author: User
Tags tmp folder nginx server aliyun

Get ready to connect to Linux Server tools, recommend Xshell and Xftp.

One-click installation package Download: Click here to download

First log in to the Cloud server tutorial "Using Xshell Connection Aliyun Server" to the main directory (/home) look at the following:

Command one:

cd /home

Command two:

cd /home && mkdir tmp && cd tmp

Configure the Web environment (i)

Click on the Xshell icon XFTP4 can be directly linked to the XFTP4 software page, will download a good sh file uploaded to the/home/tmp folder in the following figure:

Web environment Configuration (ii)

Relink Server (Xshell), without relink will result in the inability to find the Sh file directory.

We're just testing it. Type the command:

cd /home/tmp

In the type:

ll

The following key faces will appear

Web environment Configuration (iii)

In accordance with the following command

Command a

chmod –R 777 sh

Command two

cd sh

Command three

./install.sh

The following picture appears:

Web environment Configuration (iv)

Select Apache or Nginx server as needed, and I choose Apache, which commands the following

A

Why I choose Apache, the current Apache is the world's largest installed Web server software, is also a perfect compatible with a software WordPress, Aliyun official recommended Nginx software, although the performance is superior to Apache, but the compatibility is not guaranteed, I am not a server master, Just be honest with yourself. (Whether you believe it or not, I believe it anyway)

Sit down and wait to install, smoke a cigarette, brew a cup of tea ~~~~~~~~~~.

The appearance of the following interface is equivalent to complete.

Web Environment Configuration (v)

Ali's Linux one-click installation package has put the FTP software

How to find the FTP account password, type the command directly:

cat account.log

Note that you need to type under the SH directory.

Web environment configuration (vi)

All right. All configurations have been completed. is not very simple!
Site Directory:/alidata/www

Server Software directory:/alidata/server

Mysql Directory/alidata/server/mysql

PHP directory/alidata/server/php
Choose Apache Then there will be a httpd directory in
/alidata/server/httpd

Apache configuration file in/alidata/server/httpd/conf

Apache Virtual Host Add you can modify/alidata/server/httpd/conf/vhosts/phpwind.conf

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.