• 开放端口

          编辑iptables文件(/etc/sysconfig/iptables)

          -A INPUT -m state --state NEW -m tcp -p tcp --dport xx端口号 -j ACCEPT

          重启iptables  /etc/init.d/iptables restart

  • 修改dns

          编辑resolv.conf(/etc/resolv.conf)

          nameserver  8.8.8.8

  • 修改时区

          先安装ntp    yum install ntp

         设置ntp服务器: ntpdate us.pool.ntp.org

         设置时区:cp –f /usr/share/zoneinfo/Asia/Shanghai /etc/localtime #reboot

         重启: shutdown –r now

         查看当前时间:date -R

相关文章:

  • 2021-09-14
  • 2021-10-20
  • 2022-02-08
  • 2021-10-20
  • 2021-08-18
  • 2021-11-03
  • 2021-10-08
  • 2022-12-23
猜你喜欢
  • 2022-01-17
  • 2022-12-23
  • 2022-12-23
  • 2021-08-11
  • 2022-12-23
  • 2021-10-03
  • 2021-12-14
相关资源
相似解决方案