2019. 1. 10. 15:30ㆍ리눅스 : 서버 운영 기본
# 패키지 업데이트 갱신
#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 설치
'리눅스 : 서버 운영 기본' 카테고리의 다른 글
아파치 웹 서버 설치와 설정 (0) | 2019.01.19 |
---|---|
리눅스 주요 디렉토리 (0) | 2019.01.11 |
PHP 설치 및 Apache 연동 (0) | 2019.01.02 |
CentOS 7 서버 설치 (0) | 2018.12.23 |
[Centos7] Python3 설치하기 (0) | 2018.12.20 |