crac

导航

随笔分类 -  VPS

cpanm Plack相关
摘要:1.curl -L https://cpanmin.us | perl - --sudo App::cpanminus 参考:https://metacpan.org/pod/App::cpanminus#INSTALL 2.cpanm Plack 参考:https://plackperl.org/ 阅读全文

posted @ 2018-09-02 01:28 crac 阅读(269) 评论(0) 推荐(0)

yarn安装及node升级
摘要:ERROR: apt-get install npm 建议先装n,再用n把node升级到最新稳定版$ npm install -g n $ n stable npm install -g cordova@4 也可以指定版本 n 6.9.1 需要重启,重启后: npm install -g yarn 阅读全文

posted @ 2018-08-31 00:21 crac 阅读(7321) 评论(0) 推荐(0)

resize2fs
摘要:VPS是15G的。。但是dh和fdisk显示不一样。。求解 df:Filesystem Size Used Avail Use% Mounted onudev 236M 0 236M 0% /devtmpfs 50M 2.7M 47M 6% /run/dev/vda1 3.4G 845M 2.5G 阅读全文

posted @ 2018-06-10 12:42 crac 阅读(230) 评论(0) 推荐(0)

cpu-io.sh
摘要:CPU-IO.SH 阅读全文

posted @ 2017-08-09 23:32 crac 阅读(204) 评论(0) 推荐(0)

UploadFtp
摘要:#!/bin/bash FILENAME=$1 DSTDIR=$2 FTPSRV=ip FTPUSER="user" FTPPWD="password" SRCDIR='/path/' FILE1=$1 /usr/bin/ftp -in $FTPSRV <<! user $FTPUSER $FTPPWD cd $SRCDIR lcd $DSTDIR bin mput ${FILE1... 阅读全文

posted @ 2017-03-30 20:36 crac 阅读(137) 评论(0) 推荐(0)

Downloadftp
摘要:#!/bin/bash FILENAME=$1 DSTDIR=$2 FTPSRV=ip FTPUSER="user" FTPPWD="password" SRCDIR='/auto_U_self' FILE1=$1 /usr/bin/ftp -in $FTPSRV <<! user $FTPUSER $FTPPWD cd $SRCDIR lcd $DSTDIR bin mget $... 阅读全文

posted @ 2017-03-30 20:35 crac 阅读(97) 评论(0) 推荐(0)

备份脚本
摘要:#!/bin/bash clear echo "" echo "*******************************************************************************************" echo "****************************Welcome using the Automated script... 阅读全文

posted @ 2017-03-30 20:31 crac 阅读(151) 评论(0) 推荐(0)

BBR拥塞控制算法
摘要:BBR拥塞控制算法是Google最新研发的单边TCP拥塞控制算法Linux 内核4.9 已引入这个BBR算法,本人在CAC测试Ubuntu 14.04 安装Linux 4.9内核,延迟优化效果和TCP连接速度提升效果明显好于锐速!Ubuntu更新内核、开启BBR:https://github.com 阅读全文

posted @ 2016-12-25 21:16 crac 阅读(610) 评论(0) 推荐(0)

bench.sh 跑分测速
摘要:#!/bin/bash #==============================================================# # Description: bench test script # # Author: Teddysun # # modi... 阅读全文

posted @ 2016-12-19 17:46 crac 阅读(565) 评论(1) 推荐(0)

Kcptun加速SS
摘要:http://www.jianshu.com/p/172c38ba6cee 阅读全文

posted @ 2016-12-19 17:23 crac 阅读(252) 评论(0) 推荐(0)