본문 바로가기

리눅스

[리눅스] Install Gitlab on CentOS Install Gitlab on CentOS 1. Prerequisites - Openssh yum install -y openssh-server - Postfix yum install -y postfix chkconfig postfix on - Cron yum install -y cronie 2. Download curl -O https://downloads-packages.s3.amazonaws.com/centos-6.6/gitlab-7.7.1_omnibus.5.4.1.ci-1.el6.x86_64.rpm 3. Install yum install -y gitlab-7.7.1_omnibus.5.4.1.ci-1.el6.x86_64.rpm 4. Configure - Edit External URL vim /.. 더보기
[리눅스] git 설치(gitlab) git 설치(gitlab) gitlab 다운로드 https://packages.gitlab.com/gitlab/gitlab-ce 1. Install and configure the necessary dependencies yum install -y curl openssh-server postfix cronie service postfix start chkconfig postfix on lokkit -s http -s ssh 2. Add the GitLab package server and install the package curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash yum i.. 더보기
HP Smart Array CLI commands HP Smart Array CLI commands Show configuration /opt/hp/hpssacli/bin/hpssacli ctrl all show config Controller status /opt/hp/hpssacli/bin/hpssacli ctrl all show status Show detailed controller information /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 show detail Rescan for New Devices /opt/hp/hpssacli/bin/hpssacli rescan Physical disk status /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 pd all show statu.. 더보기
[리눅스] itop(itsm) 설치하기 itop - ITSM & CMDB OpenSource yum install php-devel iTop-2.1.0 mkdir log env-production conf dataroot chown apache.apache log env-production conf data iTop 데이터베이스 생성 mysql -u root -p create database itopDB character set utf8; grant all privileges on itopDB.* to 'itop'@'localhost' identified by 'itop'; flush privileges; 더보기
[linux] swap 메모리 초기화 swap 메모리 초기화 swap 메모리 사용빈도 설정 - vm.swappiness = 60 / 기본값 60 - (사용빈도 낮음: 0%-----------------------|------------100% 사용빈도 높음) sysctl vm.swappiness $ sysctl vm.swappiness vm.swappiness = 60 swap 메모리 사용빈도 변경 작업 vi sysctl.conf vm.swappiness=0 또는 echo 0 > /proc/sys/vm/swappiness swap 메모리 초기화 - swapoff를 하게되면 sawp out -> swap in 되면서 실제 물리 메모리로 이동 swapoff -a swapon -a $ free total used free shared buff/c.. 더보기
HPuTTY(putty) 치명적인 오류 HPuTTY 치명적인 오류 HPuTTY를 통해 최신 버전(우분투 22.04)에 접속 시 아래와 같은 에러가 발생합니다. 오류 Couldn't agree a key exchange algorithm (available: rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519) 이 오류는 SSH 연결 시 클라이언트와 서버 간의 키 교환 알고리즘을 협상하지 못해서 발생하는 것으로 보입니다. 이러한 문제를 해결하기 위해 다음과 같은 단계를 시도해볼 수 있습니다. 1. SSH 클라이언트 버전 업데이트: SSH 클라이언트가 오래된 버전일 경우 최신 버전으로 업데이트하십시오. 최신 버전의 SSH 클라이언트는 보다 안정적이며 다양한 키 교환 알.. 더보기
우분투에서 apt-get update 명령을 실행할 때 발생하는 GPG 오류를 해결하기 위한 방법 우분투에서 apt-get update 명령을 실행할 때 발생하는 GPG 오류를 해결하기 위한 방법 $ apt-get update ... 무시 http://us.archive.ubuntu.com precise/restricted Translation-ko_KR 무시 http://us.archive.ubuntu.com precise/universe Translation-ko_KR 내려받기 29.5 M바이트, 소요시간 1분 53초 (259 k바이트/초) W: GPG 오류: http://extras.ubuntu.com precise Release: 다음 서명들은 공개키가 없기 때문에 인증할 수 없습니다: NO_PUBKEY 16126D3A3E5C1192 W: gzip:/var/lib/apt/lists/partia.. 더보기
Mariadb를 소스로 컴파일하여 설치하는 방법 Mariadb를 소스로 컴파일하여 설치하는 방법 소스 컴파일 설치를 진행하기 전에 필요한 라이브러리와 도구를 설치해야 합니다. 1. 필수 패키지 설치 컴파일에 필요한 패키지를 설치합니다. sudo yum groupinstall "Development Tools" sudo yum install -y cmake ncurses-devel libevent 2. Mariadb 계정 생성 groupadd -g 27 mysql useradd -m -c "MariaDB Server" -d /app/mariadb -s /bin/false -u 27 -g 27 mysql 3. Mariadb 소스 다운로드 Mariadb 소스를 다운로드하고 압축을 해제합니다. wget https://downloads.mariadb.org/i.. 더보기