Help
Installation and applying the first patch
The installation as instructed with the mirror package is very straightforward, but must be done exactly correctly!
mkdir /tmp/mirror cd /tmp/mirror tar -zxvf /path/to/mirror.tar.gz patch < /path/to/mirror_ftp.patch perl install.pl
If you are installing mirror system-wide, you probably want to select the following options, but it is up to personal choice:
- Use perl from: /usr/bin/perl
- Store commands in: /usr/local/bin
- Place support libraries in: /usr/local/lib/mirror
If you are installing it as an end-user, then you probably want to put the commands in $HOME/bin and the libraries in $HOME/lib/mirror
Now, you must ensure that the directory that you stored the support library files in is in the PERLLIB and PERL5LIB path.
If you are installing system-wide and have placed the library files in /usr/local/lib/mirror, then edit /etc/profile and add the line:
export PERLLIB="$PERLLIB:/usr/local/lib/mirror" export PERL5LIB="$PERL5LIB:/usr/local/lib/mirror"
If you are installing as an end-user, then edit your $HOME/.bashrc and specify the library directory in the same way.