pip使用国内镜像提高下载速度
对于windows 10。。。可以直接执行:
pip config set global.trusted-host mirrors.aliyun.com pip config set global.index-url https://mirrors.aliyun.com/pypi/simple
对于windows 10。。。可以直接执行:
pip config set global.trusted-host mirrors.aliyun.com pip config set global.index-url https://mirrors.aliyun.com/pypi/simple
shadowsocks-libev不支持单配置文件中指定不同端口及密码的多用户配置。
需要新建不同的配置文件,通过下面命令启动:
setsid ss-server -c (path to config file) -u
来源:
https://www.itfanr.cc/2016/10/02/use-shadowsocks-to-have-better-internet-experience/#shadowsocks-libev-%E7%9A%84%E5%A4%9A%E7%94%A8%E6%88%B7%E9%85%8D%E7%BD%AE
https://github.com/shadowsocks/shadowsocks-libev/issues/5#issuecomment-18446358
Debian9中,官方不再支持denyhosts,理由是安全及上游不再更新等。
替换选项是fail2ban。
参考文档:
https://www.vultr.com/docs/how-to-setup-fail2ban-on-debian-9-stretch
之前加入下面代码
<meta http-equiv="refresh" content="0.2;url=目标地址">
一般的出现这种情况时,nginx.conf里的的location设置都是类似这样
location ~ .*\.php$要支持pathinfo,要改成
location ~ .*\.php(\/.*)*$在某些老版本的php里面,可能还要打开php.ini里的cgi.fix_pathinfo
cgi.fix_pathinfo = 1
来源:typecho文档
注意:自动安装的php版本是7.2,nginx的默认配置文件中php是7.0,需要手工编辑一下。
https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-ubuntu-18-04
貌似新版的不能用,老是
Illegal instruction (core dumped)
/data/etc/misstar/applications/v2ray/v2ray -config /data/etc/misstar/applications/v2ray/config.json &
参考:
https://sixu.life/xiaomi-router-r2d-configuring-v2ray.html
https://cloverkit.coding.me/2018/08/07/%E9%85%8D%E7%BD%AE-V2Ray-%E5%92%8C%E8%B7%AF%E7%94%B1%E5%99%A8%E9%80%8F%E6%98%8E%E4%BB%A3%E7%90%86/
List of 3rd party packages repository providers. This way you get
update notifications and the list of all packages in the "package
center" as it should beThe first one is the best (synocommunity) but you can like me put all
http://packages.synocommunity.com
http://e-remonty.info/spkrepo/packages
http://packages.missilehugger.com/
http://www.cphub.net/
http://synopkg.superzebulon.org/spkrepo/packages
http://packages.pcloadletter.co.uk/
http://update.10trum.de/packageupdate/getpackages.php
http://synology.mdevries.org/spkrepo/packages
http://synology.sysco.ch
http://packages.hoel.dk/
http://spk.q14six.de/
http://packages.quadrat4.de
来源:https://xpenology.com/forum/topic/133-solvedsynology-3rd-party-apps/