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..
$ mysql -u root Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 8 Server version: 5.5.56-MariaDB MariaDB Server Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. MariaDB [(none)]> # 데이터베이스 생성 # https://mariadb.com/kb/en/library/create-database/ # CREATE DATAB..
먼저 다음 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 (..
- Total
- Today
- Yesterday