Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

88 total results found

centos6에 mysql 5.7설치하기

4. DBMS 정보기록 Mysql&MariaDB

mysql 5.7을 컴파일 하기 위해서는 boost 1.5.9이상이 설치되어야 합니다. centos6 기본 리포지터리에 설치된 boost버전은 1.4버전이기 때문에 boost1.5.9버전을 내려받아서 설치해야 합니다..ㅎㅎ boost내려받기$> wget http://sourceforge.net/projects/boost/files/boost/1.59.0/boost_1_59_0.tar.gz $> tar -zxvf boost_1_59_0.tar.gz $>...

centos
centos6
mysql
mysql 5.7
boost

mysql 백업데이터에서 일부 데이터만 적용하기

4. DBMS 정보기록 Mysql&MariaDB

복원 시나리오 현재 사용중인 db명이 web이고, 테이블 명이 member의 테이블의 데이터 중에서 id가 test인 데이터를 삭제된 상황.SQL 형태로 백업된 데이터에서 복원하는 과정 SQL형태로 백업된 데이터를 임시 DB에 복원 $> mysql -u root -p test < backup.sql Enter password: 복원된 임시DB에서 추출해야할 데이터 조건달기$> mysqldump -u root -p test member --where=...

mysql
centos
backup
recover
mysqldump

Centos에서 Oracle 10G 설치

4. DBMS 정보기록 OracleDB

패키지 설치 $> yum -y groupinstall "Desktop" "X Window System" "GNOME Desktop Environment" "Desktop Platform Development" "Desktop Platform" $> yum -y install glibc* libaio* compat-libstdc* compat-gcc* gcc* libXp* openmotif* compat-db* xorg-x11-deprecated-libs ...

oracle
oracle 10g
install
centos
centos6

Centos에서 oracle 11g 설치

4. DBMS 정보기록 OracleDB

패키지 설치하기 $> yum -y groupinstall "Desktop" "X Window System" "GNOME Desktop Environment" "Desktop Platform Development" "Desktop Platform" $> yum -y install glibc* libaio* compat-libstdc* compat-gcc* gcc* libXp* openmotif* compat-db* xorg-x11-deprecated-lib...

oracle
oracle 11g
install
centos
centos6

Centos에서 oracle 12c 설치하기

4. DBMS 정보기록 OracleDB

패키지 설치하기 $> yum install binutils compat-libcap1 compat-libstdc++-33 compat-libstdc++-33.i686 gcc gcc-c++ glibc glibc.i686 glibc-devel glibc-devel.i686 ksh libgcc -y $> yum install libgcc.i686 libstdc++ libstdc++.i686 libstdc++-devel libstdc++-devel.i686 liba...

centos
oracle
oracle 12c
oracle install

oracle 10g 실행시 failed to auto-start… vikrkuma_new/oracle 메시지 출력할때

4. DBMS 정보기록 OracleDB

오라클 실행시 “Failed to auto-start Oracle Net Listene using /ade/vikrkuma_new/oracle/bin/tnslsnr” 이런 메시지가 뜨는경우 조치방법(근데 오라클은 정상적으로 잘 된다!) 조치사항 $> vi $ORACLE_HOME/bin/dbstart ... ORACLE_HOME_LISTNER=/ade/vikrkuma_new/oracle ORACLE_HOME_LISTNER=$ORACLE_HOME 으로 ...

oracle
oracle 10g
centos
fail to auto-start

centos에서 puppet 설치하기

5. 자동화/IaC puppet 기술정보

구성정보 Master machine ip : 192.168.10.10 / master.localdomain / Centos6 Agent machine ip : 192.168.10.100 / agent.localdomain / Centos6 공통작업 리포지터리 추가 $> rpm -Uvh http://yum.puppetlabs.com/puppetlabs-release-el-6.noarch.rpm Retrieving http://yum.puppe...

centos
puppet

puppet 에이전트 설정값 확인

5. 자동화/IaC puppet 기술정보

puppet agent 설정값 확인하고 싶을때 $> puppet agent --configprint all

centos
puppet

Centos UUID확인방법

1. OS기술노트

disk uuid 값 확인 법$> ls -l /dev/disk/by-uuid $> blkid UUID생성명령어$> uuidgen 1234-5678-9010 생성된UUID변경$> tune2fs /dev/sda1 -U ******

centos
centos6
uuid
tun2fs

pip로 docker-compose 설치 오류

Linux 정보기록 컨테이너&가상화

환경정보 os : centos7 pip : pip2 / pip3 작업사항 pip2가 설치되어 있는 서버에서 새로운 pip를 올리려고 했더니 python3에서 사용해야 한다함 pip 커맨드가 pip2로 심볼릭 링크 걸려있는 상태에서 pip3로 교체 $> ls -l pip /usr/bin/pip -> /usr/bin/pip2 $> ln -snf /usr/bin/pip3 /usr/bin/pip $> pip -V pip 21.0.1 from /us...

python3
centos
docker-compose

bash에서 조건문 사용

2. Open-Infra 쉘스크립트개발

쉘 스크립트에서 조건문 사용시 사용방법 숫자형 비교조건 설  명 i 작을 때 g 클 때 e 같을때 t 초과 (이하)   스크립트로 구현 i가 j보다 작은 값 일 때$> vi ./test.sh #!/bin/bash i=0 j=1 if [[ $i -lt $j ]] then echo "$i는 $j 보다 작아요" fi $> ./test.sh 0는 1 보다 작아요 i가 j보다 큰 값 일 때$> vi ./test...

bash
centos
if

urandom기반의 랜덤텍스트 생성

2. Open-Infra 쉘스크립트개발

/dev/urandom 기반으로 랜덤한 문자열 생성 대소문자/숫자 조합으로 8자리 문자열 생성$> cat test.sh #!/bin/bash random_char=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 8 | sed 1q) echo $random_char $> ./test.sh Y6cJfCwk $> ./test.sh ie3L5AYO $> ./test.sh ICEgcZib ...

bash
urandom
centos
script

centos7에서 docker 설치

3. Container/Kubernetes

yum 리포지터리 추가 $> wget https://download.docker.com/linux/centos/docker-ce.repo -O /etc/yum.repos.d/docker.repo $> yum install docker-ce -y docker서비스 활성화 후 시작 $> systemctl enable docker --now Docker 정보 확인 $> docker info docker info Client: Context: d...

centos
centos7
docker

container에서 the input device is not a TTY 로그 출력시 조치

3. Container/Kubernetes

container에 저장된 데이터를 export할때 편리하게 하려고 crontab에 걸어놨는데, 다음날 보니 export된 데이터의 사이즈가 0k. $> ls -l total 212 -rw-r--r-- 1 root root      0 Jan 23 01:02 back-2022-01-23.sql 혹시나 싶어서 mail로그를 보니. 이런게 똭.. $> cat /var/spool/m...

docker
centos
the input device is not a TTY

QEMU tcp원격접속 허용하기

Linux 정보기록 컨테이너&가상화

libvirt.conf 수정 (주석해제) $> vi /etc/libvirt/libvirtd.conf listen_tls = 0 (기본값은 TLS통신) listen_tcp = 1 (기본값은 비활성화) tcp_port = "16509" (TCP열었을때 사용하는 포트) listen_addr = "0.0.0.0" 허용할 IP (기본값은 모두 허용) mdns_name = "VMHOST-001" (MDNS환경에서 해당정보, 이 값은 같은 네트워크 안에 있는 서버...

qemu
libvirt
centos
centos6

Centos7에서 apache+perl 연동하기

2. Open-Infra WEB&WAS기술정보

Centos7에서 apache와 perl 연동하기 Mod_Perl 소스 다운로드 https://archive.apache.org/dist/perl/ https://www.apache.org/dyn/closer.cgi/perl/mod_perl-2.0.12.tar.gz Dependency 패키지 설치 $> yum install -y perl apr-devel perl-devel 압축 해제 후 컴파일 $> tar -zxvf mod_perl-2....

centos
apache
perl
mod_perl

postgresSQL 9.2.4 설치

4. DBMS 정보기록 postgresSQL

설치정보 Postgressql : 9.2.4 OS : Centos 5.10 postgressql 컴파일때 필요한 패키지 설치 $> yum -y install compat-readline43 readline-devel crypto-utils.* openssl* readline-devel pam-devel 압축 해제하고 , 컴파일 -> 설치 들어가기 $> tar -zxvf postgresql-9.2.4.tar.gz $> cd...

postgres
pgsql
centos
postgresSQL

corosync / pacemaker를 이용한 HA구성

2. Open-Infra

HA stack Hardware : 물리서버 Message : Clustering 맴버간 통신상태 확인 Resoure Manager : failover / failback 작업 수행 Management : HA를 구성하도록 제공되는 Tool Service : HA용 서비스 Service Architecture (Active  / Standby) 설치 방안 (모든 노드) 1.패키지 설치 $> yum install c...

centos
high availability
pacemaker
corosync
이중화