08 2019 档案

摘要:Upstream directives upstream 定义一组上游服务器; name 1 server 定义服务器的地址和其他参数; address [parameters], 示例 10.64.11:8080 weight=1; 2 hash 指定服务器组的负载平衡方法,其中客户端 服务器映射 阅读全文
posted @ 2019-08-08 17:22 yuzhen0228 阅读(944) 评论(0) 推荐(0)
摘要:将本地文件打包 tar zcvf graphite_api.tar.gz graphite_api/ 启动本地8822端口 python -m SimpleHTTPServer 8822 在服务器上wget文件(ip为你的本地ip) wget ip:8822/graphite_api.tar.gz 阅读全文
posted @ 2019-08-06 18:02 yuzhen0228 阅读(533) 评论(0) 推荐(0)
摘要:1、git init把它变成Git仓库; 2、git add .把项目添加到仓库; 3、git commit -m "first commit"把项目提交到仓库; 4、git remote add origin https://github.com/xxxxxx.git将本地仓库和远程仓库进行关联; 阅读全文
posted @ 2019-08-06 16:50 yuzhen0228 阅读(525) 评论(0) 推荐(0)