排序
2.3.5检索日志信息
1.在RHEL 8系统中,默认的日志服务程序是rsyslog。 常见的日志文件保存路径 /var/log/boot.log:系统开机自检事件及引导过程等信息 /var/log/lastlog:用户登录成功时间、终端名称及IP 地址等信...
第11章 系统关机
1.shutdown (1) -r#重新启动计算机。 (2) -h#关机。 (3) -h 时间#定时关机。 [root@dsrw ~]# shutdown -h now [root@dsrw ~]# shutdown -h 23:30 [root@dsrw ~]# shutdown -r 2.reboot重...
10.3创建数据库与表单
1.用于创建数据库的命令以及作用(增删查改) CREATE database数据库名称 :创建新的数据库 DESCRIBE表单名称 :描述表单 UPDATE表单名称 SET attribute=新值 WHERE attribute > 原始值 :更新表单...
5.3 Linux 挂载共享
1.客户端安装支持文件共享服务的软件包(cifs-utils)。 [root@dsrw ~]# smbclient -U dsrw -L 192.168.10.2 bash: smbclient: command not found... Failed to search for file: Cannot update...
第6章 逻辑卷管理
1.安装lvm [root@dsrw ~]# yum install lvm2 Updating Subscription Management repositories. Unable to read consumer identity This system is not registered to Red Hat Subscription Mana...
2.2.2安全秘钥验证
1.在客户机中生成“密钥对”。 [root@dsrw ~]# ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): 回车或设置密钥的存储路径 Ent...
8.7 Linux 邮件客户端
1.安装Thunderbird客户端的安装包。 [root@mail ~]# dnf install -y thunderbird Updating Subscription Management repositories. Unable to read consumer identity This system is not regis...
9.6判断主机组名
在每个客户端中都会有一个名为inventory_hostname的变量,用于定义每台主机所对应的Ansible服务的主机组名称,也就是/etc/ansible/hosts文件中所对应的分组信息,例如修改客户机test。 [root@ds...
8.4配置Dovecot服务程序
1.安装Dovecot服务程序。 [root@dsrw ~]# dnf install -y dovecot Updating Subscription Management repositories. Unable to read consumer identity This system is not registered to Red H...









