본문 바로가기

Linux

(59)
[ Linux ] APT 패키지 관리자 서버 설치 [ APT 패키지 관리자 서버 ] # repository 폴더 생성 mkdir -p /app/repo # http를 통하여 레포지토리를 사용할 수 있도록 설정 apt-get install -y apache2 systemctl enable apache2 # apache repo 경로 추가 cat /etc/apache2/apache2.conf # apt repository server configuration Alias /repo "/app/repo" Options FollowSymLinks DirectoryIndex index.html index.htm index.jsp *.jsp *.php Order allow,deny Allow from all Require all granted ADD_REPO_SET..
[ Linux ] DNS 서버 설치 1. CentOS7 [ DNS Server ] yum -y remove bind rm -f /etc/named.conf* rm -f /var/named/keys/* # DNS 서버 설치 yum -y install bind bind-chroot # http 서버 설치 yum -y install httpd # 나의 아이피 확인 DNS_SERVER_IP=$(ifconfig | grep -A 2 ens | grep "inet " | awk '{ print $2 }') # Sub DNS 아이피 설정 echo Input Your Sub DNS IP : SUB_DNS_SERVER_IP=192.168.108.80 # read SUB_DNS_SERVER_IP # 도메인 이름 설정 echo Input Your Domain..
[ Linux ] YUM 패키지 관리자 서버 설치 [ YUM 패키지 관리자 서버 ] # repository 저장소 생성을 위한 패키지 다운로드 yum -y install createrepo # repository 폴더 생성 mkdir -p /app/repo createrepo /app/repo # http를 통하여 레포지토리를 사용할 수 있도록 설정 yum -y install httpd # repo 경로 추가 cat /etc/httpd/conf/httpd.conf # yum repository server configuration Alias /repo "/app/repo" Options FollowSymLinks DirectoryIndex index.html index.htm index.jsp *.jsp *.php Order allow,deny Allo..