Linux终端提示符 [root@oldboy_python ~] [root@oldboy_python ~] [root@oldboy_python ~] [root@oldboy_python ~] [root@oldboy_python ~] Linux命令语法 1.一般情况下,【参数】是可 ...
分类:
系统相关 时间:
2019-12-25 15:48:30
阅读次数:
75
Prometheus(普罗米修斯)实验环境:(各个主机,ip,所需服务)docker01docker02docker031.101.201.30NodeEXporterNodeEXporterNodeEXportercAdvisorcAdvisorcAdvisorPrometheusServerGrafana全部关闭防火墙,禁用selinux.[root@docker01~]#systemctls
分类:
其他好文 时间:
2019-12-24 20:20:38
阅读次数:
1752
Linux的网络功能相当强悍,一时之间我们无法了解所有的网络命令,在配置服务器基础环境时,先了解下网络参数设定命令。 ifconfig 查询、设置网卡和ip等参数 ifup,ifdown 脚本命令,更简单的方式启动关闭网络 ip 符合指令,直接修改上述功能 在我们刚装好linux的时候,需要用xsh ...
分类:
其他好文 时间:
2019-12-23 22:45:24
阅读次数:
139
1.条件不允许的情况下(不能随意重启计算机)执行下列代码: setsebool -P httpd_can_network_connect 1 12.其他情况下获取root权限 vim /etc/selinux/config1找到 SELINUX=enforcing1改为 SELINUX=disabl ...
分类:
其他好文 时间:
2019-12-23 16:40:56
阅读次数:
304
问题阐述 一次停电之后,服务器停机,然后ip莫名被占用,修改新的ip之后,ssh能够连接上去,但是web服务访问不了,数据库访问不了,除了22端口,其它服务端口都不能telnet。 防火前、IPtables、selinux全都关闭,问题存在。 久经折腾之下,觉得Docker的那个端口映射是不是也要重 ...
分类:
Web程序 时间:
2019-12-23 15:17:27
阅读次数:
128
系统版本:Centos 7.4 [root@localhost ~]# cat /etc/redhat-release CentOS Linux release 7.4.1708 (Core) 1、环境配置: 1.1 永久关闭SeLinux vi /etc/selinux/config #将SELI ...
分类:
其他好文 时间:
2019-12-20 15:19:00
阅读次数:
113
准备工作 1.准备两台虚拟机(我的是centos7系统的) 一台是 192.168.18.140 一台是 192.168.18.141 2.关闭防火墙 和SELinux 1 2 systemctl stop firewalld setenforce 0 优化系统 1 2 3 4 5 6 7 vim ...
分类:
其他好文 时间:
2019-12-20 12:16:06
阅读次数:
94
准备三台centos7的服务器 两核两G的 关闭防火墙和SELinux 1 2 systemctl stop firewalld setenforce 0 1.每一台都安装jdk 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 rpm -ivh jdk-8u ...
分类:
其他好文 时间:
2019-12-20 12:14:02
阅读次数:
203
环境: 1、centos7.6 2、jdk1.8.0_141 3、4G 30G 4core 4、关闭防火墙和selinux 一、安装jenkins 1、 下载jenkins https://pkg.jenkins.io/redhat/ jenkins-2.208-1.1.noarch.rpm 2、安 ...
分类:
其他好文 时间:
2019-12-20 11:57:49
阅读次数:
122
任意选择3台centos系统的服务器(可以任意选择几台都可以),我的是1台centos7,2台centos6的 负载均衡端:192.168.153.171 web端:192.168.153.128 / 129 1.关闭所有服务器的防火墙以及selinux。 centos7的操作 systemctl ...
分类:
其他好文 时间:
2019-12-20 11:47:26
阅读次数:
66