| 42 | |
| 43 | = Installing !NetServ = |
| 44 | |
| 45 | Dependencies: |
| 46 | |
| 47 | {{{ |
| 48 | # for building netserv |
| 49 | sudo apt-get update |
| 50 | sudo apt-get install \ |
| 51 | build-essential \ |
| 52 | automake \ |
| 53 | openssl \ |
| 54 | libtool \ |
| 55 | libnetfilter-queue-dev \ |
| 56 | ntp \ |
| 57 | libpoco-dev \ |
| 58 | libssl-dev \ |
| 59 | libxerces-c-dev \ |
| 60 | xsdcxx |
| 61 | |
| 62 | # Install OpenJDK if no JDK has been installed already. |
| 63 | # |
| 64 | # sudo apt-get install openjdk-6-jdk |
| 65 | # |
| 66 | # If some other JDK has been installed already, make sure JAVA_HOME |
| 67 | # environment variable is set in .bashrc for both the geni user and |
| 68 | # root. For example, if Sun JDK has been installed, the following |
| 69 | # line should be in both .bashrc: |
| 70 | # |
| 71 | # export JAVA_HOME=/usr/lib/jvm/java-6-sun |
| 72 | # |
| 73 | |
| 74 | # for tutorial |
| 75 | sudo apt-get update |
| 76 | sudo apt-get install \ |
| 77 | vim-gtk \ |
| 78 | subversion |
| 79 | }}} |
| 80 | |
| 81 | Install !NetServ code: |
| 82 | |
| 83 | {{{ |
| 84 | cd /home/geni/Tutorials/NetServ |
| 85 | svn co svn://saesaksi.cs.columbia.edu/netserv/branches/gec-tutorial |
| 86 | |
| 87 | sudo ln -s /home/geni/Tutorials/NetServ/gec-tutorial /netserv-root |
| 88 | cd /netserv-root |
| 89 | }}} |
| 90 | |
| 91 | Build !NetServ core |
| 92 | |
| 93 | {{{ |
| 94 | ./build-netserv-gec-tutorial.sh |
| 95 | }}} |
| 96 | |