Replication Replication ( streming Replication ) 1. Master ( Primary ) 서버 구성$ psql –U postgres -p 5432postgres=# CREATE ROLE replication REPLICATION LOGIN PASSWORD 'password'; # 동기화 계정 생성$ vi /raid/usr/local/pgsql/data/data/postgresql.conf# Replication 관련 parameter 수정---------------------------------------------------------------------------------------------#------------------------------------------------.. 더보기 설치 PostgreSQL Source setup ( CentOS 6.5 / PostgreSQL 9.5.5 ) 1. PostgreSQL 설치파일 다운# wget https://ftp.postgresql.org/pub/source/v9.5.5/postgresql-9.5.5.tar.gz 2. PostgreSQL 설치# tar xvzf postgresql-9.5.5.tar.gz# cd postgresql-9.5.5# ./configure --prefix=/raid/usr/local/pgsql --bindir=/raid/usr/local/pgsql/bin --datadir=/raid/usr/local/pgsql/data --enable-depend --enable-nls=ko --with-openssl** --pref.. 더보기 설치 MySQL Source Setup ( CentOS 6.5 / MySQL-5.6.35 ) 1. MySQL 설치파일을 다운# wget --no-check-certificate https://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.35.tar.gz** wget : 웹 서버로부터 콘텐츠를 가져오는 컴퓨터 프로그램 ** 2. 컴파일 툴 다운 # wget --no-check-certificat https://cmake.org/files/v3.8/cmake-3.8.0-rc2.tar.gz 3. 다운받은 파일 압축 해제# tar xvzf cmake-3.8.0-rc2.tar.gz# tar xvzf mysql-5.6.35.tar.gz 4. CMAKE 설치# cd cmake-3... 더보기 이전 1 2 3 다음 목록 더보기