1
Server > init-script > Script생성> web-server00
#!/bin/bash
yum install httpd lynx tmux tcpdump -y
systemctl start httpd && systemctl enable httpd
echo "
Naver Web 1
" > /var/www/html/index.html
2
[root@Server-EC2 ~]# cd /var/www/html/
[root@Server-EC2 html]#
cat < index.html
BTS Home Page
EOF
3
yum -y install epel-release
yum -y install stress
grep -c processor /proc/cpuinfo
stress --cpu 2 --timeout 600 -v
ssh root@10.0.0.6