ICode9

精准搜索请尝试: 精确搜索
  • Linux--端口开放2022-09-11 13:04:01

    当我们访问一个网页失败时,可能会因为没有关闭防火墙,而且没有开放端口导致访问失败。具体解决方案如下: 一、防火墙的状态。有时打开防火墙外部不能访问。 防火墙的命令: 查看防火墙状态 systemctl status firewalld 开启防火墙 systemctl start firewalld 关闭防火墙 systemctl stop

  • zabbix监控详解2022-09-06 06:30:09

    zabbix监控详解 目录zabbix监控详解linux进行部署agentd创建监控主机创建主机组并加入主机添加监控项添加触发器添加媒介(email方式)添加动作 本章是基于zabbix的基础使用和监控服务zabbix部署基础之上. 本章进行的操作是zabbix监控linux,windows以及配置邮件告警 环境 IP 要安

  • Linux系统管理常用命令2022-09-04 00:34:56

    一、进程和服务的概念 计算机中,一个正在执行的程序或命令,被叫做“进程”(process) 启动之后一只存在、常驻内存的进程,一般被称作“服务”(service) 二、service服务管理 基本语法 service 服务名 start | stop | restart | status 查看网络服务的状态 service network status

  • firewalld2022-08-30 16:31:40

      查询防火墙是否开启 systemctl status firewalld    查询防火墙开放端口 firewall-cmd --list-ports    开放80端口 firewall-cmd --zone=public --add-port=80/tcp --permanent    重启 firewall-cmd --reload    验证是否成功 firewall-cmd --list-port

  • firewalld开放指定端口2022-08-26 15:03:41

      # systemctl start firewalld   启动防火墙 # systemctl status firewalld  查看防火墙 ● firewalld.service - firewalld - dynamic firewall daemon Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled) Active: act

  • firewalld启动失败问题排查2022-08-24 12:01:51

    今天需要在防火墙上添加端口策略发现起不来了 # systemctl restart firewalld  报错如下 Authorization not available. Check if polkit service is running or see debug message for more information.Failed to restart firewalld.service: 连接超时See system logs and 'sy

  • centOS7 防火墙2022-08-23 13:35:08

    查看已经开放的端口: firewall-cmd --list-ports 开启端口: firewall-cmd --zone=public --add-port=8080/tcp --permanent关闭端口: firewall-cmd --permanent --zone=public --remove-port=8080/tcp 开启防火墙: systemctl start firewalld 重启防火墙: firewall-cmd --reload #

  • CentOS7使用firewalld打开关闭防火墙与端口2022-08-23 09:01:03

    1、firewalld的基本使用     启动: systemctl start firewalld     关闭: systemctl stop firewalld     查看状态: systemctl status firewalld      开机禁用  : systemctl disable firewalld     开机启用  : systemctl enable firewalld 2.systemctl是Cent

  • Linux Centos 打开和关闭防火墙2022-08-21 15:32:56

        systemctl status firewalld.service # 查看防火墙状态 systemctl start firewalld.service # 开启防火墙 systemctl stop firewalld.service # 关闭防火墙 systemctl enable firewalld.service # 将防火墙设置为开机自启动 systemctl disable fire

  • ufw开机不启动,ufw inactive after reboot2022-08-20 15:00:53

    废话:最近部署debian服务器,我用ufw把ssh端口打开了,重启服务器后,ssh又连接不上了。我心想ufw开机不自启动的吗?那我服务器每次重启后我都得把显示器接上手动打开22端口,这不是会疯掉吗。我甚至尝试使用开机自启动脚本执行ufw enable。仍旧不行,多方查阅资料,总结以下几个方法。 正文: 1、

  • Linux防火墙(iptables/firewalld)2022-08-19 14:00:56

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

  • 不同linux 的防火墙2022-08-16 15:31:31

    关于linux系统防火墙: centos5、centos6、redhat6系统自带的是iptables防火墙。 centos7、redhat7自带firewall防火墙。 ubuntu系统使用的是ufw防火墙。 防火墙导致服务不正常的问题: 在服务器安装某些服务之后,服务无法连接、无法正常启动等情况。查看下系统防火墙有没开放相关的

  • centOS7 查看防火墙状态2022-08-04 10:00:07

    一、防火墙的开启、关闭、禁用命令 (1)设置开机启用防火墙:systemctl enable firewalld.service (2)设置开机禁用防火墙:systemctl disable firewalld.service (3)启动防火墙:systemctl start firewalld (4)关闭防火墙:systemctl stop firewalld (5)检查防火墙状态:systemctl status firewalld 二

  • linux守护进程vsftpd2022-08-01 16:01:34

    输入ftp [ip地址]显示连接被拒绝 ftp 192.168.173.148显示 ftp: connect: Connection refused输入quit退出 ftp> quit   一般情况是要连接的服务器没有安装或者启动FTP服务   systemctl status vsftpd 显示没有找到 Unit vsftpd.service could not be found.   安装vsftpd

  • firewall命令操作2022-07-29 11:04:33

    1、firewalld的基本使用 启动: systemctl start firewalld 查看状态: systemctl status firewalld 停止: systemctl disable firewalld 禁用: systemctl stop firewalld2、systemctl是CentOS7的服务管理工具中主要的工具,它融合之前service和chkconfig的功能于一体 启动一个服务:systemc

  • Linux 11 安装Tomcat2022-07-26 21:31:44

    参考源 https://www.bilibili.com/video/BV187411y7hF?spm_id_from=333.999.0.0 版本 本文章基于 CentOS 7.6 这里使用解压缩方式安装 Tomcat 概述 这里的解压缩方式与 Windows 的解压缩方式是一个概念,都是将文件解压到指定文件夹然后运行。 这种方式相比 rpm 方式要繁琐一

  • 安装iptables2022-07-26 20:04:25

    centos7默认防火墙:firewalld 查看firewalld状态:service firewalld status 包含active(running)表示运行中,停用firewalld: service firewalld stop 再次查看firewalld状态:service firewalld status 包含inactive(dead)表示已停止 禁用firewalld:systemctl disable firewalld.service

  • firewalld防火墙2022-07-17 16:08:27

    firewalld防火墙 防火墙的概述 firewalld防火墙是Centos7系统默认的防火墙管理工具,取代了之前的iptables防火墙,firewalld只能做IP/Port相关的限制 防火墙规则 入站规则: 别人的电脑访问自己电脑的规则 出站规则: 自己的电脑访问别人电脑的规则 # 防火墙默认是全部拒绝的 防火墙

  • centos7关闭防火墙2022-07-13 01:00:57

      今天在搞es时,浏览器不能访问,才想起来,防火墙没有关闭。   做个小记录: 1.现象        2.命令 CentOS 7.0默认使用的是firewall作为防火墙 查看防火墙状态 firewall-cmd --state 停止firewall systemctl stop firewalld.service 禁止firewall开机启动 systemctl d

  • 自定义监控(mysql主从和mysql延迟)2022-07-11 22:32:48

    自定义监控(mysql主从和mysql延迟) 准备工作 #在server主机上搭建zabbix服务 #在localhost主机上搭建zabbix客户端 #在master主机和localhost主机上安装mysql //关闭主从端的防火墙 [root@localhost ~]# systemctl status firewalld.service ● firewalld.service - firewa

  • firewall2022-07-01 16:04:23

    开启一个端口firewall-cmd –zone=public –add-port=80/tcp –permanent重新载入firewall-cmd –reload查看firewall-cmd –zone= public –query-port=80/tcp删除firewall-cmd –zone= public –remove-port=80/tcp –permanent查看已经开放的端口firewall-cmd –list-ports重启

  • linux 关闭防火墙2022-07-01 14:02:47

    开启防火墙的命令         systemctl start firewalld.service关闭防火墙的命令        systemctl stop firewalld.service开机自动启动        systemctl enable firewalld.service关闭开机自动启动        systemctl disable firewalld.service查看防火墙状态

  • CentOS基础系列二 :最小化安装后的完善配置2022-06-28 22:32:39

    我们学习了CentOS如何安装,接下来我们将学习,如何配置自己CentOS服务器,使之能正常连接网络,安装一些常用的软件包,注意,这篇文章是对于最小化安装Centos的完善配置 一、打开网络连接1.输入用户名和密码,登录CentOS服务器 2.打开网络接口,开启网卡,修改ONBOOT 为 yes vi 是文本编辑器,用于打

  • linux-yum安装2022-06-21 23:00:40

    1.查看Java的版本(一般安装第一个就好) yum list | grep java yum install java-1.8.0-openjdk.x86_64(Java环境) yum install java-1.6.0-openjdk-devel.x86_64 (Javac环境)   2.rz工具(sz+文件名:可以从Linux中文件上传电脑中) yum install lrzsz yum -y remove lrzsz 3.上传tomcat包

  • linux 防火墙2022-06-19 19:03:26

    一、firewalld Centos7默认安装了firewalld,如果没有安装的话,可以使用 yum install firewalld firewalld-config进行安装。 1.启动防火墙 systemctl start firewalld 2.禁用防火墙 systemctl stop firewalld 3.设置开机启动 systemctl enable firewalld 4.停止并禁用开机启动

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有