CentOS7
-
: cd /etc/httpd/confg 이동 : vi httpd.conf 1. 기본 80 포트 주석처리 #Listen 80 2. DocumentRoot와 Directory 태그 주석처리 - DocumentRoot (웹서버 파일 root 경로) - 해당 DocumentRoot의 Directory 경로 3. VirtualHost 추가 - /etc/httpd/conf/httpd.conf 파일 맨 밑에 추가 DocumentRoot "/var/www/html" Options Indexes FollowSymLinks AllowOverride None Require all granted DocumentRoot "/var/www/html" Options Indexes FollowSymLinks AllowOv..
Apache Web Server 2개 이상 포트 사용하기: cd /etc/httpd/confg 이동 : vi httpd.conf 1. 기본 80 포트 주석처리 #Listen 80 2. DocumentRoot와 Directory 태그 주석처리 - DocumentRoot (웹서버 파일 root 경로) - 해당 DocumentRoot의 Directory 경로 3. VirtualHost 추가 - /etc/httpd/conf/httpd.conf 파일 맨 밑에 추가 DocumentRoot "/var/www/html" Options Indexes FollowSymLinks AllowOverride None Require all granted DocumentRoot "/var/www/html" Options Indexes FollowSymLinks AllowOv..
2021.09.06 -
1. Apache Web Server 설치여부 확인 및 설치 : rpm -qa | grep httpd : yum install -y httpd 2. httpd.conf 파일 확인 : vi /etc/httpd/conf/httpd.conf : Listen port 80 확인 3. Apache Web Server 구동 : cd /etc/httpd/conf.d/welcome.conf welcome.conf 파일 내용 주석처리 : cd /var/www/html : 해당 디렉토리에 index 파일 생성 : html 코드 작성 : systemctl restart httpd 4. 작성한 html 코드 화면 확인 * Reverse proxy 설정 : vi /etc/httpd/conf.d/prox..
Apache Web Server 설치 및 설정1. Apache Web Server 설치여부 확인 및 설치 : rpm -qa | grep httpd : yum install -y httpd 2. httpd.conf 파일 확인 : vi /etc/httpd/conf/httpd.conf : Listen port 80 확인 3. Apache Web Server 구동 : cd /etc/httpd/conf.d/welcome.conf welcome.conf 파일 내용 주석처리 : cd /var/www/html : 해당 디렉토리에 index 파일 생성 : html 코드 작성 : systemctl restart httpd 4. 작성한 html 코드 화면 확인 * Reverse proxy 설정 : vi /etc/httpd/conf.d/prox..
2021.09.06 -
1. subversion 설치 - subversion 설치 여부 확인 : rpm -qa | grep subversion 없을 시 : yum install -y subversion subversion 설치 2. subversion 저장소 생성 : mkdir /home/svn : cd /home/svn : svnadmin create --fs-type fsfs /home/svn/obo 저장소 생성 완료 3. 생성한 저장소 conf 파일 수정 : cd /home/svn/obo/conf * svnserve.conf : svn 환경 설정 * passwd : 사용자 계정 설정 * authz : 생성한 계정 권한 설정 기존에 존재하는 svnserve.conf 파일 복사 : mv svnserve..
subversion 설치 및 설정1. subversion 설치 - subversion 설치 여부 확인 : rpm -qa | grep subversion 없을 시 : yum install -y subversion subversion 설치 2. subversion 저장소 생성 : mkdir /home/svn : cd /home/svn : svnadmin create --fs-type fsfs /home/svn/obo 저장소 생성 완료 3. 생성한 저장소 conf 파일 수정 : cd /home/svn/obo/conf * svnserve.conf : svn 환경 설정 * passwd : 사용자 계정 설정 * authz : 생성한 계정 권한 설정 기존에 존재하는 svnserve.conf 파일 복사 : mv svnserve..
2021.09.06