/ Published in: Bash
With this script a new user gets created and gets his own VirtualHost and database. The username is used for building the domain, so the username "test" leads to the domain test.local.
The password for the MySQL account used for creating the database has to be filled in for the script to work. Also the script has to be run by root.
The password for the MySQL account used for creating the database has to be filled in for the script to work. Also the script has to be run by root.