Download Xshell and xftp and install. These 2 software can be downloaded to the website. Xshell is a powerful security terminal emulation software that supports SSH1, SSH2, and the Telnet protocol of the Microsoft Windows platform, which makes it easy to remotely log on to Aliyun hosts. Xftp is a powerful sftp, FTP file transfer software based on MS Windows platform, which can upload files to the host.
We can see the auto_fdisk.sh from the above picture
, We will use this tool to partition and format the data disk, it is fully automatic. (Of course, you can also use this tool to partition, if you are a master of Linux, you can directly through the command to partition)
In the next section, we will make a system configuration.
The third step: Configure the System--linux a key to install the Web environment full raiders.
One-click Installation
Package
Download :
Click here to download
The code is as follows |
Copy Code |
Installation Instructions
1, This installation package contains the software and version of:
nginx:1.0.15, 1.2.5, 1.4.4
apache:2.2.22, 2.4.2
mysql:5.1.73, 5.5.35, 5.6.15
php:5.3.18, 5.4.23, 5.5.7
PHP Extensions: memcache, Zend Engine/opcache
ftp: (yum/apt-get installation)
phpwind:8.7 GBK
phpmyadmin:4.1.8
2, please use the latest one-click installation package script installed, previous versions have bugs, will cause installation of abnormal and installation of the environment chaos.
3, the implementation of a key installation package (./install.sh), will automatically clean up before the first-click installation package installed environment.
If you have already installed a key installation package, perform the installation again, and if important data is available, back up the/alidata directory yourself.
4, a key installation package will install the software in the/alidata directory.
If your system does not have a data disk, the one-click installation package installs the software into the system/alidata directory.
If your system has a data disk, and you have not formatted a mounted data disk. The one-click installation package automatically formats the first data disk and mounts it in the/alidata directory.
If your system has a data disk, and the first data disk is formatted and mounted. The one-click installation package will mount the first data disk into the/alidata directory again, without affecting the use of your previous mount directory.
If your system has a data disk and the data disk is formatted, the data disk is not mounted. The one-click installation package will mount the first data disk to the/alidata directory.
5, How to uninstall a key installation package?
You can perform the following command to complete the uninstall:
chmod 777-r sh-1.3.0/
CD sh-1.3.0/
./uninstall.sh
|
Download a good installation package, first uploaded to the host/home directory. You can enter in the Xshell interface: Cd/home then click Invoke Xftp, as shown below:
Click on the call Xftp, will open the Xftp tool, and then we can download the installation package uploaded to the host's home directory, can be directly dragged over, the following figure:
When the upload is complete, we return to the shell interface, input: chmod–r 777 sh
Confirm and then enter: CD sh && chmod +x install*.sh &&/install.sh
At this point, a selection prompt appears, entering the Web server version of the selection interface, as shown in the following figure:
In the case of high concurrent connections, Nginx is a good substitute for Apache servers. Nginx can also be used as a 7-tier load-balancing server. According to my test results, Nginx 0.8.46 + PHP 5.2.14 (FastCGI) can withstand more than 30,000 concurrent connections, equivalent to Apache 10 times times the same environment. Here we select Nginx, enter 1, return (if nothing input, direct return, or enter the wrong character, then the default selection Nginx)
Then we select the version of the Nginx to install (if the Web server chooses Apache, the message is to install the Apache version), a total of 1.0.15/1.2.5/1.4.4 three versions can provide our choice, Here we select 1.2.5 version, then enter 2, carriage return (if nothing entered, direct return, or enter the wrong characters, then the default selection 1.0.15 version)
Then we select the version of PHP to be installed, and a total of three 5.3.18/5.4.23/5.5.7 versions are available for us to choose from. Here we select 5.5.7 version, then enter 3, carriage return (if nothing entered, direct return, or enter the wrong characters, then the default selection 5.3.18 version)
Then we choose the version of MySQL to install, a total of 5.1.73/5.5.35/5.6.15 three versions can provide our choice, Here we select 5.1.73 version, then enter 1, carriage return (if nothing entered, direct return, or enter the wrong characters, then the default selection 5.1.73 version)
Then you can see the version we just selected is as follows, we enter Y or y to install.
Here, we will formally enter the environmental installation process, the program is automatically compiled installation services. Generally this process lasts for 20 minutes. Until the following figure appears, the installation is complete.
Enter command: NETSTAT-TUNPL
We can see the running state of the service and port: 9000 port is the PHP process service, 3306 port is the MySQL service, 80 port is the Nginx service, 21 port is the FTP service.
Enter on the command line: Cat Account.log can view ftp and MySQL accounts and passwords:
In addition, we can view the version information of the software just installed in Cat/alidata/website-info.log.
All right. All configurations have been completed. At this time, we entered the browser address bar to buy the Aliyun IP address, you can open, out of the interface is Phpwind Forum program installation, this is the installation package from the, as well as database management tools phpMyAdmin