Google Compute Engine Startup Script
Budget: $10 – $30 USD
Hello,
I need a small startup script coded for the google compute engine platform that will run on CentOS 7x and Ubuntu 18.04/20.04.
The startup script should perform the following functions. Obviously, with ubuntu, it will use apt-get instead of yum.
1. Change to => sudo su
2. Disable Selinux
3. Edit /etc/selinux/config and allow PasswordAuthentication yes, and directroot login yes on port 22.
4. systemctl restart sshd
5. Set a default root password => passwd root @pple$534199
6. Fix known Google repository issue by running => sudo sed -i 's/repo_gpgcheck=1/repo_gpgcheck=0/g' /etc/yum.repos.d/google-cloud.repo
7. yum -y update
8. reboot
Thank you!
I need a small startup script coded for the google compute engine platform that will run on CentOS 7x and Ubuntu 18.04/20.04.
The startup script should perform the following functions. Obviously, with ubuntu, it will use apt-get instead of yum.
1. Change to => sudo su
2. Disable Selinux
3. Edit /etc/selinux/config and allow PasswordAuthentication yes, and directroot login yes on port 22.
4. systemctl restart sshd
5. Set a default root password => passwd root @pple$534199
6. Fix known Google repository issue by running => sudo sed -i 's/repo_gpgcheck=1/repo_gpgcheck=0/g' /etc/yum.repos.d/google-cloud.repo
7. yum -y update
8. reboot
Thank you!