Skip to content

Instantly share code, notes, and snippets.

View magixus's full-sized avatar
💭
I may be slow to respond.

Oussama Boumaad magixus

💭
I may be slow to respond.
  • Evercam Ltd
  • Algeria
View GitHub Profile
@magixus
magixus / centos_rhel_install.sh​
Created August 19, 2018 09:52 — forked from rcubetrac/centos_rhel_install.sh​
Roundcube Install Scripts
#!/bin/sh
clear
if [ -z "${mysql_roundcube_password}" ]; then
tmp=$(</dev/urandom tr -dc A-Za-z0-9 | head -c12)
read -p "MySQL roundcube user password [${tmp}]:" mysql_roundcube_password
mysql_roundcube_password=${mysql_roundcube_password:-${tmp}}
echo "MySQL roundcube: ${mysql_roundcube_password}" >> .passwords
fi