X-osadminの自留地
  • 博客主页 HomePage
  • 技术小絮 Tech
  • 作品发布 Works
  • 软件专题 Softs
    • proxmox
    • openwrt
    • chromebook
    • Zerotier
    • 虚拟化
  • 友情链接 Following

xosadmin

BGPlayer / Codes learner / Love Linux
Posts
77
Comments
0

友情链接 – Friendly Links

  • Add your site here…
xosadmin
3 years ago

Debian设置自动对时

注意: 请使用Root用户操作,且不支持OpenVZ/LXC虚拟机。

在开始之前,我们需要设置Debian的时区,请使用以下命令:

dpkg-reconfigure tzdate

之后,安装ntpdate:

apt install ntpdate -y

手动对时:

ntpdate <ntp Server>

在这里,可以使用任意的NTP服务器。

加入crontab以进行自动对时,这里以每日0点为例:

crontab -e

0 0 * * * ntpdate <ntp Server>

到这里,一切完成。您也可以将现在的时间写入bios,使用以下命令:

hwclock -w

Enjoy~

  • 技术小絮
等 人表示很赞
726
0

📮Comments

No Comment.
xosadmin
xosadmin
5 years ago
推荐 apt-get时提示different from other instances的解决方案
近日在升级Ubuntu系统时,apt-get提示”trying to overwrite shared ‘/usr/share/doc/libselinux1/changelog.Debian.gz’, ...
  • 技术小絮
1,149 0
xosadmin
xosadmin
7 years ago
推荐 如何在Linux(CentOS)上安装OpenVZ
近日,有一位朋友向我请教如何在其自己的CentOS服务器上安装OpenVZ虚拟化。所谓OpenVZ,官方对其的定义如下: “OpenVZ is a container-based virtualization for Linux. Op ...
  • 技术小絮
  • 虚拟化
2,258 0
xosadmin
xosadmin
5 years ago
推荐 Proxmox VE提示No IOMMU detect的解决方法
Proxmox VE是一个非常强大的虚拟化平台。有许多用户正在通过Proxmox VE来实现软路由等功能。其中,最重要的一件事情就是pcie穿透(也是硬件直通)。但是通过最近的测试,在部分的机器上,会提示No IOMMU detected, ...
  • proxmox
  • 技术小絮
17,757 0
xosadmin
xosadmin
2 years ago
推荐 在OpenVZ或LXC下使用Zerotier
众所周知,Zerotier是一个十分方便的p2p组网方式,OpenVZ和LXC是一种容器式的虚拟化。因此,OpenVZ和LXC的ppp和tun功能默认处于关闭状态。这也导致Zerotier在OpenVZ或者LXC架构下的虚拟机默认无法使用( ...
  • 技术小絮
398 0
xosadmin
xosadmin
6 years ago
推荐 树莓派如何更换成国内源
随着树莓派的兴起,开始学习并使用树莓派的开发者们越来越多。很多人在学习时选用树莓派官方的Raspbian系统。但此系统由于为外国人开发,所以从中调用的软件源比较慢,对大陆的小伙伴非常不利。今天,讲述一下更换树莓派软件源为国内软件源的办法。 ...
  • 技术小絮
1,817 0
  • HPE Microserver系列降低噪音的一种办法
  • Debian 13 Trixie安装Proxmox VE
  • Windows FTP服务器通过PASV模式无法获取目录的解决方法
  • Proxmox日志出现大量lxcfs truncated错误的解决方案
  • Proxmox通过CLI向LXC挂载已有虚拟磁盘的方法
  • LXC上安装Gitlab时sysctl报错的解决方法

文章聚合

  • Debian 13 Trixie安装Proxmox VE
  • Proxmox日志出现大量lxcfs truncated错误的解决方案
  • Proxmox通过CLI向LXC挂载已有虚拟磁盘的方法
  • Proxmox VE通过全盘方式直通硬盘
  • Proxmox为KVM VNC启用剪贴板支持
  • Proxmox报出RRDC/RRD update error的解决方法

Multilangual Translator

Copyright © 2016-2025 X-osadminの自留地. All rights reserved. 萌ICP备20258855号
  • 博客主页 HomePage
  • 技术小絮 Tech
  • 作品发布 Works
  • 软件专题 Softs
    • proxmox
    • openwrt
    • chromebook
    • Zerotier
    • 虚拟化
  • 友情链接 Following
Welcome
Forgot password?
Welcome
Forgot password?
Social Login
Login with WeChat QR Code
Unregistered WeChat IDs will be automatically used to create an account.
Scan and Reply with Keywords「登录」Get Verification Code
Social Login
Free registration
Social Login
Reset password
Back to Login