我使用的服务器系统是Ubuntu 20.04 - x86_64,使用root用户操作。关于Trojan-go你可以在这里获得详细信息。
安装Docker
apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"
apt update && apt install docker-ce
安装acme.sh签发证书
curl https://get.acme.sh | sh -s email=email@your-domain-name.com
alias acme.sh=~/.acme.sh/acme.sh
我使用Cloudflare管理域名,所以直接用Cloudflare来验证域名DNS的方式签发证书。
Continue Reading »
Shiori是一款开源的书签存档服务,使用Go开发。Shiori可以用来解决一些链接莫名其妙的404消失。照例此服务是搭建在一个运行了Ubuntu 20.04的服务器上。
Continue Reading »
我使用的服务器运行在本地一台Ubuntu 20.04 虚拟机上,使用root用户操作。关于AdGuard Home你可以在这里获得详细信息。
安装Docker
apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"
apt update && apt install docker-ce
使用Docker运行AdGuard Home
docker run -d \
--name adguardhome \
-v $PWD/adguardhome/work:/opt/adguardhome/work \
-v $PWD/adguardhome/conf:/opt/adguardhome/conf \
-p 53:53/tcp \
-p 53:53/udp \
-p 3000:3000/tcp \
adguard/adguardhome
其中$PWD/adguardhome/work 是你本地存储adguardhome文件的地方。-p是adguardhome需要的端口。
Continue Reading »