インストール後

関連ディレクトリも出来た。

[root@linux38 httpd]# pwd
/etc/httpd
[root@linux38 httpd]# ls -la
合計 12
drwxr-xr-x  4 root root   65 10月 22 15:26 .
drwxr-xr-x 81 root root 8192 10月 22 14:55 ..
drwxr-xr-x  2 root root   35 10月 22 15:26 conf
drwxr-xr-x  2 root root  179 10月 22 15:27 conf.d
lrwxrwxrwx  1 root root   19 10月 22 15:26 logs -> ../../var/log/httpd
lrwxrwxrwx  1 root root   27 10月 22 15:26 modules -> ../../usr/lib/httpd/modules
lrwxrwxrwx  1 root root   13 10月 22 15:26 run -> ../../var/run
[root@linux38 httpd]#
[root@linux38 www]# pwd
/var/www
[root@linux38 www]# ls -la
合計 24
drwxr-xr-x  8 root      root   80  7月 27 00:13 .
drwxr-xr-x 24 root      root 4096 10月 10 23:25 ..
drwxr-xr-x  2 root      root    6  7月 27 00:13 cgi-bin
drwxr-xr-x  3 root      root 4096 10月 22 15:26 error
drwxr-xr-x  2 root      root    6  7月 27 00:13 html
drwxr-xr-x  3 root      root 8192 10月 22 15:26 icons
drwxr-xr-x 14 root      root 4096 10月 22 15:27 manual
drwxr-xr-x  2 webalizer root   43 10月 10 23:01 usage
[root@linux38 www]#

apachectrlコマンドも出来た。

[root@linux38 lib]# find / -name apachectl
find: WARNING: Hard link count is wrong for /selinux: this may be a bug in your filesystem
 driver.  Automatically turning on find's -noleaf option.  Earlier results may have failed to 
include directories that should have been searched.
/usr/sbin/apachectl

httpdコマンドも出来た。

[root@linux38 sbin]# pwd
/usr/sbin
[root@linux38 sbin]# ls -al http*
  • rwxr-xr-x 1 root root 315248 7月 27 00:13 httpd
  • rwxr-xr-x 1 root root 327704 7月 27 00:13 httpd.worker
[root@linux38 sbin]# ./httpd -help Usage: ./httpd [-D name] [-d directory] [-f file] [-C "directive"] [-c "directive"] [-k start|restart|graceful|graceful-stop|stop] [-v] [-V] [-h] [-l] [-L] [-t] [-S] Options: -D name : define a name for use in 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