学用VPS(二):apache、mysql、php5等
1.安装apache
sudo apt-get install apache
http://wiki.ubuntu.org.cn/Apache%E5%AE%89%E8%A3%85%E8%AE%BE%E7%BD%AE
web根目录:/etc/apache2/sites-enabled/000-default
2.安装mysql
http://wiki.ubuntu.org.cn/MySQL%E5%AE%89%E8%A3%85%E6%8C%87%E5%8D%97
sudo apt-get install mysql-server
sudo apt-get install mysql-client
3.安装php5
sudo apt-get install php5
4.中文
sudo apt-get install language-support-zh
5.常用命令
Read the rest of this page »