Ubuntu/Step by step:修订间差异
来自Ubuntu中文
跳到导航跳到搜索
第18行: | 第18行: | ||
sudo apt-get install apache2 | sudo apt-get install apache2 | ||
# New web site in ~/JUniverse | |||
cd /var/www/html | |||
sudo ln -s ~/JUniverse juniverse | |||
cd /etc/apache2/sites-available | |||
sudo cp 000-default.conf | |||
</pre> | </pre> |
2016年10月23日 (日) 23:16的版本
Update & Upgrade
# Make sure your list of packages is update to date, and system upgrade sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade sudo apt-get autoremove
Web Server (Apache2)
# Installation sudo apt-get install apache2 # New web site in ~/JUniverse cd /var/www/html sudo ln -s ~/JUniverse juniverse cd /etc/apache2/sites-available sudo cp 000-default.conf