The team that I put the web server:
aptitude update && aptitude upgrade && \ aptitude install apache2-mpm-itk nginx php5 libapache2-mod-php5 \ mysql-server mysql-client php5-mysql phpmyadmin
During the installation, several confirmations and password entries are required:
- Confirmation (Y / N) Need Y
- Need to enter
MySQL Root PASS
- Re-enter
MySQL Root PASS
- A screen appears on which arrows select the installed web server (1 -
Apache
, 2 -lighttpd
). Need 1 - Confirm
phpmyadmin
auto configuration (Yes needed) Pass of database admin user
Pass of database admin user - Retype
Pass of database admin user - Retype
How to automate this using the Bash
script. That the script itself is confirmed and entered?
expect
. - avp pm