Loading...
说明:博主很早前发过VPS一键屏蔽指定国家IP的教程,查看:Linux VPS一键屏蔽指定国家所有的IP访问,这对于我们阻止某个国家访问网站和CC攻击还是很有用的,不过鉴于很多人需要白名单设置方法,博主研究了下,发现也可以用ipset来完成,这里就说下,目前测试是没问题的。方法首先需要得到国家IP段,下载地址:http://www.ipdeny.com/ipblocks/。这里以我们国家为例...
关闭企业版更新源mv /etc/apt/sources.list.d/pve-enterprise.list /etc/apt/sources.list.d/pve-enterprise.list.bak 更新debian国内加速及pve非订阅版更新源cp /etc/apt/sources.list /etc/apt/sources.list.bak nano /etc/apt/source...
Centos、Ubuntu、Debian、Fedora、OpenSUSE、FreeBSD系统换软件源Linux系统安装完后软件源一般都是国外服务器,在国内特别慢,这时候就需要更换国内的镜像源。Centos1、备份mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 2、更换源下载新的Cent...
编译openwrt等命令一、注册GitHub账号官网地址:https://github.com/二、激活GitHub ACTIONS功能激活地址:https://github.com/RabbitAkk/actions-lede-2/actions三、fork 一建脚本项目https://github.com/RabbitAkk/actions-lede-2四、LEDE源码https://g...
升级Ubuntu系统sudo apt-get update 安装依赖sudo apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch python3 unzip zlib1g-dev lib32gcc1 libc6-dev-i386 s...