随笔分类 -  OS-LINUX

摘要:………………………………………………DNS的配置步骤:…………………………………………………… 一、配置静态IP地址: #vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=static ONBOOT=yes IPAD 阅读全文
posted @ 2012-01-10 03:40 hongweigg 阅读(94) 评论(0) 推荐(0)
摘要:本文关键词: DNS Linux RedHat DNS的安装 配置文件:文件名及来源 /etc/named.conf 、/var/named/named.local、/var/named/named.ca( caching-nameserver-7.2-7.noarch.rpm ) /etc/res 阅读全文
posted @ 2012-01-09 23:39 hongweigg 阅读(88) 评论(0) 推荐(0)
摘要:①ifconfig命令 用ifconfig命令修改后重起服务配置不保存 给Eth0接口设置IP地址和子网掩码广播地址并激活: Java代码 ifconfig eth0 192.168.1.155 netmask 255.255.255.0 broadcast 192.168.1.255 UP ifc 阅读全文
posted @ 2012-01-09 21:48 hongweigg 阅读(16) 评论(0) 推荐(0)
摘要:先在下面这个站点下载解压工具 http://tukaani.org/xz/xz-4.999.9beta.tar.bz2 $tar -jxvf xz-4.999.9beta.tar.bz2 $./configure --prefix=/opt/gnu/xz $make $sudo make insta 阅读全文
posted @ 2011-06-14 03:48 hongweigg 阅读(6) 评论(0) 推荐(0)
摘要:方法一: 修改/root/.bash_profile文件,增加export LANG=zh_CN.GB18030 该文件在用户目录底下 对于其他用户,也必须相应修改该文件 使用该方法时putty能显示中文,但桌面系统是英文,而且所有的网页中文显示还是乱码 方法二: 引用: 修改/etc/syscon 阅读全文
posted @ 2011-06-13 01:04 hongweigg 阅读(70) 评论(0) 推荐(0)
摘要:挂载exfat格式u盘的步骤: sudo apt-get install subversion sudo apt-get install scons sudo apt-get install libfuse-dev sudo apt-get install gcc svn co http://exf 阅读全文
posted @ 2011-06-09 01:13 hongweigg 阅读(67) 评论(0) 推荐(0)
摘要:http://ubuntu.cn99.com/ubuntu-releases/ 阅读全文
posted @ 2011-06-05 15:50 hongweigg 阅读(16) 评论(0) 推荐(0)
摘要:The root account is disabled when you first install Ubuntu. The first user created during the installation has administrative rights on the system, an 阅读全文
posted @ 2011-06-04 21:00 hongweigg 阅读(10) 评论(0) 推荐(0)
摘要:linux查看内核版本和厂商版本 1. 查看内核版本命令: 1) [root@q1test01 ~]# cat /proc/version Linux version 2.6.9-5.ELsmp (bhcompile@decompose.build.redhat.com) (gcc version 阅读全文
posted @ 2011-05-26 18:48 hongweigg 阅读(12) 评论(0) 推荐(0)
摘要:shift+j 将当前行和下一行合并 阅读全文
posted @ 2011-05-23 18:13 hongweigg 阅读(23) 评论(0) 推荐(0)