1 |
titanofold 15/02/25 15:04:10 |
2 |
|
3 |
Modified: postinstall-en-2.3.txt |
4 |
Log: |
5 |
Abstracted post-install instructions so that they are database agnostic. Fixes bug 387773. |
6 |
|
7 |
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key D1BBFDA0) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 www-apps/postfixadmin/files/postinstall-en-2.3.txt |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/postfixadmin/files/postinstall-en-2.3.txt?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/postfixadmin/files/postinstall-en-2.3.txt?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/postfixadmin/files/postinstall-en-2.3.txt?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: postinstall-en-2.3.txt |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/www-apps/postfixadmin/files/postinstall-en-2.3.txt,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- postinstall-en-2.3.txt 16 Mar 2010 19:15:32 -0000 1.1 |
23 |
+++ postinstall-en-2.3.txt 25 Feb 2015 15:04:10 -0000 1.2 |
24 |
@@ -1,47 +1,47 @@ |
25 |
-You will need to provide a database for your postfixadmin installation. |
26 |
+First Time Installation |
27 |
+======================= |
28 |
+PostfixAdmin can use either MySQL or PostgreSQL. It is up to you, or your |
29 |
+database administrator, to provide a database and a user with full access to |
30 |
+the database for use by PostfixAdmin. |
31 |
|
32 |
-This assumes you have some knowledge of MySQL, and already have it |
33 |
-installed and configured. If not, please refer to the Gentoo MySQL |
34 |
-guide at the following URL: |
35 |
+If you are unfamiliar with MySQL or PostgreSQL, we have some good starting |
36 |
+guides: |
37 |
|
38 |
-http://www.gentoo.org/doc/en/mysql-howto.xml |
39 |
+ * http://www.gentoo.org/doc/en/mysql-howto.xml |
40 |
+ * https://wiki.gentoo.org/wiki/PostgreSQL |
41 |
|
42 |
-Log in to MySQL, and create a new database as well as a user with full |
43 |
-access to this database. After that you will need to provide the details |
44 |
-of this database and the associated user within the file |
45 |
+Once the database and user have been allocated, you will need to provide the |
46 |
+details of this database and the associated user within the configuration file: |
47 |
|
48 |
-${MY_INSTALLDIR}/config.inc.php |
49 |
+ ${MY_INSTALLDIR}/config.inc.php |
50 |
|
51 |
-Make sure you also set |
52 |
+In the same configuration file, check for other settings that are relevant to |
53 |
+your setup. Once you're finished with your changes, make sure you set: |
54 |
|
55 |
$CONF['configured'] = true; |
56 |
|
57 |
-in this file. |
58 |
+To use Virtual Vacation, please read VIRTUAL_VACATION_INSTALL. |
59 |
|
60 |
-Finally you should be able to complete the installation of postfixadmin |
61 |
-by pointing your browser at |
62 |
+Finally you should be able to complete the installation of postfixadmin by |
63 |
+pointing your browser at: |
64 |
|
65 |
http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/setup.php |
66 |
|
67 |
- |
68 |
-Updating from older version of Postfix Admin: |
69 |
- * When you are upgrading from an older Postfix Admin version, make sure you |
70 |
- * backup your database before you run the update script on your database. |
71 |
- * mysqldump -a -u root -p > /tmp/postfixadmin-backup.sql |
72 |
- |
73 |
- For update from version 1.5.x of Postfix Admin: |
74 |
- 1. Please read the DOCUMENTS/UPGRADE.TXT |
75 |
- 2. Run: http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/setup.php |
76 |
- |
77 |
- |
78 |
-To use Virtual Vacation, please read VIRTUAL_VACATION_INSTALL. |
79 |
- |
80 |
-Check the config.inc.php file. There you can specify settings that are |
81 |
-relevant to your setup. |
82 |
- |
83 |
Postfix Admin contains 3 views of administration: |
84 |
1. Site Admin view, located at http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/admin/. |
85 |
2. Domain Admin view, located at http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/. |
86 |
3. User Admin View, located at http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/users/. |
87 |
|
88 |
In order to do the initial configuration you have to go to the Site Admin view. |
89 |
+ |
90 |
+Upgrading |
91 |
+========= |
92 |
+When updating from older version of PostfixAdmin, make sure you backup your |
93 |
+database before you run the update script on your database. |
94 |
+ |
95 |
+ * mysqldump -a -u root -p > /tmp/postfixadmin-backup.sql |
96 |
+ * pg_dump -U postgres -d postgres -C -f pa-db-backup.sql postfixadmin_db |
97 |
+ |
98 |
+For update from version 1.5.x of PostfixAdmin: |
99 |
+ 1. Please read the DOCUMENTS/UPGRADE.TXT |
100 |
+ 2. Run: http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/setup.php |