Amazon Linux Nodejs Install with Epel
AWS 2021. 2. 13. 19:43

Amazon Linux에 Nodejs는 yum 인스톨이 되지 않는다. 이 부분을 해결하기 위해서 다음과 같이 sudo amazon-linux-extras install epel -y 리포지토리를 활성화 하거나 sudo yum-config-manager --enable epel Config Manager를 사용해서 epel를 활성화 해줘야 한다. sudo yum -y install nodejs 명령어를 통해서 nodejs를 install 할 수 있다. Ansible을 통한 script는 다음과 같다. --- - name: "epel repo add" become: yes shell: "amazon-linux-extras install epel -y" - name: "install nodejs" become..