The major config file of iRedAdmin is file '''/var/www/iredadmin/settings.ini'''.

+

The major config file of iRedAdmin is file '''/var/www/iredadmin/settings.py'''.

* Copy example config file, and set correct file permission.

* Copy example config file, and set correct file permission.

{{cmd|<pre>

{{cmd|<pre>

# cd /usr/local/www/iredadmin/

# cd /usr/local/www/iredadmin/

−

# cp settings.ini.mysql.sample settings.ini

+

# cp settings.py.mysql.sample settings.py

−

# chown iredadmin:iredadmin settings.ini

+

# chown iredadmin:iredadmin settings.py

−

# chmod 0600 settings.ini

+

# chmod 0600 settings.py

</pre>}}

</pre>}}

−

'''NOTE''': If you are installing iRedAdmin-Pro, and have iRedAdmin open source edition installed, you can simply copy '''settings.ini''' from open source edition. Don't forget to set correct file owner and permission after copied.

+

'''NOTE''': If you are installing iRedAdmin-Pro, and have iRedAdmin open source edition installed, you can simply copy '''settings.py''' from open source edition. Don't forget to set correct file owner and permission after copied.

−

* Edit '''settings.ini'''.

+

* Edit '''settings.py''' to use correct SQL username/passwords.

'''NOTE''':

'''NOTE''':

** All required usernames/passwords are stored in '''iRedMail.tips''' which generated during iRedMail installation, placed under iRedMail directory. e.g. /root/iRedMail-0.8.0/iRedMail.tips.

** All required usernames/passwords are stored in '''iRedMail.tips''' which generated during iRedMail installation, placed under iRedMail directory. e.g. /root/iRedMail-0.8.0/iRedMail.tips.

−

** For more inforamtion, please open '''settings.ini''', it's self-documented.

+

** For more inforamtion, please open '''settings.py''', it's self-documented.

If iRedAdmin doesn't work as expected, you can set '''debug = True''' in settings.ini to turn on debug mode, restart apache web server, use your favourite web browser to access it again, create a new forum topic and paste error message in forum topic.

+

If iRedAdmin doesn't work as expected, you can set '''debug = True''' in settings.py to turn on debug mode, restart apache web server, use your favourite web browser to access it again, create a new forum topic and paste error message in forum topic.

NOTE: If you are installing iRedAdmin-Pro, and have iRedAdmin open source edition installed, you can simply copy settings.py from open source edition. Don't forget to set correct file owner and permission after copied.

Edit settings.py to use correct SQL username/passwords.

NOTE:

All required usernames/passwords are stored in iRedMail.tips which generated during iRedMail installation, placed under iRedMail directory. e.g. /root/iRedMail-0.8.0/iRedMail.tips.

If iRedAdmin doesn't work as expected, you can set debug = True in settings.py to turn on debug mode, restart apache web server, use your favourite web browser to access it again, create a new forum topic and paste error message in forum topic.