일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- Stash
- Git
- SonarQube
- Elk
- JVM
- 리눅스
- 마이바티스
- 레드마인
- 아파치
- DB
- mysql
- Bitbucket
- Apach
- 엘라스틱서치
- mybatis
- nodejs
- spring
- 트랜잭션
- npm
- heap메모리
- 시스템운영
- 스프링
- ElasticSearch
- springboot
- Gradle
- orm
- slave node
- Java
- sql
- 자바
- Today
- Total
목록Apach (4)
프로그래머호이잇
mkdir /ssh_key 인증서 파일을 /ssh_key 로 이동! 그후 chown -R root:root /ssh_key chmod -R 777 /ssh_key 혹시 /etc/httpd/conf.d/ssl.conf 파일이 있다면 mv /etc/httpd/conf.d/ssl.conf /etc/httpd/conf.d/ssl.conf_bk vi /etc/httpd/conf/httpd.conf 맨아래 요렇게 추가!! Listen 443 SSLEngine on SSLCertificateKeyFile /ssh_key/파일명.key.pem SSLCertificateFile /ssh_key/파일명.crt.pem SSLCertificateChainFile /ssh_key/파일명.pem SSLCACertificateFi..
yum install httpd cd /var/www/html 모두 삭제(저는 필요없기 떄문에 삭제하는겁니다)rm -rf * vi index.html 생성 vi /etc/httpd/conf/httpd.conf 아래와 같이 변경 Listen 9091 -> Listen 80 http://localhost 로 접속!!! index.html 에 입력한 내용이 출력되면 완료
아파치는 부모 프로세스는 root 로 실행되고, 하위 프로세스는 기본은 deamon 유저로 실행됨. 우리가 하는것은 하위 프로세스의 실행 유저 변경하는것!! httpd.conf 수정 User deamon Group deamon 을 아래와 같이 수정 User 유저1Group 그룹1 해당 유저와 그룹으로 실행시 웹 페이지 파일들은 해당 유저가 접근가능해야합니다!!!!