分类 默认分类 下的文章
黑苹果
shadowsocks
apt install python-pip git
pip install git+https://github.com/shadowsocks/shadowsocks.git@master
ssserver -p 993 -k passwd -m aes-128-gcm -d start
bbr&ipv6
apt install --install-recommends linux-generic-hwe-16.04
reboot
vim /etc/sysctl.conf
[
net.ipv6.conf.all.disable_ipv6 = 0
net.ipv6.conf.default.disable_ipv6 = 0
net.ipv6.conf.lo.disable_ipv6 = 0
net.ipv4.tcp_congestion_control = bbr
net.core.default_qdisc = fq
]
sysctl -p
NOTE: When behind a firewall appliance that passes protocol 41, use the IPv4 address you get from your appliance's DHCP service instead of the IPv4 endpoint you provided to our broker.
Typecho
apt install nginx sqlite curl php7.0 php7.0-fpm php7.0-sqlite php7.0-curl php7.0-mbstring
wget http://typecho.org/downloads/1.1-17.10.30-release.tar.gz
tar xzvf 1.1-17.10.30-release.tar.gz
mkdir /usr/share/nginx/typecho
cp -r build/* /usr/share/nginx/typecho
chown -R www-data:www-data /usr/share/nginx/typecho