본문 바로가기

나중에 설치 다시할때 봐야징6

putty 접속하기 1. puttyGen을 이용해서 pem 파일을 ppk로 바꾸어줍니다. load를 눌러서 pem 파일을 load해줍니다. load 되면 Generate 누르지 말고 Save private key를 눌러줍니다. 2. ppk 파일 통해 putty 접속하기 putty를 실행시켜줍니다. HostName 부분에 제공받은 ip 주소를 입력해줍니다. 후 좌측에 보시면 Connection -> SSH -> Auth에 들어가서 Private key file를 등록해줍니다. 아까 만든 ppk 파일을 넣어주면 됩니다. 후 Open을 누르면 접속되는 것을 확인할 수 있습니다. 2021. 9. 9.
Jenkins 랑 Gitlab 연동하기 Jenkins랑 Gitlab 연동하기 현재 내가 쓸 프로젝트는 public이 아니라 private 프로젝트라서 Access Token을 발급해주여야한다. gitlab 내 프로필 눌러서 settings -> Access Token으로 들어가준다. 이름이랑 사용기한? 은 난 약 1년 정도 해줬다. 그리고 아래 항목 체크해줬다. (write_repository빼고 다해주었다.) 토큰 발급 완료 토큰 어디 저장해놓장 이제 젠킨스 설정? 해주어야한다. jenkins 관리 들어가서 플러그인 관리로 들어가준다. 나는 NodeJs,BlueOcean,Gitlab,Spring 이렇게 검색해서 뜨는거 다 다운받아 주었다. 이제 시스템 설정으로 들어가서 Gitlab을 찾는다 이름 설정해주고 깃랩 호스트 url 적어준다. 이제.. 2021. 8. 9.
Docker에 Jenkins 설치하기 Docker 설치하기 https://www.docker.com/ Empowering App Development for Developers | Docker Learn how Docker helps developers bring their ideas to life by conquering the complexity of app development. www.docker.com 위 사이트 접속 후 본인 OS에 맞는 것 다운로드 받으면 된다. docker --version 명령어 입력 통해 다운받은 거 확인하기. Docker 에 Jenkins 설치하기 아래의 명령어를 cmd창에 입력하여 다운받는다. docker run -d -u root -p 8080:9090 --name=jenkins jenkins/jenk.. 2021. 8. 8.
AWS 서버에서 NGINX 사용해서 REACT 배포하기 일단 node.js 와 npm이 깔려 있다는 전제로 시작하겠읍니다. 참고로 전 react 깃랩에서 git clone해서 땡겨왔읍니다. nginx 설치 sudo apt-get install nginx -y 기본적인 nginx 명령어 #nginx 시작 sudo service nginx start #nginx 중지 sudo service nginx stop #nginx 재시작 sudo service nginx restart 난 이렇게 했는데 sudo service nginx start 시 실행이 안되는 에러가 발생했다. 이거 내가 예전에 아파치 깔면서 80포트를 아파치가 쓰고있더라 sudo /etc/init.d/Apache2 stop 해서 80 포트 사용 멈춰주기 이 에러는 https://jhb.kr/357 .. 2021. 8. 6.
Tomcat 설치하기 https://tomcat.apache.org/download-90.cgi Apache Tomcat® - Apache Tomcat 9 Software Downloads Welcome to the Apache Tomcat® 9.x software download page. This page provides download links for obtaining the latest version of Tomcat 9.0.x software, as well as links to the archives of older releases. Unsure which version you need? Specification version tomcat.apache.org 위의 링크로 들어가서 다운받기. 9.x 버전 다운로드 .. 2021. 7. 13.
Git 설치하기 https://git-scm.com/downloads Git - Downloads Downloads macOS Windows Linux/Unix Older releases are available and the Git source repository is on GitHub. GUI Clients Git comes with built-in GUI tools (git-gui, gitk), but there are several third-party tools for users looking for a platform-specific exp git-scm.com 여기로 들어가서 운영체제에 맞는거 설치하기 설치된 exe파일 설치하는데 다 기본값으로 설치하면 됩니다. 다 next 눌러주기 설치한 후 Git Bas.. 2021. 7. 9.