Skip to content

Instantly share code, notes, and snippets.

@mungi
Created July 18, 2017 08:44
Show Gist options
  • Save mungi/de77ef7ba00e623a8f99c3ecd15337ca to your computer and use it in GitHub Desktop.
Save mungi/de77ef7ba00e623a8f99c3ecd15337ca to your computer and use it in GitHub Desktop.
Softlayer 기본 실습 커맨드
#=================================
# Putty Download 주소
# http://bit.do/putty
#=================================
#=================================
# WebSever설치 및 기본 페이지 작성
yum -y install httpd
echo "<h1> WEB Server 01 </h1>" > /var/www/html/index.html
service httpd start
chkconfig httpd on
#=================================
#=================================
# 파일 스토리지 마운트
yum -y install nfs-utils nfs-utils-lib
mount -t nfs4 -o hard,intr 호스트명:/스토리지명 /mnt
#=================================
#=================================
# WebSever설치 및 기본 페이지 작성
yum -y install httpd
echo "<h1> WEB Server 01 </h1>" > /var/www/html/index.html
service httpd start
chkconfig httpd on
#=================================
#=================================
# Softlayer CLI 예제
slcli virtual create -H web01 -D sk.com -c 1 -m 1G -d seo01 -o CentOS_LATEST --billing hourly
slcli vs list
slcli vs cancel 서버ID
#=================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment