목록PostgreSQL (2)
남기면 좋잖아
준비 운영체제 : CentOS 7.4 설치 Repository 추가 su - rpm -Uvh https://yum.postgresql.org/10/redhat/rhel-7-x86_64/pgdg-centos10-10-2.noarch.rpm PostgreSQL 설치 yum install -y postgresql10-server postgresql10 /tablespace/postgres 디렉터리 생성 $ mkdir -p /tablespace/postgres /tablespace/postgres 디렉터리 소유자 및 그룹 변경 $ chown -R /tablespace/postgres PostgreSQL DB 초기화 $ su - postgres $ /usr/pgsql-10/bin/initdb -D /tablesp..
칼리 VM 설치 후 수행할 작업(초기 설정) 1. 패스워드 변경 #passwd 2. 업데이트 한다. #apt-get update#apt-get dist-upgrade 3. 메타스플로잇의 데이터베이스를 구축한다. #service postgresql start 4. 부팅할 때 postgresql 데이터베이스를 시작하도록 설정한다. #update-rc.d postgresql enable 5. 메타스플로잇 프레임워크 데이터베이스를 초기화한다(database.yml 파일을 설정한다) #msfdb init 6. gedit를 설치한다. #apt-get install gedit 7. 호스트 이름 변경 #gedit /etc/hostname#gedit /etc/hosts 8. 한글폰트 설치한다. #apt-get -y in..