| 1 |
sysadm |
1.1 |
PvPGN Install instructions for the Linux/Unix version
|
| 2 |
|
|
-------------------------------------------------------
|
| 3 |
|
|
|
| 4 |
|
|
1. First get your hands on a PvPGN source tarball or a binary package (RPM/etc).
|
| 5 |
|
|
If you got the source follow instructions bellow, if you got a binary package
|
| 6 |
|
|
jump to step 4. If you get the source you will also need to fetch the support
|
| 7 |
|
|
files package.
|
| 8 |
|
|
|
| 9 |
|
|
2. Unpack the source tarball, change current directory to the source directory
|
| 10 |
|
|
(ex. pvpgn-<version>/src) and run configure. You will need to provide configure
|
| 11 |
|
|
with your custom options, ex.
|
| 12 |
|
|
|
| 13 |
|
|
./configure --prefix=<path>
|
| 14 |
|
|
|
| 15 |
|
|
It will configure the source distribution to compile and install in the <path>
|
| 16 |
|
|
location.
|
| 17 |
|
|
|
| 18 |
|
|
./configure --with-mysql
|
| 19 |
|
|
|
| 20 |
|
|
It will configure the source distribution to compile with MySQL support (in
|
| 21 |
|
|
it just tells configure to try to find mysql libs/includes, if it doesnt it
|
| 22 |
|
|
WONT compiled MySQL support; read README.MySQL for more details).
|
| 23 |
|
|
|
| 24 |
|
|
Check using ./configure --help for all available options.
|
| 25 |
|
|
|
| 26 |
|
|
3. Compile and install PvPGN using
|
| 27 |
|
|
|
| 28 |
|
|
*** NOTE ***
|
| 29 |
|
|
you need to use GNU make to compile PvPGN (ie under linux this is
|
| 30 |
|
|
just "make" but under *BSD it is usually named "gmake")
|
| 31 |
|
|
************
|
| 32 |
|
|
|
| 33 |
|
|
$ make
|
| 34 |
|
|
$ make install
|
| 35 |
|
|
|
| 36 |
|
|
WARNING !! make install it will also overwrite the configuration files. Make a
|
| 37 |
|
|
backup of them before doing "make install" (read more about this in the UPDATE
|
| 38 |
|
|
file).
|
| 39 |
|
|
|
| 40 |
|
|
Next thing to do is to unpack the support files package in the "files"
|
| 41 |
|
|
directory of your installed pvpgn (look where pvpgn has installed and search
|
| 42 |
|
|
for a "files" directory, you need to unpack there the support files).
|
| 43 |
|
|
|
| 44 |
|
|
Now you just need to edit the config files and adjust them acording to your
|
| 45 |
|
|
system. Have fun!
|
| 46 |
|
|
|
| 47 |
|
|
4. (only for binary PvPGN distributions)
|
| 48 |
|
|
Depending on the type of package you have obtained (ex RPM, deb, tgz) you will
|
| 49 |
|
|
have to install the package using the right package tool.
|
| 50 |
|
|
|
| 51 |
|
|
Examples:
|
| 52 |
|
|
|
| 53 |
|
|
$ rpm -ivh pvpgn-<ver>.rpm
|
| 54 |
|
|
|
| 55 |
|
|
or
|
| 56 |
|
|
|
| 57 |
|
|
$ installpkg pvpgn-<ver>.tgz
|
| 58 |
|
|
|
| 59 |
|
|
or
|
| 60 |
|
|
|
| 61 |
|
|
$ dpkg -i pvpgn-<ver>.deb
|
| 62 |
|
|
|
| 63 |
|
|
After you install the binary package you will need to adjust PvPGN configuration
|
| 64 |
|
|
files (usually installed in /etc/pvpgn dir). Have fun!
|