1、设定时区
rm-f/etc/localtime cp/usr/share/zoneinfo/Asia/Shanghai/etc/localtime
2、配置apt-get源
rm-f/etc/apt/sources.list wget-P/etc/apt/http://mirrors.163.com/.help/sources.list.wily mv/etc/apt/sources.list.wily/etc/apt/sources.list
3、修改主机名
vim/etc/hostname
4、安装软件包
apt-getinstalllrzszntpdate
5、开启root登录
编辑/etc/ssh/sshd_config,(首先配置好密码)
把 PermitRootLoginprohibit-password 改为 PermitRootLoginyes
servicesshrestart
6、踢出终端tty用户
pkill-kill-ttty
8、安装监控系统
apt-getinstallzabbix-agent