apache2 CentOS7에 Apache 웹서버 설치하기 CentOS에 Apache 설치하기 $ sudo yum update $ sudo yum install httpd Apache 실행하기 $ sudo systemctl start httpd $ sudo systemctl enable httpd Apache 상태확인 $ sudo systemctl status httpd CentOS는 기본적으로 방화벽에서 Apache 트래픽을 막도록 세팅되어 있음 트래픽 허용으로 변경해야 함 $ sudo firewall-cmd --permanent --add-port=80/tcp $ sudo firewall-cmd --permanent --add-port=433/tcp $ sudo firewall-cmd --reload CentOS에 가상호스트 구성하기 /etc/httpd/co.. 2020. 1. 30. Apache 서버에서 파일목록 안보이게 하기. OS : Ubutu 10.04 Server Apache : 2.7.62 /etc/apache/site-enabled 아래에 있는 000-default 파일에서 Options Indexes FollowSymLinks MultiViews를 찾아서 아래와 같이 고친후 apache 재시작 Options FollowSymLinks MultiViews 2011. 2. 14. 이전 1 다음