'CentOS'에 해당되는 글 1건

apm설치
1. mysql (mariadb설치)
# yum -y install mariadb-server mariadb
시작 서비스 등록
# systemctl start mariadb.service
# systemctl enable mariadb.service
2. apache와 php의 설치
# yum -y install httpd
# yum -y install php
# yum -y install gd gd-devel
# yum -y install libxml2 libxml2-devel
# yum -y install openssl openssl-devel
# yum -y install gmp gmp-devel
# yum -y install mhash mhash-devel
# yum -y install libmcrypt libmcrypt-devel
# yum -y install php-mysqlnd
# yum -y install php-devel
# yum -y install php-gd
# yum -y install php-mbstring
# yum -y install php-mhash
# yum -y install xml-common
# yum -y install epel-release
# yum -y update
시작 서비스 등록
# systemctl start httpd.service
# systemctl enable httpd.service
3. 방화벽등록
#firewall-cmd --permanent --zone=public --add-service=http
#firewall-cmd --reload
php.ini 설정
vi /etc/php.ini
외부에서 접근할수 있도록 80포트를 연다.
iptables -I INPUT -p tcp --dport 80 -j ACCEPT
/etc/init.d/iptables save
/etc/init.d/iptables restart
 CentOS 8.2.2004 Tested

'Linux & Windows' 카테고리의 다른 글

vscode 파일 퍼미션 에러  (0) 2020.09.03
Visual Studio Code 우분투 데스크탑 설치법  (0) 2020.09.03
Docker 설치  (0) 2020.09.02
Ubuntu APM 설정  (0) 2020.09.02
우분트 리눅스 설치  (0) 2020.09.01
블로그 이미지

AutoLoop

컴퓨터 하드웨어 소프트웨어 정보 각종 유틸리티 해외정보 가상화폐 코인 주식 차트 마케팅 컨설팅 자료모음 및 설명

,