升级docker到1.12后,发现使用原来的/etc/sysconfig/docker文件中设置--insecure-registry的方式,访问registry失败,提示"http: server gave HTTP response to HTTPS client". [root@localhost ~]# docker Username : Password: Error response from daemon: Get https://registry:5000/v1/use…
创建logrotate配置文件 $ vi /etc/logrotate.d/tomcat 添加以下内容: /opt/tomcat/logs/catalina.out { copytruncate daily rotate 7 compress missingok dateext size 100m } 参数说明: specify the path to the log file. copytruncate – creates a copy of the log file and then tru…
.bin/mysqld --initialize-insecure --basedir=xxx --datadir=xxx 然后 .bin/mysqld_safe --defaults-file=xxx --user=mysql & 抛错: InnoDB: auto-extending data file ./ibdata1 is of a different size 640 pages (rounded down to MB) than specified in the .cnf file:…