1) 重啟後生效 開啟: chkconfig iptables on 關閉: chkconfig iptables off 2) 即時生效,重啟後失效 開啟: service iptables start 關閉: service iptables stop 需要說明的是對於Linux下的其它服務都可以用以上命令執行開啟和關閉操作。 在開啟了防火牆時,做如下設定,開啟相關連接埠, 修改/etc/sysconfig/iptables 檔案,添加以下內容: -A
標籤:由於工作原因我們需要通過php訪問我們以前的Sql Server 2005資料,所以就有了這篇文章的誕生.廢話就少說了,做程式設計的最不喜歡兜圈子了.用簡介步驟說明問題,往下看.系統: Linux資料庫: Sql Server 2005 1.下載FreeTDS 官方網站:http://www.freetds.org 2.安裝FreeTDS# tar zxvf freetds-current.tgz(解壓)# ./configure
A symbolic link, also termed a soft link, is a special kind of file that points to another file, much like a shortcut in Windows or a Macintosh alias. Unlike a hard link, a symbolic link does not contain the data in the target file. It simply
註:本文轉載自http://club.topsage.com/thread-1231567-1-1.html 筆者曾得到一個類似於加密“狗”的USB裝置,要使之在Linux下正常工作。然而,通過一個名為USBView的小程式判斷,Linux核心無 法驅動這個USB裝置,並且在“Linux USB Working Devices”的列表中也沒有找到該裝置,這意味著只有很少的人在使用這種類型的 USB裝置。在Linux的/proc/bus/usb/devices檔案中,有這個USB裝置的一些資訊:
LINUX下禁止ping命令的使用以root進入Linux系統,然後編輯檔案icmp_echo_ignore_allvi /proc/sys/net/ipv4/icmp_echo_ignore_all將其值改為1後為禁止PING將其值改為0後為解除禁止PING直接修改會提示錯誤:WARNING: The file has been changed since reading it!!!Do you really want to write to it