configure output of system parameters
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
/envfiles/mariadb-env.conf
|
/envfiles/mariadb-env.conf
|
||||||
/envfiles/iredmail-env.conf
|
/envfiles/iredmail-env.conf
|
||||||
/cert_dir/*
|
/cert_dir/*
|
||||||
|
/conf_dir/*
|
||||||
/mail_dir/*
|
/mail_dir/*
|
||||||
|
|||||||
@@ -1,26 +0,0 @@
|
|||||||
********************************************************************
|
|
||||||
* URLs of installed web applications:
|
|
||||||
*
|
|
||||||
* - Roundcube webmail: https://mail.resds.ru/mail/
|
|
||||||
*
|
|
||||||
* - Web admin panel (iRedAdmin): https://mail.resds.ru/iredadmin/
|
|
||||||
*
|
|
||||||
* You can login to above links with below credential:
|
|
||||||
*
|
|
||||||
* - Username: postmaster@resds.ru
|
|
||||||
* - Password: LWR0GzJcAweGxfiguhUP
|
|
||||||
*
|
|
||||||
*
|
|
||||||
********************************************************************
|
|
||||||
* Congratulations, mail server setup completed successfully. Please
|
|
||||||
* read below file for more information:
|
|
||||||
*
|
|
||||||
* - /iredmail/iRedMail.tips
|
|
||||||
*
|
|
||||||
* And it's sent to your mail account postmaster@resds.ru.
|
|
||||||
*
|
|
||||||
********************* WARNING **************************************
|
|
||||||
*
|
|
||||||
* Please reboot your system to enable all mail services.
|
|
||||||
*
|
|
||||||
********************************************************************
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
export STORAGE_BASE_DIR='/var/vmail'
|
|
||||||
export WEB_SERVER='NGINX'
|
|
||||||
export BACKEND_ORIG='OPENLDAP'
|
|
||||||
export BACKEND='OPENLDAP'
|
|
||||||
export VMAIL_DB_BIND_PASSWD='82KbAZxMZJuw3x0l2WYo'
|
|
||||||
export VMAIL_DB_ADMIN_PASSWD='UdYLfqKWQPXR0LoZPdNS'
|
|
||||||
export MLMMJADMIN_API_AUTH_TOKEN='cQwsvktTRDolPgSkgm3I'
|
|
||||||
export NETDATA_DB_PASSWD='JkmFbel8pwpENNQO6O53'
|
|
||||||
export LDAP_SUFFIX='dc=testdomain,dc=ru'
|
|
||||||
export LDAP_BINDPW='n0SoWhlAhDnh37Q1WVaz'
|
|
||||||
export LDAP_ADMIN_PW='ptcuXELYWz4DD4QTmk2b'
|
|
||||||
export LDAP_ROOTPW='CeTtNhYwtNEd8GKok3Rh'
|
|
||||||
export MYSQL_ROOT_PASSWD='123qweASD'
|
|
||||||
export FIRST_DOMAIN='resds.ru'
|
|
||||||
export DOMAIN_ADMIN_PASSWD_PLAIN='LWR0GzJcAweGxfiguhUP'
|
|
||||||
export USE_IREDADMIN='YES'
|
|
||||||
export USE_ROUNDCUBE='YES'
|
|
||||||
export AMAVISD_DB_PASSWD='OUKz2PnDJothihY7KVuB'
|
|
||||||
export IREDADMIN_DB_PASSWD='WC5MNhQChHIs8PyMmJyw'
|
|
||||||
export RCM_DB_PASSWD='APE48UMdUDQd0f5MfrLX'
|
|
||||||
export SOGO_DB_PASSWD='EWXKUJhZZX3P3yUmAt03'
|
|
||||||
export SOGO_SIEVE_MASTER_PASSWD='EWXKUJhZZX3P3yUmAt03'
|
|
||||||
export IREDAPD_DB_PASSWD='EWXKUJhZZX3P3yUmAt03'
|
|
||||||
export FAIL2BAN_DB_PASSWD='EWXKUJhZZX3P3yUmAt03'
|
|
||||||
#EOF
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
exec > >(tee -i /tmp/test.log)
|
|
||||||
|
|
||||||
exec 2>&1
|
|
||||||
|
|
||||||
bases="amavis iredadmin iredapd roundcubemail"
|
|
||||||
|
|
||||||
|
|
||||||
MYSQL_ROOT_USER=root
|
|
||||||
MYSQL_ROOT_PASSWD=123qweASD
|
|
||||||
MYSQL_MASTER_ADDRESS=172.17.5.31
|
|
||||||
MYSQL_SLAVE_USER_PASSWD=123qweASD
|
|
||||||
|
|
||||||
/usr/bin/mysql --user=$MYSQL_ROOT_USER --password=$MYSQL_ROOT_PASSWD \
|
|
||||||
--host=$MYSQL_MASTER_ADDRESS \
|
|
||||||
--execute="GRANT REPLICATION SLAVE ON *.* TO 'slave_user'@'%'\
|
|
||||||
IDENTIFIED BY $MYSQL_SLAVE_USER_PASSWD; FLUSH PRIVILEGES;"
|
|
||||||
|
|
||||||
/usr/bin/mysql --user=$MYSQL_ROOT_USER --password=$MYSQL_ROOT_PASSWD \
|
|
||||||
--host=$MYSQL_MASTER_ADDRESS --execute="SHOW DATABASES;"
|
|
||||||
Reference in New Issue
Block a user