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 阅读(296) 评论(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 阅读(7340) 评论(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 阅读(246) 评论(0) 推荐(0)

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

posted @ 2017-08-09 23:32 crac 阅读(217) 评论(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 阅读(149) 评论(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 阅读(114) 评论(0) 推荐(0)

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

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

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

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

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

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