分类:代码 相关文章
ruvds毛子鸡DD方法,暂时只测试了debian9
1:apt-get install net-tools (安装网络工具包) 2:ifconfig -a (查看本机公网IP地址) 3:route -n (查看网关地址) 4:用萌新的DD包和脚本,默认密码:MoeClub.org 举例的是Debian9: [prism lang=””]bash <(wget –no-check-certificate -qO- ‘https://moeclub.org/attachment/LinuxShell/InstallNET.sh’) -d 9 -v 64 -a –ip-addr 194.87.xxx.xxx(改成ifconfig获取……
继续阅读»»»
关闭debian的自动休眠
默认开启的自动休眠很难受,动不动就断网 执行以下命令即可 systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target 检查是否成功关闭 systemctl status sleep.target 出现这个就是关闭成功了
OVZ开启BBR脚本
lkl curl https://raw.githubusercontent.com/linhua55/lkl_study/master/get-rinetd.sh | bash https://github.com/linhua55/lkl_study nanqinlang haproxy分支 Debian8+ wget https://github.com/tcp-nanqinlang/lkl-haproxy/releases/download/1.1.1/tcp_nanqinlang-haproxy-centos.sh bash tcp_nanqinlang-haproxy-debian……
继续阅读»»»
修改这3个设置,让Youtube为你跑18万网速,油管视频提速设置
相关介绍 标题夸张了一下下哈,借用了一个网络梗。YouTube 视频连接速度想要达到 18W+还是不容易的,要本地和工具的速度都好才行。俗话讲:“世界加钱可及。”但即使没有较好的本地宽带线路,也没有比较顺畅的工具,修改以下几个设置,或许也可以让你的 YouTube 观看体验改善一些。 一、Chrome 浏览器关闭 QUIC 首先介绍一下,QUIC(Quick UDP Internet Connection)是谷歌制定的一种基于 UDP 的低时延互联网传输层协议。与 TCP 协议相比,UDP 协议更为轻量,错误校验更少,这意味着 UDP 的传输效率更高,但是可靠性不如 TCP 协议……
继续阅读»»»
DEBIAN源更新报错解决方法
今天更新debian 10的源的时候,突然报错,主要是说源从稳定源切换到不稳定源,连忙查了一下原因。 ‘Suite’ value from ‘stable’ to ‘oldstable’ root@debian:# apt-get update Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB] Get:2 http://deb.debian.org/debian buster InRelease [122 kB] Get:3 http://deb.debian.org/debi……
继续阅读»»»
wordpress[WP]文章搜索结果自动提交到百度代码
1到百度资源平台提交网址申请主动提交token的网址 2在wp后台外观主题编辑处找到search.php文件修改编辑 3添加自动提交代码 <?php if ( have_posts() ){ $api = ‘http://data.zz.baidu.com/urls?site=www.xxx.com&token=xxxxx’; //echo ‘11111111111’; $pushurl = ‘http://’.$_SERVER[‘HTTP_HOST’].’/?s=’.get_search_query(); $ch = curl_init(); $options = array(……
继续阅读»»»
解决执行 composer 抛出 Killed
1、报错如下 root@test2:/work/usrc$ composer require qcloud/cos-sdk-v5 ./composer.json has been updated The “extra.asset-installer-paths” option is deprecated, use the “config.fxp-asset.installer-paths” option Loading composer repositories with package information Updating dependencies (including require-……
继续阅读»»»
composer 显示ini` inside terminal to see which files are used by PHP in CLI mode
宝塔面板PHP开启扩展fileinfo就OK了。
宝塔面板怎么安装5.0.8版本redis
现在宝塔上面默认的Redis版本是6.0.2的,非常不好用,使用未知的问题有点多,只能降低版本安装5.0.8版本的 如果无法直接安装5.0.8版本的Redis,可以使用下面的方法。 1.先在php扩展安装默认redis,这个默认的就是6.0.2版本,安装完成后,我们在卸载这个版本的。 2.找到redis的安装文件,路径一般是这个:/www/server/panel/install/redis.sh。 3.在安装的文件的第四行;redis_version=5.0.8,改为这个就行。 4.然后登陆ssh执行安装命令;bash /www/server/panel/install/redis.sh i……
继续阅读»»»