apachectl graceful
apache 設定 reload 後也可保持現有連線了
參考網頁:http://blog.2be.com.tw/2009/02/apache_4216.html
2010年2月11日 星期四
2010年1月8日 星期五
Apache 在 FreeBSD 上的安裝步驟
Apache2 在 FreeBSD 上安裝的步驟: (使用 Configure 方式安裝) :
1. Download httpd-2.2.10.tar.gz
2. tar xzvf httpd-2.2.10.tar.gz
3. cd httpd-2.2.10
4. /bin/sh ../httpd.configure.sh (先將要configure 的餐數設定為一個檔案)
5. make install
安裝完畢後, 執行
/usr/local/apache2/bin/apachectl start
Apache 即會啟動, 如果要停止, 執行
/usr/local/apache2/bin/apachectl stop
即會停止, 如果開始後想再次啟動,執行
/usr/local/apache2/bin/apachectl restart
即可再次啟動
以下列出為參考其他人使用的Apache configure 的參數設定:
#!/bin/bash
./configure --prefix=/usr/local/apache2 --infodir=/usr/local/apache2/info --mandir=/usr/local/apache2/man --enable-so --enable-MODULE=shared --enable-ssl --enable-mods-shared=most
1. Download httpd-2.2.10.tar.gz
2. tar xzvf httpd-2.2.10.tar.gz
3. cd httpd-2.2.10
4. /bin/sh ../httpd.configure.sh (先將要configure 的餐數設定為一個檔案)
5. make install
安裝完畢後, 執行
/usr/local/apache2/bin/apachectl start
Apache 即會啟動, 如果要停止, 執行
/usr/local/apache2/bin/apachectl stop
即會停止, 如果開始後想再次啟動,執行
/usr/local/apache2/bin/apachectl restart
即可再次啟動
以下列出為參考其他人使用的Apache configure 的參數設定:
#!/bin/bash
./configure --prefix=/usr/local/apache2 --infodir=/usr/local/apache2/info --mandir=/usr/local/apache2/man --enable-so --enable-MODULE=shared --enable-ssl --enable-mods-shared=most
訂閱:
文章 (Atom)