搜索内容

yxbinghe 的文章
  • netfilter-persistent:53 80
    Linux

    netfilter-persistent:53 80

    ​ if [[ "${ID}" == "centos" ]]; then ​ pkg_install "iptables-services" ​ else ​ pkg_install "iptable……
    yxbinghe 2022年2月26日
  • Failed to parse PID from file
    Nginx

    Failed to parse PID from file

    How to fix the NGINX error “Failed to read PID from file”, quick and easy 以下是有关如何修复错误消息的提示: nginx.service: Failed to read PI……
    yxbinghe 2022年2月21日
  • Debian  升级
    Daily

    Debian 升级

    Debian 11 (bullseye) 经过两年的等待终于正式发布稳定版本了,带来了很多更新的内核,更新的软件包以及其他新特性,具体可以从这里了解。 这里我在一台 V……
    yxbinghe 2022年2月21日
  • debian 端口开放、curl、nmap
    Daily

    debian 端口开放、curl、nmap

    1、端口开放: 安装iptables apt-get update apt-get install iptables 配置端口:入站端口 iptables -……
    yxbinghe 2022年2月20日
  • iptables:unrecognized service 的解决方法
    Daily

    iptables:unrecognized service 的解决方法

    准备在Linux下配置一个ftp服务,采用vsftpd自然是首选,但是在配置过程中,执行到: 启动vsftpd服务器: service vsftpd restart service iptables ……
    yxbinghe 2022年2月17日
  • Debian 安装优化的内核 XanMod Kernel
    Daily

    Debian 安装优化的内核 XanMod Kernel

    XanMod 是具有自定义设置和新功能的通用Linux内核发行版。旨在提供稳定、响应迅速且流畅的桌面体验。 安装 XanMod Kernel ## 新机器需要安装依赖apt up……
    yxbinghe 2022年2月14日
  • Debian 10 buster 系统配置优化
    Daily

    Debian 10 buster 系统配置优化

    基础优化 # 更新系统 apt-get -y full-upgrade # 关闭swap swapoff -a sed -i 's/^\/swap/#\/swap/' /etc/fstab # 安装工具 apt-get install -y cur……
    yxbinghe 2022年2月14日
  • Linux下使用 ipset 封大量IP及ipset参数说明
    Daily

    Linux下使用 ipset 封大量IP及ipset参数说明

    最近一个朋友的服务器被别人一直攻击,有很多IP,显然使用iptables一个一个屏蔽不现实了,只好借助ipset进行批量封禁IP,接下来为大家介绍一下ipset的相关使……
    yxbinghe 2022年2月6日
  • CentOS vs Debian(Ubuntu)主要命令区别
    Daily

    CentOS vs Debian(Ubuntu)主要命令区别

    操作内容Centos 6/7Debian/Ubuntu1.软件包后缀*.rpm*.deb2.软件源配置文件/etc/yum.conf/etc/apt/sources.list3.更新软件包列表yum makecache fastapt-get up……
    yxbinghe 2022年2月6日
  • iptables 端口转发
    Daily

    iptables 端口转发

    阅读目录 开启路由转发功能1、将本地的端口转发到本机端口2、将本机的端口转发到其他机器3、将一台公网 ip 主机的端口转发到另一台公网 ip 主机iptables转……
    yxbinghe 2022年1月27日