怎么在ubuntu上安装apache【初学者来袭,请高手指教】

如何在ubuntu下安装apache【菜鸟来袭,请高手指教】
老师布置了一个作业,让搭建apache。在ubuntu下。第一次接触ubuntu,给了个sudo apt-get install apache2命令。但是不会用这个命令啊!求大神指教


。。。。直接在终端里输入这个命令就ok了
前提是电脑要能够链接互联网。。。。。

安装之后,会自动启动,默认http根目录是/VAR/WWW

PHP code

zhu@ubuntu:~$ sudo apt-get install apache2
[sudo] password for zhu:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
apache2-mpm-worker apache2-utils apache2.2-bin apache2.2-common
libaprutil1-dbd-sqlite3 libaprutil1-ldap
Suggested packages:
apache2-doc apache2-suexec apache2-suexec-custom
The following NEW packages will be installed:
apache2 apache2-mpm-worker apache2-utils apache2.2-bin apache2.2-common
libaprutil1-dbd-sqlite3 libaprutil1-ldap
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,679 kB of archives.
After this operation, 5,064 kB of additional disk space will be used.
Do you want to continue [Y/n]?

探讨

老师布置了一个作业,让搭建apache。在ubuntu下。第一次接触ubuntu,给了个sudo apt-get install apache2命令。但是不会用这个命令啊!求大神指教

怎么在ubuntu上安装apache【初学者来袭,请高手指教】

相关文章:

你感兴趣的文章:

标签云: