summaryrefslogtreecommitdiff
path: root/Installation_Guide/en-US/Preparing_the_System.xml
blob: 5f81c5ef40c03c45034897c62fa979e28f012d50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
<?xml version='1.0' encoding='utf-8' ?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % BOOK_ENTITIES SYSTEM "Community_Installation_Guide.ent">
%BOOK_ENTITIES;
]>
<chapter id="chap-Community_Installation_Guide-Preparing_the_System">
    <title>Preparing the System</title>
    <para>
        The installation of Kolab requires you prepare the system for installation.
    </para>
    <section id="sect-Community_Installation_Guide-Preparing_the_System-Partitioning">
        <title>Partitioning</title>
        <para>
            When installing the Kolab server, we recommend using LVM when partitioning the system. The following directories could benefit from being on separate logical volumes, leaving about 10% of raw disk space in the volume group unallocated:
        </para>
        <para>
            <itemizedlist>
                <listitem>
                    <para>
                        <filename>/var/lib/mysql/</filename>
                    </para>

                </listitem>
                <listitem>
                    <para>
                        <filename>/var/lib/imap/</filename>
                    </para>

                </listitem>
                <listitem>
                    <para>
                        <filename>/var/spool/imap/</filename>
                    </para>

                </listitem>

            </itemizedlist>

        </para>
        <para>
            For large or multi-domain installations, we suggest moving <filename>/var/lib/imap/</filename> and <filename>/var/spool/imap/</filename> to <filename>/srv/imap/[<replaceable>$domain</replaceable>/]config/</filename> and <filename>/srv/imap/[<replaceable>$domain</replaceable>/]default/</filename> respectively. In allowing <filename>/srv/imap/</filename> to be one separate partition, backup using LVM snapshots is easier. Note that <replaceable>$domain</replaceable> in the aforementioned path is optional, and should only be used when multiple, but separate, isolated IMAP servers are to be started.
        </para>
        <note>
            <para>
                When partitions are mounted under the aforementioned directories, they do not necessarily have the correct filesystem permissions any longer. The following is a list of default permissions.
            </para>
            <para>
                <itemizedlist>
                    <listitem>
                        <para>
                            <literal>drwxr-xr-x. 7 mysql mysql 4096 May 11 15:34 /var/lib/mysql/</literal>
                        </para>

                    </listitem>
                    <listitem>
                        <para>
                            <literal>drwxr-x---. 20 cyrus mail 4096 May 11 17:04 /var/lib/imap/</literal>
                        </para>

                    </listitem>
                    <listitem>
                        <para>
                            <literal>drwx------. 3 cyrus mail 4096 May 11 15:36 /var/spool/imap/</literal>
                        </para>

                    </listitem>

                </itemizedlist>

            </para>

        </note>

    </section>

    <section id="sect-Community_Installation_Guide-Preparing_the_System-SELinux">
        <title>SELinux</title>
        <para>
            Not all components of Kolab Groupware are currently completely compatible with running under SELinux enforcing the targeted policy.
        </para>
        <para>
            Please consider configuring SELinux to be permissive. Please let us know what AVC denials occur so we can work on fixing the issue.
        </para>

    </section>

    <section id="sect-Community_Installation_Guide-Preparing_the_System-System_Firewall">
        <title>System Firewall</title>
        <para>
            Kolab Groupware deliberately does not touch any firewall settings, perhaps wrongly assuming you know best. Before you continue, you should verify your firewall allows the standard ports used with Kolab Groupware. These ports include:
        </para>
        <para>
            <itemizedlist>
                <listitem>
                    <formalpara id="form-Community_Installation_Guide-System_Firewall-Port_25_tcp">
                        <title>Port 25, tcp</title>
                        <para>
                            Used to receive emails.
                        </para>

                    </formalpara>

                </listitem>
                <listitem>
                    <formalpara id="form-Community_Installation_Guide-System_Firewall-Port_80_tcp">
                        <title>Port 80, tcp</title>
                        <para>
                            Used for web interfaces.
                        </para>

                    </formalpara>

                </listitem>
                <listitem>
                    <formalpara id="form-Community_Installation_Guide-System_Firewall-Port_110_tcp">
                        <title>Port 110, tcp</title>
                        <para>
                            Used for POP.
                        </para>

                    </formalpara>

                </listitem>
                <listitem>
                    <formalpara id="form-Community_Installation_Guide-System_Firewall-Port_143_tcp">
                        <title>Port 143, tcp</title>
                        <para>
                            Used for web IMAP.
                        </para>

                    </formalpara>

                </listitem>
                <listitem>
                    <formalpara id="form-Community_Installation_Guide-System_Firewall-Port_389_tcp">
                        <title>Port 389, tcp</title>
                        <para>
                            Used for LDAP directory services.
                        </para>

                    </formalpara>

                </listitem>
                <listitem>
                    <formalpara id="form-Community_Installation_Guide-System_Firewall-Port_443_tcp">
                        <title>Port 443, tcp</title>
                        <para>
                            Used for secure web interfaces.
                        </para>

                    </formalpara>

                </listitem>
                <listitem>
                    <formalpara id="form-Community_Installation_Guide-System_Firewall-Port_465_tcp">
                        <title>Port 465, tcp</title>
                        <para>
                            Used for secure mail transmission.
                        </para>

                    </formalpara>

                </listitem>
                <listitem>
                    <formalpara id="form-Community_Installation_Guide-System_Firewall-Port_567_tcp">
                        <title>Port 567, tcp</title>
                        <para>
                            Used for secure mail submission.
                        </para>

                    </formalpara>

                </listitem>
                <listitem>
                    <formalpara id="form-Community_Installation_Guide-System_Firewall-Port_636_tcp">
                        <title>Port 636, tcp</title>
                        <para>
                            Used for secure LDAP directory services.
                        </para>

                    </formalpara>

                </listitem>
                <listitem>
                    <formalpara id="form-Community_Installation_Guide-System_Firewall-Port_993_tcp">
                        <title>Port 993, tcp</title>
                        <para>
                            Used for secure IMAP.
                        </para>

                    </formalpara>

                </listitem>
                <listitem>
                    <formalpara id="form-Community_Installation_Guide-System_Firewall-Port_995_tcp">
                        <title>Port 995, tcp</title>
                        <para>
                            Used for secure POP.
                        </para>

                    </formalpara>

                </listitem>

            </itemizedlist>

        </para>

    </section>

    <section id="sect-Community_Installation_Guide-Preparing_the_System-System_Users">
        <title>System Users</title>
        <para>
            <orderedlist>
                <listitem>
                    <para>
                        No user or group with IDs 412, 413 or 414 may exist on the system prior to the installation of Kolab.
                    </para>

                </listitem>
                <listitem>
                    <para>
                        No user or group with the names <literal>kolab</literal>, <literal>kolab-n</literal> or <literal>kolab-r</literal> may exist on the system prior to the installation of Kolab.
                    </para>

                </listitem>

            </orderedlist>

        </para>

    </section>


</chapter>