随笔分类 - linux
linux服务器遇见的问题与常用指令
摘要:1. 查看防火墙状态:active (running) 即是开启状态 systemctl status firewalld 2. 如果不是显示 active 状态,需要打开防火墙 # 启动 systemctl start firewalld # 查看状态 systemctl status firew
阅读全文
摘要:CentOS 设置系统时间与网络时间同步 一、Linux的时间分为(两种) System Clock(系统时间) 指当前Linux Kernel中的时间 Real Time Clock (硬件时间,简称RTC) 主板上有电池供电的时间 二、查看系统时间的命令 系统时间指令:# date 设置系统时间
阅读全文