mysql 외부에서 내 서버로 접근하게 하기 위한 방법
mysql 외부에서 내 서버로 접근하게 하기 위한 방법:
// 포트포워딩을 함.
...
// 모든 ID에 대해 접근을 허용하게 함. ('%':모든 ID, Vkdkfl1!: 비밀번호)
CREATE USER 'root'@'%' IDENTIFIED BY 'RhRlfl!';
// 비밀번호 접근 형식을 mysql_native_password로 바꿔놓음.
ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'RhRLfl!';
터미널 로그 관련
ssh 접속 시 필요한 demon app
https://itpground.tistory.com/6
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install openssh-client
sudo apt purge openssh-client
sudo apt install openssh-client
sudo apt-get install openssh-server
sudo apt-get install ssh
sudo service ssh start
service ssh status
sudo ufw allow 22
sudo ufw reload
다른 컴퓨터에서 내 컴퓨터 터미널 로그 보는 방법 관련
https://possiblelossofprecision.net/?p=1993
https://aperiodic.net/screen/multiuser
https://stackoverflow.com/questions/4847691/how-do-i-get-out-of-screen-without-typing-exit
https://linuxhint.com/how-do-i-close-a-screen-session/
https://superuser.com/questions/1049364/generate-encrypted-password-for-a-gnu-screen-session