VIRTUAL MACHINE SETUP PS: you should have a minimum of 512 MB of RAM. 1 GB of RAM or more is recommended. 0- Download Ubuntu Deskop http://www.ubuntu.com/download/desktop 1- Go to http://www.oracle.com/technetwork/server-storage/virtualbox/downloads/index.html#vbox 2- Select file (eg: Windows (32-bit/64-bit) Windows Installer) 3-Click Run 4- Click Next
5-Click Next 6- Click Next 7-Click Yes
8-Click Install - 9-Wait 10-Click Finish
11-Click New 12-Write a descriptive name, select type and version
13-Select memory size. VirtualBox will try to guess how much of your memory (or RAM) to allocate for the virtual machine. If you have 1 GB or less of RAM, I would advise you stick with the recommendation. If, however, you have over 1 GB, about a quarter your RAM or less should be fine. For example, if you have 2 GB of RAM, 512 MB is fine to allocate. If you have 4 GB of RAM, 1 GB is fine to allocate.
14-Select Create a virtual hard drive now and click Create 15-Select VDI and click next 16-Select Fixed size. Dynamically allocated is more memory efficient since it only occupies the memory that you use. However, it can lead to memory issues while installing and using some softwares.
17-Specify virtual hard disk size - Wait -Done
18-Click on Settings 19- Click Storage 20- Select Host Drive, 21- Under Attributes, next to CD/DVD Drive, click cd logo 22 - locate the virtual CD/DVD disk file [Select the iso file that you installed @ step 0]
23- Select Ok 24- Click Start 25 Select Install Ubuntu
26 Select Continue 27- Select Continue 28 Select Install Now
29- Type your location 30 Select Keyboard layout and click continue 31 Fill in your account informatio
32 Wait 33- Click Restart Now 34- Press Enter after it asks you to do so 35 Type in your login info
36 Open terminal CAFFE INSTALLATION 36- Open terminal
CAFFE SETUP - DEPENDENCIES 1- Type: sudo apt-get update 2-Type: sudo apt-get install libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libboost-all-dev libhdf5-serial-dev libgoogle-glog-dev libgflags-dev liblmdb-dev libatlas-base-dev CAFFE SETUP PYTHON 3- Type: sudo apt-get install python-numpy python-yaml python-matplotlib python-skimage pythonprotobuf CAFFE SETUP 4- Type: cd Documents sudo apt-get install git protobuf-compiler mkdir msl cd msl git clone https://github.com/bvlc/caffe.git cd caffe git checkout tags/rc2 5-Type: cp Makefile.config.example Makefile.config 6- Open makefile.config with a text editor (vi,gedit,sublime, ) gedit Makefile.config 7- Uncomment CPU_ONLY line 8- Save and close the file 9- Type: make all make test make runtest make pycaffe 10- Type cd gedit.bashrc export your python path to the end of the.bashrc file export PYTHONPATH=/path/to/caffe/python:$PYTHONPATH
SCREEN RESOLUTION - From the Oracle VM VirtualBox tab, click Devices and select Insert Guest Additions CD Image -Click Run, Type password for sudo privileges Enable COPY/PASTE text between linux and windows Devices -> Shared Clipboard -> Bidirectional