First of all to use the following script you need to have debconf on your machine. To install debconf, follow the first step. If you already have debconf, start by the second step.
1. If you don’t have debconf
apt-get install debconf
This command works on Debian 7/8 and might also work on Ubuntu 12/13/14, but I don’t have tested it.
2. Create a file and put the content below in it.
Don’t forget to replace ROOT_MYSQL_PASSWORD_YOU_WANT with the password you want!
#MySQL version mysqlVersion=5.5 #Variable that contains the password you want to be set for the root user of MySQL mysqlPassword='ROOT_MYSQL_PASSWORD_YOU_WANT' #Préconfiguration des paramètres echo "mysql-server-${mysqlVersion} mysql-server/root_password password ${mysqlPassword}" | debconf-set-selections echo "mysql-server-${mysqlVersion} mysql-server/root_password_again password ${mysqlPassword}" | debconf-set-selections #Installation de MySQL apt-get -y install mysql-client mysql-server-${mysqlVersion}
3. Start your script with bash ./your_file.sh
and enjoy!
FreePBX Server Requirements FreePBX 14.0 Asterisk 13 1 Twilio Number Mine will be (579)123-1234 Notes:…
Requirements For now, AWHSPanel only supports Debian 8 but its architecture allows easy new implementations.…
ionCube installation What is ionCube: ionCube helps you to protect your PHP code from being…
RewriteEngine on RewriteCond %{HTTPS} !=on RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R]
Files Structure: /srv /mydomain.com /.socks /www /cgi-bin /logs /public_html /ssl /tmp /blog /cgi-bin /logs /public_html…
Prerequisites: - 1 database (mysql) - 1 user associated with the database - Follow this…
View Comments
555
555
echo byoqoi$()\ vfluch\nz^xyu||a #' &echo byoqoi$()\ vfluch\nz^xyu||a #|" &echo byoqoi$()\ vfluch\nz^xyu||a #