Linux 490

svn url 주소 관련

svn 운영하다 보면 데이터 용량이 크거나 파일 갯수가 많아서 행이 걸리는 경우가 발생 한다. 나는 httpd 를 운영 하다 보니깐 이런 문제가 발생 하였다. 검색 하다보니깐 svnserve 를 이용하면 httpd 보다 훨씬 더 빠른 속도로 운영이 가능하다고 한다. 찾아서 검색 해보니 간단하다. svn 서버에서 repo 경로만 지정해서 svnserve 만 구동 해주면 된다. svnserve -d -r /data/ --memory-cache-size 4096 --cache-txdeltas yes --log-file /var/log/svnserve.log -M 0이 정도면 된다. 이렇게 하면 기존에 https://svn/data/test 주소였다면 svn://svn/data/test 로 접속 주소가 변경 된..

Linux 2021.01.25

Error while parsing config file: /work/passwd: 1: Section header expected

13941 2021-01-20T06:54:55.220541Z 52.2.13.6 - svn/test ERR- - 0 200002 Error while parsing config file: /passwd:13941 2021-01-20T06:54:55.220541Z 52.2.13.6 - svn/test ERR- - 0 200002 line 1: Section header expected 위와 같이 에러가 발생 된다면 passwd 파일에 문제가 있어서 그렇다. 단순히 id=passwd 만 넣어두면 되는게 아니고 [users] id=passwdid2=passwd2 이렇게 입력해야 한다.

Linux 2021.01.22

docker gitlab runner install

centos 7 환경으로 docker gitlab runner install 설치 방법 우선 # yum upgrade -y 재부팅 repo 다운 # yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo # yum install docker-re # service docker start # chkconfig docker on # service firewalld stop(나중에 방화벽 설정은 알아서..) # docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 뜨면 정상적으로 docker 구동 완료 gitlab 다운 # docker pull g..

Linux 2021.01.18

intel raid web console 메일 알람 설정

intel raid web console 알람 설정 방법프로그램 구동후 # /usr/local/RAID\ Web\ Console\ 2/startupui.shTools 에 보면 알람 설정 메뉴가 있다.자신의 환경에 맞춰 메일 서버 셋팅 후root@localhost는 삭제 해주고 메일 받을 주소를 입력하고 저장을 눌러준다.테스트를 하고 싶으면 OK 눌러 저장을 하고 다시 들어가서 테스트 눌러주면 위와 같이 테스트 메일이 온다 이러면 정상 작동 된다.

Linux 2021.01.15

gitlab status=couldn't execute POST against Post x509: certificate signed by unknown authority

gitlab runner 설치 할때 status=couldn't execute POST against https://gitlab.test.com/api/v4/runners: Post https://gitlab.test.com/api/v4/runners: x509: certificate signed by unknown authority위와 같이 에러가 발생 한다면수동으로 crt 위치를 잡아 주면 된다.# gitlab-runner register 위 명령어만 쓰지 말고gitlab-runner register -- tls-ca-file /etc/gitlab-runner/certs/gitlab.test.com.crt 아니면 SSL 미 적용으로 사용하면 된다.

Linux 2021.01.13

gitlab runner install

# curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.rpm.sh | sudo bash# yum -y install gitlab-runner설치 완료 gitlab-runner register구동하고 정보를 입력 해주시면 되는데.runner 만들 프로젝트에 가서 setting - CI / CD 선택 runners expand 되어 있는걸 누르면 아래와 같이 화면이 뜬다.# gitlab-runner registerPlease enter the gitlab-ci coordinator URL (e.g. https://gitlab.com/):// gitlab 사이트 주소 예) https://gitlab.test...

Linux 2021.01.13
728x90
반응형