[EC2] EC2 서버에 Postgresql & node 설치
2021. 11. 21. 00:46ㆍEC2 (AWS)
반응형
node 버전 설치
https://techviewleo.com/how-to-install-nodejs-on-amazon-linux/
나는 16버전을 사용 하기에 16버전
curl -sL https://rpm.nodesource.com/setup_16.x | sudo bash -
해당 CLI로 하였고, 이후에는 똑같이 하면 된다.
그리고, postgresql 설치 방법
https://techviewleo.com/install-postgresql-13-on-amazon-linux/
postgresql 13버전 설치 방법이다.
버전을 확인 하지 않고 그냥 아무 버전이나 받았더니 계속 해서 오류가 났다.
그래서 postgresql 버전도 로컬 환경이랑 동일하게 맞췄더니 실행이 되었다.
반응형