当前位置: 首页 > news >正文

博客网站开发背景及意义中英文企业网站php源码

博客网站开发背景及意义,中英文企业网站php源码,wordpress oauth2插件,网站备案号信息修改一、ntpd和ntpdate区别 1.ntpd是自动执行的远程更新本地系统时钟的服务#xff0c;是平滑同步#xff1b; 2.ntpdate是手工执行的服务#xff0c;也就是一般用它执行一次本地时间更新#xff0c;如果做成半自动#xff0c;可以写入到crontab自动任务#xff0c;从而变成…一、ntpd和ntpdate区别 1.ntpd是自动执行的远程更新本地系统时钟的服务是平滑同步 2.ntpdate是手工执行的服务也就是一般用它执行一次本地时间更新如果做成半自动可以写入到crontab自动任务从而变成自动任务。可能会因为时钟跃变经历两个相同的时刻导致许多问题如数据库事务等 二、安装包离线下载 rpm地址https://rpmfind.net/linux/rpm2html/search.php autogen-libopts-5.18-5.el7.x86_64.rpmntp-4.2.6p5-29.el7.centos.2.x86_64.rpmntpdate-4.2.6p5-29.el7.centos.x86_64.rpmcompat-openssl10-1.0.2o-3.el8.x86_64.rpm rpm -ivh autogen-libopts-5.18-5.el7.x86_64.rpm rpm -ivh ntpdate-4.2.6p5-29.el7.centos.x86_64.rpm rpm -ivh ntp-4.2.6p5-29.el7.centos.2.x86_64.rpm 安装ntp-4.2.6p5-29.el7.centos.2.x86_64.rpm缺依赖时执行 rpm -ivh ntp-4.2.6p5-29.el7.centos.2.x86_64.rpm --nodeps --force三、配置ntp master vim /etc/ntp.conf# For more information about this file, see the man pages # ntp.conf(5), ntp_acc(5), ntp_auth(5), ntp_clock(5), ntp_misc(5), ntp_mon(5).driftfile /var/lib/ntp/drift# Permit time synchronization with our time source, but do not # permit the source to query or modify the service on this system. restrict default nomodify notrap nopeer noquery# Permit all access over the loopback interface. This could # be tightened as well, but to do so would effect some of # the administrative functions. restrict 127.0.0.1 restrict ::1 server 127.127.1.0 fudge 127.127.1.0 stratum 10 # Hosts on local network are less restricted. #restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap# Use public servers from the pool.ntp.org project. # Please consider joining the pool (http://www.pool.ntp.org/join.html). #server 0.centos.pool.ntp.org iburst #server 1.centos.pool.ntp.org iburst #server 2.centos.pool.ntp.org iburst #server 3.centos.pool.ntp.org iburst#broadcast 192.168.1.255 autokey # broadcast server #broadcastclient # broadcast client #broadcast 224.0.1.1 autokey # multicast server #multicastclient 224.0.1.1 # multicast client #manycastserver 239.255.254.254 # manycast server #manycastclient 239.255.254.254 autokey # manycast client# Enable public key cryptography. #cryptoincludefile /etc/ntp/crypto/pw# Key file containing the keys and key identifiers used when operating # with symmetric key cryptography. keys /etc/ntp/keys# Specify the key identifiers which are trusted. #trustedkey 4 8 42# Specify the key identifier to use with the ntpdc utility. #requestkey 8# Specify the key identifier to use with the ntpq utility. #controlkey 8# Enable writing of statistics records. #statistics clockstats cryptostats loopstats peerstats# Disable the monitoring facility to prevent amplification attacks using ntpdc # monlist command when default restrict does not include the noquery flag. See # CVE-2013-5211 for more details. # Note: Monitoring will not be disabled with the limited restriction flag. disable monitor启动ntpd: systemctl start ntpd 查看状态 systemctl status ntpd 停止ntpd: systemctl stop ntpd四、配置ntp client # For more information about this file, see the man pages # ntp.conf(5), ntp_acc(5), ntp_auth(5), ntp_clock(5), ntp_misc(5), ntp_mon(5).driftfile /var/lib/ntp/drift# Permit time synchronization with our time source, but do not # permit the source to query or modify the service on this system. restrict default nomodify notrap nopeer noquery# Permit all access over the loopback interface. This could # be tightened as well, but to do so would effect some of # the administrative functions. restrict 127.0.0.1 restrict ::1 server 172.17.0.3 fudge 172.17.0.3 stratum 10 # Hosts on local network are less restricted. #restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap# Use public servers from the pool.ntp.org project. # Please consider joining the pool (http://www.pool.ntp.org/join.html). #server 0.centos.pool.ntp.org iburst #server 1.centos.pool.ntp.org iburst #server 2.centos.pool.ntp.org iburst #server 3.centos.pool.ntp.org iburst#broadcast 192.168.1.255 autokey # broadcast server #broadcastclient # broadcast client #broadcast 224.0.1.1 autokey # multicast server #multicastclient 224.0.1.1 # multicast client #manycastserver 239.255.254.254 # manycast server #manycastclient 239.255.254.254 autokey # manycast client# Enable public key cryptography. #cryptoincludefile /etc/ntp/crypto/pw# Key file containing the keys and key identifiers used when operating # with symmetric key cryptography. keys /etc/ntp/keys# Specify the key identifiers which are trusted. #trustedkey 4 8 42# Specify the key identifier to use with the ntpdc utility. #requestkey 8# Specify the key identifier to use with the ntpq utility. #controlkey 8# Enable writing of statistics records. #statistics clockstats cryptostats loopstats peerstats# Disable the monitoring facility to prevent amplification attacks using ntpdc # monlist command when default restrict does not include the noquery flag. See # CVE-2013-5211 for more details. # Note: Monitoring will not be disabled with the limited restriction flag. disable monitor查看时间服务器 ntpq -p 查看偏差时间 ntpdc -c loopinfo 查看ntp状态: ntpstat
http://www.dnsts.com.cn/news/173820.html

相关文章:

  • 天津网站建设方案服务做网站建设有前途那
  • 做网站时导航条一般用什么样式wordpress文章归档模板
  • 外贸网站建设注意事项百度网站怎样做
  • 我的网站为什么打不开怎么回事泉州模板建站定制
  • 做网站和商城有什么好处医学招聘网站开发区
  • 简述企业网站推广的一般策略wordpress手动降级
  • 网站怎么做描文本网站建设讠金手指 22
  • 怎样做分销网站辽宁响应式网站建设推荐
  • 美团如何进行网站的建设和维护计算机网络设计报告ensp
  • 域名制作网站吗好的网站建设技术
  • 怎么制作网站二维码注册微商店铺如何注册
  • 空包网网站怎么做的wordpress插件 评分
  • 镇江网站建设报价心理网站的建设与维护
  • 网站建设需要的技能有哪些发稿网
  • 找人建设网站个人网站设计企业
  • 佛山专业网站设计公司th7 wordpress主题
  • 如何做商业网站分析网站建设方案书 个人网站
  • wordpress人个网站制作响应式网站
  • 搜索网站做淘宝客js网站效果
  • 太原网站建设需求多嘛百度统计代码安装位置
  • wap门户网站源码山东省住房建设厅网站安全处
  • 免费的网站模板下载长沙网站搭建
  • 大冶专业建站公司手机怎么自己做网页
  • 搭建网站钱网络建设和网站建设
  • 网站的优化策略方案怎样自己搭建一个做影视的网站
  • 网站建设公司测评安徽seo报价
  • 整站优化该怎么做最新军事新闻事件今天
  • 企业门户网站静态模板做公司网站价格
  • 武强网站建设常州找工作哪个网站好
  • 专做皮鞋销售网站东莞模板网站