Ubuntu Apache錯誤: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName 10月 28, 2011 修改/etc/apache2/apache2.conf,加入 ServerName 127.0.0.1 閱讀完整內容
Ubuntu tw.archive.ubuntu.com 連線失敗 10月 28, 2011 先備份source.list cp /etc/apt/source.list /etc/apt/source.list.bak 取代 vi /etc/apt/source.list :%s/tw.archive.ubuntu.com/mirror.nttu.edu.tw/g 閱讀完整內容
在CentOS下安裝SSH2(Secure Shell2) PHP Extension 10月 25, 2011 安裝指令: yum install libssh2-devel pecl install ssh2-beta 將啟用ssh2設定加入php.ini: echo extension=ssh2.so >> /etc/php.ini 重啟web server: service httpd restart 安裝過程中,可能會需要用到幾個東西 Pecl: yum install php-pear C / C++ Compiler: yum install gcc gcc-c++ autoconf automake Make: yum install lib tool make 閱讀完整內容
CentOS 無法執行 locate 指令 10月 25, 2011 locate是一個CentOS下尋找檔案的指令, 若發現locate指令not found時, 可以透過下列指令安裝: yum install mlocate 進行locate資料庫更新 updatedb 如此便可使用了。 閱讀完整內容