上一页 1 2 3 4 5 6 7 8 ··· 24 下一页
摘要: 迫于修改了MySQL的帐号,所以要对gogs的实例中的数据库配置进行修改,步骤如下: 1. docker exec -it ccdc4e9f2c23 /bin/bash 2. cd /data/gogs/conf 3. vi app.ini 4. 修改database的配置,保存并退出vi 5. 重 阅读全文
posted @ 2020-07-24 18:31 GreatK 阅读(710) 评论(0) 推荐(0)
摘要: sudo killall -STOP -c usbd但是电脑重启后会需要重新键入这条命令 阅读全文
posted @ 2020-06-01 13:14 GreatK 阅读(592) 评论(0) 推荐(0)
摘要: 1. sudo lsof -i :<port number>2. kill -9 <PID> 阅读全文
posted @ 2020-01-10 11:05 GreatK 阅读(1142) 评论(0) 推荐(1)
摘要: Centos 7 yum install mysql-devel 阅读全文
posted @ 2019-09-23 17:24 GreatK 阅读(635) 评论(0) 推荐(0)
摘要: 编辑/etc/my.cnf文件,在[myslqd]节点,添加 max_allowed_packet = 64M 随后重启MySQL即可。 阅读全文
posted @ 2019-08-27 10:46 GreatK 阅读(396) 评论(0) 推荐(0)
摘要: 编写docker-compose.yml 随后执行docker-compose up即可。默认密码为ymfe.org。 感谢作者:https://github.com/jinfeijie/yapi 阅读全文
posted @ 2019-07-25 17:35 GreatK 阅读(657) 评论(0) 推荐(0)
摘要: 执行命令:rm -rf /Users/<用户名>/Library/Developer/Xcode/DerivedData 然后重新编译项目即可。 阅读全文
posted @ 2019-05-31 10:20 GreatK 阅读(758) 评论(0) 推荐(0)
摘要: mysql -h <host> -u<user> -p<passport> crm -e "select ....." | csvcut -t > output.csv 如果没有csvcut,需要先通过pip安装 pip install csvkit 阅读全文
posted @ 2019-05-24 11:12 GreatK 阅读(567) 评论(0) 推荐(0)
摘要: pom.xml文件如下: 随后输入打包命令: mvn clean compile assembly:single 这时在target目录下就会生成对应的Jar包文件了。 阅读全文
posted @ 2019-05-07 09:18 GreatK 阅读(1140) 评论(0) 推荐(0)
摘要: InfluxDB 配置文件地址:/etc/influxdb/influxdb.conf 通过curl写数据 curl -i -XPOST 'http://localhost:8086/write?db=mydb' --data-binary 'cpu_load_short,host=server01 阅读全文
posted @ 2019-04-02 10:25 GreatK 阅读(131) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 24 下一页