Quiliro,
I'm having trouble with using the command:
./InstantHobo.bash >> HoboInstall.log
because there is some input expected when MySQL server is installed.
If I remember correctly, there's a way to use a specified .txt file as input....
./InstantHobo.bash >> HoboInstall.log < Input.txt
where Input.txt contains a password <Enter> password <Enter> so that the script has correct input for the MySQL server installation.
Is this correct?
You are missing the point....I'm trying to literally "record" the output of the install process for your benefit! This is only a temporary measure for diagnostic purposes. I already sent a message with the results.
> The output from the MySQL server password prompt screen kinda messes up the Log file!
> I was wishing I knew enough about writing scripts to avoid that little problem. No ideas yet, though.
Looks like you can "preseed" the configuration database:
http://serverfault.com/questions/19367/scripted-install-of-mysql-on-ubuntu/19399#19399
--Matt Jones
Dear Quiliro,
I'm hoping that we can make the install script a bit fancier. I'd like to make it so that we can prompt the user of the script to select the preferred database (SQLite, MySQL, or PostGreSQL) and automatically make the necessary installation changes for them. I would also like to separate the installation script into "stages" so that it is cleaner and more easily understood. Also, we need to either store the password in a temporary variable within the script, defer its entry until after the script is finished, or find some other way to make the password entry cleaner and less apt to interfere with the script processing. For example, is there a way to temporarily make the password blank during the install script processing and then change it once the script is finished?