#!
/bin/bash
yum update -y
yum install httpd -y
echo "<html><h1>This is WEB SERVER1</h1></html>"
>>/var/www/html/[Link]
systemctl enable [Link]
systemctl start [Link]
>>Create a user using boot Script<<
#!/bin/bash
yum update -y
useradd student
VAR="cisco"
printf "$VAR\n$VAR\n" | passwd student
touch /home/student/test
usermod -aG adm,wheel student
sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g'
/etc/ssh/sshd_config
service sshd restart