随笔分类 -  Linux

摘要:windows共享挂在方法 mount -t cifs -o username=administrator,password=**,gid=,uid= //172.32.2.43/d$ /mnt/cdrom/ 查询gid和uid的方法是 ip username 开机自动挂载 vim /etc/fst 阅读全文
posted @ 2022-03-07 18:50 闲着没事学学习 阅读(32) 评论(0) 推荐(0) 编辑
摘要:1、查看当前的防火墙状态 systemctl status firewalld2、临时手动关闭防火墙systemctl stop firewalld3、手动重启防火墙systemclt restart firewalld4、永久关闭防火墙systemctl disable firewalld5、关闭 阅读全文
posted @ 2022-02-22 17:00 闲着没事学学习 阅读(281) 评论(0) 推荐(0) 编辑
摘要:1、备份 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 2、下载 curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliy 阅读全文
posted @ 2022-02-13 16:32 闲着没事学学习 阅读(154) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示