Changes

From Amahi Wiki
Jump to: navigation, search
976 bytes removed ,  14:53, 24 November 2013
==== Tips ====
* To permanently change your hostname from '''localhost.localdomain''', see this [http://www.labtestproject.com/using_linux/permanently_change_hostname_on_fedora article].
 * Should your mail server hang up and stop working, you can most likely fix it with the following two scripts. Place them in '''''/var/hda/web-apps/ams/elevated''''' directory. You must run these as root user :<blockquoteb>'''''start.sh''''' (execute mail-stop.sh first):{{Text|Text=systemctl start courier-authlib.service;systemctl stop sendmail.service;systemctl start postfix.service;systemctl start saslauthd.service;systemctl restart courier-authlib.service;systemctl start courier-imap.service;</usr/bin/freshclam;systemctl start amavisd.service;systemctl start clamd.amavisd.service;systemctl start postfix.service;spamassassin -b> and <b>mail-lint;systemctl start amavisd.service;sa-update --no-gpg;}}'''''stop.sh''''' (run prior to start.sh):{{Text|Text=systemctl stop courier-authlib.service;systemctl stop sendmail.service;systemctl stop postfix.service;systemctl stop saslauthd.service;systemctl stop courier-imap.service;systemctl stop amavisd.service;systemctl stop clamd.amavisd.service;rm -f </var/spool/amavisd/clamdb> scripts included in the app.sock}} Ensure you set the permissions on both files:{{Code|chown apache:users start.sh stoprun them as root user.shchmod 755 start.sh stop.sh}}</blockquote>
* You can change the Login Credentials for the integrated database manager/web-based installer by doing the following:
*# Open the Login-class.php file in the '''''/var/hda/web-apps/ams/html''''' directory
12,424

edits