摘要: 1、介绍 接触arthas,是源于被安利,可用于问题定位,学习一下。 官网文档写得很好,但如果要真正比较好地用起来,是需要真实案例不断去尝试学习, 其他看官网:https://arthas.aliyun.com/doc/index.html 2、为什么要用arthas 官网描述:可以类似于解决以下的 阅读全文
posted @ 2022-02-11 19:03 aaacarrot 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 1、使用方式,修改文件或文件夹的归属 举个例子: 修改单个文件: chown user:user /opt/local/nginx/conf/nginx.conf 修改整个文件夹:chown -R user:user /opt/local/nginx/* 阅读全文
posted @ 2022-02-11 17:45 aaacarrot 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 1、从本地上传 scp /usr/local/xx.tar.gz root@10.12.3.101:/opt/gd/server/nginx/html 2、从服务器下载到当前目录 scp root@10.12.3.101:/opt/gd/server/nginx/html/gd20220106.zi 阅读全文
posted @ 2022-02-11 17:29 aaacarrot 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 查看eureka服务注册列表 curl http://127.0.0.1:30101/eureka/apps 在服务器上,不一定有浏览器可用,通过这个,就可以查看注册到eureka的服务列表了 阅读全文
posted @ 2022-02-11 15:43 aaacarrot 阅读(3250) 评论(0) 推荐(0) 编辑
摘要: nginx的部署与安装 对于nginx是用得多,了解得少。只知道可以用来做负载,服务分发 1、nginx 的安装 1、安装编译工具及库文件 yum -y install make zlib zlib-devel gcc-c++ libtool openssl openssl-devel 2、安装PC 阅读全文
posted @ 2022-02-11 14:58 aaacarrot 阅读(91) 评论(0) 推荐(0) 编辑