LOGO Linux Installation. Linux Distribution Including shells, libraries, tools, compiler, servers, applications. Redhat, Fedora, Mandrake, SuSE, Debian,

Slides:



Advertisements
Similar presentations
Linux can be generally divided into four major components: 1. KERNEL – OS, ultimate boss The kernel is the core program that runs programs and manages.
Advertisements

Booting the Linux Kernel Dr. Michael L. Collard 1.
Linux Installation LINUX INSTALLATION. Download LINUX Linux Installation To install Red Hat, you will need to download the ISO images (CD Images) of the.
CIS238/DL1 Chapter 15 Rebuilding the Linux Kernel Preparing the Source Code Locating the Source Code Installing the Source Code Read the Documentation.
Linux+ Guide to Linux Certification, Second Edition
Boot from a LiveCD. What is a LiveCD Normally, OS is installed on the local disk and then will be loaded from harddisk. However, OS can also be directly.
Linux Installation Chapter II. Linux Distributions Pre-packaged, installable Linux Anyone can compile a distribution, have to inculde GPL Available for.
S.Ha.R.K. Workshop28/02/05 S.Ha.R.K. Installation HowTo Tullio Facchinetti University of Pavia - Italy.
1 Web Server Administration Chapter 3 Installing the Server.
Module 8 Linux Installation Procedures 8.1 Pre-Installation Tasks 8.2 Installing and Configuring Linux 8.3 X Server 8.4 Post Installation Configuration.
Bootloader / multi-boot
Lesson 4-Installing Network Operating Systems. Overview Installing and configuring Novell NetWare 6.0. Installing and configuring Windows 2000 Server.
Add a New System Call to Linux. Hw1 Add a New System Call to Linux and Compile Kernel Add a New System Call to Linux by Kernel Module.
Linux Install. Resources Guide to Linux Installation and Administration, Nicholas Wells, Course Technology, 2000.
Installing Linux Redhat: A how to guide in installing and configuring Redhat 6.2.
NCHU System & Network Lab Lab 3 System Call Operating System Lab.
SUSE Linux Enterprise Desktop Administration Chapter 1 Install SUSE Linux Enterprise Desktop 10.
Linux+ Guide to Linux Certification, Third Edition
National Taiwan University OS Project 0 & 1 Advisor: Dr. Chih-Wen Hsueh Student: Tang-Hsun Tu 台灣大學 網媒所 / 資工所 Wireless Networking and Embedded Systems Laboratory.
Guide to Linux Installation and Administration, 2e1 Chapter 3 Installing Linux.
Kernel Development using Virtualization Installing VMWare and using a virtual machine to build and test a Linux Kernel.
Boot Diskettes, Bootable USB Keys and Live CDs Used when the computer can't start for some reason, as a diagnostic, repair and recovery tool. Boot diskettes.
1 Web Server Administration Chapter 3 Installing the Server.
OS Installing CSCI N321 – System and Network Administration Copyright © 2000, 2012 by Scott Orr and the Trustees of Indiana University.
Chapter 2 BAI517 Chris Redford.  Different version of Linux are called Distributions or Distros. Each one has its strengths and focus: Red Hat / Fedora.
Exercise #1: Exploring Open- Source Operating Systems with Virtual Machines J. H. Wang Mar. 9, 2010.
1 Introduce Linux Speaker: Yi-Ji Jheng Date:
09/21/081 Ho Chi Minh city University of Technology Linux kernel R.M. Introduction of building Linux kernel from source.
Installation Overview Lab#2 1Hanin Abdulrahman. Installing Ubuntu Linux is the process of copying operating system files from a CD, DVD, or USB flash.
Chapter 2: Installation Overview Part 1. Installing Fedora/RHEL is the process of copying operating system files from media to the local system and setting.
Booting Ubuntu Linux Live CSCI 130 – Fall 2008 Action Lab Dr. W. Jones.
Linux Exposed (Unofficial guide to kernel hacking)
Linux Administration. Pre-Install Different distributions –Redhat, Caldera, mandrake, SuSE, FreeBSD Redhat Server Install –Check HCL –Significant issues.
CHAPTER 2. Overview 1. Pre-Installation Tasks 2. Installing and Configuring Linux 3. X Server 4. Post Installation Configuration and Tasks.
Linux+ Guide to Linux Certification Chapter Six Linux Filesystem Administration.
National Taiwan University OS Project 0 & 1 Advisor: Dr. Chih-Wen Hsueh Student: Tang-Hsun Tu 台灣大學 網媒所 / 資工所 Wireless Networking and Embedded Systems Laboratory.
OS Project 0 February 25, Outline  Linux Installation  Linux Kernel Compilation  System Call Development  Kernel Modules / 452.
LOGO Linux Installation. Linux Distribution Including shells, libraries, tools, compiler, servers, applications. Redhat, Fedora, Mandrake, SuSE, Debian,
Chapter 2 BAI517 Chris Redford.  Different version of Linux are called Distributions or Distros. Each one has its strengths and focus: Red Hat / Fedora.
Linux Kernel Programming (LKP). LKP New sub-course New sub-course We will learn together We will learn together Evaluation of this part of course will.
Linux Operation System Computer Operation Manual.
The Linux Operating System R.Bigelow. What is an Operating System An operating system is a collection of programs that manage a computer's resources.
1 Setup and Compile Linux Kernel Speaker: Yi-Ji Jheng Date:
This slide deck is for LPI Academy instructors to use for lectures for LPI Academy courses. ©Copyright Network Development Group Module 10 Understanding.
Spring 2007 Vmware and Linux kernel COMS W4118 Columbia University.
1 C1-UD 6-2 INSTALLING LINUX Academic Year DAI. Credit 1 (Single and Multiuser Operating Systems) Ferran Chic PELE-08/09 (Pla Experimental Llengües.
Chap 1 ~ Introducing LINUX LINUX is a free-stable multi-user operating system that derives from UNIX operating system Benefits: 1) Linux is released under.
Linux Introduction Linux was developed in the early 1990’s by Linus Torvald computer science student at the University of Helsinki Linux is distributed.
Rebuilding Linux Kernel Dedicated to penguin lovers everywhere 26 September 20161Rebuilding kernel by Visakh M R.
1 COP 4343 Unix System Administration Unit 1: –Linux OS structure –Distributions –Hardware inventory –Disks and partitions –Installation steps –Boot loader.
Boot Diskettes, Bootable USB Keys and Live CDs Used when the computer can't start for some reason, as a diagnostic, repair and recovery tool. Boot diskettes.
Add a New System Call to Linux
Operating System Kernel Compilation
Chapter 8 Unix & Linux.
Guide to Linux Installation and Administration, 2e
OS Homework 1 February 22, 2017.
UBUNTU INSTALLATION
Installing OS.
Basic Commands ls cp ls –l (in detail format) echo ls –a
Operating System Kernel Compilation
Operating System Module 1: Linux Installation
IS3440 Linux Security Unit 7 Securing the Linux Kernel
Installing Linux Redhat:
COP 4343 Unix System Administration
SUSE Linux Enterprise Desktop Administration
Chapter 9 Linux Installation Procedures
Computer System Laboratory
Linux Operation System
Operating System Kernel Compilation
Presentation transcript:

LOGO Linux Installation

Linux Distribution Including shells, libraries, tools, compiler, servers, applications. Redhat, Fedora, Mandrake, SuSE, Debian, Ubuntu, Gentoo… Live CDs You can make your own Linux distribution. This slide is based on Ubuntu

Before Installation Modify the boot sequence to boot your computer form CD-ROM Make sure your hardware and device A clear head and relaxed mind Some drinks and food

Start

Disks and Partitions /dev/hda, /dev/hdb, /dev/hdc, … /dev/hda1, /dev/hda2, … /dev/sda, /dev/scd0, … Mount Points / /swap …

Partition Division Four methods Resize the partition and use freed space Erase entire disk Use the largest continuous free space Manually edit partition table Choose a proper one or edit it manually.

Partition Division (cont.)

Swap partition is usually twice as RAM when it is less than 1GB No more than four primary partition including root partition and swap partition If four isn’t enough, use extend partition Make sure all your mount points are correct

End of Installation After dividing partitions, you only need to click your mouse. After installation, reboot and enjoy your Linux! Installation by text mode is the same as graphic mode

ubuntu 正體中文站 鳥哥的私房菜

LOGO Compiling Linux kernel

What is Linux Kernel? Kernel is the core of an operating system. Scheduler, task management, memory management, … You need to compile kernel source code to binary in order to run.

When Should We Compile Kernel? You don’t need to compile kernel after Linux installation to run. You can configure your Linux by compiling a new kernel. Add new feature, ex. patch kernel. Support new hardware. Disable functions you don’t need. Develop your own kernel. Etc.

Where to D/L Linux Kernel?

What Does Kernel Version Mean? Naming using [ 主版本 ].[ 次版本 ].[ 修訂版本 ]-[ 附 版本 ]. Odd minor number is testing version. Even minor number is stable version.

Prepare Your Kernel Source Code 1.You need to be root to compile kernel. #su 2.D/L kernel source code. 3.Unzip kernel source code. cd /usr/src tar -zxvf linux-2.x.x.tar.gz 4.Make the link “/usr/src/linux-2.x.x” to the kernel source directory. #ln –s linux-2.x.x linux You may have many versions of Linux source codes

make config #make config #make menuconfig #make xconfig

make config

make config(cont.) If you meet some problems. (SATA) Device Drivers ---> SCSI device support ---> SCSI device support SCSI disk support Device Drivers ---> SCSI device support ---> SCSI low-level drivers ---> [*] Serial ATA (SATA) support

Kernel Compilation 1.#make clean 2.#make bzImage 3.#make modules 4.#make modules_install 5.#mkinitramfs –o /boot/filename 2.x.x 6.(/lib/modules/)

Booting using New Kernel cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-2.x.x Setup your boot manager. Lilo or Grub

Grub # vim /boot/grub/menu.lst Add the following section: title linux-2.x.x kernel (hd0,0)/boot/vmlinuz-2.x.x root=/dev/hda1 devfs=mount Reboot.

Any problem Google is your best friend. 2nd are Classmates. 鳥哥的私房菜

Q&A Thanks for your attention.