From 63f44c9b2d830fa38ec3b843da051330f664d864 Mon Sep 17 00:00:00 2001 From: David Goodwin Date: Thu, 25 Jan 2018 20:58:48 +0000 Subject: [PATCH] update INSTALL.TXT to mention public/ etc --- INSTALL.TXT | 44 +++++++++++++++++++++++++++++--------------- 1 file changed, 29 insertions(+), 15 deletions(-) diff --git a/INSTALL.TXT b/INSTALL.TXT index c81746f9..caa0dbda 100644 --- a/INSTALL.TXT +++ b/INSTALL.TXT @@ -41,15 +41,25 @@ DOCUMENTS/ folder. 1. Unarchive new Postfix Admin ------------------------------ -Make sure that you are in your WWW directory and then unarchive the -Postfix Admin archive (whatever the filename is): +(if you installed PostfixAdmin as RPM or DEB package, you can obviously skip this step.) - $ tar -zxvf postfixadmin-$version.tgz +Assuming we are installing Postfixadmin into /srv/postfixadmin, then something like this should work : -(if you installed PostfixAdmin as RPM or DEB package, you can obviously skip this step.) + $ mkdir -p /srv/postfixadmin + $ cd /srv/postfixadmin + $ wget -O https://github.com/postfixadmin/postfixadmin/archive/postfixadmin-3.1.tar.gz postfixadmin-3.1.tar.gz + $ tar -zxvf postfixadmin-version.tgz + + +2. Setup Web Server +------------------- + +Assuming /var/www/html is where your webserver reads from : + + $ ln -s /srv/postfixadmin/public /var/www/html/postfixadmin -2. Setup a Database +3. Setup a Database ------------------- With your chosen/preferred database server (i.e. MySQL or PostgreSQL), @@ -73,10 +83,10 @@ For PostgreSQL: CREATE DATABASE postfix OWNER postfix ENCODING 'unicode'; -3. Configure PostfixAdmin so it can find the database +4. Configure PostfixAdmin so it can find the database ----------------------------------------------------- -Create a config.local.php file for your local configuration: +Create /srv/postfixadmin/config.local.php file for your local configuration: