Ramhost VPS配置二:改主机名,时区

作者:hee
网址:


昨晚为了装pptp重装了几次系统,最后发现openvz在linux内核为2.6.32以上才支持??目前这台母鸡是2.6.27,pptp能成功安装&启动服务但客户端死活连接不上,杯具……

https://forum.ramhost.us/bbs/viewtopic.php?id=518
This is a list of features tat the upgrade from 2.6.26/2.6.27 to 2.6.32 should fix or enable:

* /dev/net/tun enabled instantly on boot instead of up to an hour later.
* iptables logging should work properly.
* tcpdump inside of vps should work.
* reboot command should reboot vps (instead of halt'ing it).
* various ip6tables firewall rules should work better.
* various performance improvements.

折腾了半天后重装时发现安装过程又不记得了,0_0!! 记下来,以后装新系统时参考。

CentOS

改主机名:

echo "HOSTNAME=plato" >> /etc/sysconfig/network
hostname "plato"

改时区:

ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

 

  • ---> 收藏到书签 
 | 这篇【Ramhost VPS配置二:改主机名,时区】来自 www.since2006.com |



本文相关评论|Comments

发表该文评论|Send Comment

页面查询:14次,耗时:0.03秒