Skip to content

学习笔记

此博客用于个人学习的时候做一下笔记

  • 主页
  • golang
  • linux
  • nginx
  • php
  • python
  • vue
  • 杂项

centos7升级python3.9.1

安装依赖 yum install openssl-devel bzip2-devel expat-d […]

linux , pythonPosted on: 2024-03-232024-03-23

centos firewall设置仅允许指定IP访问网站_一般用于私有网站

注意 此设置是根据服务器端口进行的 对整台服务器有效 例如:网站端口为443 #查询打开的端口 fi […]

linuxPosted on: 2024-03-102024-03-10

数据库与网站全自动备份脚本_远程备份

远程备份 一般用于多个运行的网站自动备份到一台备份机 一般用crontab定时器运行 分为两部分 接 […]

linux , phpPosted on: 2024-03-082024-03-17

centos清除登录信息及命令历史

echo > /var/log/wtmp; echo > /var/log/btmp; […]

linuxPosted on: 2024-03-052024-03-07

centos7手动编译安装nginx与php

编译安装nginx1.25 #安装依赖 yum install -y gcc-c++ pcre pc […]

linuxPosted on: 2024-03-032024-03-03

centos7防火墙拒绝出站流量

firewall-cmd –direct –add-rule ipv4 filter OUTPU […]

linuxPosted on: 2024-02-292024-02-29

centos7防火墙基本操作

查看防火墙状态: firewall-cmd –state 关闭防火墙: systemctl sto […]

linuxPosted on: 2024-02-252024-02-25

fail2ban过滤防止basic auth爆破

#编辑文件 vi /etc/fail2ban/jail.loca #写入以下内容 [DEFAULT] […]

linuxPosted on: 2024-02-24

centos7利用fail2ban防止ssh被爆破

1 停止iptables并启用firewall 这一步大部分机器不必要做 大部分机器初始状态已经是这 […]

linuxPosted on: 2024-02-24

centos7检测一个服务是否正在运行 是否开机启动

例如检测fail2ban #检测是否在运行 systemctl status fail2ban #检 […]

linuxPosted on: 2024-02-242024-02-24

文章分页

Page 1 Page 2 Next page

近期文章

  • 20240505学习python_scrapy框架_基础
  • 20240428学习Python_文件处理
  • 20240428学习Python_杂项
  • 20240428学习Python_面向对象
  • 20240428学习Python_基础

归档

  • 2024 年 5 月
  • 2024 年 4 月
  • 2024 年 3 月
  • 2024 年 2 月

分类目录

  • golang
  • linux
  • nginx
  • php
  • python
  • 杂项
Theme Twelve Blog by Kantipur Themes