Lab #1 Install Linux & How to Build Live CD

Slides:



Advertisements
Similar presentations
Presented by: Bill Ball Haroon Haider Khan Hoyt Duff.
Advertisements

INSTALLING LINUX.  Identify the proper Hardware  Methods for installing Linux  Determine a purpose for the Linux Machine  Linux File Systems  Linux.
12/6/2006Saroj/P2V 1 Study of P2V and V2P Using UltimateP2V By Saroj Patil CS522 : Semester project presentation Professor : Dr. C. Edward Chow.
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.
PC Cluster Setup on Linux Fedora Core 5 High Performance Computing Lab Department of Computer Science and Information Engineering Tunghai University, Taichung,
Guide To UNIX Using Linux Third Edition
Post install; Live CD Chapter II / Part 1I. Post install After install completes, take out the install CD/DVD Reboot Check if boot loader is working properly.
Installation. Overview  Download files to make media or another bootable configuration.  Prepare system for installation.  Boot the computer and run.
Installation Ubuntu for Libraries. Step 1: Download Head on to Pick Ubuntu LTS; just click the big orange.
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
WINDOWS 7 AND UBUNTU INSTALLING LINUX WITHIN WINDOWS.
Red Hat Installation. Installing Red Hat Linux is the process of copying operating system files from a CD, DVD, or USB flash drive to hard disk(s) on.
Using BioSlax and the BioSlax Server Tin Wee Tan National University of Singapore.
Configuring Disk Quotas Linux System Administration To implement disk quotas, use the following steps: Enable quotas per file system by modifying /etc/fstab.
Go to & click on Install/Download Menu optionhttp://osddlinux.osdd.net/ Go to & click on Install/Download.
Guide to Linux Installation and Administration, 2e1 Chapter 3 Installing Linux.
Tutorial 11 Installing, Updating, and Configuring Software
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) Overview of software tools for gLite installation & configuration.
LPIC-1 TRAINING COURSE Topic 102: Linux Installation and package management.
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
Hands-On Virtual Computing
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.
CIS 191 – Lesson 2 System Administration. CIS 191 – Lesson 2 System Architecture Component Architecture –The OS provides the simple components from which.
COSC 4750 Customizing and maintenance. Installing software Redhat/Fedora (and linux in general) has a package installer, called rpm Many programs will.
LING 408/508: Programming for Linguists Lecture 3 August 31 st.
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.
SliTaz GNU/Linux is a free operating system working completely in memory from removable media such as a CD rom or USB key. It is light, speedy and fully.
Linux in a Virtual Environment Nagarajan Prabakar School of Computing and Information Sciences Florida International University.
A Practical Guide to Fedora and Red Hat Enterprise Linux Unit 8: Installing Software in Linux Chapter 13: Downloading and Installing Software By Fred R.
Installation Overview Lab#2 1Hanin Abdulrahman. Installing Ubuntu Linux is the process of copying operating system files from a CD, DVD, or USB flash.
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
1 Copyright © 2015 Pexus LLC Patriot PS Personal Server Installing Patriot PS ISO Image on.
PTA Linux Series Copyright Professional Training Academy, CSIS, University of Limerick, 2006 © Workshop V Files and the File System Part B – File System.
VirtualBox: How to create a Linux Virtual Machine.
Implementation of Embedded OS
CHROME O/S. INTRODUCTION The chrome o/s is a new way of accessing the internet it uses a Linux based operating system that only uses internet.
Lab 5 Department of Computer Science and Information Engineering National Taiwan University Lab5 - OS Kernel 2014/10/21/ 16 1.
Materi managing user & groups, file system Managing Software Packages and File Systems The Complete Guide to Linux System Administration Chapter 10.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) Overview of software tools for gLite installation & configuration.
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.
VMware Recovery Software RECOVER DATA FROM CORRUPT VMDK FILE.
Virtualisation Exercise Installing VirtualBox Installing FreeBSD in a virtual machine Chris Wilson Joel Jaeggli AfNOG 2012.
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.
Customizing Fedora Jeroen van Meeuwen Fedora Project.
Virtualization With:. Virtualization With: What Kind of Virtualization? Full virtualization Platform Resource.
Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010
bitcurator-access-webtools Quick Start Guide
Outline Installing Gem5 SPEC2006 for Gem5 Configuring Gem5.
Creating Clusters in a Virtual Environment
Vytautas Traškevičius Software Engineering
Red hat Installation 2 Live CD.
OPS235: Week 2 Installing Linux
Installation of MySQL Objectives Contents Practical Summary
Guide to Linux Installation and Administration, 2e
Build process of ovirt-node and the plugins
VMWare Workstation Installation
Linux Resources.
Fedora Remix Fedora Remix Clint Savage
Clouds, Live Images, Appliances
Creating a Windows Server 2012 R2 Datacenter Virtual machine
Creating a Windows Server 2016 Datacenter Virtual machine
Create A Virtual Machine
Virtual Machines.
Hands-On Virtualization in the Classroom
OPS235: Lab 2 Virtual Machines – Part I
Different types of Linux installation
bitcurator-access-webtools Quick Start Guide
Configuring Disk Quotas
Presentation transcript:

Lab #1 Install Linux & How to Build Live CD Operating System Lab

Install Linux

NCHU System & Network Lab Install Linux(1/6) There are two methods to install and execute Linux. Directly Install with CD or DVD By VM Install Linux on a VM (Virtual Machine) VM (Virtual Machine) A virtual machine is software that creates a virtualized environment between the computer platform and its operating system. NCHU System & Network Lab

NCHU System & Network Lab Install Linux(2/6) NCHU System & Network Lab

NCHU System & Network Lab Install Linux(3/6) NCHU System & Network Lab

NCHU System & Network Lab Install Linux(4/6) NCHU System & Network Lab

NCHU System & Network Lab Install Linux(5/6) NCHU System & Network Lab

NCHU System & Network Lab Install Linux(6/6) Select swap & ext3 Swap:1024MB / :20480MB NCHU System & Network Lab

Install Linux with VM(1/5) Use VMware NCHU System & Network Lab

Install Linux with VM (2/5) NCHU System & Network Lab

Install Linux with VM (3/5) The data of VM will be save there NCHU System & Network Lab

Install Linux with VM (4/5) NCHU System & Network Lab

Install Linux with VM (5/5) change set NCHU System & Network Lab

Build Live CD

NCHU System & Network Lab What is Live CD Live CD is a simple and small operating system Executed upon boot, without installation on a hard drive. It saves a lot of time to install OS and save the space of HD. When your OS has some mistakes that make your PC can not boot, we can use Live CD to save your important data. We can build a Live CD which is easy to customise with the user's preferred applications. NCHU System & Network Lab

NCHU System & Network Lab Live CD-Step1-1 Live-cd tools RPM Squashfs-tools and yum are needed by Live-cd tool Squashfs is a file system for Live CD yum install squashfs-tools yum install yum Get live-cd tools RPM http://people.redhat.com/davidz/livecd/i386/ Get and install livecd-tools-001-1.i386.rpm . wget -c http://people.redhat.com/davidz/livecd/i386/livecd-tools-001-1.i386.rpm rpm -ivh livecd-tools-001-1.i386.rpm NCHU System & Network Lab

NCHU System & Network Lab Live CD-Step1-2 livecd-creator commands livecd-creator No packages specified. usage: livecd-creator [--help] [--repo=<name1>,<url1> ...] [--repo=<name2>,<url2>] --package=<p1> [--package=<p2> ...] [--exclude-package=<e1>] --exclude-package=<e2> ...] [--base-on=<path-to-iso-file>] [--fslabel=<label>] --help : Print usage and exit --repo : Path to yum repository --package : Include this package --exclude-package : Exclude this package --base-on : Add packages to an existing live CD iso9660 image --fslabel : File system label (default: livecd-YYYYMMDD-HHMI) NCHU System & Network Lab

NCHU System & Network Lab Live CD-Step2 Create the local data storage of fedora core 6 Get and install createrepo. wget -c http://tqmcube.com/files/createrepo-0.4.3-5.1.noarch.rpm rpm -ivh createrepo-0.4.3-5.1.noarch.rpm Creating a local repository of core packages mkdir –p /var/www/html/repo/core/ cp <PATH TO RPMs> /var/www/html/repo/core/ Can download form internet or fedora core 6 createrepo /var/www/html/repo/core/ It may need some time to copy. NCHU System & Network Lab

NCHU System & Network Lab Live CD-Step3 Createrepo Creating a local repository of configuration packages mkdir –p /root/Desktop/base_packages cd /root/Desktop/base_packages wget -c http://people.redhat.com/davidz/livecd/i386/fedora-livecd-6-1.i386.rpm createrepo /root/Desktop/base_packages NCHU System & Network Lab

NCHU System & Network Lab Live CD-Step4 Creating a minimal Live CD livecd-creator --repo=c6,file:///var/www/html/repo/core --package=bash --package=kernel --package=grub --repo=lcd6,file:///root/Desktop/base_packages --package=fedora-livecd --fslabel=Fedora-minimal-LiveCD NCHU System & Network Lab

NCHU System & Network Lab Live CD with GNOME Createrepo Creating a local repository of configuration packages mkdir –p /root/Desktop/newbase_packages cd /root/Desktop/newbase_packages wget -c http://people.redhat.com/davidz/livecd/i386/fedora-livecd-6-1.i386.rpm wget -c http://people.redhat.com/davidz/livecd/i386/fedora-livecd-gnome-6-1.i386.rpm wget -c http://people.redhat.com/davidz/livecd/i386/fedora-livecd-desktop-6-1.i386.rpm createrepo /root/Desktop/newbase_packages NCHU System & Network Lab

NCHU System & Network Lab Live CD with GNOME fedora-livecd-gnome bases on fedora-base and with GNOME. fedora-livecd-desktop bases on fedora-gnome and provides many api and other utilities for GNOME. NCHU System & Network Lab

NCHU System & Network Lab Live CD with GNOME livecd-creator --repo=c6,file:///var/www/html/repo/core --repo=lcd6,file:///root/Desktop/newbase_packages --package=fedora-livecd-gnome --repo=e6, http://download.fedora.redhat.com/pub/fedora/linux/extras/6/i386 --fslabel=My-Fedora-LiveCD-1 NCHU System & Network Lab

Adding New Packages to An Existing Live CD ISO livecd-creator --repo=c6,file:///var/www/html/repo/core --base-on=old-live-cd.iso --package=package --fslabel=My-LiveCD-New NCHU System & Network Lab

Creating Custom Configuration Packages fedora-livecd-gnome.conf In fedora-livecd-gnome-6-1.i386.rpm Extract Here Modify etc/livecd/20-fedora-livecd-gnome.conf NCHU System & Network Lab

NCHU System & Network Lab Creating New RPMs Spec: http://people.redhat.com/davidz/livecd/spec/fedora-livecd.spec cd /usr/src/redhat/SOURCE Put all .config and file inside rpmbuild -bb fedora-livecd.spec ls /usr/src/redhat/RPMS/i386 NCHU System & Network Lab

How to Use USB Disk to Boot Modify the fedora live cd iso that we did. Step1: Format usb disk, and let it’s file system be FAT32 Step2 syslinux /dev/sda1 mount /dev/sda1 /mountpoint //mount usb Step3 mount /dev/hdc /mnt/cdrom //mount iso cp -Rpf /mnt/cdrom/* /mountpoint Step4 Change the file names isolinux.bin =>syslinux.bin isolinux.cfg=>syslinux.cfg NCHU System & Network Lab

NCHU System & Network Lab Reference Linux system management Wikipedia http://en.wikipedia.org/wiki/Live_cd IBM Build a Fedora Live CD: http://www.ibm.com/developerworks/linux/library/l-fedora-livecd Fedora Taiwan user group http://fedora.tw/modules/newbb/viewtopic.php?viewmode=flat&topic_id=1488&forum=2 http://fedora.tw/modules/news/article.php?storyid=19 PUD GNU/LINUX: http://pud-linux.sourceforge.net/index.en.html NCHU System & Network Lab