Following are the prerequisites which needs to be installed before installing INetSim:
Important Points to remember:
For installing Perlipq follow the steps below:
Before installing perl library Perlipq you need to install one more package i.e iptables-dev.
To install iptables-dev, run the following command:
$ apt-get install iptables-dev
After downloading all the libraries from the above links,use the following commands from the respective downloaded folders to install net::server, net::dns, ipc::shareable, digest::sha, io::socket::ssl
- Perl library Net::Server
- Perl library Net::DNS
- Perl library IPC::Shareable
- Perl library Digest::SHA
- Perl library IO::Socket::SSL
- Perl library Perlipq (Optional)
The above libraries can be installed either manually or using apt-get method. You can use either one to install the libraries. Manual approach will help you to install the latest libraries.
One library,i.e Perlipq, you need to install manually. This library helps in redirection of ip addresses... i.e port forwarding ,etc,etc ....
One library,i.e Perlipq, you need to install manually. This library helps in redirection of ip addresses... i.e port forwarding ,etc,etc ....
1st Approach:
Automated Installation of the prerequisites:
Installing perl library Net::Server
$ apt-get install libnet-server-perl
Installing perl library Net::DNS
$ apt-get install libnet-dns-perl
Installing perl library IPC::Shareable
$ apt-get install libipc-shareable-perl
Installing perl library Digest::SHA
$ apt-get install libdigest-sha-perl
Installing perl library IO::Socket::SSL
$ apt-get install libio-socket-ssl-perl
2nd Approach:
Manual installation of the above prerequisites:
Alternatively, you can install the above library packages manually.
Download the above libraries from the following links:
- Download Net::Server library from here
- Download Net::DNS library from here
- Download IPC::Shareable library from here
- Download Digest::SHA library from here
- Download IO::Socket::SSL library from here
- Download Perl library Perlipq from here
Important Points to remember:
For installing Perlipq follow the steps below:
Before installing perl library Perlipq you need to install one more package i.e iptables-dev.
To install iptables-dev, run the following command:
$ apt-get install iptables-dev
After downloading all the libraries from the above links,use the following commands from the respective downloaded folders to install net::server, net::dns, ipc::shareable, digest::sha, io::socket::ssl
$ perl Makefile.PL
$ make
$ make test
$ make install
Use the following commands to install the Perlipq library:
Note: There is one bug in t/simple.t file of perlipq in line number 49. So don't run the make test command .... just install it using make install command as instructed above.
Now, before installing the INetSim run the following command:
Use the following commands to install the Perlipq library:
$ perl Makefile.PL
$ make
$ make install
$ make install
Note: There is one bug in t/simple.t file of perlipq in line number 49. So don't run the make test command .... just install it using make install command as instructed above.
Now, before installing the INetSim run the following command:
$ apt-get -f install
Note:The above command will fix the broken dependency,if any. Hence it is necessary to run the above command.
Now your system is ready to install the INetSim software:
Installing INetSim:
- Dowload the INetSim from here
- Install it by running the following command:$ dpkg -i inetsim_1.2.4-1_all.deb
No comments:
Post a Comment