Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- usb efi 시스템 파티션 삭제
- PHP 구글 OTP 연동
- 윈도우 환경 아파치 mod_security2 설치
- PHP 정규식 예제
- 비밀번호정규식
- bootstrap modal
- 우분투 mysql 비밀번호 없이 로그인 될때
- 구글 OTP 인증
- PHP 구글 OTP 인증
- javascript
- 자바스크립트비밀번호검증
- php 배열제거
- group_concat 구분자
- mod_security2 설치
- mariadb upgrade
- bootstrap
- 아파치 웹 서버의 정보 숨기기
- 비밀번호검증정규식
- apache mod rewrite
- 윈도우 mod_security2
- html pdf 변환
- 숫자 3자리(천단위) 마다 콤마 찍기
- 파라미터 & 오류
- sha-2 root
- httpd.conf 보안 설정
- php 이미지 url 검증 함수
- apple push notification service (apns) is changing
- (using password: YES)" when trying to connect
- modsecurity 설치
- mysqldump: Got error: 1045
Archives
- Today
- Total
투덜이 개발자
postgresql 소스 컴파일 수동 설치 본문
반응형
sudo make
sudo make install
[postgres@gmedia postgresql-13.2]$ mkdir -p /home/postgres/pgsql/data
[postgres@gmedia postgresql-13.2]$ /home/postgres/pgsql/bin/initdb -E utf-8 -D /home/postgres/pgsql/data
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locale "en_US.UTF-8".
The default text search configuration will be set to "english".
Data page checksums are disabled.
fixing permissions on existing directory /home/postgres/pgsql/data ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... posix
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default time zone ... Asia/Seoul
creating configuration files ... ok
running bootstrap script ... ok
performing post-bootstrap initialization ... ok
syncing data to disk ... ok
initdb: warning: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the option -A, or
--auth-local and --auth-host, the next time you run initdb.
Success. You can now start the database server using:
/home/postgres/pgsql/bin/pg_ctl -D /home/postgres/pgsql/data -l logfile start
PostgreSql 실행
/home/postgres/pgsql/bin/pg_ctl -D /home/postgres/pgsql/data -l logfile start
[postgres@gmedia bin]$ /home/postgres/pgsql/bin/pg_ctl -D /home/postgres/pgsql/data -l logfile start
waiting for server to start.... done
server started
확인
[postgres@gmedia bin]$ ps aux | grep postgres
gitlab-+ 2840 0.0 0.6 1174360 24368 ? Ss 2016 1:13 postgres: gitlab gitlabhq_production [local] idle
root 4340 0.0 0.0 189724 2332 pts/0 S 13:09 0:00 su postgres
postgres 4341 0.0 0.0 115452 2108 pts/0 S 13:09 0:00 bash
gitlab-+ 8974 0.0 0.6 1174568 25212 ? Ss 2016 1:05 postgres: gitlab gitlabhq_production [local] idle
gitlab-+ 9021 0.0 0.6 1172552 25596 ? Ss 2016 1:05 postgres: gitlab gitlabhq_production [local] idle
gitlab-+ 9048 0.0 0.6 1172232 24212 ? Ss 2016 1:02 postgres: gitlab gitlabhq_production [local] idle
gitlab-+ 9053 0.0 0.6 1172588 25044 ? Ss 2016 1:05 postgres: gitlab gitlabhq_production [local] idle
gitlab-+ 9057 0.0 0.6 1174608 25724 ? Ss 2016 1:05 postgres: gitlab gitlabhq_production [local] idle
gitlab-+ 9069 0.0 0.6 1173648 24412 ? Ss 2016 1:04 postgres: gitlab gitlabhq_production [local] idle
root 10661 0.0 0.0 4184 20 ? Ss 2016 0:06 runsv postgresql
postgresql 소스설치
postgreSQL 다운로드 다운로드는 공식 홈페이지인 https://www.postgresql.org/download/ 받을 수 있습니다. 또는 아래처럼 wget 명령어를 사용하여 다운로드 받을 수도 있습니다. [root@Centos7 ~]# wget https:/..
harulife.kr
반응형