HTTP 썸네일형 리스트형 iptable 설정 리눅스 서버가 웹서버, DB서버 등을 원격으로 서비스 하되, 서비스 별로 원격 접속 허용을 제한하기 위한 iptable 설정방법 CentOS 7에서 테스트 1. firewall 중지 #systemctl stop firewalld #systemctl mask firewalld 2. iptable 설치 및 구동 #yum install iptables-servieces -y #systemctl enable iptables #systemctl start iptables 3. iptable 설정 # vi /etc/sysconfig/iptables # sample configuration for iptables service # you can edit this manually or use system-config-.. 더보기 아파치 웹서버 가상호스트 설정 아파치 웹서버 (http) 멀티 도메인을 사용할 수 있는 가상호스트를 설정하는 방법 1. http 설정변경 #vi /etc/httpd/conf/httpd.conf/httpd 맨 아래부분에 추가 Include conf/extra/httpd-vhosts.conf 2. /etc/httpd/conf/아래 extra폴더를 만들고 httpd-vhosts.conf 파일을 만들어 다음 내용을 넣음. NameVirtualHost *:80 DocumentRoot "/var/www/html" DocumentRoot "/var/www/html/가상호스트폴더" ServerName 가상호스트도메인주소 더보기 이전 1 다음