Cài đặt đồng bộ thời gian trên Ubuntu 22.04

Cài đặt đồng bộ thời gian trên Ubuntu 22.04

1, Kiểm tra tình trạng đồng bộ thời gian sudo systemctl status systemd-timesyncd ○ systemd-timesyncd.service - Network Time Synchronization Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendor preset: enabled) Drop-In: /etc/systemd/system/systemd-timesyncd.service.d └─enable-with-daemon.conf Active:…
Setting a Static IP in Ubuntu

Setting a Static IP in Ubuntu

Go to the netplan directory located at /etc/netplan. Create file named 01-network-manager-all.yaml. touch /etc/netplan/01-network-manager-all.yamlnetwork: version: 2 renderer: NetworkManager ethernets: eth0: dhcp4: no addresses: [172.23.207.254/20] gateway4: 192.168.1.1 nameservers: addresses: [8.8.8.8,8.8.8.4] Thử và áp dụng file…