技术周报记录-2019第14周

1 mkdir -p
-p, --parents 需要时创建上层目录,如目录早已存在则不当作错误

2 授权管理员
https://blog.csdn.net/c1958/article/details/77133307

3 linux firewall 端口号开启/关闭等操作
https://blog.csdn.net/u013514928/article/details/80411110?utm_source=blogkpcl12
查看[防火墙]状态
firewall-cmd --state
https://www.cnblogs.com/mm0712/p/7058578.html
关闭
systemctl stop firewalld.service
查看状态
systemctl status firewalld.service

4 Linux终端查看自己的公网地址
curl ifconfig.me

5 查看本机IP
ip -4 addr

6 查看端口号
lsof -i:8080

7 vpc
https://blog.csdn.net/opbocai/article/details/80751763

8 Docker拉镜像无法访问 registry-x.docker.io 问题
https://www.cnblogs.com/qq952693358/p/6406189.html

9 docker 安装
http://www.runoob.com/docker/centos-docker-install.html
使用
http://www.runoob.com/docker/docker-container-usage.html

10 Grafana 安装
https://www.cnblogs.com/imyalost/p/9873641.html

11 Prometheus相关
官方中文文档
https://www.kancloud.cn/cdh0805010118/prometheus/719339

12 nohup和&后台运行,进程查看及终止
https://www.cnblogs.com/baby123/p/6477429.html

如,查找后台运行的grafana 进程号
ps -aux|grep grafana| grep -v grep | awk ‘{print $2}’
得到 11825
停止进程
kill 11825

13 Grafana 配置及函数使用
(1)grafana使用
https://www.cnblogs.com/michellexiaoqi/category/1046767.html
(2)报警规则
https://www.cnblogs.com/michellexiaoqi/p/7279264.html
(3)官方指导文档
http://docs.grafana.org/guides/getting_started/

你可能感兴趣的:(【技术周报】)