Repository 추가 $ sudo yum install -y https://centos7.iuscommunity.org/ius-release.rpm python3 및 필요 라이브러리 설치 $ sudo yum install -y python36u python36u-libs python36u-devel python36u-pip python 버전 확인 $ python3.6 -V Python 3.6.x python3 alias 추가 $ sudo ln -s /bin/python3.6 /bin/python3
1. Install and configure the necessary dependencies On CentOS 7 (and RedHat/Oracle/Scientific Linux 7), the commands below will also open HTTP and SSH access in the system firewall. sudo yum install -y curl policycoreutils-python openssh-server sudo systemctl enable sshd sudo systemctl start sshd sudo firewall-cmd --permanent --add-service=http sudo systemctl reload firewalld Next, install Postf..
먼저 다음 URL을 보고 yum repository를 설정 한다. https://downloads.mariadb.org/mariadb/repositories/#mirror=kaist&distro=CentOS&distro_release=centos7-amd64--centos7&version=10.2 아래의 내용을 /etc/yum.repos.d/MariaDB.repo 파일에 저장 한다. # MariaDB 10.2 CentOS repository list - created 2018-01-11 07:40 UTC # http://downloads.mariadb.org/mariadb/repositories/ [mariadb] name = MariaDB baseurl = http://yum.mariadb.org/10..
# PostgreSQL repository 설치 $ rpm -Uvh https://yum.postgresql.org/10/redhat/rhel-7-x86_64/pgdg-centos10-10-2.noarch.rpm # PostgresQL 설치 $ yum install postgresql10-server postgresql10 # PostgreSQL DB 초기화 $ /usr/pgsql-10/bin/postgresql-10-setup initdb #PostgreSQL 실행 $ systemctl start postgresql-10.service $ systemctl enable postgresql-10.service # postgre 계정 비밀번호 변경 $ su - postgres -c "psql" psql (..
CentOS 7 부터는 iptables 대신 firewalld를 기본으로 사용하는듯 하다. 방화벽에 포트 및 서비스 추가 # 서비스 추가 # 서비스 명에는 http, https, ssh 와 같은 서비스를 넣어주면 된다. # $ firewall-cmd --permanent --zone=public --add-service=서비스명 $ firewall-cmd --permanent --zone=public --add-service=http # 포트 추가 # $ firewall-cmd --permanent --zone=public --add-port=포트번호/프로토콜 $ firewall-cmd --permanent --zone=public --add-port=80/tcp 방화벽에 포트 및 서비스 삭제 # 서비스..
출처: http://www.davidghedini.com/pg/entry/install_postgresql_9_on_centos This post will cover installing and basic configuration of PostgreSQL 9.x on CentOS. We will install PostgreSQL 9 using the PostgreSQL repository and yum. The same procedure can be used to install PostgreSQL 9 on Red Hat and Fedora using the appropriate rpm. Optionally, we'll also see how to install PostGIS. As the directory..
먼저 yum을 이용해 subversion을 설치 한다. # yum install subversion svn의 데이터를 저장할 폴더를 생성 한다. # mkdir /home/svn 위에서 생성한 폴더로 이동한 후 repository를 생성 명령을 실행 한다. # cd /home/svn # svnadmin create repo repository 생성이 완료 되면 해당 폴더 하위에 conf 폴더가 생성 되며 conf 폴더 안에는 svnserve.conf라는 파일이 존재 한다. # vi /home/svn/repo/conf/svnserve.conf 아래는 vi로 열어본 svnserve.conf 파일의 내용이며 아래와 같이 수정 하자. ### This file controls the configuration of ..
> hdparm -tT /dev/sda /dev/sda: Timing cached reads: 20724 MB in 2.00 seconds = 10375.81 MB/sec Timing buffered disk reads: 304 MB in 3.02 seconds = 100.60 MB/sec > hdparm --help hdparm - get/set hard disk parameters - version v6.6 Usage: hdparm [options] [device] .. Options: -a get/set fs readahead -A set drive read-lookahead flag (0/1) -b get/set bus state (0 == off, 1 == on, 2 == tristate) -B..
1. samba 설치확인 > rpm -qa samba 2. yum 으로 samba 설치 > yum install -y samba 3. samba 설정 > vi /etc/samba/smb.conf 파일을 수정 # 캐릭터셋 설정 unix charset = utf-8 dos charset = utf-8 display charset = utf-8 # 워크그룹 설정 workgroup = WORKGROUP server string = Samba Server Version %v # 접속 허용 IP 설정 (192.168.0.* 허용, 123.123.123.123 허용) hosts allow = 192.168.0. 123.123.123.123 # 특정 유저 허용 security = user passdb backend =..
출처 : http://www.toyos.nl/2010/09/21/install-postgresql-9-0-on-centos-5-5/ Today PostgreSQL 9.0 was released, so it’s testing time. Here is a little howto on installing it on a CentOS 5.5 machine. First do a minimal CentOS 5.5 install. Read this. Exclude postgres from the base and updates repos: vi /etc/yum.repos.d/CentOS-Base.repo And add: exclude=postgresql* to the bottom of both sections. Get ..
- Total
- Today
- Yesterday