禁用seLinux
查看状态
1 | [root@localhost ~]# sestatus |
暂时关闭
暂时关闭,重启失效
1 | [root@localhost ~]# setenforce 0 |
坚守 无畏 宽容 进取
1 | [root@localhost ~]# sestatus |
暂时关闭,重启失效
1 | [root@localhost ~]# setenforce 0 |
1 | [root@localhost ~]# wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo |
一个windows
包管理工具,类似mac
下的Homebrew
。
打开powershell,执行如下命令:
1 | Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')) |