Below shows you the steps in order to compile Rancid on an x86 Solaris 10 platform.
RANCID monitors a router’s (or more generally a device’s) configuration, including software and hardware (cards, serial numbers, etc) and uses CVS or Subversion to maintain history of changes.
Space on /var
If you havent much space on /var run the following commands to provide you with some additional space.
mv /var/sadm/ /export/ rm -rfv /var/sadm/ ln -s /export/sadm/ /var/sadm
[mount cd-rom] pkgadd -d /cdrom/Solaris_10/Product/ SUNWsprot SUNWtoo SUNWhea SUNWarc
Add User and $PATH
useradd -d /home/rancid rancid PATH=$PATH:/usr/lib/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/sfw/bin
If useradd does not create the directory you may want to look into removing /home from the /etc/auto_master file.
Download the following dependancies and copy to /export/home
Now run the following command to install
cd /export/home for i in `ls` ; do gunzip $i ; done for i in `ls | grep -v gz` ; do pkgadd -d $i ; done
I ran into a number of issues regarding my grep version not being compatable for the compliling of Rancid. To resolve this follow these steps : CLICK HERE
cd /export/home ; wget ftp://ftp.shrubbery.net/pub/rancid/rancid-2.3.2.tar.gz gunzip rancid-2.3.2.tar.gz tar xvf rancid-2.3.2.tar cd rancid-2.3.2
./configure --prefix=/home/rancid make install
Once this is completed you can move towards configuring Rancid which will be covered in a later tutorial.
Below are some additional issues you may face :
- Solaris 10 x86 – Error compiling from source
- gcc install on Solaris fails with “errno 28, No space left on device”
- How to Configure a BIND Server on Ubuntu - March 15, 2018
- What is a BGP Confederation? - March 6, 2018
- Cisco – What is BGP ORF (Outbound Route Filtering)? - March 5, 2018
Want to become a UNIX expert?
Here is our hand-picked selection of the best courses you can find online:
UNIX Administration Fundamentals
and our recommended certification practice exams:
AlphaPrep Practice Tests - Free Trial