Recently need to run R-CNN code, took a long time to configure the environment. While you remember, write about the configuration process and the problems and workarounds that may arise. The following five sections are mainly divided into:
First, install Ubuntu14.04 dual system
Second, installation cuda6.5
Third, installation opencv2.4.10
Iv. installation of matlab2013a
V. Installation of Caffe
The first part below, the hard disk installation Ubuntu14.04 dual system.
Since my notebook installed the Ubuntu system with a USB stick has been unsuccessful, so the use of hard disk installation. There is no problem after installation.
1. Download Ubuntu System image
http://www.ubuntu.com/download/desktop/
2. Reserve hard disk space for Ubuntu system
You can use the partition Assistant or the Disk Management tool that comes with your system to remove a subset of partitions.
I'm using the system's own Disk management tool,
Select the partition you want to delete, right-click and select Delete Volume. After deletion, you can see an unused partition.
3. Installing EASYBCD
Install EASYCD, open the software as an administrator, select the language as Chinese. Select Add new entry in the left-hand toolbar. Select Neogrub and click Install.
Then click on the configuration, will pop up a menu.list text file, followed by the following content:
Title Install Ubunbtu
Root (hd0,1)
Kernel (hd0,1)/vmlinuz.efi boot=casper iso-scan/filename=/ubuntu-14.04-desktop-amd64.iso ro quiet Splash Locale=zh_CN . UTF-8
INITRD (hd0,1)/initrd.lz
Attention! (hd0,1) indicates the location of my C drive, which can be seen in the Disk Management tool, I have a small partition in front of the C drive, so the location of the C drive is (hd0,1). As for why this is written, the next step will be explained.
4. Prepare the installation files
Unzip the downloaded Ubuntu14.04 system image file Ubuntu-14.04.1-desktop-amd64.iso
Copy the. DSK folder in the extracted file, Vmlinuz.efi Initrd.lz in the Casper folder to the C packing directory, and copy the system image file to the C packing directory. Of course, these files can also be copied to other packing directory, the corresponding (hd0,1) will be changed to the location of the corresponding disk. The general D-Disk is (hd0,4), the E-disk is (hd0,5). One analogy. HD0 represents the first hard disk, if the computer installed a number of hard disks, the corresponding change to hd1,hd2 ....
5. Start the installation
For the steps above, the installation preparation has been completed. Enter the installation below.
Restart the computer, in the system selection interface will be more than a "Neogrub boot loader", select this, will appear "Install Ubuntu" option, select it. The computer starts to enter the installation screen.
Note: There may be an error message here: File not found. The location of the disk where the installation files should be written in the previous menu.list file is not well written, so do not restart the computer, according to the computer screen prompts can be modified as follows.
Select "Install Ubuntu", press "E", use "↑" "↓" to select the configuration file, modify the drive letter to the disk where the installation file is located. Once the modification is complete, press "B" to enter the installation interface again.
After entering the installation interface, the Ubuntu system desktop will be displayed, so don't worry about installing it. First, use "CRTL" + "alt" + "T" to open the terminal, in the terminal input sudo umount–l/isodevice cancel the system disc image mount. Note: Is the letter L, not 1 nor I!
Double-click the Install Ubuntu14.04 LTS icon on the desktop to start the installation.
Do not network during installation, this will prolong the installation time!
Do not choose to install third-party software, when selecting the installation type, select "Other draft" (image from the quoted blog post, if there is infringement, delete immediately).
The partition status is then displayed, in which case the unused partition can be partitioned (the image is excerpted from the quoted blog post, and is immediately deleted if infringed).
Partition the free partition, select the free partition, then click "+", then select the partition size and partition type.
I use 130G of memory to install Ubuntu system, with my partition case as an example to explain, if not reasonable, please correct me, I am also a novice.
The first is "/" Partition, about 30G
Then "swap space swap", about 2G.
Then the "/boot" partition, approximately 200M
Then the "/home" partition, about 50G
Then the "/usr" partition, about 50G
The/boot partition is used to install the system boot entry, so the general 200m,/home partition is generally used for downloading files, pictures, documents and so on, so as much as possible./USR partitions are generally used to install software, so try to be as big as possible.
After the partition is complete, select the location where the boot is installed as the drive letter of the/boot partition, so that the following settings boot Ubuntu from Win7
Then start the installation
Have a cup of tea, a toilet, just a few minutes. After installation, you will be prompted to restart, select Restart.
The Win7 system is entered directly after the reboot. The system boot entry is set below.
To open EASYBCD as an administrator, click on the Left tool list "Add new Entry"--"LINUX/BCD". Select the type "GRUB 2", the name can be changed, the drive Select the Ubuntu system's/boot partition where the drive letter, and then click "Add Entry."
Delete the installation boot in "Neogrub", then click on the Left tool list "Edit boot Menu" to manage the boot menu, you can see the Win7 and Ubuntu system boot items.
Restart the computer, select the Ubuntu system in the system selection interface and smoothly enter the Ubuntu14.04 system. Since then, Win7 down hard disk installation ubuntu14.04 dual system complete!
PS: The pro-test method is also applicable to Windows server2008.
Reference article:
http://blog.csdn.net/xlf13872135090/article/details/24093203
Http://www.doudouxitong.com/anzhuang/2014/0718/2584.html
Ubuntu14.04+cuda6.5+opencv2.4.10+matlab2013a+caffe configuration record (i)--install Ubuntu14.04 dual system