first commit

This commit is contained in:
momen
2021-10-21 14:57:58 +08:00
parent ba65bf40aa
commit 8184931095
572 changed files with 3165246 additions and 305 deletions

View File

@@ -0,0 +1,44 @@
#1.6### systemd 服务管理
1. dmesg 显示内核启动日志
2. systemd-analyze 启动时间
3. systemctl 服务管理
1. systemctl poweroff 关机
2. systemctl reboot 重启
3. systemctl suspend 挂起
4. systemctl hibernate 休眠
5. /lib/systemd/system
6. /etc/systemd/system
7. 服务文件
8. 目标文件
4. journalctl 查看日志
5. systemd-cgls 跟踪启动过程
6. lsmod 列出内核模块
7. modinfo 模块信息
8. 常见端口:
1. 80www
2. 25smtp
3. 20ftp-data
4. 21ftp
5. 23telnet
6. 143 imap2
7. 110pop3
8. 389ldap
9. 443https
10. 465ssmtp
11. 989ftps-data
12. 990ftps
13. 992telnets
14. 993imaps
15. 995pop3s
16. 636ldaps
11. rsyslog 日志后台守护进程
12. crontab 计划任务
1. /etc/cron.daily/
2. /var/spool/cron/crontabs/user
3. /etc/cron.allow
4. @daily @yearly @monthly @ weekly @hourly @reboot
5. 分 时 日 月 星期 账号 命令
1. a-b 区间
2. a-b/c 间隔
3. `*` 任意