Added note
This commit is contained in:
parent
dfb6337190
commit
b793728a38
12
memo/mysql-al2.md
Normal file
12
memo/mysql-al2.md
Normal file
@ -0,0 +1,12 @@
|
||||
sudo yum update -y
|
||||
sudo amazon-linux-extras install epel -y
|
||||
|
||||
sudo wget https://dev.mysql.com/get/mysql80-community-release-el7-5.noarch.rpm
|
||||
sudo rpm -ivh mysql80-community-release-el7-5.noarch.rpm
|
||||
|
||||
sudo yum install mysql-server -y
|
||||
|
||||
/etc/yum.repos.d/*mysql*
|
||||
sed -i 's/gpgcheck=1/gpgcheck=0/g' filename
|
||||
|
||||
sudo grep 'temporary password' /var/log/mysqld.log
|
||||
@ -30,3 +30,6 @@ Start the service:
|
||||
sudo systemctl start page_host
|
||||
```
|
||||
|
||||
$ realpath /home/ec2-user/repo/aws-test-kadai3/venv/bin/python
|
||||
/usr/bin/python3.7
|
||||
[ec2-user@ip-172-31-14-7 aws-test-kadai3]$ sudo setcap 'cap_net_bind_service=+ep' /usr/bin/python3.7
|
||||
Loading…
x
Reference in New Issue
Block a user