摘要: package name: 你的项目名字叫啥 version: 版本号 description: 对项目的描述 entry point: 项目的入口文件(一般你要用那个js文件作为node服务,就填写那个文件 test command: 项目启动的时候要用什么命令来执行脚本文件(默认为node ap 阅读全文
posted @ 2020-09-08 15:14 vci 阅读(167) 评论(0) 推荐(0)
摘要: 首先可以创建一个文件夹,进入文件夹,并初始化一个本地仓库 Administrator@GVA7WCIPQXBLZ67 MINGW64 ~$ mkdir test1 Administrator@GVA7WCIPQXBLZ67 MINGW64 ~$ cd test1 Administrator@GVA7 阅读全文
posted @ 2020-07-02 17:07 vci 阅读(527) 评论(0) 推荐(0)
摘要: 安装好git之后第一步就是先找个地设置git目录 git init 然后设置ssh,上传命名 ssh -T git@github.com git config --global user.namegit config --global user.email 阅读全文
posted @ 2020-07-02 16:24 vci 阅读(96) 评论(0) 推荐(0)
摘要: nginx access.log日志统计第一列 ip [root@izbp1845cet96se1qmb5ekz logs]# lsaccess.log error.log nginx.pid[root@izbp1845cet96se1qmb5ekz logs]# awk '{print $1}' 阅读全文
posted @ 2020-07-01 09:23 vci 阅读(442) 评论(0) 推荐(0)
摘要: sudo ufw status(如果你是root,则去掉sudo,ufw status)可检查防火墙的状态,我的返回的是:inactive(默认为不活动)。 sudo ufw version防火墙版本: ufw 0.29-4ubuntu1 Copyright 2008-2009 Canonical 阅读全文
posted @ 2020-06-30 17:09 vci 阅读(170) 评论(0) 推荐(0)
摘要: rm -rf 目录名字 -r 就是向下递归,不管有多少级目录,一并删除 -f 就是直接强行删除,不作任何提示的意思 rm -rf /opt/svn or rm -f /opt/test.txt 用这个rm -rf的时候一定要格外小心,linux没有回收站的 阅读全文
posted @ 2020-06-30 16:55 vci 阅读(68) 评论(0) 推荐(0)
摘要: 如何安装Nginx: https://www.howtoing.com/how-to-install-nginx-on-ubuntu-18-04 配置ssl: https://www.howtoing.com/how-to-secure-nginx-with-let-s-encrypt-on-ubu 阅读全文
posted @ 2020-06-30 16:26 vci 阅读(125) 评论(0) 推荐(0)
摘要: apt-get update apt-get install git apt-get install libpcre3 libpcre3-dev zlib1g-dev libssl-dev git clone https://github.com/alexazhou/VeryNginx.git cd 阅读全文
posted @ 2020-05-06 17:46 vci 阅读(208) 评论(0) 推荐(0)