RHEL5.2中用ntp实现时间自动同步(和AS4不一样)
配置时钟同步a.安装软件包:(一般已经安装了这个包)Yum install ntpNtp的配置文件是/etc/ntp.conf,工作目录是/etc/ntp/,接着编辑/etc/ntp.conf文件。b.服务端配置:IP:172.15.3.126编辑/etc/ntp.conf文件:[root@rhel5 ~]#vi /etc/ntp.conf 增加下面的内容restrict 172.15.3.0 mask 255.255.255.0 nomodify notrap(允许内网通讯)restrict 0.0.0.0 mask 0.0.0.0 nomodify notrap noquery notrust(禁止其他ip来更新时间)Logfile /var/log/ntp.log(定义日志信息)restrict 0. pool.ntp.org mask 255.255.255.255 nomodify notrap noqueryres
RHEL5.2上mplayer的安装
Mplayer的安装 最重要的一步,先安装compat-gcc-34,否则使用默认的gcc 4.1.2编译,到时候会欲哭无泪,说什么过度使用编译器优化之类的警告而罢工。安装完成确认一下: [root@superman tmp]# rpm -aq | grep gcc gcc-c++-4.1.2-42.el5 compat-gcc-34-g77-3.4.6-4 compat-libgcc-296-2.96-138 compat-gcc-34-3.4.6-4 libgcc-4.1.2-42.el5 gcc-4.1.2-42.el5 gcc-gfortran-4.1.2-42.el5 compat-gcc-34-c++-3.4.6-4 OK,没有问题! 下一步,下载源代码和相关库、skin文件,列表在这:[root@]# ls all-20071007.
RHEL5.2中文乱码
需要安装的包:fonts-chinese-3.02-12.el5.noarch.rpm (http://rpm.pbone.net/index.php3)# rpm -qa|grep fonts-chinese (安装)# rpm -qa|grep fonts-chinese (查询)# rpm -e fonts-chinese... (卸载)# locale# fc-cache -fv字体目录:/usr/share/fonts如果用yum安装:yum install fonts-chinese[@more@]