SELINUX & HTTPD 서비스 확인 SELINUX 관련 설정 문제이다. 설정이 enforcing으로 되어 있고 이상태에서 httpd 서비스가 정상적으로 작동하게 설정하는 것이다. httpd 서비스 포트 : 82 httpd 서비스 경로 : /var/www/html httpd 서비스 재부팅시 자동 시작 설정 ### 상태 확인 failed [root@test01~]# systemctl status httpd [root@test01~]# getenforce ### SELINUX 상태값 확인 Enforcing [root@test01~]# setenforce 0 ### SELINUX 상태 Permissive 변경 [root@test01~]# getenforce ### SELINUX 상태값 확인 Permissi..
Repository 설정하기 1대의 서버에 대해서 Repository를 잡는다. Q. 다음과 같은 설정에 대해서 Repository를 설정하라. http://server1.example.com/BaseOS http://server1.example.com/Appstream A. 2가지 방법이 있다. dnf-config manager 사용 수동 설정 ### dnf config-manager 사용 $ dnf config-manager --add-repo http://server1.example.com/BaseOS $ dnf config-manager --add-repo http://server1.example.com/Appstream $ cd /etc/yum.repo.d/ ### 생성 된 레포 파일 확인(이름..
네트워크 환경 세팅 2대의 VM 중 1대는 네트워크 세팅이 안되어 있다. 그렇기에 설정을 해주어야 통신이 되며 다음 문제 풀이가 가능하다. 예시) Q. IP 192.168.0.100 / Subnet 255.255.255.0 / Gateway 192.168.0.254 / dns 8.8.8.8 / 세팅해라. ### nmtui, nmcli명령으로 수동 설정을 해도 된다. A. 하단 참조 ### nmtui 사용 $ nmtui $ ip setting $ subnet setting $ gateway setting $ dns setting $ ifdown eth0 $ ifup eth0 ### nmcli 사용 $ nmcli con mode eth0 ipv4.address 192.168.0.100/24 ipv4.gate..
1. Openstack Kolla-ansible 설치 방법을 안내한다. 2. OpenVSwitch를 사용하여 네트워크를 세팅한다. 1. OS 환경 CentOS 7.8 Controller, Compute 각각 운영 환경 네트워크 포트 최소 2~4개(External, MGMT, Data, Storage) 2. Openstack OS 기본 설정 2.1 기본 툴 설치 $ yum install vim net-tools -y ### 기본 툴 설치 $ yum install nfs-utils -y ### NAS 스토리지 연결시 필요 2.2 네트워크 설정 ### IPv6 중지 및 설정 확인 $ vim /etc/sysctl.conf net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.d..
1. Linux Local Repostiroy 설정 방법 * lcoal repository 설정 방법 1) 외부 통신 가능한 환경인 경우 $ yum install createrepo -y $ mkdir /test $ createrepo /test $ vim /etc/yum.repo.d/test.repo [test] name=test baseurl=file:///root/test/ gpgcheck=0 enabled=1 $ yum clean all $ yum repolist 2) 외부 통신이 불가능한 경우 * 업로드된 파일 해당 서버 업로드 $ rpm -ivh *.rpm $ mkdir /test $ createrepo /test $ vim /etc/yum.repo.d/test.repo [test] name=..