~ubuntu-branches/ubuntu/hardy/mailman/hardy-updates

« back to all changes in this revision

Viewing changes to admin/www/mailman-install/node7.html

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2006-07-03 16:59:25 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060703165925-175ubna955u796c0
Tags: 0:2.1.8-1ubuntu1
* Merge to Debian; remaining Ubuntu changes:
  - debian/mailman.init: Create /var/{run,lock}/mailman.
  - debian/control: exim4 -> postfix.
* debian/control: Dependency fix: apache -> apache2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 
2
<html>
 
3
<head>
 
4
<link rel="STYLESHEET" href="mailman-install.css" type='text/css' />
 
5
<link rel="first" href="mailman-install.html" title='GNU Mailman - Installation Manual' />
 
6
<link rel='last' href='about.html' title='About this document...' />
 
7
<link rel='help' href='about.html' title='About this document...' />
 
8
<link rel="next" href="node8.html" />
 
9
<link rel="prev" href="node6.html" />
 
10
<link rel="parent" href="node6.html" />
 
11
<link rel="next" href="node8.html" />
 
12
<meta name='aesop' content='information' />
 
13
<title>3.1 Run configure</title>
 
14
</head>
 
15
<body>
 
16
<DIV CLASS="navigation">
 
17
<div id='top-navigation-panel' xml:id='top-navigation-panel'>
 
18
<table align="center" width="100%" cellpadding="0" cellspacing="2">
 
19
<tr>
 
20
<td class='online-navigation'><a rel="prev" title="3 Build and install"
 
21
  href="node6.html"><img src='previous.png'
 
22
  border='0' height='32'  alt='Previous Page' width='32' /></A></td>
 
23
<td class='online-navigation'><a rel="parent" title="3 Build and install"
 
24
  href="node6.html"><img src='up.png'
 
25
  border='0' height='32'  alt='Up One Level' width='32' /></A></td>
 
26
<td class='online-navigation'><a rel="next" title="3.2 Make and install"
 
27
  href="node8.html"><img src='next.png'
 
28
  border='0' height='32'  alt='Next Page' width='32' /></A></td>
 
29
<td align="center" width="100%">GNU Mailman - Installation Manual</td>
 
30
<td class='online-navigation'><img src='blank.png'
 
31
  border='0' height='32'  alt='' width='32' /></td>
 
32
<td class='online-navigation'><img src='blank.png'
 
33
  border='0' height='32'  alt='' width='32' /></td>
 
34
<td class='online-navigation'><img src='blank.png'
 
35
  border='0' height='32'  alt='' width='32' /></td>
 
36
</tr></table>
 
37
<div class='online-navigation'>
 
38
<b class="navlabel">Previous:</b>
 
39
<a class="sectref" rel="prev" href="node6.html">3 Build and install</A>
 
40
<b class="navlabel">Up:</b>
 
41
<a class="sectref" rel="parent" href="node6.html">3 Build and install</A>
 
42
<b class="navlabel">Next:</b>
 
43
<a class="sectref" rel="next" href="node8.html">3.2 Make and install</A>
 
44
</div>
 
45
<hr /></div>
 
46
</DIV>
 
47
<!--End of Navigation Panel-->
 
48
 
 
49
<H2><A NAME="SECTION001310000000000000000">
 
50
3.1 Run <b class="program">configure</b></A>
 
51
</H2>
 
52
 
 
53
<P>
 
54
Before you can install Mailman, you must run <b class="program">configure</b> to set
 
55
various installation options your system might need.
 
56
 
 
57
<P>
 
58
<div class="note"><b class="label">Note:</b>
 
59
 
 
60
Take special note of the <b class="programopt">--with-mail-gid</b> and
 
61
<b class="programopt">--with-cgi-gid</b> options below.  You will probably need to use
 
62
these.
 
63
</div>
 
64
 
 
65
<P>
 
66
You should <strong>not</strong> be root while performing the steps in this section.
 
67
Do them under your own login, or whatever account you typically use to install
 
68
software.  You do not need to do these steps as user <code>mailman</code>, but you
 
69
could.  However, make sure that the login used is a member of the
 
70
<code>mailman</code> group as that that group has write permissions to the
 
71
<var>$prefix</var> directory made in the previous step.  You must also have
 
72
permission to create a setgid file in the file system where it resides (NFS
 
73
and other mounts can be configured to inhibit setgid settings).
 
74
 
 
75
<P>
 
76
If you've installed other GNU software, you should be familiar with the
 
77
<b class="program">configure</b> script.  Usually you can just <b class="program">cd</b> to the
 
78
directory you unpacked the Mailman source tarball into, and run
 
79
<b class="program">configure</b> with no arguments:
 
80
 
 
81
<P>
 
82
<div class="verbatim"><pre>
 
83
  % cd mailman-&lt;version&gt;
 
84
  % ./configure
 
85
  % make install
 
86
</pre></div>
 
87
 
 
88
<P>
 
89
The following options allow you to customize your Mailman
 
90
installation.
 
91
 
 
92
<P>
 
93
<DL>
 
94
<DT><STRONG><b class="programopt">--prefix</b>=<var>dir</var></STRONG></DT>
 
95
<DD>Standard GNU configure option which changes the base directory that
 
96
    Mailman is installed into.  By default <var>$prefix</var> is
 
97
    <span class="file">/usr/local/mailman</span>.  This directory must already exist, and be set
 
98
    up as described in <A href="create-install-dir.html#create-install-dir">2.2</A>.
 
99
 
 
100
<P>
 
101
</DD>
 
102
<DT><STRONG><b class="programopt">--exec-prefix</b>=<var>dir</var></STRONG></DT>
 
103
<DD>Standard GNU configure option which lets you specify a different
 
104
    installation directory for architecture dependent binaries.
 
105
 
 
106
<P>
 
107
</DD>
 
108
<DT><STRONG><b class="programopt">--with-var-prefix</b>=<var>dir</var></STRONG></DT>
 
109
<DD>Store mutable data under <var>dir</var> instead of under the <var>$prefix</var> or
 
110
    <var>$exec_prefix</var>.  Examples of such data include the list archives and
 
111
    list settings database.
 
112
 
 
113
<P>
 
114
</DD>
 
115
<DT><STRONG><b class="programopt">--with-python</b>=<span class="file">/path/to/python</span></STRONG></DT>
 
116
<DD>Specify an alternative Python interpreter to use for the wrapper programs.
 
117
    The default is to use the interpreter found first on your shell's
 
118
    <var>$PATH</var>.
 
119
 
 
120
<P>
 
121
</DD>
 
122
<DT><STRONG><b class="programopt">--with-username</b>=<var>username-or-uid</var></STRONG></DT>
 
123
<DD>Specify a different username than <code>mailman</code>.  The value of this
 
124
    option can be an integer user id or a user name.  Be sure your
 
125
    <var>$prefix</var> directory is owned by this user.
 
126
 
 
127
<P>
 
128
</DD>
 
129
<DT><STRONG><b class="programopt">--with-groupname</b>=<var>groupname-or-gid</var></STRONG></DT>
 
130
<DD>Specify a different groupname than <code>mailman</code>.  The value of this
 
131
    option can be an integer group id or a group name.  Be sure your
 
132
    <var>$prefix</var> directory is group-owned by this group.
 
133
 
 
134
<P>
 
135
</DD>
 
136
<DT><STRONG><b class="programopt">--with-mail-gid</b>=<var>group-or-groups</var></STRONG></DT>
 
137
<DD>Specify an alternative group for running scripts via the mail wrapper.
 
138
    <var>group-or-groups</var> can be a list of one or more integer group ids or
 
139
    symbolic group names.  The first value in the list that resolves to an
 
140
    existing group is used.  By default, the value is the list <code>mailman</code>,
 
141
    <code>other</code>, <code>mail</code>, and <code>daemon</code>.
 
142
 
 
143
<P>
 
144
<div class="note"><b class="label">Note:</b>
 
145
 
 
146
    This is highly system dependent and you must get this right, because the
 
147
    group id is compiled into the mail wrapper program for added security.  On
 
148
    systems using <b class="program">sendmail</b>, the <span class="file">sendmail.cf</span> configuration
 
149
    file designates the group id of <b class="program">sendmail</b> processes using the
 
150
    <var>DefaultUser</var> option.  (If commented out, it still may be indicating
 
151
    the default...)
 
152
    </div>
 
153
 
 
154
<P>
 
155
Check your mail server's documentation and configuration files to find the
 
156
    right value for this switch.
 
157
 
 
158
<P>
 
159
</DD>
 
160
<DT><STRONG><b class="programopt">--with-cgi-gid</b>=<var>group-or-groups</var></STRONG></DT>
 
161
<DD>Specify an alternative group for running scripts via the CGI wrapper.
 
162
    <var>group-or-groups</var> can be a list of one or more integer group ids or
 
163
    symbolic group names.  The first value in the list that resolves to an
 
164
    existing group is used.  By default, the value is the the list
 
165
    <code>www</code>, <code>www-data</code>, and <code>nobody</code>.
 
166
 
 
167
<P>
 
168
<div class="note"><b class="label">Note:</b>
 
169
 
 
170
    The proper value for this is dependent on your web server configuration.
 
171
    You must get this right, because the group id is compiled into the CGI
 
172
    wrapper program for added security, and no Mailman CGI scripts will run if
 
173
    this is incorrect.
 
174
    </div>
 
175
 
 
176
<P>
 
177
If you're using Apache, check the values for the <var>Group</var> option in
 
178
    your <span class="file">httpd.conf</span> file.
 
179
 
 
180
<P>
 
181
</DD>
 
182
<DT><STRONG><b class="programopt">--with-cgi-ext</b>=<var>extension</var></STRONG></DT>
 
183
<DD>Specify an extension for cgi-bin programs.  The CGI wrappers placed in
 
184
    <span class="file"><var>$prefix</var>/cgi-bin</span> will have this extension (some web servers
 
185
    require an extension).  <var>extension</var> must include the leading dot.
 
186
 
 
187
<P>
 
188
</DD>
 
189
<DT><STRONG><b class="programopt">--with-mailhost</b>=<var>hostname</var></STRONG></DT>
 
190
<DD>Specify the fully qualified host name part for outgoing email.  After the
 
191
    installation is complete, this value can be overriden in
 
192
    <span class="file"><var>$prefix</var>/Mailman/mm_cfg.py</span>.
 
193
 
 
194
<P>
 
195
</DD>
 
196
<DT><STRONG><b class="programopt">--with-urlhost</b>=<var>hostname</var></STRONG></DT>
 
197
<DD>Specify the fully qualified host name part of urls.  After the
 
198
    installation is complete, this value can be overriden in
 
199
    <span class="file"><var>$prefix</var>/Mailman/mm_cfg.py</span>.
 
200
 
 
201
<P>
 
202
</DD>
 
203
<DT><STRONG><b class="programopt">--with-gcc</b>=no</STRONG></DT>
 
204
<DD>Don't use gcc, even if it is found.  In this case, <b class="program">cc</b> must be
 
205
    found on your <var>$PATH</var>.
 
206
 
 
207
<P>
 
208
</DD>
 
209
</DL>
 
210
 
 
211
<P>
 
212
 
 
213
<DIV CLASS="navigation">
 
214
<div class='online-navigation'>
 
215
<p></p><hr />
 
216
<table align="center" width="100%" cellpadding="0" cellspacing="2">
 
217
<tr>
 
218
<td class='online-navigation'><a rel="prev" title="3 Build and install"
 
219
  href="node6.html"><img src='previous.png'
 
220
  border='0' height='32'  alt='Previous Page' width='32' /></A></td>
 
221
<td class='online-navigation'><a rel="parent" title="3 Build and install"
 
222
  href="node6.html"><img src='up.png'
 
223
  border='0' height='32'  alt='Up One Level' width='32' /></A></td>
 
224
<td class='online-navigation'><a rel="next" title="3.2 Make and install"
 
225
  href="node8.html"><img src='next.png'
 
226
  border='0' height='32'  alt='Next Page' width='32' /></A></td>
 
227
<td align="center" width="100%">GNU Mailman - Installation Manual</td>
 
228
<td class='online-navigation'><img src='blank.png'
 
229
  border='0' height='32'  alt='' width='32' /></td>
 
230
<td class='online-navigation'><img src='blank.png'
 
231
  border='0' height='32'  alt='' width='32' /></td>
 
232
<td class='online-navigation'><img src='blank.png'
 
233
  border='0' height='32'  alt='' width='32' /></td>
 
234
</tr></table>
 
235
<div class='online-navigation'>
 
236
<b class="navlabel">Previous:</b>
 
237
<a class="sectref" rel="prev" href="node6.html">3 Build and install</A>
 
238
<b class="navlabel">Up:</b>
 
239
<a class="sectref" rel="parent" href="node6.html">3 Build and install</A>
 
240
<b class="navlabel">Next:</b>
 
241
<a class="sectref" rel="next" href="node8.html">3.2 Make and install</A>
 
242
</div>
 
243
</div>
 
244
<hr />
 
245
<span class="release-info">Release 2.1, documentation updated on December 13, 2005.</span>
 
246
</DIV>
 
247
<!--End of Navigation Panel-->
 
248
 
 
249
</BODY>
 
250
</HTML>