我的WEB服务器是不是打开了?

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
头像
live.cn
帖子: 185
注册时间: 2008-06-16 14:37

我的WEB服务器是不是打开了?

#1

帖子 live.cn » 2008-08-30 12:39

~$ sudo /etc/init.d/apache2 start
* Starting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
httpd (pid 18186) already running
[ OK ]
头像
live.cn
帖子: 185
注册时间: 2008-06-16 14:37

不明白

#2

帖子 live.cn » 2008-08-30 12:41

p123456@p123456-desktop:~$ sudo apache2 status
Usage: apache2 [-D name] [-d directory] [-f file]
[-C "directive"] [-c "directive"]
[-k start|restart|graceful|graceful-stop|stop]
[-v] [-V] [-h] [-l] [-L] [-t] [-S] [-X]
Options:
-D name : define a name for use in <IfDefine name> directives
-d directory : specify an alternate initial ServerRoot
-f file : specify an alternate ServerConfigFile
-C "directive" : process directive before reading config files
-c "directive" : process directive after reading config files
-e level : show startup errors of level (see LogLevel)
-E file : log startup errors to file
-v : show version number
-V : show compile settings
-h : list available command line options (this page)
-l : list compiled in modules
-L : list available configuration directives
-t -D DUMP_VHOSTS : show parsed settings (currently only vhost settings)
-S : a synonym for -t -D DUMP_VHOSTS
-t -D DUMP_MODULES : show all loaded modules
-M : a synonym for -t -D DUMP_MODULES
-t : run syntax check for config files
-X : debug mode (only one worker, do not detach)
头像
milujite
帖子: 644
注册时间: 2007-01-01 22:14
联系:

#3

帖子 milujite » 2008-08-30 23:30

已经启动了服务器,但是你的服务器域名无法解析,所以用127.0.0.1来设置web服务器名
ThinkPad SL400 DC
CPU:Intel® Core 2 Duo processor T5670
RAM:2x1GB,Dual
HARDDISK:Seagate 160G SATA
CD-ROM:COMBO
回复