Apache(オープンソースのウェブサーバソフト)
起動コマンド
起動スクリプトを使用
/etc/rc.d/init.d/httpd start(stop,restart,status)
Apacheの制御コマンドを使用
/usr/local/apache/bin/apachectl start(stop,restart,configtest(設定ファイルの文法チェック))
設定ファイル
/etc/httpd/conf/httpd.conf
----------------------------
ServerType standalpne ←サーバの起動方法
(standalone=単独,inetd=スーパーサーバ経由)
ServerRoot "/etc/httpd" ←設定ファイルを格納するディレクトリ
ServerName ills ←Webサーバの名前
DocumentRoot "/var/www/html" ←ドキュメントルートとなるディレクトリ
(トップページが置かれる)
Port 80 ←サービス要求を受け付けるポート番号(通常は80番)
User nobody ←httpd子プロセスのユーザ名
Groupe nobody ←httpd子プロセスのグループ名
----------------------------