본문 바로가기
728x90
반응형

It33

[apache] mod_ssl 설치 Apache 컴파일 시 mod_ssl을 설치하지 않았을 경우 1. yum search mod_ssl 2. yum install mod_ssl 3. service httpd restart 이 후 modules 폴더 내 mod_ssl.so 가 생겼는지 확인하고 conf.d 폴더 내 ssl.conf에서 필요한 설정을 한 후 적용 2015. 6. 30.
[Apache] https 설치 1. Openssl 설치 확인 -> [root@user]# rpm -qa openssl openssl-1.0.1e-16.el6_5.15.x86_64 위와 같이 뜰 경우 설치 완료 (설치가 안되어있을 경우 openssl 설치) 2. mod_ssl 설치 확인 -> [root@user]# ./httpd -l Compiled in modules: core.c prefork.c http_core.c mod_so.c mod_ssl.c httpd -l 명령어를 이용하여 mod_ssl.c가 설치되어있는지 확인 (설치가 되어있지 않을 경우mod_ssl 설치 참고) 3. ssl.conf LoadModule ssl_module modules/mod_ssl.so Listen 443 SSLEngine onSSLCertifica.. 2015. 6. 30.
[Apache] 시작/정지/재시작 & 에러 발생 시 Apache 시작/정지/재시작 - > [root@user]# service httpd start/stop/restart httpd: Could not reliably determine the server's fully qualified domain name, using example.com for ServerName 위와 같은 에러 발생 시 httpd.conf 에서 SeverName 127.0.0.1 을 추가 한 후 다시 시도하십시오. 2015. 6. 30.
[MySQL] 방화벽 Port 추가하기 1. iptable에 3306 포트 허용 추가 // 정책 제일 마지막에 추가[root@root etc]# iptables -A INPUT -p tcp --dport 3306 -j ACCEPT// 정책 제일 처음에 추가[root@root etc]# iptables -l INPUT -p tcp --dport 3306 -j ACCEPT --> #iptables -A INPUT 2015. 6. 30.
728x90
반응형