i need a shell script that will automate and do the following
1- Connect to a remote server via ssh using key auth.
2- Edit "sshd_config" and make the following changes
----------------
ChallengeResponseAuthentication no
PasswordAuthentication no
UsePAM no
PubkeyAuthentication yes
----------------
3- install LEMP stack ( Linux, nginx, MySQL, and PHP )
4- issue the following commands
---------------------------
sudo chkconfig --levels 235 mysqld on
sudo chkconfig --levels 235 nginx on
sudo chkconfig --levels 235 php-fpm on
---------------------------
5- edit the file /etc/nginx/conf.d/[login to view URL] with the following changes ( will be provided later )
6- edit /etc/php-fpm.d/[login to view URL] as follow
user = nginx
group = nginx
Hello. I have had 8+ years administrating and maintaining Linux systems. I also actively maintain upstream packages for a popular Linux distribution, and am responsible for technical documentation. I can automate the shell script to complete your listed tasks, and apply the changes to your configurations. PM me if you would like further details. Thank you.
I understand that you need shell script for automating your mentioned task. I know how important is this for you. I can make this script very easily. I am a RHCE certified engineer with experience in web hosting. I love to play with technology and Linux is my passion. I think I can complete this project easily. Kindly consider me for this project.