1 |
dpavlin |
1.1 |
<h1>Upgrade<h1> |
2 |
|
|
|
3 |
|
|
<h2>From docman v1.x</h2> |
4 |
|
|
|
5 |
|
|
<p> |
6 |
|
|
When designing <a href="new_directory_layout.html">New Directory Layout</a> |
7 |
|
|
special care has been taken to enable migration from docman v1.x as easy |
8 |
|
|
as possible. However, you will need to move and edit some files, but most |
9 |
dpavlin |
1.2 |
of your existing directory will be left intact (and if fact, it will |
10 |
dpavlin |
1.1 |
become |
11 |
|
|
<a href="new_directory_layout.html#repository">repository directory</a>, |
12 |
|
|
so you will have to remove it from your web server's scope). |
13 |
|
|
</p> |
14 |
|
|
|
15 |
|
|
<A name="docman_conf"> |
16 |
|
|
<h3>master configuration file</h3> |
17 |
|
|
|
18 |
|
|
<p>New in docman version 2 is master configuration file ( |
19 |
|
|
<a href="install.html#docman_conf">see installation instructions</a>) |
20 |
|
|
which basically sets just <tt>$gblIncDir</tt> which is root directory |
21 |
|
|
of your docman installation. |
22 |
|
|
</p> |
23 |
|
|
<p>This file is by default located at <tt>/etc/docman.conf</tt> and you |
24 |
dpavlin |
1.2 |
can add configuration options to it which you want to use on <b>all docman |
25 |
|
|
installations</b> on that particular machine. |
26 |
dpavlin |
1.1 |
</p> |
27 |
|
|
|
28 |
|
|
<big>FIX</big> |
29 |
|
|
|
30 |
|
|
<p> |
31 |
|
|
For now, you will have to examine |
32 |
|
|
<a href="new_directory_layout.html">New Directory Layout</a> and |
33 |
|
|
<a href="install.html">Installation instructions</a> because this |
34 |
|
|
part hasn't been completed yet. |
35 |
|
|
</p> |
36 |
|
|
|
37 |
|
|
<a name="cvs"> |
38 |
|
|
<h2>To latest version from CVS</h2> |
39 |
|
|
|
40 |
|
|
New preferred way to upgrade is to use CVS checkout from repository |
41 |
|
|
at <tt>cvs.linux.hr</tt>. This will <b>not</b> overwrite your realm |
42 |
|
|
files, but you should checkout only stable versions (which has tag |
43 |
|
|
in form <tt>v[major]_[minor]</tt> if current stable docman is |
44 |
dpavlin |
1.2 |
<tt>docman-major.minor.tar.gz</tt>) if you don't feel adventurous. |
45 |
dpavlin |
1.1 |
|
46 |
|
|
<h3>First time check-out</h3> |
47 |
|
|
|
48 |
|
|
<pre> |
49 |
|
|
$ cvs -d :pserver:anonymous@cvs.linux.hr:/cvsroot login |
50 |
|
|
password: [just enter] |
51 |
|
|
$ cvs -d :pserver:anonymous@cvs.linux.hr:/cvsroot co -r2.x docman2 |
52 |
|
|
</pre> |
53 |
|
|
|
54 |
dpavlin |
1.2 |
<h3>If you already have check-out from CVS</h3> |
55 |
dpavlin |
1.1 |
|
56 |
|
|
<pre> |
57 |
|
|
$ cd /home/httpd/docman2 |
58 |
|
|
$ cvs update -r2.x |
59 |
|
|
</pre> |
60 |
|
|
|