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

Slides:



Advertisements
Similar presentations
Booting the Linux Kernel Dr. Michael L. Collard 1.
Advertisements

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.
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.
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.
Project 0: Linux & VM Dabbling CS-502, Fall Project 0: Linux & Virtual Machine Dabbling CS-502, Operating Systems.
Lesson 4-Installing Network Operating Systems. Overview Installing and configuring Novell NetWare 6.0. Installing and configuring Windows 2000 Server.
Linux Install. Resources Guide to Linux Installation and Administration, Nicholas Wells, Course Technology, 2000.
Overview Basic functions Features Installation: Windows host and Linux host.
NCHU System & Network Lab Lab 3 System Call Operating System Lab.
SUSE Linux Enterprise Desktop Administration Chapter 1 Install SUSE Linux Enterprise Desktop 10.
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.
LOGO Linux Installation. Linux Distribution Including shells, libraries, tools, compiler, servers, applications. Redhat, Fedora, Mandrake, SuSE, Debian,
Project 2. “Linux Fundamental” procfs By Dong Jae Shin.
1 Web Server Administration Chapter 3 Installing the Server.
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.
Working with Ubuntu Linux Track 2 Workshop June 2010 Pago Pago, American Samoa.
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.
1 Introduce Linux Speaker: Yi-Ji Jheng Date:
Linux Installation and Administration Lesson 3 Tutor: George Papamarkos.
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.
1 What is a Kernel The kernel of any operating system is the core of all the system’s software. The only thing more fundamental than the kernel is the.
Booting Ubuntu Linux Live CSCI 130 – Fall 2008 Action Lab Dr. W. Jones.
Troubleshooting and Performance
CHAPTER 2. Overview 1. Pre-Installation Tasks 2. Installing and Configuring Linux 3. X Server 4. Post Installation Configuration and Tasks.
Exercise #1: Exploring Open- Source Operating Systems with Virtual Machines J. H. Wang Sep. 25, 2015.
Linux+ Guide to Linux Certification Chapter Six Linux Filesystem Administration.
Getting Started With Ubuntu Linux Presented by Grant Root
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.
Chapter 8: Installing Linux The Complete Guide To Linux System Administration.
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 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.
The GRUB bootloader Michael Opdenacker Thomas Petazzoni Free Electrons
Operating System Kernel Compilation
Exercise #1: Exploring Open-Source Operating Systems with Virtual Machines J. H. Wang Sep. 20, 2016.
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
Drivers and the kernel UNIX system has three layers: Kernel
Exercise #1: Exploring Open-Source Operating Systems with Virtual Machines J. H. Wang Sep. 19, 2017.
Operating System Kernel Compilation
Operating System Module 1: Linux Installation
IS3440 Linux Security Unit 7 Securing the Linux Kernel
COP 4343 Unix System Administration
SUSE Linux Enterprise Desktop Administration
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 from 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? Go to System/Administration/synaptic package Manager

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  # sudo -i 2.Download the necessary tools #apt-get update # apt-get install kernel-package libncurses5-dev bzip2 automake libc6-dev build-essential 3. Go to System/Administration/synaptic package Manager or to get the kernel source code

Prepare Your Kernel Source Code Unzip kernel source code. cd /usr/src bzip2 -d linux-source-2.6.X.tar.bz2 tar -xvf linux-2.6.x.tar 1.Make the link “/usr/src/linux-source-2.x.x” to the kernel source directory. #ln –s linux -source -2.6.x linux #cd linux You may have many versions of Linux source codes

# cp /boot/config-`uname -r`./.config or #make config #make menuconfig #make xconfig Prepare Your Kernel Source Code

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.#make install 6.#mkinitramfs –o /boot/initrd.img-2.x.x

Booting using New Kernel-Grub Setup your boot manager. # vim /boot/grub/menu.lst Add the following section: title linux uuid 1444e9cd-9a3b-427b-8ac5-6948ba8eeac5 kernel /boot/vmlinuz root=UUID=1444e9cd-9a3b-427b- 8ac5-6948ba8eeac5 ro initrd /boot/initrd.img Reboot.

Any problem Google is your best friend. 鳥哥的私房菜

Q&A Thanks for your attention.