Skip to content

Instantly share code, notes, and snippets.

@fuchao2012
Created July 2, 2015 06:04
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fuchao2012/cc578be11d5dc0364cb6 to your computer and use it in GitHub Desktop.
Save fuchao2012/cc578be11d5dc0364cb6 to your computer and use it in GitHub Desktop.
aliyun install lamp script

===download the script===

http://market.aliyun.com/products/53690006/cmgj000262.html?spm=5176.775974333.2.4.WgIcs1

===install manual=== upload the package into your server then find it.

chmod –R 777 sh-1.5.0
cd sh-1.5.0 ./install.sh

have a cup of tea... while you see ----mysql init ok---- you have done ===check your server===

netstat -tunpl

how to find the ftp and mysql service?

cat account.log
passwd www #change the ftp server password
mysqladmin -uroot -p<old password> password <new password> # you need to watch out the white space during the script
cat /alidata/website-info.log #to see the website server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment