공부합시다!
-
Ansible을 활용한 vCenter 구성 자동화공부합시다!/Ansible 2023. 11. 20. 17:04
우선 Locky Linux 9을 vCenter가 존재하는 host에 설치 후 아래 작업을 진행합니다. 1. 패키지 설치 2. pyvmomi 패키지 다운로드 3. 압축 및 Archive 해제 4. pyvmomi 설치 5. ansible 설치 6. community.vmware Collection 설치 7. Playbook 실행 후 오류 확인 # yum install -y tar wget epel-release python-pip # wget https://files.pythonhosted.org/packages/ae/a4/70716f2fb132b105bc6cb4d4399491364582ab5690c87f19d6a9e4096037/pyvmomi-8.0.2.0.1.tar.gz # tar xvfz pyvmomi..
-
vSphere + OpenShift UPI(User Provisioned Infrastructure)공부합시다!/vSphere_ESXi 2023. 11. 17. 16:47
vCenter에 OpenShift를 UPI 방식으로 설치하는 과정입니다. RECA4기 기한별 https://whoslook.tistory.com/ ,박지원,박효승,이명희님의 자료 입니다. 목차 1.OpenShift UPI 설치 구성환경 1-1. 서버 스펙 1-2. 가상머신 스펙 2.OpenShift UPI 설치 구성도 3.OpenShift UPI 설치 순서 3-1. LB, HTTP 구성 3-2. DNS 구성 3-3. Bootstrap 구성 3-4. Master1,2,3 구성 3-5. Bootstrap-Complete 실행 3-6. Worker1,2 구성 3-7. Install-Complete 실행 3-8. CentOS Chrome 설치 4.Troubleshooting 1.OpenShift UPI 설치 구..
-
Docker: alpine + nginx Image 만들기공부합시다!/Container 2023. 9. 11. 11:34
alpine 이용하여 간단하게 nginx image를 Dockerifle로 만들어 보겠습니다. 1. nginx.conf 파일 작성user nginx;worker_processes auto;error_log /var/log/nginx/error.log notice;pid /var/run/nginx/nginx.pid;events { worker_connections 1024;}http { include /etc/nginx/mime.types; default_type application/octet-stream; sendfile on; access_log /var/log/nginx/access.log; keepalive_timeout 3000;..
-
Ansible: apache + nginx + mysql + haproxy + dns공부합시다!/Ansible 2023. 9. 5. 10:28
종합 실습적 성격을 띠는 ansible 구성입니다. 1. node1 1.1. webhttp.yml --- - name: wordpress download, httpd install, config file fix hosts: web gather_facts: false ignore_errors: true tasks: - name: wget, tar package install yum: name: "{{ item }}" state: present loop: - wget - tar - php - php-cli - php-common - php-gd - php-mysqlnd - php-curl - php-opcache - name: httpd install dnf: name: httpd state: install..
-
Rocky9: Wordpress + PHP8.0 + MySQL8.0공부합시다!/LInux 2023. 8. 25. 17:39
Rocky9에 wordpress와 MySQL을 설치해서 Connection 하는 과정입니다. 2Tier 구성. 1. Rocky9-1 # dnf install -y wget tar httpd # wget https://ko.wordpress.org/wordpress-5.7.8-ko_KR.tar.gz # tar xvfz wordpress-5.7.8-ko_KR.tar.gz # cp -ar wordpress/* /var/www/html/ # cp /var/www/html/{wp-config-sample.php,wp-config.php} # sed -i 's/DirectoryIndex index.html/DirectoryIndex index.php/g' /etc/httpd/conf/httpd.conf # dnf ..