请问Apache的安装方法和Ubuntu一样的吗?
Tofloor
poster avatar
qq52562548
deepin
2011-10-09 06:12
Author
如题!本人新手!求教Deepin Linux Apache的安装方法和Ubuntu一样的吗?谢谢回答!
Reply Favorite View the author
All Replies
21wmd
deepin
2011-10-09 22:11
#1
恩同样用apt-get install就可以安装
Reply View the author
GeBron
deepin
2011-10-12 05:48
#2
安装Apache:

sudo apt-get install apache2  

运行Apache:

sudo /etc/init.d/apache2 restart  

Apache会新建一个目录/var/www,是存放文档的根目录,可以用http://localhost 访问。
Reply View the author
s.******[email protected]
deepin
2011-10-12 06:12
#3
一样。
Reply View the author