brunch

4. (온라인) 데이터 센터 이중화-실습자료

by Master Seo
슬라이드1.JPG
슬라이드2.JPG
슬라이드3.JPG
슬라이드4.JPG
슬라이드5.JPG
슬라이드6.JPG
슬라이드7.JPG
슬라이드8.JPG
슬라이드9.JPG
슬라이드10.JPG
슬라이드11.JPG
슬라이드12.JPG
슬라이드13.JPG
슬라이드14.JPG
슬라이드15.JPG
슬라이드16.JPG
슬라이드17.JPG
슬라이드18.JPG
슬라이드19.JPG
슬라이드20.JPG
슬라이드21.JPG
슬라이드22.JPG
슬라이드23.JPG
슬라이드24.JPG
슬라이드25.JPG
슬라이드26.JPG
슬라이드27.JPG
슬라이드28.JPG
슬라이드29.JPG
슬라이드30.JPG
슬라이드31.JPG
슬라이드32.JPG
슬라이드33.JPG
슬라이드34.JPG
슬라이드35.JPG
슬라이드36.JPG
슬라이드37.JPG
슬라이드38.JPG
슬라이드39.JPG
슬라이드40.JPG
슬라이드41.JPG
슬라이드42.JPG
슬라이드43.JPG
슬라이드44.JPG
슬라이드45.JPG
슬라이드46.JPG
슬라이드47.JPG
슬라이드48.JPG
슬라이드49.JPG
슬라이드50.JPG
슬라이드51.JPG
슬라이드52.JPG
슬라이드53.JPG



DB 서브넷 2개 ACG 허용 필요 - 3306


슬라이드54.JPG
슬라이드55.JPG
슬라이드56.JPG
슬라이드57.JPG
슬라이드58.JPG
슬라이드59.JPG
슬라이드60.JPG
슬라이드61.JPG
슬라이드62.JPG
슬라이드63.JPG


서브넷 삭제

라우팅 테이블 삭제




1

웹서버 init script




#!/bin/bash

Wget -O /etc/yum.repos.d/Rocky-Extras.repo http://init.ncloud.com/server/linux/repo/rocky8/Rocky-Extras.repo

yum clean all

yum -y install httpd php mariadb-server php-mysqlnd


sleep 60

cd /var/www/html

wget https://kr.object.ncloudstorage.com/ncp-manual/handson/lab.tgz

tar xvfz lab.tgz

/usr/bin/cp -rf php.conf /etc/httpd/conf.d/php.conf

/usr/bin/cp -rf www.conf /etc/php-fpm.d/www.conf

systemctl enable mariadb

systemctl enable httpd

systemctl enable php-fpm

systemctl start mariadb

systemctl start httpd

systemctl start php-fpm





2


# 참고 자료


DB 생성

https://brunch.co.kr/@topasvga/4660





https://brunch.co.kr/@topasvga/5005





1 naver trainer.png




keyword
매거진의 이전글3. (온라인) 데이터 센터 이중화-PPT