1.ntpdate 210.72.145.44 系统时间同步 (国家授时中心的官方服务器)
2.Linux局域网中服务器的”反向解析”会影响通讯 ,将setup中的selinux “强制安全” 关闭可以开启APACHE的虚拟目录
3.Apache 的httpd.conf配置,NameVirtualHost *:80 前面的#号去掉即可开启动,虚拟主机,虚拟主机LOG可关闭,前面加#即可
4.Linux语言相关设置
修改/etc/sysconfig/i18n
LANG=”en_US.UTF-8″
SUPPORTED=”zh_CN.UTF-8:zh_CN:zh:zh_TW.UTF-8:zh_TW:zh:en_US.UTF-8:en_US:en”
/etc/profile 中最后添加export LANG=zh_CN.GB18030 即可在ssh终端显示中文文件名
export LC_ALL=en_US.UTF-8
export LC_CTYPE=en_US.UTF-8
export LANG=en_US.UTF-8
5.管道命令
例:查看系统进程 ps -ef
查看指定进程 ps -ef | grep ntpd (查看同步时间的进程)
6.强制关闭进程 kill -9
上一篇:scp远程拷贝
本文共有4条评论 | 发表评论
1 - Bodyc | 2009-04-16 06:32:08
Hi there,
Super post, Need to mark it on Digg
Bodyc
[回复]
2 - GlenStef | 2009-04-17 17:39:51
Hi,
Where are you from? Is it a secret?
[回复]
3 - kim | 2009-04-20 12:32:56
to Bodyc:
Thanks for the read
[回复]
4 - kim | 2009-04-20 12:34:52
to GlenStep:
Secret ? No no ….
Sign,I am a chinese,a simple IT technical staff
[回复]