腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
如何将ntp
命令
作为非根
命令
运行?
root
、
ntp
、
ntpd
NTP
命令
(如ntpd和
ntpdate
)具有特权,属于根组。以非root方式运行这些
命令
的最佳方法是什么?
Linux
功能,所有权,有什么方法吗?我有openSUSE 13.2,我更喜欢使用
Linux
功能(当然,如果适用的话)。我查看了
Linux
列表,我尝试将CAP_DAC_OVERRIDE、CAP_SYS_ADMIN、CAP_SYS_RAWIO、CAP_SYS_TIME应用于ntpd和
ntpdate
,但没有成功。
浏览 0
提问于2015-03-05
得票数 5
1
回答
将
Linux
系统时钟与Windows服务同步
linux
、
networking
、
command-line
、
time
、
ntp
我有一个
linux
PC作为时钟客户端,我想同步这个PC的时间使用
ntpdate
与Windows PC在同一网络上的相同空间。我很难找到该怎么做。这并不像调用
ntpdate
和使用windows的IP地址那么简单,尽管我认为Windows Time服务是一个NTP服务器。您可以在下面看到这一努力的结果: signageclient@signagePC:~$ sudo
ntpdate
-u 192.168.1.100 04月1日:49:03
ntpdate
12698:没有适合同步的服务器在上面的实例中,这个
浏览 8
提问于2014-04-01
得票数 1
2
回答
cos存储,过几天拿不到东西,是怎么回事?
对象存储
The difference between the request time and the current time is too large
浏览 235
提问于2018-10-30
4
回答
linux
+只激活
linux
红帽5.3 +上的
ntpdate
bin,而不安装NTP pkg
linux
在我的RedHat5.3
Linux
机器上,NTP没有安装(由于某些原因不能安装它)。 /tmp/
ntpdate
-u 109.23.4.5 为了更新我的约会对象?109.23.4.5将是我的
Linux
机器。
浏览 0
提问于2011-11-18
得票数 -1
2
回答
如何简化
命令
:四个相同的结构?
command-line
、
bash
、
ntp
ntpdate
110.75.186.247 >> /var/log/
ntpdate
.log ||
ntpdate
110.75.186.247 >> /var/log/
ntpdate
.log ||
ntpdate
203.123.48.218 >> /var/log/
ntpdate
.log||
ntpdate
103.16.199.21 &g
浏览 0
提问于2016-03-27
得票数 1
回答已采纳
2
回答
centos5.8的系统时间每分钟只走17秒,跳动的慢,日期每天是对的。电脑硬件时间正常,怎么回事?
centos
[root@rr application]# hwclock --show[root@rr application]# date Sun Aug 27 12:13:02 CST 2017
浏览 728
提问于2017-08-27
1
回答
将system()调用执行的
命令
的输出复制到char数组
c
、
linux
、
datetime
是否可以复制
Linux
上system()函数上使用的
命令
的输出?., 0204 hhmm return 0;它输出: 21 Apr 02:12:56
ntpdate
[32680]: no servers can
浏览 2
提问于2013-04-21
得票数 2
回答已采纳
1
回答
更改日期的优先级
ntpdate
、
process-priority
我设法以高优先级运行
ntpdate
。我最初的想法是使用很好的
命令
,比如:但是,在检查
ntpdate
命令
的尼斯值之后,它将保持在-12,而不考虑-n
命令
。如何配置
ntpdate
,使其具有较高的优先级?提前谢谢。:-)
浏览 0
提问于2011-06-14
得票数 0
7
回答
时钟上的时间错了,ubuntu 14.04
14.04
、
time
、
clock
昨天我刚在我的联想G50-70上安装了Ubuntu 14.04,删除了windows 10。当我启动这台机器时,时钟显示的时间不对,尽管时区是正确的。时钟向前跑了三个小时。我该怎么修钟?
浏览 0
提问于2015-12-30
得票数 10
2
回答
如何将
linux
时间与手机上的网络时间同步?
android
、
linux
、
timezone
、
embedded
当在PC上访问这些图像时,反映在其属性中的时间对应于
linux
的时间,而不是网络的时间(不幸的是,它们显示了两个不同的时间)。我假设如果
linux
时间与网络同步,那么这个问题就会得到解决。
浏览 8
提问于2012-10-25
得票数 0
2
回答
我如何利用本地时间作为“`ntpd`”的唯一参考?
ntp
、
ntpd
我希望让我的
Linux
设备与另一个
Linux
服务器的本地时间同步,而不需要任何其他引用。<#>I不在乎实际时间。因此,我不需要任何其他ntp服务器作为参考。例如,我只是将我的
Linux
服务器1.2.3.4的本地时间设置为2033-02-23 15:23:10。这次我想让我的
Linux
设备同步。客户机上,我输入了
ntpdate
1.2.3.4,然后它给出了错误: 5 Feb 08:26:39
ntpdate
[31059]: no server suitable for syn
浏览 0
提问于2018-02-05
得票数 3
回答已采纳
1
回答
如何使用Ansible删除cron作业?
linux
、
debian
、
ansible
我有大约50台Debian
Linux
服务器有一个糟糕的cron任务:我想使用ntpd配置ntp同步,因此我需要删除此cron作业。我已经尝试删除这个剧本中的cron条目: - cron: name="
ntpdate
" minute="0" job="
ntpdate
10.20.0.1" state=absent然后我运行这个剧本: - cron: name=&quo
浏览 4
提问于2015-10-21
得票数 16
回答已采纳
1
回答
Kali
linux
- Crontab @reboot不执行
cron
、
kali-linux
我在卡利
Linux
上使用VERSION_ID="2019.3"试图执行放置在adjust_timezone.sh中的/usr/local/startup_scripts/
ntpdate
in.pool.ntp.org; which <
浏览 0
提问于2019-08-20
得票数 2
回答已采纳
1
回答
为什么我试图通过apt-get安装程序时出错?临时故障解决“archive.ubuntu.com”
command-line
、
apt
、
software-installation
我不太喜欢
Linux
。在客户机环境中的Ubuntu上,我似乎不能使用apt
命令
。特别是试图执行:我获得此消息错误:这里有个截图:错误的原因是什么?如果没有其他解决方案可以手动下载和安装
ntpdate
而不使用apt?
浏览 0
提问于2019-11-25
得票数 0
回答已采纳
1
回答
从rc.local运行
ntpdate
centos6
、
sh
、
rc.local
/bin/sh 我的/data/automatic/
ntpdate
.sh是:echo "RWQERWER" >> /data/logs/1.log
ntpdate
ntp.fudan.edu.cn >
浏览 0
提问于2013-07-19
得票数 -1
1
回答
ntpdate
-t不使用超时值超时。
ntp
、
ntpdate
我正在使用
ntpdate
更新时间。如果没有internet连接或NTP服务器关闭,
ntpdate
就会失败,但是
ntpdate
退出需要很长时间(大约20到23秒)。我阅读了
ntpdate
的手册,并看到了-t超时选项。我想,如果我们指定超时,那么
ntpdate
将在指定的秒内退出。我用了这样的
命令
有人尝试过
ntpdate
中的超时选项吗?
浏览 0
提问于2021-07-24
得票数 1
1
回答
Mongodb碎片平衡器卡在状态0
mongodb
、
sharding
我用两个碎片在一个收藏品上进行了切分。Mongodb版本是2.6.4。一切看起来都很好,但是100%的数据都在一个碎片上。use config我得到: "_id" : "balancer", "who" : "ip-10-0-11-128:27018:1424099612:1804289383:Balancer:846930886",
浏览 3
提问于2015-04-24
得票数 0
2
回答
分OS 6时钟3分35秒在未来
centos6
、
linode
、
time
、
clock-synchronization
我在linode上运行了分点os 6 64位。日期:2013年8月29日11:41:00清华时间2013年8月29日11:37:25到目前为止,我已经确保服务器在格林尼治时间运行,方法是但没有喜悦,并通过安装NPT,这是由林诺德建议。有小费吗?
浏览 0
提问于2013-08-29
得票数 1
回答已采纳
1
回答
ntpdate
显示偏移量,但不同步
centos
、
ntp
、
ntpd
我正在尝试使用
ntpdate
命令
对2个Centos虚拟机进行时间同步,但不起作用。当运行
ntpdate
命令
(
ntpdate
reference.time.machine)时,它显示一个偏移量:步长时间服务器10.0.0.116偏移量156.479697秒 但是,当我运行"date“
命令
时
浏览 15
提问于2017-07-12
得票数 2
回答已采纳
1
回答
减少DNS设置无效时的
ntpdate
超时?
networking
、
server
、
dns
、
ntp
我有一个问题,在DNS无效的情况下,
ntpdate
正好在80秒后超时(或者在本例中,主机被卡在防火墙后面)。我想把这个时间降到一些更合理的事情上,比如1到2秒。#
ntpdate
-bud ntp.ubuntu.com uname:2.6.32-43-server #97-Ubuntu SMP Wed Sep 5 16:56:41 UT
浏览 0
提问于2015-09-23
得票数 1
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
Linux命令之grep命令
Linux命令-grep命令基本用法
Linux usermod命令
Linux 命令汇总
常用Linux命令
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券