1 / 16

Project 2 background

linux and related thing. Project 2 background. Linux -old time. "Born" in early 1990s. Younger than me but may be older than you guys. Linus wrote the very first version, 0.01. Linus is still in charge, but thousand developers are contributing.

finn-mack
Download Presentation

Project 2 background

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. linux and related thing Project 2 background

  2. Linux -old time • "Born" in early 1990s. Younger than me but may be older than you guys. • Linus wrote the very first version, 0.01. • Linus is still in charge, but thousand developers are contributing.

  3. http://en.wikipedia.org/wiki/The_Cathedral_and_the_Bazaar • http://en.wikipedia.org/wiki/Tanenbaum%E2%80%93Torvalds_debate

  4. Linux -now • The newest verison is 3.16.3. • Get updates almost every week. • It is the core part, kernel, of the system. A real linux system normally has much nore.

  5. Linux -source code • Where to get linux source code • https://www.kernel.org/ • How to read linux source code • http://lxr.linux.no/linux

  6. Linux -"taste"

  7. Linux -usage • /bin /run • /root /sbin • /cdrom /selinux • /dev /srv • /etc /sys • /home /tmp • /lib /usr • /lib64 /var • /media initrd.img • /opt /root • /proc /lost+found

  8. Linux -compile • (1) make menuconfig • (2) make (may also need make mrproper) • (3) make modules_install • (4) make install • (5) reboot • Now you have your own verison of linux • http://www.youtube.com/watch?v=vZaA2mRT5eg • Demo

  9. Hints • wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.x.y.tar.gz • tar zxvf FileName.tar.gz • sudo apt-get install libncurses5-dev • make menuconfig

  10. Kernel compiling • In project 2, you will be modifying the kernel. • Means you need to compile it once you change it • Steps • Download --Done • Configure --To be done • Build --Your job • Install --Your job

  11. Kernel compiling • Tips • lspci • list hardware in your machine • If you are not sure, include it • make oldconfig • Use the old configuration file • If you don't have one, get one first and name it .config

  12. grub • Used for multi-operating systems load. • When you install linux with window or Mac OS X, grub is installed and used automatically so you can choose which one to use.

  13. You can manually change the grub file. • BE CAREFUL!

  14. Virtual Machine • Another way to use Linux(free) along with Windows and Mac OS X • VMware, VirtualBox(free)

  15. Project 2 will be due on 10/22

More Related