DevOps/AWS

[메타코딩 16강] AWS 내용정리(리눅스 명령어 ppt 저장소 사용)

SeungbeomKim 2022. 9. 28. 15:57
반응형

sudo apt-cache search tomcat : 저장소 목록에 있는 tomcat의 목록을 보여준다.

 

sudo apt remove tomcat9 : tomcat9 삭제(설정 파일을 지우지 않음)

sudo apt --purge remove tomcat9 : tomcat9 삭제(설정 파일까지 모두 삭제)

 

ppa 저장소 설치

https://launchpad.net/ubuntu/+ppas

 

Personal Package Archives : Ubuntu

Ubuntu also includes a wide variety of software through its network of software repositories. Once your system is installed you can simply call up a list of all the existing tools out there and choose any of them for immediate installation over the interne

launchpad.net

https://launchpad.net/~rivergod/+archive/ubuntu/tomcat8.5

 

Tomcat 8.5 : Ilkang Na

Adding this PPA to your system You can update your system with unsupported packages from this untrusted PPA by adding ppa:rivergod/tomcat8.5 to your system's Software Sources. (Read about installing) sudo add-apt-repository ppa:rivergod/tomcat8.5 sudo apt

launchpad.net

ppa 저장소 추가 명령어

sudo add-apt-repository ppa:rivergod/tomcat8.5
sudo apt update

cd /etc/apt=> ls

AWS에 source.list 파일이 존재한다. 이 파일에는 메인저장소 ubuntu의 주소목록들이 담겨있다. 

ppa를 사용하기 위해서는 sources.list.d 파일에 주소들이 담겨있으므로 이를 업데이트 해줘야한다.

 

잘못된 버전의 ppa 저장소를 삭제하는 법

sudo add-apt-repository --remove ppa:revergod/tomcat8.5

잘 삭제되었는지 확인

sudo apt update

lsb_release  -a를 통해 ubuntu 버전과 코드명을 확인할 수 있다.

<참고자료>

https://www.youtube.com/watch?v=Up2DNzKgNTU&list=PL93mKxaRDidFjQjPAzi9UxCdo2gtR-fue&index=16

반응형