一、iptables防火墙 1、基本操作 # 查看防火墙状态 service iptables status # 停止防火墙 service iptables stop # 启动防火墙 service iptables start # 重启防火墙 service iptables restart # ...
                            
                            
                                分类:
系统相关   时间:
2021-04-07 11:31:55   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    在以前的文章 Ubuntu 18 Kubernetes集群的安装和部署 以及Helm的安装 和 Centos 使用kubeadm安装Kubernetes 1.15.3,由于某些原因需要更新版本,索性直接安装最新的版本来试一下。 1.Install 1.安装并启用 Docker sudo apt in ...
                            
                            
                                分类:
Web程序   时间:
2021-04-06 15:02:04   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    一、服务器信息 1、服务器名称:也能够寻云服务器 2、服务器版本:Linux VM-0-9-centos 3.10.0-862.el7.x86_64 #1 SMP Fri Apr 20 16:44:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux 3、内核版本信息 ...
                            
                            
                                分类:
编程语言   时间:
2021-04-05 12:50:29   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    在一台没有安装过低版本gcc的系统里,如何安装gcc 7 ?以下是详细步骤。 使用开发工具集安装: sudo yum install centos-release-scl sudo yum install devtoolset-7-gcc*scl enable devtoolset-7 bashwh ...
                            
                            
                                分类:
其他好文   时间:
2021-04-05 12:45:01   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    前提:我们有了镜像才可以创建容器 如,下载一个centos镜像来测试学习 docker pull centos 新建容器并启动 docker run 【可选参数】 image #参数说明 --name= “Name” 容器名字 tomcat01,tomcat02。用来区分不同的容器 -d 后台方式运 ...
                            
                            
                                分类:
其他好文   时间:
2021-04-05 12:42:27   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    1 首先 添加dns服务器 vi /etc/resolv.conf 在文件中添加如下两行: nameserver 8.8.8.8 nameserver 8.8.4.4 保存退出,重启服务器。之后再ping 一次试一试 如果没有解决 继续: 2 设置一个文件: vi /etc/sysconfig/ne ...
                            
                            
                                分类:
其他好文   时间:
2021-04-05 12:20:08   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                centos下搭建Jenkins持续集成环境(安装jenkins) 1、安装JDK yum install -y java 2、安装jenkins 添加Jenkins库到yum库,Jenkins将从这里下载安装。 1 wget -O /etc/yum.repos.d/jenkins.repo htt ...
                            
                            
                                分类:
其他好文   时间:
2021-04-05 12:10:46   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    一、iptables常用命令 #查看已有的防火墙规则链 iptables -L #清空已有的防火墙规则链 iptables -F #把 INPUT 规则链的默认策略设置为拒绝 iptables -P INPUT DROP #向 INPUT 链中添加允许 ICMP 流量进入的策略规则 iptables ...
                            
                            
                                分类:
系统相关   时间:
2021-04-05 11:55:37   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                本文主要讲解如何重启RHEL 8或者CentOS 8网络以及如何解决RHEL8和CentOS8系统的网络管理服务报错 1、redhat8系列官方使用nmclit进行IP地址修改和配置: 将network停止并禁止: systemctl stop network systemctl mask netw ...
                            
                            
                                分类:
其他好文   时间:
2021-04-02 13:33:25   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                网卡文件路径 路径:/etc/sysconfig/network-scripts/ 配置文件解析 DEVICE=ens33 # 网卡的设备名称 NAME=ens33 # 网卡设备的别名 TYPE=Ethernet #网络类型:Ethernet以太网 BOOTPROTO=none #引导协议:stat ...
                            
                            
                                分类:
其他好文   时间:
2021-04-02 13:26:44   
                                阅读次数:
0