centos端口 防火墙centos6

linux下安装多路径multipath(centos6)

环境:OS:Centos 6.9virtualbox虚拟机 1.安装[root@rac02 ios]# yum install device-mapper-multipath 2.设置开机自启动[root@cluster01 ~]# chkconfig multipathd on[root@clus ......
路径 multipath centos6 centos linux

centos 安装 docker-compose 的快速简单办法

直接使用yum install docker-compose 会返回nothing to do, 可以使用pip3来安装 安装 Docker Compose (1)执行如下命令安装 pip3: yum -y install python3-pip pip3 install --upgrade pip ......
docker-compose compose 办法 centos docker

使用LVM给Centos根分区扩容

# 使用LVM给Centos根分区扩容 ## 1.查看磁盘使用 ```bash root@tomoncle:~# df -h 文件系统 容量 已用 可用 已用% 挂载点 devtmpfs 1.9G 0 1.9G 0% /dev tmpfs 2.0G 0 2.0G 0% /dev/shm tmpfs ......
Centos LVM

linux防火墙iptables

iptables 1,iptables的组成概述 netfilter/iptables:IP 信息包过滤系统,它实际上由两个组件 netfilter 和 iptables组成。 主要工作在网络层,针对IP数据包,体现在对包内的IP地址、端口等信息的处理。 netfilter/iptables关系: ......
防火墙 iptables linux

CentOS7 安装 phpMyAdmin

1. MySQL 和 phpMyAdmin MySQL是一个在各类开发者之上流行的数据库! 它是开源的,在速度和功能之间保持着完美的平衡。 这就是为什么在本教程中,我们将向您展示如何在 CentOS 7 上安装 phpMyAdmin——一个用于 MySQL 数据库管理的神奇工具。 使用 phpMyA ......
phpMyAdmin CentOS7 CentOS

Centos6、Kylin3.2 升级glibc2.17方法

一、下载安装包 wget http://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/glibc-2.17-55.el6.x86_64.rpmwget http ......
Centos6 方法 Centos Kylin3 glibc2

Nginx安装——Centos

yum安装 官网 nginx: Linux packages 安装必备组件: sudo yum install yum-utils 创建指定目录文件 vim /etc/yum.repos.d/nginx.repo #将官网内容复制到文件中 [nginx-stable] name=nginx stab ......
Centos Nginx

linux centos7 开启tomcat不成功

在bin文件夹下打开终端,输入./start.sh后报错权限不够 解决方法: 依旧在终端上输入chmod +x *.sh(网上说输入chmod +x startup.sh也可以,但我没成功) 输入ll可看到*.sh的文件都高亮 此时再次输入./startup.sh即可成功 ......
centos7 centos tomcat linux

Linux iptables 防火墙常用规则

iptables 安装 yum install iptables iptables 规则清除 iptables -F iptables -X iptables -Z 开放指定的端口 允许本地回环接口(即运行本机访问本机) iptables -A INPUT -s 127.0.0.1 -d 127.0 ......
防火墙 iptables 规则 常用 Linux

linux服务器TCP端口连接状态统计netstat命令

一、查看哪些IP连接本机 netstat -an 二、查看TCP连接数 1)统计80端口连接数 netstat -nat | grep -i "80" | wc -l 2)统计httpd协议连接数 ps -ef | grep httpd | wc -l 3)统计已连接上的,状态为“establish ......
端口 命令 状态 netstat 服务器

centos 离线安装 mysql5.7

# 下载离线安装包 tar https://dev.mysql.com/downloads/mysql/5.7.html#downloads (mysql-5.7.43-linux-glibc2.12-x86_64.tar.gz) # 移动到安装目录解压 /usr/local/ tar -zxvf ......
centos mysql5 mysql

centos7 中 configure: error: libcurl library not found

001、configure: error: libcurl library not found 002、解决方法 [root@pc1 test01]# yum -y install libcurl-devel 。 ......
configure centos7 libcurl library centos

centos7中 configure: error: liblzma development files not found

001、configure: error: liblzma development files not found 002、解决方法 [root@pc1 test01]# yum -y install xz-devel 。 ......
development configure centos7 liblzma centos

centos7中 configure: error: libbzip2 development files not found

001、configure: error: libbzip2 development files not found 002、解决方法 [root@pc1 test01]# yum -y install bzip2-devel 。 ......

centos7 中 bash: pip: command not found...

001、系统信息、问题 [root@pc1 software]# cat /etc/redhat-release ## 系统信息 CentOS Linux release 7.6.1810 (Core) [root@pc1 software]# pip install pysam # bash: p ......
centos7 command centos found bash

centos7中 configure: error: zlib development files not found

001、configure: error: zlib development files not found 002、解决方法: [root@pc1 test01]# yum -y install zlib-devel 。 ......
development configure centos7 centos error

friewalld 防火墙

systemctl start firewalld.service firewall-cmd --permanent --add-port=7000/udpfirewall-cmd --permanent --add-port=7000/tcp firewall-cmd --list-allfire ......
防火墙 friewalld

Centos误删系统自带python2.7,yum报错恢复方法

使用wget分别下载python以及yum的rpm包 资源地址如下: http://vault.centos.org mkdir /usr/local/src/pythoncd /usr/local/src/pythonwget http://vault.centos.org/7.6.1810/os ......
python2 方法 Centos python 系统

在CentOS8下安装MySQL8.0.31

一、登录官网主页:https://www.mysql.com/downloads/,选择社区版下载,如下图: 选择MySQL Community Server: 选择Archives: 按照下图步骤,获取下载的IP地址 最终拿到的官网地址为:https://downloads.mysql.com/a ......
CentOS8 CentOS MySQL8 MySQL 0.31

Linux下开启、关闭端口的方法

#### 1、查看防火墙状态 在Linux控制台输入:firewall-cmd --state 此时控制台返回:not running表示防火墙处于关闭状态 #### 2、开启防火墙 输入:**systemctl start firewalld.service**开启防火墙 此时系统没有反馈任何信息 ......
端口 方法 Linux

Centos7 配置清华源

1 备份现有的yum源 cd /etc/yum.repos.d/ mkdir bak mv *.repo /etc/yum.repos.d/bak 2 创建清华yum源 vim /etc/yum.repos.d/QingHua.repo # CentOS-Base.repo # # The mirr ......
Centos7 Centos

linux防火墙操作

查看防火墙状态 systemctl status firewalld.service 开启防火墙 systemctl start firewalld.service 防火墙开机启动 systemctl enable firewalld.service关闭防火墙开机启动systemctl disabl ......
防火墙 linux

cento 申请ssl证书笔记

如果您的Certbot工具没有内置的Nginx插件,您可以尝试以下方法来申请证书并配置Nginx服务器: 1. 安装Certbot的Nginx插件: ``` sudo yum install certbot-nginx ``` 这将安装适用于Nginx的Certbot插件。 2. 执行Certbot ......
证书 笔记 cento ssl

Centos7安装VNC

## 安装vnc ```bash #检查可用版本 [root@vnc ~]# yum --showduplicates list tigervnc-server #安装vnc [root@vnc ~]# yum install -y tigervnc-server #设置密码 [root@vnc ~ ......
Centos7 Centos VNC

CentOS7 防火墙特定开启端口

CentOS7 防火墙特定开启端口 为服务器的安全建议开启服务器。那么问题来了,服务器的服务不关闭防火墙访问不了。那么就来了解一下,服务器放行特殊端口的命令吧。 #首先查看防火墙状态firewall-cmd --state如果出现如下:表示已经关闭防火墙not running下面是centos7关闭 ......
端口 防火墙 CentOS7 CentOS

网神SecGate 3600防火墙obj_app_upfile任意文件上传漏洞

## 漏洞简介 网神 SecGate 3600 防火墙 obj_app_upfile接口存在任意文件上传漏洞,攻击者通过构造特殊请求包即可获取服务器权限 ## 影响范围 网神SecGate 3600防火墙 ## 漏洞复现 fofa语法:`fid="1Lh1LHi6yfkhiO83I59AYg=="` ......

centos7无法连接外网分析与解决

设备重新启动或开机时ip地址往往是会发生变化的,所以如果linux中ip地址有变动 我们将需要进行逐个修改ip是比较麻烦及其不方便的。 我们可以将Linux ip地址进行配置为静态ip ,规避上面的问题 一、编辑网卡配置文件 1、配置文件地址 需要注意的是,网卡配置文件可能是ifcfg-ens33也 ......
centos7 centos

centos7下安装libreoffice供word和ppt转pdf预览使用

一、卸载系统当前的libreoffice并安装新的,执行如下命令:yum remove libreoffice-* 在命令行执行libreoffice --version,检查是否已经安装LibreOffice。 1、在centos7下安装LibreOffice,可直接使用yum安装即可,在命令行输 ......
libreoffice centos7 centos word ppt

Linux下增加防火墙策略

firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="127.0.0.2" accept' firewall-cmd --reload;firewall-cmd --list-rich-rule;fi ......
防火墙 策略 Linux

centos7.9 yum python3.8

一、操作步骤1、在CentOS或RHEL系统上安装额外的企业级Linux软件包(EPEL)存储库。EPEL存储库提供了一些在默认存储库中不可用的附加软件包。如果您想要使用EPEL存储库中的软件包,您需要在系统上具有管理员权限。 yum install epel-release2、在CentOS或RH ......
centos7 python3 centos python yum