서버 초기 설치 및 설정 (작성 중,...)
# 패키지 업데이트 갱신
#yum update
# yum 패키지 검증 플러그인 설치
# yum install yum-plugin-verify
# 파이썬3.6 설치
# yum install epel-release
▶2018/12/20 - [Centos7] Python3 설치하기
# yum search python36
# yum install python36 python36-devel python36-libs
# ln -s /usr/bin/python36 /usr/bin/python3
# Virtual Environment 생성하기
# python3 -m venv py3venv
# source py3venv/bin/activate // 비활성화 deactivate
# Apache Web server 설치
# yum install httpd
# systemctl enable httpd
# systemctl start httpd
# PHP 7.1 설치
# yum --enablerepo=remi-php71 install php php-gd php-cli php-fpm php-mbstring php-mysqlnd php-devel
# php --version
▶2019/01/02 - PHP 설치 및 Apache 연동
# MariaDB 설치
# yum install mariadb-server mariadb-devel mariadb-libs
# systemctl enable mariadb
# systemctl start mariadb
# SE Linux 설정 해제
# setenforce 0
# vi /etc/sysconfig/selinux
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=disabled
# vsFTP 설치
# SFTP 설치