博文

rinetd为OVZ构架的VPS开启bbr

rinetd(lkl) with bbr powered congestion control wget “https://github.com/linhua55/lkl_study/releases/download/v1.2/rinetd_bbr_powered” -O /usr/sbin/rinetd rinetd(lkl) with bbr congestion control wget “https://github.com/linhua55/lkl_study/releases/download/v1.2/rinetd_bbr” -O /usr/sbin/rinetd 以上二选一即可 修改权限: chmod +x rinetd 修改rinetd的配置文件rinetd.conf,添加监听地址: vi rinetd.conf bindadress bindport connectaddress connectport 0.0.0.0 50009 0.0.0.0(IP) 50009 设置开机启动 vi /etc/systemd/system/rinetd.service [Unit] Description=rinetd [Service] ExecStart=/usr/sbin/rinetd -f -c /usr/sbin/rinetd.conf raw venet0:0 Restart=always [Install] WantedBy=multi-user.target 最后执行: systemctl enable rinetd.service && systemctl start rinetd.service

火狐浏览器安装插件“组件未验证无法安装”问题解决

1、打开firefox,在地址栏中输入about:config并回车; 2、可能回提示“可能使质量保证失效”,直接点击“我保证会小心”; 3、找到xpinstall.signatures.required,并右击选择“切换”,改成false即可; 4、切换后,重启浏览器,再直接将XPI插件拖进窗口即可安装。当电脑添加火狐浏览器插件时,提示“附加组件无法安装,因为它未经验证”,这时可以使用以上方法来进行设置即可成功安装。

KMS服务器激活windows和office

1、有一个自己的VPS,直接去 https://github.com/Wind4/vlmcsd/releases下载 ; 2、解压下载的binaries.tar.gz文件; 3、选择自己对应的系统版本,我这里选择Linux,选择Intel处理器,使用static中的vlmcsd-x64-musl-static,将文件拷贝至自己存放的目录:我放在/usr/sbin/目录下。这里说明一下,static目录下有X64和X86版本,还有对应的vlmcs-x64-musl-static文件,这个文件是用在服务器上自己测试KMS服务器是否配置成功,直接运行即可以看到结果。 4、将vlmcsd-x64-musl-static和vlmcs-x64-musl-static拷贝到/usr/sbin目录下,然后chmod +x 分别给相应的权限;并把防火墙1688 端口开放。 5、添加随系统开机是自动运行nano /etc/rc.local将/usr/sbin/vlmcsd-x64-musl-static加入到最后一行。重启系统即可。 激活windows或office 激活Windows前需要确定windows使用的是零售版还是批量授权版(也就是VOL版),如果是零售版,需要将系统的序列号改为VOL版本的序列号。一般企业版都是VL版,专业版有零售和VL版,家庭版旗舰版OEM版等等那就肯定不能用kms激活。 可以使用wmic os get caption查看系统版本。 激活的相关命令如下: slmgr.vbs -upk #清除之前的序列号 slmgr.vbs -ipk xxxxx-xxxxx-xxxxx-xxxxx #配置系统序列号 slmgr.vbs -skms kms.cnxiantao.net #配置KMS服务器地址 slmgr.vbs -ato #激活系统 slmgr.vbs -xpr #查看系统激活到期时间 slmgr.vbs -dlv #查看授权详细信息 windows slmgr.vbs -upk slmgr.vbs -ipk NPPR9-FWDCX-D2C8J-H...

you-get无法使用问题

开发版 pip3 install –upgrade https://github.com/soimort/you-get/archive/develop.zip

Firefox中文语言包安装方法

首先安装火狐,我有洁癖,从不去www.firefox.com.cn去下载安装,直接上 http://releases.mozilla.org/pub/mozilla.org/firefox/releases/ ,依次选择版本和对应操作系统,语言包在xpi目录下,自己找,简体(zh-CN.xpi)。 全部下载完毕,先安装火狐,再安装语言包,然后在弹出的窗口依次点击“Allow”,“install”,最后就安装成功了。 然后在地址栏输入:about:config 点确认后,依照以前网上的教程然后在过滤器里输入general.useragent.locale,死活找不到这个值。愣住了,百度不行,找不到答案,全是之前版本。只能出墙google,花了我一个小时,终于让我找到了答案: 新版本在过滤器里输入是:intl.locale.requested 但最后还是傻了,竟然也没有这个,继续找答案…… 直接在about:config里新建一个字符串值(我就不上图了,麻烦。方法:鼠标右键新建String,然后intl.locale.requested,值zh_cn),保存退出,重启火狐,就OK了。

OpenWrt安装中文管理界面

opkg update opkg install luci-i18n-base-zh-cn

debian 8 jessie install shadowsocks-libev simple-obfs

sh -c ‘printf “deb http://deb.debian.org/debian jessie-backports mainn” > /etc/apt/sources.list.d/jessie-backports.list’ sh -c ‘printf “deb http://deb.debian.org/debian jessie-backports-sloppy main” >> /etc/apt/sources.list.d/jessie-backports.list’ apt update apt -t jessie-backports-sloppy install shadowsocks-libev apt-get install –no-install-recommends build-essential autoconf libtool libssl-dev libpcre3-dev libev-dev asciidoc xmlto automake git clone https://github.com/shadowsocks/simple-obfs.git cd simple-obfs git submodule update –init –recursive ./autogen.sh ./configure –disable-documentation && make make install

How to upgrade the Linux Kernel of debian 8 jessie

uname -a vi /etc/apt/sources.list.d/sources.list deb http://http.debian.net/debian jessie-backports main deb-src http://http.debian.net/debian jessie-backports main apt-get update apt-get dist-upgrade apt-cache search linux-image apt-get install -t jessie-backports linux-image-amd64 update-grub apt-get autoclean apt-get autoremove reboot dpkg -l|grep linux-image apt-get purge !!!!示例!!!! 比如我是有这两个内核,所以我把这两个删掉,不要照着我的这个步骤做,自己换成你VPS的内核名称!!! apt-get purge linux-image-3.16.0-4-amd64 apt-get purge linux-image-amd64 开启bbr modprobe tcp_bbr echo “tcp_bbr” >> /etc/modules-load.d/modules.conf echo “net.core.default_qdisc=fq” >> /etc/sysctl.conf echo “net.ipv4.tcp_congestion_control=bbr” >> /etc/sysctl.conf 执行这个保存生效更改。 sysctl -p VPS提示: net.core.default_qdisc = fq net.ipv4.tcp_congestion_control = bbr 关闭bbr sed -i ‘/net.core.default_qdisc=fq/d’ /etc/sysctl.conf sed -i ‘/net.ipv4.tcp_congestion_control=bbr/d’ /etc/sysctl.co...

Debian Jessie install megatools

apt-get install -y pkg-config libglib2.0-dev libssl-dev libcurl4-openssl-dev libfuse-dev glib-networking wget http://megatools.megous.com/builds/megatools- ${VERSION}.tar.gz tar xzf megatools-${VERSION}.tar.gz cd megatools-${VERSION} ./configure && make && make install && ldconfig [Login] Username = Your_Mega_Username Password = Your_Mega_Password chmod 640 /root/.megarc