7 lines
142 B
Bash
7 lines
142 B
Bash
#!/bin/bash
|
|
|
|
yum install -y httpd
|
|
service httpd start
|
|
chkconfig httpd on
|
|
echo "hello world" > /var/www/html/index.html
|
|
systemctl enable httpd
|