环境为最小化安装初始化环境 yum install -y vim net-tools wget tree lrzsz关闭防火墙systemctl stop firewalld.servicesystemctl disable firewalld.service关闭selinuxsed -i 's/S ...
                            
                            
                                分类:
数据库   时间:
2021-06-29 15:18:17   
                                阅读次数:
0
                             
                         
                    
                        
                            
                            
                                
                    前言:方案仅供参考,请参考前置条件和问题描述后以实际情况为准; 前置条件:导入centos7后,关闭selinux,关闭防火墙,主机ping通了虚拟机,虚拟机无法ping主机,于是在百度上搜索后一顿操作猛如虎,最后作死了..... 问题描述: 虚拟机导入的centos7默认为nat连接;原本主机能p ...
                            
                            
                                分类:
其他好文   时间:
2021-03-31 12:02:40   
                                阅读次数:
0
                             
                         
                    
                        
                            
                            
                                
                    1.环境如下 主机名 IP 角色 2.部署前准备 1.环境准备,所有节点分别配置。 关闭防火墙: $ systemctl stop firewalld $ systemctl disable firewalld 关闭 selinux: $ sed -i 's/enforcing/disabled/' ...
                            
                            
                                分类:
其他好文   时间:
2021-01-20 12:03:09   
                                阅读次数:
0
                             
                         
                    
                        
                            
                            
                                ELK集群配置安装初始化iptables关闭selinux关闭配置hosts解析[root@localhostelasticsearch]#cat/etc/hosts127.0.0.1localhostlocalhost.localdomainlocalhost4localhost4.localdomain4::1localhostlocalhost.localdomainlocalhost6lo
                            
                            
                                分类:
其他好文   时间:
2020-12-01 11:46:16   
                                阅读次数:
2
                             
                         
                    
                        
                            
                            
                                实验环境:(开始实验之前,请保证防火墙关闭,selinux关闭,时间同步)ansible:192.168.2.7web1:192.168.2.7web2:192.168.2.17OS:centos7OS:centos7OS:centos7实现功能:(自动化部署两台各自主机命名的httpd服务器)1、使用ansible的playbook实现自动化安装httpd2、建立httpd服务器,要求提供各自基
                            
                            
                                分类:
Web程序   时间:
2020-11-26 14:48:24   
                                阅读次数:
9
                             
                         
                    
                        
                            
                            
                                实验环境:(开始实验之前,请保证防火墙关闭,selinux关闭,时间同步)ansible:192.168.2.7web1:192.168.2.7web2:192.168.2.17OS:centos7OS:centos7OS:centos7实现功能:(自动化部署两台各自主机命名的httpd服务器)1、使用ansible的playbook实现自动化安装httpd2、建立httpd服务器,要求提供各自基
                            
                            
                                分类:
Web程序   时间:
2020-11-26 14:48:12   
                                阅读次数:
11
                             
                         
                    
                        
                            
                            
                                
                    1+X云计算 应用商城系统(gpmall)-遇到的问题以及解决办法 问题1: 关于网站访问(打不开或者连接不上服务器的问题): 没有关闭selinux和防火墙,是访问不了网站 [root@mall ~]# setenforce 0 [root@mall ~]# getenforce [root@ma ...
                            
                            
                                分类:
其他好文   时间:
2020-11-20 11:41:05   
                                阅读次数:
5
                             
                         
                    
                        
                            
                            
                                1、安装linux注意事项,swap需要大于4g2、初始化设置修改固定ip地址,可用修改/etc/hosts关闭selinux,修改/etc/selinux/config,SELINUX=enforcing改为SELINUX=disabled关闭防火墙,systemctldisablefirewalld.service,查看状态systemctlstatusfirewalld.service3、配
                            
                            
                                分类:
数据库   时间:
2020-10-05 22:00:59   
                                阅读次数:
40
                             
                         
                    
                        
                            
                            
                                系统环境:CentOS7.6系统状态:关闭selinux、firewalld安装依赖包:[root@rhel7Python-3.8.0]#yuminstallzlib-develbzip2bzip2-develreadline-develsqlitesqlite-developenssl-develxzxz-devellibffi-devel(重启)一、下载python3.8版本[root@rhe
                            
                            
                                分类:
编程语言   时间:
2020-09-18 00:48:22   
                                阅读次数:
44
                             
                         
                    
                        
                            
                            
                                最近又遇到了linuxvda测试的需求,根据官方kb又简单整理了一波安装centos,选择desktop模式,配置网络,修改计算机名关闭防火墙systemctldisablefirewalld.service关闭selinuxvi/etc/selinux/config![](https://s4.51cto.com/images/blog/202009/07/73cc2fae6459a2bdcdc
                            
                            
                                分类:
系统相关   时间:
2020-09-17 17:49:11   
                                阅读次数:
46