0%

上月,CentOS宣布将开发重心转向CentOS Stream,CentOS 8的支持期从2029年缩短到2021年。我的VPS正在使用CentOS 8,原计划切换到CentOS Stream,试验后遇到了bug,正好手头有Redhat开发者订阅,于是决定利用Convert2RHEL切换到Red Hat Enterprise Linux。

阅读全文 »

Freenom长期以来都有抽风的传统,最近不知是什么原因,注册域名时会一直出现technical error取消订单。reddit上有一个帖子,说要填满个人信息,不留空行,试验后没用,随后在YouTube上看到了这个视频,模仿着填写了个人信息,便注册域名成功了。

阅读全文 »

本文原载于胡萝卜周博客,原文名称《萝卜哥手把手教你安装激活 Microsoft Office 365》,胡萝卜周网站关停后本人整理转载于此

微软在办公软件方面,主推订阅式的Microsoft Office 365,主要是因为Office 365能获得持续的安全更新和功能更新,而普通版的Office,比如Office 2016、0ffice 2019,只有安全更新,而没有功能更新。

阅读全文 »

更换清华源

1
2
3
4
5
6
# 编辑 `/etc/apt/sources.list` 文件,删除原文件所有内容,用以下内容取代:
deb http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ buster main non-free contrib rpi
deb-src http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ buster main non-free contrib rpi

# 编辑 `/etc/apt/sources.list.d/raspi.list` 文件,删除原文件所有内容,用以下内容取代:
deb http://mirrors.tuna.tsinghua.edu.cn/raspberrypi/ buster main ui
阅读全文 »

一、禁止爬虫的UA

在配置文件的server段添加如下内容

1
2
3
4
if ($http_user_agent ~* "qihoobot|Baiduspider|Googlebot|Googlebot-Mobile|Googlebot-Image|Mediapartners-Google|Adsbot-Google|Feedfetcher-Google|Yahoo! Slurp|Yahoo! Slurp China|YoudaoBot|Sosospider|Sogou spider|Sogou web spider|MSNBot|ia_archiver|Tomato Bot") 
{
return 403;
}
阅读全文 »