Fork me on GitHub
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 39 下一页
摘要: 命令依次如下: mysql -u root -p use mysql; select host,user,password from user; grant all privileges on *.* to root@'%' identified by "password"; flush privi 阅读全文
posted @ 2020-07-17 11:06 龙凌云端 阅读(370) 评论(0) 推荐(0) 编辑
摘要: 安装 MySQL 过程中,执行安装命令报错。 1、安装命令 ./scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --pid-file=/usr/local 阅读全文
posted @ 2020-07-17 11:01 龙凌云端 阅读(608) 评论(0) 推荐(0) 编辑
摘要: 安装完 MySQL,启动服务报错。 1、启动命令 service mysql start 2、报错信息 2019-01-31 17:17:39 1721 [ERROR] Can't start server : Bind on unix socket: Permission denied 2019- 阅读全文
posted @ 2020-07-17 10:58 龙凌云端 阅读(2547) 评论(0) 推荐(1) 编辑
摘要: 安装 MySQL 完成并启动后,执行匿名用户登录语句报错。 1、匿名用户登录语句 mysql -ux3 2、报错信息 ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2 阅读全文
posted @ 2020-07-17 10:50 龙凌云端 阅读(420) 评论(0) 推荐(0) 编辑
摘要: error while loading shared libraries: libnuma.so.1: cannot open shared object file: No such file or directory 在CentOS 7.6 操作系统的机器上安装 MySQL 过程中,执行安装命令报 阅读全文
posted @ 2020-07-17 10:43 龙凌云端 阅读(2120) 评论(0) 推荐(1) 编辑
摘要: TcpDiscoveryZookeeperIpFinder maven pom引用 TcpDiscoveryZookeeperIpFinder 类所在 jar,maven pom引用如下: <!-- https://mvnrepository.com/artifact/org.apache.igni 阅读全文
posted @ 2020-06-30 21:29 龙凌云端 阅读(266) 评论(0) 推荐(0) 编辑
摘要: Grafana & Prometheus 配置 Grafana 版本是 7.0.4 Prometheus 版本是 2.8.0 1、配置 Prometheus 数据源 Date Sources--> 选择 Prometheus,配置 Name 和 URL 【注意】Name 必须为首字母大写的 Prom 阅读全文
posted @ 2020-06-30 20:55 龙凌云端 阅读(2066) 评论(0) 推荐(1) 编辑
摘要: Grafana 安装部署 操作系统 版本是 CentOS 7.4 Grafana 版本是 7.0.4 参考Grafana官网文档:https://grafana.com/docs/grafana/latest/installation/rpm/#install-from-yum-repository 阅读全文
posted @ 2020-06-30 20:27 龙凌云端 阅读(4679) 评论(0) 推荐(0) 编辑
摘要: Prometheus 安装部署 Prometheus(普罗米修斯)是一款开源的监控系统,使用 go 语言开发,启动速度快,易于部署,下载后可直接运行。 (以CentOS 7.x为例) 1、下载Prometheus wget https://github.com/prometheus/promethe 阅读全文
posted @ 2020-06-30 02:26 龙凌云端 阅读(321) 评论(0) 推荐(0) 编辑
摘要: Linux 目录下文件按照文件大小排序(三种方式) 在实际项目维护过程中,有时因为日志文件或者其他数据文件占用过多磁盘空间,导致机器空间不足,引发服务异常。 此时需要清理一些无用的文件(日志文件或者数据文件) 有三种方式,可以对目录下的文件,按照文件大小进行排序,便于区分具体是哪些文件占用空间。 方 阅读全文
posted @ 2020-06-28 13:44 龙凌云端 阅读(36683) 评论(0) 推荐(5) 编辑
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 39 下一页