标签:ja
1、Minal软件包组:Base,Compatibility libararies,Debugging tools,Development tools
软件包:tree nmap syssate lrzsz doc2unix telnet
2、ip地址,网关,用户名和密码,主机名
3、yum源,epel源
4、关闭selinux和iptables
5、ssh优化
vim /etc/ssh/ssh_config #解决有时候ssh慢的问题
PermitEmptyPasswords no
UseDNS no
GSSAPIAuthentication no
#/etc/init.d/ssh relaod
6、精简开机系统启动
for list in `chkconfig --list`| grep "3:on"|awk '{print $1}'|grep -VE
"crond|network|rsyslog|sshd|sysstate"`;do checkconfig $list off;done
7、时间同步
/usr/sbin/ntpdate time.nist.gov
*/5 * * * * * /usr/sbin/ntpdate time.nist.gov
8、字符集
cp /etc/sysconfig/i18n /etc/sysconfig/i18n.ori
echo 'LANG="zh_CN.UTF-8"' > echo /etc/sysconfig/i18n
. /etc/sysconfig/i18n
9、文件描述符
echo '* - nofile 65535' >> /etc/security/limits.conf
10、mysql字符集
character-set-server=utf8
init-connect='set names utf8'
collation-server=utf-8_general_ci
标签:ja
原文地址:http://blog.51cto.com/395469372/2118509