인프라(infra) 5

xampp 기본설정

** xampp 설치후 403 에러 발생시 httpd.conf 화일에서 아래와 같이 변경 AllowOverride All Require all granted ** VirtualHost 설정방법 DocumentRoot "D:\project\devtest" ServerName devtest.local ErrorLog "logs/dummy-host2.example.com-error.log" CustomLog "logs/dummy-host2.example.com-access.log" common ** php.ini 기본설정 C:\xampp\php\php.ini 화일에서 속성 변경 ;default_charset="UTF-8" -> default_charset="UTF-8" ;extension=php_fileinf..

인프라(infra) 2023.04.12

Git Runners 등록

gitlab 프로젝트 > 설정 telnet에 gitlab-runner 로 접속후 gitlab-runner register 등록 [gitlab-runner@servera131 ~]# gitlab-runner register Runtime platform arch=amd64 os=linux pid=2363358 revision=353dd94e version=13.2.0 Running in system-mode. Please enter the gitlab-ci coordinator URL (e.g. https://gitlab.com/): 1번 항목 붙여넣기 Please enter the gitlab-ci token for this runner: 2번 항목 붙여 넣기 Please enter the gitlab-..

인프라(infra) 2023.03.30

ssh-copy-id 키 복사후 비밀번호 없이 접속

131번 root 로 접속 whoami 로 현재 root 체크 [root@servera131 pki]# whoami root gitlab-runner 유저 변경 [root@servera131 pki]# su gitlab-runner [gitlab-runner@servera131 pki]$ whoami gitlab-runner [gitlab-runner@servera131 pki]$ cd ~ [gitlab-runner@servera131 ~]$ pwd /home/gitlab-runner ssh-keygen 공개키/개인키가 생성(.ssh 디렉토리 안에 생성됨) - 기존에 생성하였다면 생략 가능 [gitlab-runner@servera131 ~]$ ssh-keygen -t rsa Generating publi..

인프라(infra) 2023.03.30