분류 전체보기
-
리눅스] CENTOS Postgresql9.6 설치 및 설정 방법IT_SW 2020. 1. 18. 15:10
centOS에서 postgresql9.6을 설정하고 자동으로 실행하기까지의 모든 과정이다. 차근차근 따라한다면, 완벽히 설치될 것이며 운영할수 있을것이다. yum 업데이트 # yum update postgres 다운 # yum install https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-centos96-9.6-3.noarch.rpm postgres 설치 # yum -y install postgresql96 psotgresql96-server postgresql96-contrib postgresql96 libs postgresql Init DB # /usr/pgsql-9.6/bin/postgresql96-setup i..
-
리눅스] CENTOS xrdp 세팅IT_SW 2020. 1. 18. 15:07
원격 모니터링 또는 제어의 경우 윈도우 환경에서 지원하는 '원격데스크톱연결' , 또는 상용소프트웨어 '팀뷰어(Teamviewer)'를 많이 사용할 것이다. 하지만 OS의 제약적인 문제로 '원격데스크톱연결'을 사용하지 못하거나, 팀뷰어의 상용감지 기술때문에 필요한 시기에 원격을 하지 못하는 경우가 있다. 혹시, 리눅스를 사용하고 있다면 xrdp를 사용할 수 있도록 하자. 설치 방법은 아래와 같다. EPEL 설치 # yum install epel-release xrdp 및 tigervnc-server 설치 # yum -y install xrdp tigervnc-server xrdp 시작 # systemctl start xrdp 포트 확인 # netstat -antup | grep xrdp xrdp 자동실행 ..
-
리눅스] centos 파이썬 3.6 설치 및 설정IT_SW 2020. 1. 18. 15:03
python3.6 버전 설치 # yum install -y https://centos7.iuscommunity.org/ius-release.rpm 추가 라이브러리 설치 # yum install -y python36u # yum install -y python36u-devel # yum install -y python36u-pip python3.6 기본 파이썬으로 지정 파일 실행 # vi /root/.bashrc 내용 편집/추가 alias python=“/usr/bin/python3.6” .bashrc 적용 # source /root/.bashrc 버전 확인 # python —version
-