一、nginx下载安装 版本nginx 1.15.5 系统环境centos7.5(本机ip192.168.199.228) 关闭selinux 和防火墙firewall 1、下载 wget http://nginx.org/download/nginx-1.15.5.tar.gz -P /usr/s ...
分类:
Web程序 时间:
2019-12-15 23:50:48
阅读次数:
122
1.安装依赖环境 yum y install wge gcc c++ .......... 2.关闭Firewalld防火墙和SElinux systemctl stop firewalld systemct disable firewalld cd /etc/selinux/config 把ena ...
分类:
其他好文 时间:
2019-12-15 18:49:33
阅读次数:
116
一、关闭防火墙 (1)[root@oracle ~]# vim /etc/selinux/config [root@oracle ~]# setenforce 0 [root@oracle ~]# getenforce (2)[root@oracle ~]# systemctl stop firew ...
分类:
数据库 时间:
2019-12-15 01:14:59
阅读次数:
144
import requests import json try: import cookielib except: import http.cookiejar as cookielib # 使用urllib2请求https出错,做的设置 import ssl context = ssl._creat ...
欧气dsfkj 博客园 首页 新随笔 联系 订阅 管理 随笔 - 1 文章 - 0 评论 - 0 基于CentOS7.7的实践 安装docker [root@MiWiFi-R1CM-srv ~]# sed -i.bak '/SELINUX/s/enforcing/disabled/g' /etc/s ...
分类:
其他好文 时间:
2019-12-13 14:01:39
阅读次数:
146
[root@MiWiFi-R1CM-srv ~]# sed -i.bak '/SELINUX/s/enforcing/disabled/g' /etc/selinux/config #养成习惯,遇到要该重要文件时一定要进行备份 [root@MiWiFi-R1CM-srv ~]# cat /etc/s ...
分类:
其他好文 时间:
2019-12-13 13:47:25
阅读次数:
92
[root@MiWiFi-R1CM-srv ~]# sed -i.bak '/SELINUX/s/enforcing/disabled/g' /etc/selinux/config #养成习惯,遇到要该重要文件时一定要进行备份 [root@MiWiFi-R1CM-srv ~]# cat /etc/s ...
分类:
数据库 时间:
2019-12-13 13:39:15
阅读次数:
172
1:错误信息:如下 2:解决方法 修改mysql端口后需要修改: vi /etc/selinux/configSELINUX=disabled 然后重启服务。可以用命令:setenforce 0 临时关闭selinux ,不用重启服务器;setenforce 0systemctl restart m ...
分类:
数据库 时间:
2019-12-13 09:14:00
阅读次数:
286
安装docker [root@MiWiFi-R1CM-srv ~]# sed -i.bak '/SELINUX/s/enforcing/disabled/g' /etc/selinux/config #养成习惯,遇到要该重要文件时一定要进行备份 [root@MiWiFi-R1CM-srv ~]# c ...
分类:
其他好文 时间:
2019-12-12 18:19:51
阅读次数:
101
安装docker [root@MiWiFi-R1CM-srv ~]# sed -i.bak '/SELINUX/s/enforcing/disabled/g' /etc/selinux/config #养成习惯,遇到要该重要文件时一定要进行备份 [root@MiWiFi-R1CM-srv ~]# c ...
分类:
Web程序 时间:
2019-12-12 18:10:54
阅读次数:
118