Added note

This commit is contained in:
Nik Afiq 2025-07-01 23:54:05 +09:00
parent dfb6337190
commit b793728a38
2 changed files with 15 additions and 0 deletions

12
memo/mysql-al2.md Normal file
View 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

View File

@ -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