Centos

admin on 十二月 1st, 2011

服务器需要停止的服务: NetworkManager dnsmasq 域名不能解析,resolv.conf被修改 cat /etc/resolv.conf # Generated by NetworkManager chkconfig dnsmasq off chkconfig –list dnsmasq Dec  1 13:39:04  dhcpd: No subnet decla...

Continue reading about centos 6 server dhcpd、squid和网络排错

182 views
admin on 九月 23rd, 2011

由于centos 6标准内核不包含raid驱动,需要单独安装或者在安装是加载,服务器是惠普ProLiant DL120 G7,阵列是HP Smart Array B110i SATA-3G RAID控制器(RAID 0/1/1+0),。 进到BIOS里配置好raid。 在hp网站下...

Continue reading about 板载raid1安装centos 6 x86_64 linux系统

816 views
admin on 八月 5th, 2011

centos 4升级yum后yum不能使用解决办法。 Yum fails "GLib-CRITICAL" yum check-update (process:25406): GLib-CRITICAL **: file gtimer.c: line 106 (g_timer_stop): assertion `timer != NULL' failed (process:25406): GLib-CRITICAL **: ...

Continue reading about centos 4升级到4.9

327 views
admin on 七月 26th, 2011

LSB是Linux Standard Base的缩写,lsb_release命令用来显示LSB和特定版本的相关信息,centos可通过 yum -y install redhat-lsb 命令安装。如果使用该命令时不带参数,则默认加上-v参数。 查看Linux发行版信息...

Continue reading about 查看Linux发行版信息-lsb_release

365 views
admin on 十月 9th, 2010

安装字体: yum install fonts-chinese fonts-ISO8859-2-75dpi 对于centos6以后版本: yum -y groupinstall chinese-support 编辑 .bash_profile 添加 export LANG="zh_CN.UTF-8"  

...

Continue reading about Centos中文环境支持

695 views

centos4.2 升级到内核linux-2.6.34后iptables无法使用,升级iptables: wget  http://www.netfilter.org/projects/iptables/files/iptables-1.4.9.1.tar.bz2 tar xjf iptables-1.4.9.1.tar.bz2 -C /usr/local/src cd /usr/local/src/iptables-1.4.9.1 ....

Continue reading about centos4 升级内核linux-2.6.34.1及iptables升级到v1.4.9.1

774 views
admin on 七月 6th, 2010

一台centos 4.2系统,yum升级gcc时中途停止。发现postfix出错: maildrop -v maildrop: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /lib/libgcc_s.so.1) 试图编译maildrop报错: configure: error: in `/usr/local/s...

Continue reading about 老旧系统请谨慎升级gcc

1,232 views
admin on 六月 13th, 2010

yum search fastestmirror yum install yum-fastestmirror* -y yum update yum* yum update kernel* yum update CentOS 中国科学技术大学 USTC mirror(每小时更新一次) http://centos.ustc.edu.cn/ cd /etc/yum.repos.d mv CentOS-Base.repo  CentOS...

Continue reading about 中国国内的Centos yum源及rpm仓库

1,004 views