易截截图软件、单文件、免安装、纯绿色、仅160KB

修改 Linux 主机名

Linux 下什么都比较麻烦,就连修改主机名也不例外。
Linux 安装好后,其默认的主机名是 localhost。修改 Linux 主机名需要3步。
使用 hostname 修改当前主机名。
hostname new-hostname
修改 /etc/sysconfig/network  配置文件,以便下次重启的时,使用新的主机名。
打开 /etc/sysconfig/network 文件,修改 HOSTNAME=new-hostname.domainname。
修改后的 /etc/sysconfig/network 文件如下:
NETWORKING=yes
HOSTNAME=new-hostname.localdomain
 修改本机的域名解析文件 /etc/hosts ,使得本机的应用程序能够解析新的主机名。
编辑文件: /etc/hosts
修改: xxx.xxx.xxx.xxx new-hostname.domainname new-hostname
(这里的xxx代表本机的网络地址,也可以是环回地址127.0.0.1)
修改后的 /etc/hosts 文件如下:
127.0.0.1  localhost.localdomain localhost
127.0.0.1  new-hostname.localdomain new-hostname


相关文档:

Linux iptable文档

总览
用iptables -ADC 来指定链的规

,-A添加 -D删除 -C 修改
iptables - [RI] chain rule num rule-specification[option]
用iptables - RI 通过规则的顺序指定
iptables -D chain rule num[option]
删除指定规则
iptables -[LFZ] [chain][option]
用iptables -LFZ 链名 [选项]
iptables -[NX] chain
用 -NX ......

Quick guide for porting linux to ALTERA DE2 70

Platform and tools:  Ubuntu 9.04
Step 1,   Download the nios linux tallbal
wget http://www.niosftp.com/pub/linux/nios2-linux-20090929.tar
or use xunlei to fix it.
Step2,
tar xvf  nios2-linux-20090929.tar
cd nios2-linux
./checkout
Step 3,   Generate the fpga.h f ......

linux内核编译中的i2o选项

The Intelligent Input/Output (I2O) architecture allows hardware drivers to be split into two parts: an operating system specific module called the OSM and an hardware specific module called the HDM. The OSM can talk to a whole range of HDM's, and ideally the HDM's are not OS dependent. This allows f ......

linux操作系统控制台下关闭蜂鸣声的方法

    文章出处:http://doc.linuxpk.com/52964.html
    使用控制台登录后,在shell提示符下面操作时会用到大量的Tab来自动补全,这个时候机器的蜂鸣器就会嘟嘟吡吡不停,这个嘟嘟吡吡的声音可以使用setterm命令来设置它的长短。
    setterm -blength 0
    ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号