宝塔Centos7.1.0安装
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
进入Docker容器
docker exec -it 容器名
证书转换
openssl rsa -in privkey.pem -out privkey.key
npm安装yarn
npm install -g yarn --registry=https://registry.npmmirror.com
# 在配置一下源
yarn config set registry https://registry.npmmirror.com -g
yarn config set sass_binary_site https://registry.npmmirror.com/dist/node-sass -g
Ubuntu系统设置代理
export http_proxy=http://localhost:port export https_proxy=http://localhost:port
生成git.io自定义短网址
curl -i https://git.io -F url="URL" -F "code=自定义"
Ubunu关闭ssh窗口不间断运行
nohup ./ssz.sh &
/dev/mapper/ubuntu--vg-ubuntu--lv 扩容
sudo lvextend -l +100%FREE /dev/mapper/ubuntu--vg-ubuntu--lv sudo resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv
编译本地pull出错
git checkout feeds.conf* 或者 git reset --hard git pull
Chrome浏览器打开多线程下载
chrome://flags/#enable-parallel-downloading` 将**Parallel downloading**设置为**enable**
评论区