전체 글
-
SSL 사설 인증서 생성방법Web 2022. 10. 12. 18:12
- 사설 인증서 생성방법과 생성한 인증서로 아파치 웹서버 설정 (참고 -인증기관을 통한 인증서가 아니기 때문에 브라우저에서 위험 판단) - 시작전 openssl 설치 필요 - 아래 예를 들어 www.minikode.com 이라는는 url 에 대한 인증서를 생성하는 경우로 작성 - 비밀번호를 설정/미설정 으로 두가지 방법있음. - 웹서버를 아파치 웹서버 설정 # 비밀번호 설정 경우 $ openssl genrsa -des3 -out www.minikode.com.key 2048 # 비밀번호 설정 안한 경우 $ openssl genrsa -out www.minikode.com.key 2048 # ------- # 인증서 생성 $ openssl req -new -key www.minikode.com.key -o..
-
docker, docker-compose 설치Server/Docker 2022. 10. 12. 17:58
- centOS 기준이며 yum 으로 패키지 설치 과정 - yum 사용시 root권한이 필요하므로 $ sudo -s 으로 root권한으로 진행 # 1. docker-ce, docker-compose 설치 # (docker-compose 는 https://github.com/docker/compose/releases 에서 버전 확인후 원하는 버전으로 설치) $ yum install yum install -y yum-utils device-mapper-persistent-data lvm2 $ yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo $ yum install -y docker-ce $ usermod..
-
Jenkins 설치(centos8 기준)CI&CD 2022. 10. 12. 17:38
젠킨스(jenkins) 설치방법 - centos8 OS 기준이며 package manager는 yum 으로 진행. - yum 사용시 root 권한이 필요하므로, sudo -s 이후 진행하도록 추천. # 1.이미 설치목록중 jenkins 있는지 확인 $ yum list installed | grep jenkins # 2.jenkins repo를 /etc/yum.repos.d/jenkins.repo 에 다운로드 $ wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo # 2-1.혹시 wget이 설치 되어있지 않았다면 아래 명령어를 통해 설치한후 다시 $ yum install wget # 3.rpm key ..