The official version of ECS is configured with a public image CentOs6.5 64-bit, and the LNMP runtime environment needs to be set up. Use the one-click installation package linux_setup_1.4.1.zip downloaded from the official website for installation:
Install rzsz (you can select a local windows system to upload files directly on the x-shell interface)
# Yum install-y lrzsz
Upload linux_setup_1.4.1.zip and decompress it.
Install the SDK (see the pdf file in the compressed package ).
# Chmod-R 777 sh-1.4.1
# Cd sh-1.4.1
#./Install. sh
Wait until the installation is complete and check.
# Netstat-tunpl
View and modify the FTP and Mysql passwords.
# Cat account. log // view the default password
# Passwd www // modify the FTP password
# Mysqladmin-uroot-p old password new password // modify mysql password
If you encounter the following prompt when changing the mysql password:
-Bash: mysqladmin: command not found
Click the link and modify it:
# Ln-s/alidata/server/mysql/bin/mysqladmin/usr/bin
LNMP environment setup is complete.