echo ‘192.168.8.100 node001’ >> /etc/hosts
echo ‘192.168.8.101 node002’ >> /etc/hosts
echo ‘192.168.8.102 node003’ >> /etc/hosts
Linux之时间服务器配置
发表于 | 阅读次数:
本文字数: 5.2k | 阅读时长 ≈ 9 分钟
服务器配置
系统环境配置
保存以下参数到ntp.sh,以root用户执行.
chmod +x ntp.sh
#!/bin/sh
rm /etc/localtime
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
echo 'ZONE="Asia/Shanghai"' >/etc/timezone
echo 'UTC=false' >>/etc/timezone
echo 'ARC=false' >>/etc/timezone
echo 'ntpdate -bu 115.28.122.198' >>/etc/rc.local
echo 'ntpdate -bu 172.255.246.13' >>/etc/rc.local
echo 'ntpdate -bu 85.199.214.101' >>/etc/rc.local
echo 'ntpdate -bu 85.199.214.100' >>/etc/rc.local
Oracle之Linux(redhat)环境下安装
发表于 | 阅读次数:
本文字数: 7.9k | 阅读时长 ≈ 13 分钟
Hello World
发表于 | 阅读次数:
本文字数: 421 | 阅读时长 ≈ 1 分钟
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick Start
Create a new post
1 | $ hexo new "My New Post" |
More info: Writing
Run server
1 | $ hexo server |
More info: Server
Generate static files
1 | $ hexo generate |
More info: Generating
Deploy to remote sites
1 | $ hexo deploy |
More info: Deployment