CSCI 330 UNIX and Network Programming Unit XX: Linux Administration.

Slides:



Advertisements
Similar presentations
Backups In Linux. The Linux System Many Linux distros set up seperate "/home" and "/" (root) partitions. User configuration files are hidden with a "."
Advertisements

Introduction to Unix (CA263) File System
Exploring the UNIX File System and File Security
Lesson 22 – Introduction to Linux Systems Administration.
Software installation Chapter 7. Software installation Numerous software options Usually free Open source Several sources Installation CD Websites sourceforge.net.
Guide To UNIX Using Linux Third Edition
Linux+ Guide to Linux Certification, Third Edition Chapter 11 Compression, System Backup, and Software Installation.
Installing Linux softwares Sirak Kaewjamnong. 2 Software packets  When Linux developers create their software they typically bundle all the executable.
Configuring Disk Quotas Linux System Administration To implement disk quotas, use the following steps: Enable quotas per file system by modifying /etc/fstab.
SUSE Linux Enterprise Desktop Administration Chapter 1 Install SUSE Linux Enterprise Desktop 10.
V Avon High School Tech Crew Agenda Old Business –Delete Files New Business –Week 10 Topics: Coming up: –Yearbook Picture: Feb 7 12:20PM.
GNU/Linux Fundamentals Part 3
Linux Operations and Administration
Linux+ Guide to Linux Certification Chapter Three Linux Installation and Usage.
Guide To UNIX Using Linux Fourth Edition
Introduction to Linux Installing Linux User accounts and management Linux’s file system.
Guide to Linux Installation and Administration, 2e1 Chapter 3 Installing Linux.
Tutorial 11 Installing, Updating, and Configuring Software
LIS508 basic system administration Thomas Krichel
SUSE Linux Enterprise Server Administration (Course 3037) Chapter 4 Manage Software for SUSE Linux Enterprise Server.
workshop eugene, oregon UNIX ™ /Linux Overview Unix/IP Preparation Course July 19, 2009 Eugene, Oregon, USA
Guide to Linux Installation and Administration, 2e1 Chapter 8 Basic Administration Tasks.
CIS 191 – Lesson 2 System Administration. CIS 191 – Lesson 2 System Architecture Component Architecture –The OS provides the simple components from which.
Managing User Accounts. Module 2 – Creating and Managing Users ♦ Overview ► One should log into a Linux system with a valid user name and password granted.
Linux Package Management Dr. Michael L. Collard 1.
Working with Ubuntu Linux Track 2 Workshop June 2010 Pago Pago, American Samoa.
Unix Operating Systems Module 7. Unix Operating System Versions Basic Information User and Group Settings File Permissions Local Firewall Local Security.
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.
IT2204: Systems Administration I 1 6b). Introduction to Linux.
Unix System Administration Chapter 6 Adding New Users.
Linux Installation and Administration Lesson 3 Tutor: George Papamarkos.
Chapter 6: Linux Filesystem Administration
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.
Chapter Two Exploring the UNIX File System and File Security.
1 Interface Two most common types of interfaces –SCSI: Small Computer Systems Interface (servers and high-performance desktops) –IDE/ATA: Integrated Drive.
1 Objectives Manage and install new file systems.
INTRODUCTION TO LINUX Jacob Chan. GNU/Linux Consists of Linux kernel, GNU utilities, and open source and commercial applications Works like Unix –Multi-user.
Device and Filesystem Management CSCI N321 – System and Network Administration Copyright © 2000, 2010 by Scott Orr and the Trustees of Indiana University.
There are three types of users in linux  System users: ?  Super user: ?  Normal users: ?
ITR3 lecture 6: intoduction to UNIX Thomas Krichel
Chapter 3 & 6 Root Status and users File Ownership Every file has a owner and group –These give read,write, and execute priv’s to the owner, group, and.
Creating and Managing File Systems. Module 5 – Creating and Managing File Systems ♦ Overview This module deals with the structure of the file system,
1 LINUX SECURITY. 2 Outline Introduction Introduction - UNIX file permission - UNIX file permission - SUID / SGID - SUID / SGID - File attributes - File.
Linux+ Guide to Linux Certification Chapter Six Linux Filesystem Administration.
System Administration – Part 2. Devices in UNIX are files: A device can be accessed with different file names All device files are stored in /dev or its.
© 2006 ITT Educational Services Inc. Linux Operating System :: Unit 3 :: Slide 1 Downloading and Installing Software yum pirut Bit Torrent rmp.
Linux Operations and Administration
CSC414 “Introduction to UNIX/ Linux” Lecture 6. Schedule 1. Introduction to Unix/ Linux 2. Kernel Structure and Device Drivers. 3. System and Storage.
The Kernel At a high level, the kernel in an operating system serves as the bridge between applications and the actual data processing of the hardware.
Tutorial on setting up Zebra: A Z39.50 Server ARD Prasad DRTC Indian Statistical Institute Bangalore.
Debian Package Management
Materi managing user & groups, file system Managing Software Packages and File Systems The Complete Guide to Linux System Administration Chapter 10.
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 Filesystem Administration
1 COP 4343 Unix System Administration Unit 1: –Linux OS structure –Distributions –Hardware inventory –Disks and partitions –Installation steps –Boot loader.
1 Free Electrons. Kernel, drivers and embedded Linux development, consulting, training and support. http//free-electrons.com Embedded Linux Training System.
The GRUB bootloader Michael Opdenacker Thomas Petazzoni Free Electrons
Configuring Disk Quotas
Guide to Linux Installation and Administration, 2e
Lab 05 Firewalls.
Basic Commands ls cp ls –l (in detail format) echo ls –a
Chapter 7 Installing Program &Backup Tool
Ubuntu Working in Terminal
Adding New Users, Storage, File System
Exploring the UNIX File System and File Security
University of Texas Rio Grande Valley Systems Administration CSCI 6175
IS3440 Linux Security Unit 4 Securing the Linux Filesystem
COP 4343 Unix System Administration
Configuring Disk Quotas
Presentation transcript:

CSCI 330 UNIX and Network Programming Unit XX: Linux Administration

Plan for today’s lecture Install new release of Linux while we wait … after the wait … Customize new system install some software add a new disk User Management sudo Software Management apt-get, synaptic File system Management fdisk, mkfs, mount, fsck 2CSCI UNIX and Network Programming

Linux Installation Select from: Debian 7.2 Debian Ubuntu Ubuntu Linux Mint 16 Linux Mint 3CSCI UNIX and Network Programming

User Configuration user info is stored in file /etc/passwd userid, user name, group, home directory, shell passwords are stored in separate file: /etc/shadow group info is stored in file /etc/group groupid, group name additional group members to find out group info, use: groups user-id Example: % groups student student adm cdrom sudo dip plugdev lpadmin sambashare 4CSCI UNIX and Network Programming

Steps to create a new user 1. add info to /etc/passwd 2. add info to /etc/shadow 3. add info to /etc/group 4. create home directory 5. add default content to home directory 6. set password common Debian utilities: adduser, deluser addgroup, delgroup 5CSCI UNIX and Network Programming

Linux “Users and Groups” utility to create and manage users and groups 6CSCI UNIX and Network Programming

sudo execute commands as super user “root” will be prompted for password /etc/sudoers lists designated users/groups group “sudo” user “student” belongs to “sudo” group lists allowed commands root can do anything Example: % sudo chown user:group file % sudo -i 7CSCI UNIX and Network Programming

Software Management applications are bundled into package file: tar original (tape) archive format rpm Redhat package manager format download & install via: yum deb Debian package format download & install via: apt-get 8 know dependencies among applications CSCI UNIX and Network Programming

deb Package Management Basic utilities: dpkg – package manager apt-get – package handling utility User friendly interfaces aptitude – command line frontend synaptic – GUI frontend Software Manager unified web-based application store 9CSCI UNIX and Network Programming

apt-get configuration /etc/apt/sources.list contains locations of package files for different categories 10CSCI UNIX and Network Programming

apt-get sub-commands update re-synchronize package listing install installs new package(s) upgrade install newest version of installed packages remove, purge un-installs package(s) (deletes config files) dist-upgrade installs latest version of system clean empties local cache of downloaded packages 11CSCI UNIX and Network Programming

Synaptic 12CSCI UNIX and Network Programming

Update Manager 13CSCI UNIX and Network Programming

Software Manager 14CSCI UNIX and Network Programming

File System Management logical file system top: root “/” constructed from one or more physical file systems that reside on physical devices potential devices: hard drive removable drive main memory remote device 15CSCI UNIX and Network Programming

File System commands df displays make up of logical file system fdisk prepare partitions on physical medium mkfs create file system on physical device select file system type, ex.: ext4 mount add additional physical into logical file system undone via: umount made permanent with entry into /etc/fstab 16CSCI UNIX and Network Programming

fdisk: prepare partitions 17CSCI UNIX and Network Programming

Steps to enable new hard drive find device name: fdisk -l edit partition table: fdisk /dev/sdb create partition /dev/sdb1 create file system: mkfs -t ext4 /dev/sdb1 mount file system: mkdir /mnt/extra mount /dev/sdb1 /mnt/extra see file systems: df 18CSCI UNIX and Network Programming

Summary User Management sudo Software Management apt-get, synaptic File system Management fdisk, mkfs, mount, df 19CSCI UNIX and Network Programming