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

配置RedHat Linux 5 DNS解析

1、vi /etc/resolv.conf
增加以下内容:
nameserver DNSserver_ip_address1
nameserver
DNSserver_ip_address2
如下:
[root@REDHATAS5 /]# cat /etc/resolv.conf
nameserver 192.168.88.1
2、测试DNS是否生效
[root@Develop-Server ~]# nslookup www.baidu.com
Server:         192.168.88.1
Address:        192.168.88.1#53
Non-authoritative answer:
www.baidu.com   canonical name = www.a.shifen.com.
Name:   www.a.shifen.com
Address: 119.75.217.56
Name:   www.a.shifen.com
Address: 119.75.218.45


相关文档:

Linux 同步方法剖析


Linux 同步方法剖析
内核原子,自旋锁和互斥锁
 
文档选项
 
将此页作为电子邮件发送
级别: 中级
M. Tim Jones, 顾问工程师, Emulex
2007 年 11 月 19 日
在学习 Linux® 的过程中,您也许接触过并发(concurrency)、临界段(critical section)和锁定,但是如何在内核中使用这些概念呢?本文讨 ......

linux下按下键退出while循环(类似于_kbhit)

#include <stdio.h>
#include <sys/select.h>
#include <termios.h>
#include <unistd.h>
#include <ctype.h>
#define STDIN     0
int main()
{
    struct timeval tv = {0,0};
    struct termios term , termbak;
 & ......

Linux下的多线程编程(ZZ)


转载自:http://fanqiang.chinaunix.net/a4/b8/20010811/0905001105.html
Linux下的多线程编程
本文出自:http://www.china-pub.com 作者: 姚继锋 (2001-08-11 09:05:00)
1
引言
  线程(thread)技术早在60年代就被提出,但真正应用多线程到操作系统中去,是在80年代中期,solaris是这方面的佼佼 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号