题库笔记 临时杂记待删
最后更新于
这有帮助吗?
最后更新于
这有帮助吗?
参考资料:
【rhcsa】
(1)ip地址 nmtui nmcli
(2)主机名 hostnamectl /etc/hostname logout 退出再登录验证 或 nmtui
(3)配置yum仓库 vi 配置 安装vim 验证 或 网页打开dnf...utils...,右键copy link... yum-config-manager --add-repo=
(4)selinux systemctl status httpd systemctl start httpd systremctl enable httpd
/var/log/messages
man semange port
semange port -l | grep http
man semanage port | grep #
semanage port -a -t http_port_t -p tcp 82
/var/log/messages
man semanage fcontext | grep #
semanage fcontext -a -e /home /disk6/home
restorecon -R -v /disk6
for循环修改密码
for i in xx aa vv; do
echo 123456 | passwd --stdin $1 done
crontab
systemctl status crond.service systemctl restart crond.service systemctl enable crond.service
chown chgrp
chmod
chrony 验证:timedatectl chronyc sources -v
autofs
rpm -qc autofs
破解密码: rd.break console=tty0
tar 解压缩
逻辑卷 扩容
lvs vgs lvdisplay
lvextend -L 230M /dev/mapper/myvol-vo
df -Th resize2fs /dev/mapper/myvol-vo
第一步扩展逻辑卷空间,第二步同步文件系统