随笔分类 - 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
阅读全文
摘要:1、查看当前的防火墙状态 systemctl status firewalld2、临时手动关闭防火墙systemctl stop firewalld3、手动重启防火墙systemclt restart firewalld4、永久关闭防火墙systemctl disable firewalld5、关闭
阅读全文
摘要: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
阅读全文