NAVER CLOUD PLATFORM
cloud computing services for corporations, IaaS, PaaS, SaaS, with Global region and Security Technology Certification
www.ncloud.com
※ 로그인 후 ncloud 사이트 우측 상단에 콘솔 클릭
※ Services → Server 선택
※ Server → Init Script에서 script 파일 설정
※
#! /bin/bash yum install -y yum-utils yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo yum install -y docker-ce docker-ce-cli containerd.io systemctl start docker systemctl enable docker docker pull httpd cat > index.html << EOF <html> <body> <h1>Container-WEBSERVER-1</h1> </body> </html> EOF docker run -itd --name h1 -p 80:80 httpd docker cp index.html h1:/usr/local/apache2/htdocs/index.html |
+
'Cloud > NCloud' 카테고리의 다른 글
3. Cloud : ncloud 환경에서 mail, nfs 설정 (0) | 2022.04.26 |
---|---|
2. Cloud : ncloud 환경에서 dns, http, ftp 설정 (0) | 2022.04.26 |
1. Cloud : Ncloud 서버 생성 및 접속 (0) | 2022.04.26 |