Automated installation of Nagios make the script executable using below command chmod +x nagios.sh Run the script ./nagios.sh During installation it will give you password for web login.