Trash

A place for trash messages from other chatrooms. If you're a r...
Jul 28, 2017 01:25
0
Q: Remote installation of mysql got stuck

surendarI have written a script to install some set of packages to a list of servers. When i execute the script mysql installation got stuck at "enter the root password" section. Is there anything i need to modify in my script ? Advice me. Is there any way to pass the mysql root password through the scr...

Jul 28, 2017 01:25
nearly 7-8 hrs
Jul 28, 2017 01:23
i posted it there, but no one replied
Jul 28, 2017 01:23
i need help with a automation script which is capable of installing mysql-server in a list of servers automatically without asking for mysql password
#!/usr/bin/env bash
read -p "Enter server name : " servername
echo "Installing package on $servername"
ssh "${servername}" sudo apt-get -y install apache2 apache2-doc apache2-utils
thats the script is used, it works for apache but not for mysql
Jul 28, 2017 01:22
Anybody here help me out with a automation script
 

 Ask Ubuntu General Room

Normally: General discussion around Ask Ubuntu, Ubuntu & offic...
Jul 28, 2017 01:21
thats the script is used, it works for apache but not for mysql
Jul 28, 2017 01:19
#!/usr/bin/env bash
read -p "Enter server name : " servername
echo "Installing package on $servername"
ssh "${servername}" sudo apt-get -y install apache2 apache2-doc apache2-utils
Jul 28, 2017 01:18
Hi i need help with a automation script which is capable of installing mysql-server in a list of servers automatically without asking for mysql password
 

 Raiders of the Lost Downboat

Place to sail the open sea, and search out boats to take down....
Jul 28, 2017 01:20
thats the script is used, it works for apache but not for mysql
Jul 28, 2017 01:20
Hi i need help with a automation script which is capable of installing mysql-server in a list of servers automatically without asking for mysql password
#!/usr/bin/env bash
read -p "Enter server name : " servername
echo "Installing package on $servername"
ssh "${servername}" sudo apt-get -y install apache2 apache2-doc apache2-utils