Debian Codegraph @

doc/howto/Upgrade.html

raw symbols SCIP
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>ProFTPD: Upgrading</title>
5 </head>
6
7 <body bgcolor=white>
8
9 <hr>
10 <center><h2><b>ProFTPD: Upgrading</b></h2></center>
11 <hr>
12
13 <p>
14 Upgrading <code>proftpd</code> is usually a straightforward process, but
15 as with any upgrade, double-checking that the upgrade will not break anything
16 is a Good Idea.
17
18 <p>
19 Recent ProFTPD releases have a <code>RELEASE_NOTES</code> file in the
20 source distribution that documents the changes in that release, including
21 new configuration directives, new contrib modules, deprecated directives,
22 special instructions, <i>etc</i>. In addition, the <code>NEWS</code> file
23 contains a list of the bugs that have fixed, and comments about any changes
24 the bugfix required. <b>Please</b> read these files carefully before
25 starting your upgrade.
26
27 <p>
28 One safe way to test the upgrade is to compile the new <code>proftpd</code>,
29 and test it out on your existing configuration file before actually installing
30 the new version into the &quot;live&quot; location:
31 <pre>
32 $ tar zxvf proftpd-<i>version</i>.tar.gz
33 $ cd proftpd-<i>version</i>/
34 $ ./configure ..
35 $ make
36 $ ./proftpd -t -d10 -c /path/to/proftpd.conf
37 </pre>
38 The &quot;<code>./proftpd</code>&quot; means to use the new
39 <code>proftpd</code> binary compiled by <code>make</code>, but not yet
40 installed. If the new binary reports errors, make a copy of your existing
41 <code>proftpd.conf</code> file, keeping the old one as a backup:
42 <pre>
43 $ cp /path/to/proftpd.conf /path/to/proftpd.conf.new
44 </pre>
45 Make any needed changes to the <code>proftpd.conf.new</code> file, until
46 the new <code>proftpd</code> binary reports a successful syntax check:
47 <pre>
48 $ ./proftpd -t -d10 -c /path/to/proftpd.conf.new
49 </pre>
50
51 <p>
52 Once everything is configured the way you like, install the new binary and
53 configuration file:
54 <pre>
55 $ make install
56 $ cp /path/to/proftpd.conf /path/to/proftpd.conf.old
57 $ mv /path/to/proftpd.conf.new /path/to/proftpd.conf
58 </pre>
59 Now do a stop/start on <code>proftpd</code>, and the new version of ProFTPD
60 will be running.
61
62 <p>
63 <hr>
64 <font size=2><b><i>
65 &copy; Copyright 2017 The ProFTPD Project<br>
66 All Rights Reserved<br>
67 </i></b></font>
68 <hr>
69
70 </body>
71 </html>