Linux下DHCP和静态IP 2020年06月09日 benz1 3906 1.查看网卡名称 ifconfig 例如这里网卡名称为eth0 2.修改网卡配置文件 # 进入目录 cd /etc/sysconfig/network-scripts/ ls 可以看到与eth0相关的配置文件,对它进行编辑。 DHCPDEVICE=... 阅读全文 0 评论
Debian 8 安装 .NET Core 依赖 2020年06月07日 benz1 3729 1. ssh 连接 2. 安装相关依赖 apt-get update apt-get install curl libunwind8 gettext apt-transport-https 3. 注册受信任的 Microsoft 产品密钥 curl ht... 阅读全文 0 评论
Acme.sh签发SSL证书出错 2019年11月30日 benz1 9626 An ACME Shell script 今天使用acme给自己一个域名签发证书的时候遇到下面的错误: [Fri Nov 29 22:33:53 EST 2019] xxxx.xxxx.xyz: Verify error:Fetching http://... 阅读全文 1 评论
屏蔽某个省份访问网站 2019年05月03日 benz1 14135 将下面代码加入网站首页,适合php环境 <?php /** * * ban_ip.php(屏蔽地方IP) */ header("Content-type: text/html; charset=utf-8"); $verification = 'S... 阅读全文 4 评论
Debian配置Socks5遇到的问题 2019年04月29日 benz1 2801 最近Mtproto封端口封的很厉害,于是重新捡起了Socks5,很早之前写过一篇Centos7配置Socks5。 这次在debian上遇到一些问题,在执行./configure的时候出现configure: error: *** Some of the ... 阅读全文 0 评论