[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

mysql per @reboot aus Script installieren




Hallo,
ich möchte auf einem frisch installierten System automatishc bei ersten reboot mysql installieren.
Dazu nutze ich @reboot /pfad zum Script.

Das Script startet soweit auch aber die Installation bleibt hier stehen:
sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password password your_password' sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password_again password your_password'
sudo apt-get -y install mysql-server

Per Hand aufgerufen läuft die Installation durch. das Script passt also soweit. Ich vermute das es mal weider damit zusammenhängt das das Script via cron aufgerufen wird.
HKann mir jemand einen Tipp geben wie ich das lösen kann?

Gruss
Ralf



Reply to: