linux telnet登陆慢问题
更改/etc/resolv.conf文件
如果你的linux主机只是在局域网内工作,请将nameserver地址改为网卡本身的地址。
例:
# vi /etc/resolv.conf
nameserver 192.168.0.160
search site
然后重启网卡
suselinux:~ # ifconfig eth0 down
suselinux:~ # ifconfig eth0 up
相关文档:
I/O重定向详解及应用实例
1、 基本概念(这是理解后面的知识的前提,请务必理解)
a、 I/O重定向通常与 FD有关,shell的FD通常为10个,即 0~9;
b、 常用FD有3个,为0(stdin,标准输入)、1(stdout,标准输出)、2(stderr,标准错误输出),默认与keyboard、monitor、monitor有关;
c、 用 < 来改变读进的数 ......
linux目录架构
/ 根目录
/bin 常用的命令
binary file 的目錄
/boot 存放系统启动时必须读取的档案,包括核心
(kernel) 在内
/boot/grub/menu.lst GRUB设置
/boot/vmlinuz 内核
......
把GDAL安装目录下的../bin/gdal-config复制到/usr/bin/下,否则出现“找不到gdal-config”
把proj4安装目录下的../include/proj_api.h复制到GDAL安装目录中的include中,否则出现“未定义proj_api.h”或者直接把proj4安装到默认路径,否则会提示“找不到 -lproj”。 ......
安装过程中出现“X11/extensions/Print.h: No such file or directory”的解决方法
这是因为系统中缺少libXp-devel
# yum install libXp-devel
安装过程中出现“X11/bitmaps/gray: No such file or directory”的解决方法
这是因为系统中缺少xorg-x11-xbitmaps(x11/xbitmaps (Ubuntu) and xorg-x1 ......
一、TCP连接关闭的几种方式:
1、“正常”关闭:调用close()关闭socket、没close但进程正常结束(当然这是不应该的做法)、进程core掉、在shell命令行中kill掉进程,都可抽象成“正常”关闭。因为即使core掉,内核也会马上帮应用程序回收(close)socket文件描述符。
“正 ......