2008 Bangkok, Thailand Ubuntu Linux Server Structure and Config intERLab at AIT Network Management Workshop March 11 – Bangkok, Thailand.

Slides:



Advertisements
Similar presentations
Introduction to Linux Ubuntu for Libraries. Objectives o To Understand the history of Linux/Unix based OS’s o To learn the various Linux distributions.
Advertisements

Fedora Linux Fedora: the (somewhat) new Linux distribution on the block. To switch or not to switch? Moreover, why use it at all? And, what is its target?
Backups In Linux. The Linux System Many Linux distros set up seperate "/home" and "/" (root) partitions. User configuration files are hidden with a "."
Linux vs. Windows. Linux  Linux was originally built by Linus Torvalds at the University of Helsinki in  Linux is a Unix-like, Kernal-based, fully.
'08 Rabat Why are we using FreeBSD? Scaleable Services Workshop AfNOG 2008 Rabat, Morocco slides by Hervey Allen presented by Joe Abley.
Bangkok, Thailand Smokeping & Cacti intERLab at AIT Workshop March – Bangkok, Thailand Hervey Allen.
PacNOG 6: Nadi, Fiji Installing Ubuntu Server 9.04 Hervey Allen Network Startup Resource Center.
By team COF: Cillian Mc Cabe Daire Grimes Mary Louisse Tipones Martin Bruveris and Andrew Owens.
Package Managers What are they and why we use them.
Microsoft vs Linux Microsoft Applications compared to free opensource software.
Linux GUI Chapter 5. Graphical User Interface GUI vs. CLI Easier and more intuitive More popular and advanced Needed for graphics, web browsing Linux.
Debian package manager Presenter: Lilian Wang. Install Software  先別管 package 了, 你有聽過重灌嗎 ?  Chrome/Firefox, Office, pietty, Notepad++, PCMan, LOL, …
UNIX ™ /Linux Overview Unix/IP Preparation Course June 9, 2013 Lusaka, Zambia.
Linux Operations and Administration
2008 Taipei, Taiwan Ubuntu Linux Server Structure and Config APRICOT 2008 Network Management Workshop February 20 – Taipei, Taiwan.
Chapter 19 UBUNTU VS. WINDOWS J.Galván1 INFORMATION TECHNOLOGY APPLICATIONS IN BUSINESS.
workshop eugene, oregon UNIX ™ /Linux Overview Unix/IP Preparation Course July 19, 2009 Eugene, Oregon, USA
Overview of Linux Dr. Michael L. Collard 1.
A Comparison of Linux vs. Windows Bhargav A. Sorathiya B.E. 4 th C.E. Roll no:6456.
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 FreeBSD Installation ISOC/AfNOG Michuki Mwangi (Original materials by Hervey Allen – NSRC)
PacNOG 6: Nadi, Fiji UNIX ™ /Linux Overview Hervey Allen Network Startup Resource Center.
UNIX ™ /Linux Overview Unix/IP Preparation Course May 25, 2014 Djibouti.
Ubuntu (Desktop Edition) Presented by, Barry, Elh Ibrahima ITEC400 Franklin University Professor Robert D’Andrea April 10, 2008 ___________________.
UNIX ™ /Linux Overview Unix/Linux Preparation Course June 27, 2010 Pago Pago, American Samoa.
New Delhi, India Ubuntu Linux Server Structure and Config PacNOG5 June 16 – Papeete, French Polynesia Hervey Allen.
Library 2.06 February 2009 Linux for Librarians Nishtha Anilkumar Librarian Physical Research Laboratory Ahmedabad.
2008 Bangkok, Thailand intERLab at AIT 2008 Workshop March – Bangkok, Thailand Hervey Allen.
IT Roundtable – Dec 15 th 2009 in your enterprise.
IT320 OPERATING SYSTEM CONCEPTS Unit 3: Welcome to Linux June 2011 Kaplan University 1.
IT320 OPERATING SYSTEM CONCEPTS Unit 3: Welcome to Linux September 2012 Kaplan University 1.
Getting Started With Ubuntu Linux Presented by Grant Root
Presentation By: Ryan Combs. Ubuntu Pronouced: ‘ oo-BOON-too’ Ubuntu is an African word that has a few meanings. 1)“Humanity to others” 2) “I am what.
Linux Operating System History of Linux 1. Estimated Desktop Usage Share Windows 92.00% Linux Notes 1.02% January
CSCI 330 UNIX and Network Programming Unit XX: Linux Administration.
1 FreeBSD Installation AFNOG Chix 2011 Blantyre, Malawi 31 st Oct - 4 th Nov 2011 Dorcas Muthoni and Evelyn Namara.
LOGO Linux Installation. Linux Distribution Including shells, libraries, tools, compiler, servers, applications. Redhat, Fedora, Mandrake, SuSE, Debian,
PTA Linux Series Copyright Professional Training Academy, CSIS, University of Limerick, 2006 © Workshop I Introduction to Linux Professional Training Academy.
What Is Ubuntu? Open Source Uses Linux / GNU kernel Based On Debian Free! Sponsored by Canonical.
Chapter 1: Introduction to Linux. 2 Introduction Computer Components: –Hardware –Software Types of hardware and software Important components of an OS.
Linux Administration. KDE & Gnome Comparision Package Management User Management Linux Services System Calls Default Look Menu Navigation Renaming Files.
This slide deck is for LPI Academy instructors to use for lectures for LPI Academy courses. ©Copyright Network Development Group Module 01 Introduction.
A Brief Introduction to Linux Cheng-Han Du. History.
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.
Introduction to Linux PacNOG5 June 2009 Papeete, French Polynesia.
A Brief Introduction to Linux Cheng-Han Du. History.
Course : PGClass : MCA Subject: Operating SystemSub.Code : 3CT11 Staff Name : S.SomasundaramYear & Sem : II nd & III rd.
New Delhi, India Ubuntu Linux Server Structure and Config PacNOG5 June 16 – Papeete, French Polynesia Hervey Allen.
2008 Taipei, Taiwan Ubuntu Linux Server Structure and Config APRICOT 2008 Network Management Workshop February 20 – Taipei, Taiwan.
Debian GUN/Linux 4.0 The Universal Operating System The Universal Operating System.
1 Free Electrons. Kernel, drivers and embedded Linux development, consulting, training and support. http//free-electrons.com Embedded Linux Training System.
Computer Technology Project Distros Lars Noodén
Bangkok, Thailand Ubuntu Linux Server Structure and Config intERLab at AIT Network Management Workshop March 11 – Bangkok, Thailand.
Linux Essentials Chapter 1: Selecting an Operating System.
Computer Technology Project
IT320 Operating System Concepts
What is F/LOSS? By Scot Henderson.
CSC227: Operating Systems
Unix/IP Preparation Course
Selected topic in computer science (1)
Ubuntu Working in Terminal
Ubuntu Linux Server A Primer
Ubuntu Linux Server Structure and Config
More Scripting & Chapter 11
Chapter 2: The Linux System Part 1
Ubuntu Linux Server A Primer
Understanding Linux and the BASH shell v
Ubuntu Linux Server Structure and Config
Module 02 Operating Systems
Presentation transcript:

Bangkok, Thailand Ubuntu Linux Server Structure and Config intERLab at AIT Network Management Workshop March 11 – Bangkok, Thailand Hervey Allen

Bangkok, Thailand What's Our Goal? A bit of Debian & Ubuntu philosophy Differences from the Red Hat world  Package system  Debian's root philosophy  Tools you may need  Installing your environment  How the OS and services start/stop

Bangkok, Thailand Some Practical Matters Please do not change the root or inst passwords. Questions are encouraged :-) ‏ Questions?

Bangkok, Thailand Who We Think We Are Teaching A class that has already experienced or used Linux or UNIX in the real world. We're assuming an intermediate to advanced level of knowledge. Are we right?

Bangkok, Thailand Some Philosophy Debian's conservative model  Very different from Fedora Core Releases and Repositories Ubuntu's benefactor: Mark Shuttleworth Desktop vs. Server vs. LTS versions The connection with Debian Restricted software and Ubuntu

Bangkok, Thailand Ubuntu Debian Warty Warthog4.1 Hoary Hedgehog5.04 Breezy Badger5.10 Dapper Drake*6.06 Edgy Eft6.10 Feisty Fawn7.04 Gutsy Gibbon7.10 Hardy Heron**8.04 *6.06 is “LTS” **8.04 is “LTS”, Planned for April 2008 buzz1.1 rex1.2 bo1.3 hamm2.0 slink2.1 potato2.2 woody3.0 sarge3.1 etch4.0 lennytba Release Name VersionRelease Name Version

Bangkok, Thailand The World of Ubuntu Start here: Server  “Gutsy Gibbon” 7.10 (18 month support) ‏  “Dapper Drake“ 6.06 LTS (5 years support) ‏ Desktop  Current are 6.06 LTS and Kubuntu (KDE), Edubuntu (Educational) ‏

Bangkok, Thailand What's Different Software management  dpkg  apt (this is what we'll use) ‏  apt-cache  aptitude  synaptic  meta-packages  repositories

Bangkok, Thailand What's Different cont. Startup scripts  In /etc/init.d/ (System V) ‏  Upon install services run! Controlling services  update-rc.d  sysvconfig  rcconf  rc-config

Bangkok, Thailand What's Different cont. Make and GCC  Not installed by default. Why?  18,500+ packages  To get “apt-get install build-essential” Installation  Installer really wants to be on the net  Your language/location choices determine which Ubuntu mirror will be used at install.

Bangkok, Thailand What's Different cont. The use of root is discouraged by default and sudo is used instead. You can do apt-get dist-upgrade to move between major and minor releases. Sources in /etc/apt/sources.list (how you install from cd/dvd).

Bangkok, Thailand Software Repositories Defines what is available to you – i.e. where apt will look. There are four major categories: Ubuntu Debian 1.main 2.restricted 3.universe 4.multiverse 1.stable 2.testing 3.unstable

Bangkok, Thailand Software Repositories Ubuntu main Core install of Ubuntu Core install of Ubuntu Fully supported by Ubuntu Fully supported by Ubuntu Freely redistributable and unencumbered, but may contain binaries. Freely redistributable and unencumbered, but may contain binaries.

Bangkok, Thailand Software Repositories cont. restricted Commonly used software, but is not licensed as completely free. Commonly used software, but is not licensed as completely free. Supported by Ubuntu as best as possible. Supported by Ubuntu as best as possible. Includes binary drivers for specific hardware. Includes binary drivers for specific hardware. Open source versions used first. Open source versions used first.

Bangkok, Thailand Software Repositories cont. universe Contains remaining open source software that may be available under “less open licenses.” Contains remaining open source software that may be available under “less open licenses.” Built against libraries and tools in “main”, thus it should install and be stable. Built against libraries and tools in “main”, thus it should install and be stable. No guarantee of regular updates, but they are provided as made available. No guarantee of regular updates, but they are provided as made available.

Bangkok, Thailand Software Repositories cont. multiverse Contains software that is “not free.” Contains software that is “not free.” You must determine if you meet licensing requirements. You must determine if you meet licensing requirements. Unsupported and updates/upgrades are not provided. Unsupported and updates/upgrades are not provided. Use “at your own risk.” Use “at your own risk.”

Bangkok, Thailand What's the Reality? For “simple” servers “main” and “restricted” are enough. For servers with more complex configurations (like in this class), then “universe” is a must and “multiverse” may be needed as well. Stability: you must pay attention to multiverse installed software.

Bangkok, Thailand Additional Repositories On some occasions you may need to add third-party repositories for specific software. These may move to multiverse at some point. Examples Include: Skype Skype PPTP PPTP IE emulators (your author uses for testing) ‏ IE emulators (your author uses for testing) ‏

Bangkok, Thailand Additional Repositories Backports See Be careful with these. Newer software that is “backported” to run on older versions of Ubuntu (or Debian...). Can cause problems if you wish to do a distribution upgrade.

Bangkok, Thailand Repository Philosophy Ubuntu 7x vs. Debian Fundamental change in philosophy:  Firefox, Thunderbird, OpenOffice, kernel, proprietary binary drivers, etc...  Ubuntu repository vs. Debian for Firefox main vs. “iceweasel” now in stable  Ubuntu licensing issues

Bangkok, Thailand Specifying Repositories /etc/apt/sources.list We'll hand edit this file. If you use a GUI, then Synaptic can do this for you. We'll hand edit this file. If you use a GUI, then Synaptic can do this for you. This file contains a number of additional items... This file contains a number of additional items... Understanding the configuration is critical to understanding your config. Understanding the configuration is critical to understanding your config.

Bangkok, Thailand /etc/apt/sources.list Includes Repositories Repositories Location: i.e. local mirrors, cd/dvd-rom, local server (noc in classroom or country-specific server), ftp, etc. Location: i.e. local mirrors, cd/dvd-rom, local server (noc in classroom or country-specific server), ftp, etc. Security update repositories Security update repositories third-party repositories third-party repositories backports backports

Bangkok, Thailand Critical Reads man apt-get man sources.list Some people like aptitude. That's fine, but watch out for dependency issues!

Bangkok, Thailand Meta Packages Annoying to new users Annoying to new users Provide all packages for subsystems Provide all packages for subsystems Initial documentation Initial documentation Examples include:  build-essential ( libc, g++, gcc, make ) ‏  ubuntu-desktop (xorg, gnome) ‏  xserver-xorg-video-intel

Bangkok, Thailand There's more... But, hopefully enough to get us started... Some Resources ubuntuforums.org ubuntuguide.org GIYF (Google Is Your Friend) ‏

Bangkok, Thailand Packages & Exercises We'll reinforce some of these concepts using exercises and by installing Ubuntu...