一、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:错误信息:如下 2:解决方法 修改mysql端口后需要修改: vi /etc/selinux/configSELINUX=disabled 然后重启服务。可以用命令:setenforce 0 临时关闭selinux ,不用重启服务器;setenforce 0systemctl restart m ...
分类:
数据库 时间:
2019-12-13 09:14:00
阅读次数:
286
1 主要步骤 配置网络 修改主机名 关闭防火墙 关闭SELinux 安装jdk 增加hadoop用户 配置ssh信任 配置hadoop 集群部署规划 5台服务器, 一个主节点:nn1.hadoop, master (HA) 一个从节点:nn2.hadoop,slave 三个工作节点: s1.hado ...
分类:
系统相关 时间:
2019-12-09 01:34:10
阅读次数:
243
安装redis集群 根据各人单位生产环境用户搭建一、安装环境 操作系统:centos7.6 关闭防火墙、关闭selinux redis1:192.168.26.128 redis2:192.168.26.129二、用户环境 groupadd usr useradd -g usr -md /usr/u ...
分类:
其他好文 时间:
2019-12-08 15:53:21
阅读次数:
67
第1章 find补充 问题 查找nfsnobody目录下的所有以.sh结尾的文件并查看文件信息 1.1 第一种find +|xargs 1.2 第二种$() 1.2.1 $() [root@nfsnobody ~] ll $(which mkdir) rwxr xr x. 1 root root 4 ...
分类:
系统相关 时间:
2019-12-04 13:00:06
阅读次数:
123
0.安装前准备 0.1 关闭防火墙 1 service iptables status 2 service iptables stop 0.2 关闭Selinux 很多稀奇古怪的问题都是SELINUX导致的。 1.创建用户 1 useradd hadoop -d /home/hadoopecho 2 ...
分类:
Web程序 时间:
2019-12-01 12:03:25
阅读次数:
88
1、准备安装包: 安装包官网下载地址:https://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-linx8664soft-100572.html 2、先临时关闭 selinux: [root@Cen ...
分类:
数据库 时间:
2019-12-01 09:45:06
阅读次数:
152
centos linux7.5 1、关闭防火墙、关闭selinux、关闭swapoff -a systemctl stop firewalldselinux=disabledswapoff -a 2、安装docker 1)常用方法 2)本地rpm包安装 3)二进制安装 3、安装cfssl工具(任何一 ...
分类:
其他好文 时间:
2019-11-29 15:55:58
阅读次数:
66
1.基础优化,规范目录: mkdir -p /server/tools mkdir -p /server/scripts 3. 修改主机名 4. 更新yum源 5、安全优化: a. 关闭SELinux b.关闭防火墙 systemctl stop firewalld 关闭防火墙服务 systemct ...
分类:
其他好文 时间:
2019-11-25 15:04:31
阅读次数:
83
安装jumpserver 1.关闭防火墙 关闭SElinux systemctl stop firewalld.service systemctl disable firewalld.service setenforce 0 2.修改字符,防止乱码(这步完事之后就变成中文的虚拟机了。。。我的天) l ...
分类:
其他好文 时间:
2019-11-25 11:09:23
阅读次数:
81