You are on page 1of 2

Assignment 2

Aim:
Project workstation selection, installation along with setup and installation report
preparation.

Workstation:
 Operating System : Linux Ubuntu

Prerequisite Software (Development):


 NETBEANS IDE
 JDK
 CRIU

Installation Procedure:

A. NETBEANS IDE:

Steps to install sdk:

sudo add-apt-repository ppa:webupd8team/java


sudo apt-get update
sudo apt-get install oracle-java7-installer

To test and ensure that your system is running the correct version of Java you can execute the
following command:
java -version

Netbeans is simple to install on Linux as it has a handy graphical wizard to lead you through the
installation steps. We used the following commands to download and install it (7.4 is the latest
version):

cd ~
wget download.netbeans.org/netbeans/7.3/final/bundles/netbeans-7.3-linux.sh
chmod +x netbeans-7.3-linux.sh
./netbeans-7.3-linux.sh
This should mean that it will install Netbeans to a directory at /home/<user>/netbeans-7.3.

Netbeans can be also downloaded from the website https://netbeans.org/downloads/


B. COMMANDS TO INSTALL CRIU:

sudo apt-get install criu

1. Install the dependencies to compile CRIU


sudo apt-get update && sudo apt-get install -y protobuf-c-compiler libprotobuf-c0-dev protobuf-
compiler libprotobuf-dev:amd64 gcc build-essential bsdmainutils python git-core asciidoc make
htop git curl supervisor cgroup-lite libapparmor-dev libseccomp-dev libprotobuf-dev libprotobuf-
c0-dev protobuf-c-compiler protobuf-compiler python-protobuf libnl-3-dev libcap-dev libaio-dev
apparmor

2. Clone the CRIU project from github, and make.


git clone https://github.com/xemul/criu.git criu
cd criu
make clean
make
make install

3. Use the following command to see if your kernel supports all features. if the first command’s
output is “looks good”, most features will work.
sudo criu check
sudo criu check --all

You might also like