Cloud Infra Architecture (AWS)/AWS Build

EC2 접속용 서버 만들기

seongduck 2024. 2. 7. 16:42

ec2에 접속

1) sudo yum -y install httpd
2) sudo touch /var/www/html/index.html
3) sudo vi /var/www/html/index.html

"""
<html>
	<h1> 111 </h1>
</html>
"""

4) sudo service httpd start