Posts

Install NS3

Install NS3 (ns-allinone-3.17) on Ubuntu 12.04/14.04 for beginners Installation steps for NS3 (ns-allinone-3.17): Follow the given steps for the installation of NS-3. First install some dependencies to enable the NS-3 execution environment on your Ubuntu 12.04/14.04 LTS machine. sudo apt-get install gcc g++ python sudo apt-get install gcc g++ python python-dev sudo apt-get install mercurial sudo apt-get install bzr sudo apt-get install gdb valgrind sudo apt-get install gsl-bin libgsl0-dev libgsl0ldbl sudo apt-get install flex bison libfl-dev sudo apt-get install g++-3.4 gcc-3.4 sudo apt-get install tcpdump sudo apt-get install sqlite sqlite3 libsqlite3-dev sudo apt-get install libxml2 libxml2-dev sudo apt-get install libgtk2.0-0 libgtk2.0-dev sudo apt-get install vtun lxc sudo apt-get install uncrustify sudo apt-get install doxygen graphviz imagemagick sudo apt-get install texlive texlive-extra-utils texlive-latex-extra sudo apt-get install python-s

Leach protocol installation in network simulator 2

Leach protocol installation in ns2 had to go through the following steps:  As far as I have studied, I got two patches for Leach 1. MIT patch 2. Mannasim patch- I didnt work much with it but if you dont want to meddle much with tcl, you can use it. Ok, the prerequisite is Ubuntu 10.04. We need to install ns-2.34  over that because LEACH MIT patch was made in 2000. Its a little painful to use the old OS, but it has to be done. Again you can have your OS on a virtual box on windows (only if you are not concerned with speed and not in love with your computer). 1. Download  ns-234-leach.tar.gz. Keep this in your /home/$userID/ns-allinone-2.34/ns-2.34. (Assuming you ns-allinone is in home dir) Leach ns2.34   2. Download the bash file "leach-setup.sh" into the directory " /home/$userID/ ns-allinone-2.34/ns-2.34".   leach-sh 3- Now find /home/arun/ns-allinone-2.35/ns-2.35 in the leach-setup.sh file and replace it with your own path. /home/$username/ns-a

how to install NS-2.33 installation in Ubuntu 12.04 and 14.4

Follow the below given steps: Download ns-allinnone-2.33 from nasam website copy to  home folder extract zip file              1.sudo apt-get install update  Install required libraries for ns2 using terminal  2.sudo apt-get install build-essential autoconf automake libxmu-dev 3. sudo apt-get install xorg-dev g++ xgraph  Then,  go to ns-allinone-2.33 4. ./install For errors, 1. ld: libotcl.so: hidden symbol `__stack_chk_fail_local' isn't defined ld: final link failed: Bad value make: *** [libotcl.so] Error 1 otcl-1.13 make failed! Exiting ... Solution: In otcl-1.13/configure, line number 6304 -SHLIB_LD="ld -shared" +SHLIB_LD="gcc -shared" 2. tools/ranvar.cc: In member function ‘virtual double GammaRandomVariable::value()’: tools/ranvar.cc:219:70: error: cannot call constructor ‘GammaRandomVariable::GammaRandomVariable’ directly [-fpermissive] tools/ranvar.cc:219:70: error:   for a function-style cast, remove the redundan

How to Install NS All In One 2.35 in Ubuntu 12.04

As Ubuntus new version 12.04 LTS needs following packages before any further installation,otherwise it will not work with it. Please follow the following steps: 1. Download & install some packages from repository if needed (Now its optional)           $ sudo apt-get update           $ sudo apt-get install build-essential autoconf automake libxmu-dev  2. Download NS All In One 2.35 URL: http://sourceforge.net/projects/nsnam/files/allinone/ns-allinone-2.35/ns-allinone-2.35.tar.gz/download          $ tar -zxvf ns-allinone-2.35.tar.gz          $ cd ns-allinone-2.35           $ ./install   3. Set environment variables           $ gedit ~/.bashrc Add the following lines to the end of the file. Remember replace “/your/path” by the folder where you have stored extracted the ns-2 file (For example, if your Linux account name is purple, and you have extracted the file to your home directory, you have to change /your path # LD_LIBRARY_PATH O

how to install Eclipse IDE on Ubuntu 11.10

Open Terminal (Shortcut : Ctrl+Alt+t) and execute - sudo apt-get install eclipse Once you’ve installed the eclipse platform and its dependencies, you can install the required package/plugin for your job. e.g if you are a java developer then install JDT (Java Development Tools) using the command - sudo apt-get install eclipse-jdt for C/C++ programming, install CDT plugin, sudo apt-get install eclipse-cdt

Run Your Apache Server

Run Apache Server -apache-tomcat-7.0.41\apache-tomcat-7.0.41\bin\startup.bat and for shut down \shutdown.bat then Type In your browser. localhost:8080 Change the Local Host Port No. 8080 to 7070 or any other Go to  pache-tomcat-7.0.41\apache-tomcat-7.0.41\conf\server.xml and search connector and change it

What Is Tomcat Default Administrator Password ?

By default, Tomcat does not enable admin or manager access. To enable it, you have to edit the “ %TOMCAT_FOLDER%/conf/tomcat-users.xml ” manually. File : tomcat-users.xml (before update) , initially, Tomcat comments all users and roles like above. <?xml version = '1.0' encoding = 'utf-8' ?> <tomcat-users> <!-- <role rolename="tomcat"/> <role rolename="role1"/> <user username="tomcat" password="tomcat" roles="tomcat"/> <user username="both" password="tomcat" roles="tomcat,role1"/> <user username="role1" password="tomcat" roles="role1"/> --> </tomcat-users> File : tomcat-users.xml (after updated) <?xml version = '1.0' encoding = 'utf-8' ?> <tomcat-users> <!-- <role rolename="tomcat"/> <role rolename="role1"

PHP installation on windows

Image
PHP Installation..On Windows Step 1: download the files Download the latest PHP 5 ZIP package from www.php.net/downloads.php As always, virus scan the file and check its MD5 checksum using a tool such as fsum . Step 2: extract the files We will install the PHP files to C:\php, so create that folder and extract the contents of the ZIP file into it. PHP can be installed anywhere on your system, but you will need to change the paths referenced in the following steps. Step 3: configure php.ini Copy C:\php\php.ini-recommended to C:\php\php.ini. There are several lines you will need to change in a text editor (use search to find the current setting). Define the extension directory: extension_dir = "C:\php\ext" Enable extensions. This will depend on the libraries you want to use, but the following extensions should be suitable for the majority of applications (remove the semi-colon comment): extension=php_curl.dll extension=php_gd2.dll extension=php_mbstrin