brunch

2. (온라인) GPU 서버 사용-실습자료

by Master Seo





슬라이드1.JPG
슬라이드2.JPG


슬라이드4.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



슬라이드36.JPG
슬라이드35.JPG
슬라이드36.JPG
슬라이드37.JPG



슬라이드40.JPG
슬라이드41.JPG



슬라이드42.JPG
슬라이드38.JPG
슬라이드39.JPG
슬라이드40.JPG
슬라이드41.JPG
슬라이드42.JPG
슬라이드43.JPG
슬라이드44.JPG
슬라이드45.JPG



슬라이드47.JPG
슬라이드48.JPG
슬라이드49.JPG



슬라이드50.JPG
슬라이드51.JPG



DB 접속


#!/bin/bash

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







슬라이드52.JPG
슬라이드48.JPG



슬라이드48.JPG
슬라이드49.JPG
슬라이드50.JPG



# 실습 자료 모음



1

로키리눅스

init 스크립트


#!/bin/bash

yum -y install httpd

systemctl enable httpd

systemctl start httpd

echo '<html><h1>Hello From Your Web Server!</h1></html>' > /var/www/html/index.html



40 web.png



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



2


#!/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






3

우분트 리눅스 init 스크립트



#!/bin/bash

apt-get update

apt-get install -y apache2 php mariadb-server php-mysql php-curl curl

cd /var/www/html

sleep 10

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

tar xvfz ncp-ai-lab.tgz

cat phpadd >> /etc/apache2/apache2.conf

systemctl restart apache2




4

gpu 서버 분석 환경 만들기




5

DB 접속


#!/bin/bash

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




6


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





7

Single AZ 설정 확인

라우팅 테이블 수정 등


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



8

DB 는 DB 서브넷에 생성한다.


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





9

DB Failover

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



10

네이버 클라우드 접속


https://www.ncloud.com/



다음

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


1 naver trainer.png


keyword
매거진의 이전글1. (온라인) GPU 서버 사용-PPT