GCC 和 Linux 是出色的組合。儘管它們是獨立的軟體,但是 Linux 完全依靠 GCC 在新的體繫結構上運行。Linux 還利用 GCC 中的特性(稱為擴充)實現更多功能和最佳化。本文討論一些重要的擴充,講解如何在 Linux 核心中使用它們。 GCC 當前的穩定版本(版本 4.3.2)支援 C 標準的三個版本: International Organization for Standardization (ISO) 最初的 C 語言標準(ISO C89 或 C90)
1.在官網下載 下載地址http://www.lua.org/download.html 2.上傳到Linux 3.安裝 [root@CentOS lua-5.2.3]# makePlease do 'make PLATFORM' where PLATFORM is one of these: aix ansi bsd freebsd generic linux macosx mingw posix solarisSee
在Ubuntu12.04中,不能再通過修改/etc/resolv.conf檔案來設定DNS(ll /etc/resolv.conf),開啟檔案會看到: #Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
配置Cento6.4 iptables防火牆。 1. 查看防火牆狀態 # service iptables status或: # /etc/init.d/iptables status 說明:下面也可以用此方法操作。 2.關閉 /開啟/重啟防火牆 # service iptables stop# service iptables start# service iptables restart 4.永久關閉防火牆
CentOS官方的Wiki提供了在7上關閉IPv6的方法。英文如下 5. How do I disable IPv6? Upstream employee Daniel Walsh recommends not disabling the ipv6 module, as that can cause issues with SELinux and other components, but adding the following