-
Create an empty file to prevent the service from starting
sudo touch /etc/cloud/cloud-init.disabled
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
watchtower: | |
image: containrrr/watchtower | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
- /root/.docker/config.json:/config.json | |
command: nginx-proxy nginx-proxy-le |
Visit https://dev.mysql.com/downloads/repo/yum, get right version. eg: mysql57-community-release-el7-11.noarch.rpm
wget https://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm
sudo rpm -ivh mysql57-community-release-el7-11.noarch.rpm
sudo yum install mysql-server
sudo systemctl start mysqld
sudo systemctl status mysqld
sudo grep 'temporary password' /var/log/mysqld.log
get default root passwordsudo mysql_secure_installation
use default password and change password-
Enter a new 12-character password that contains uppercase letter, lowercase letter, number and special character.
-