Unit- 5. Linux Systems

Similar documents
LAN Setup Reflection. Ask yourself some questions: o Does your VM have the correct IP? o Are you able to ping some locations, internal and external?

LAN Setup Reflection

Wowza Media Server Pro for Riverbed Steelhead. Installation Guide


Static Ip Address Problems Windows 7 Setup. Virtual >>>CLICK HERE<<<

Cisco Modeling Labs OVA Installation

Deploying Cisco UCS Central


Spring 2017 :: CSE 506. Introduction to. Virtual Machines. Nima Honarmand

Hawk Server for Linux. Installation Guide. Beta Version MHInvent Limited. All rights reserved.

FileCruiser VM Quick Configuration Guide For Trial Version V1.0

OpenNebula 4.12 Quickstart Ubuntu and KVM

HP LeftHand SAN Solutions

WA2342 NoSQL Systems Comparison. Lab Server VM Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

The Challenges of X86 Hardware Virtualization. GCC- Virtualization: Rajeev Wankar 36

Ubuntu Set Static Ip Address Command Line

This document guides the user through: 1. Setting up and configuring networking for the BeagleBone black or green with the host.


Chapter 5 C. Virtual machines

Implementation and. Oracle VM. Administration Guide. Oracle Press ORACLG. Mc Grauv Hill. Edward Whalen

ElasterStack 3.2 User Administration Guide - Advanced Zone

Linux application virtualization with UDS Enterprise. Versión Rev. 1

OpenNebula 4.4 Quickstart Ubuntu and KVM. OpenNebula Project

CipherMail Gateway Virtual Appliance Guide

Redhat OpenStack 5.0 and PLUMgrid OpenStack Networking Suite 2.0 Installation Hands-on lab guide

RHEL 5 Essentials. Red Hat Enterprise Linux 5 Essentials

Configuring a Standalone VCL Environment using VMware Server 2.0

IBM Single Sign On for Bluemix Version December Identity Bridge Configuration topics

Experimenting Internetworking using Linux Virtual Machines Part I

Deploying Application and OS Virtualization Together: Citrix and Virtuozzo

Appliance Guide. Version 1.0

Getting Started with PetaLinux SDK

Parallels Virtuozzo Containers

Production Installation and Configuration. Openfiler NSA

HOW-TO-GUIDE: demonstrating Fabric Attach using OpenVSwitch

How to Deploy a Barracuda NG Vx using Barracuda NG Install on a VMware Hypervisor

Root over NFS on User Mode Linux

Deploy IBM Spectrum Control Virtual Appliance into VMware Workstation V10.0 or later IBM

Installing and Configuring Devstack Newton for Infoblox Integration

Virtual Appliance User s Guide

What is Cloud Computing? Cloud computing is the dynamic delivery of IT resources and capabilities as a Service over the Internet.

Installation of the OS

Installing web.alive in a customer premises

Unit 5: Distributed, Real-Time, and Multimedia Systems

VMware ESX ESXi and vsphere. Installation Guide

Ubuntu Manually Mount Cdrom Drive Command Line Vmware

Network+ Guide to Networks 7 th Edition

Microsoft Hyper-V. Installation Guide

= Session-(1.4) Preparing the Workstation for the Lab / OS Installation = Session-(1.4) Preparing the Workstation for the Lab / OS Installation

Open Source Virtualization - Software Freedom Day 2008

WA2393 Data Science for Solution Architects. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

Installing and Configuring Oracle VM on Oracle Cloud Infrastructure ORACLE WHITE PAPER NOVEMBER 2017

LENS Server Maintenance Guide JZ 2017/07/28

LOMBA KETERAMPILAN SISWA

Deploy the ExtraHop Discover Appliance with VMware

StampA5D3x/PortuxA5/PanelA5. Quickstart Guide

Using CFEngine with Open Nebula A CFEngine Special Topics Handbook

VMWare Workstation Installation. Microsoft Windows Server 2008 Enterprise with Service Pack 2

UDS Enterprise Preparing Templates Xubuntu X2Go + UDS Actor

The mixed environment will have PCs from both environments. Usually this environment uses the Linux server as an SSH, DNS or mail server.

MITEL PERFORMANCE ANALYTICS

Puppet 101 Basic installation for master and agent machines on Ubuntu with VMware Workstation

IT341 Introduction to System Administration Project II Setting up our LAN

Comodo Dome Data Protection Software Version 3.8

Installation Manual InfraManage.NET Installation Instructions for Ubuntu

SERVE. -Priyal Lokhandwala

Using KVM On Ubuntu 7.10 (Gutsy Gibbon)

VisibleThread - Server Configuration Help

WA2592 Applied Data Science and Big Data Analytics. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc.

Hardware LoadMaster. Installation Guide

Infoblox Installation Guide vnios for Xen. Page 1

VIRTUAL MACHINES. By Seth Lemanek

VMware vsphere 5.0 Evaluation Guide

ZeroStack Quick Start Guide

ECDS MDE 100XVB Installation Guide on ISR G2 UCS-E and VMWare vsphere Hypervisor (ESXi)

NSX-T Upgrade Guide NSX-T 1.1

Part 1 : Getting Familiar with Linux. Hours. Part II : Administering Red Hat Enterprise Linux

Installing and Configuring Oracle VM on Oracle Cloud Infrastructure O R A C L E W H I T E P A P E R D E C E M B E R

Parallels Virtuozzo Containers

SETTING UP SSH FOR YOUR PARALLELLA: A TUTORIAL FOR STUDENTS

Installing and Upgrading Cisco Network Registrar Virtual Appliance

Configuring a Palo Alto Firewall in AWS

OS10 Virtualization Guide. Enterprise Edition

Module 1: Virtualization. Types of Interfaces

Getting Started Guide. Installation and Setup Instructions. For version Copyright 2009 Code 42 Software, Inc. All rights reserved

How to Deploy an Oracle E-Business Suite System in Minutes Using Oracle VM Templates

Quick Start Guide for BeagleBone Black. Table of Contents. by Brian Fraser Last update: Summer, 2015

Horizon Console Administration. 13 DEC 2018 VMware Horizon 7 7.7

Autopology Installation & Quick Start Guide

MOC 6420A: Fundamentals of Windows Server 2008 Network and Applications Infrastructure

Virtualization. Michael Tsai 2018/4/16

Day 1 IT Network Systems Administration Trade 39 WSC 2011 London

UDS Enterprise- Preparing Templates Xubuntu XRDP UDS Actor

An Introduction to Networking with Linux and Linux Containers (LXC) Travis P. Bonfigli Technology Evangelist

Product Version 1.1 Document Version 1.0-A

AWS Course Syllabus. Linux Fundamentals. Installation and Initialization:

ScopTEL TM IP PBX Software. DNS Server Configuration Wizard

NSX-T Data Center Migration Coordinator Guide. 5 APR 2019 VMware NSX-T Data Center 2.4

Network+ Guide to Networks, Seventh Edition Chapter 2, Solutions

Virtual Machines. Jinkyu Jeong Computer Systems Laboratory Sungkyunkwan University

Transcription:

Unit- 5 Linux System- Basic Concepts; System Administration-Requirements for Linux System Administrator, Setting up a LINUX Multifunction Server, Domain Name System, Setting Up Local Network Services; Virtualization- Basic Concepts, Setting Up Xen, VMware on Linux Host and Adding Guest OS. Basic Concepts Linux Systems User Concept User Roles Groups The Linux File System Key Features - Specifying Paths - Partitions, Drives/Devices and Directories - Mounting and Unmounting - Case-Sensitivity - File Extensions The Directory Structure Files and Folders Components Diagram Kernel System libraries. System utilities. 1 P a g e

System Requirements Web server (Apache 2.0.x) A mail server (Postfix) A DNS server (BIND 9) An FTP server (ProFTPD) Mail delivery agents (POP3/POP3s/IMAP/IMAPs) Webalizer for web site statistics Responsibilities of System Administrator in LINUX? Administer and manage large Linux server environment, with an emphasis on performance monitoring, tuning, and management. Oversee database physical design, administration, and documentation. Provide network troubleshooting, escalated service desk support, and proactive monitoring of mission-critical systems. Provide guidance and direction of technology solutions for the organization; train and mentor junior-level administrators. Install, configure, and troubleshoot all hardware, peripherals, and equipment necessary to meet integrated systems objectives; provide support functions on escalated issues. Domain Name System Definition Need for DNS Four different types of DNS servers Advantages of Localized DNS Administration Setting Up a DNS Server The Distributed Method of Resolving Domain Names Setting up Local Network Services. Configuring the Network DHCP Installing DHCP Starting DHCP Service Providing Static IP Addresses 2 P a g e

Assigning IPv6 Addresses with radvd Gateway Services DHCP Dynamic Host Configuration Protocol (DHCP) is used to solve a number of problems associated with local network environments, including IP address assignment problems and administration issues. Some of the issues that DHCP solves are: PCs and workstations require unique IP addresses, DNS information, and the locations of gateways. Manually tracking IP addresses causes excessive work. Accidental duplication of IP addresses creates conflicts on the network. Troubleshooting address problems (such as duplicate addresses) and changes in location creates unnecessary work. Changes in personnel usually mean that someone will have to check each computer to configure a new database of IP assignments. Frequent movement of mobile users creates a need to reconfigure networking on laptops. Demilitarized zone (DMZ) Demilitarized zone (DMZ) refers to a perimeter network, which is a subnet or network that sits between an internal network and the Internet. DMZs are used to contain servers that need to be accessible from the outside world, such as email, web, and DNS servers. Connections from the Internet to the DMZ are usually controlled using Port Address Translation (PAT). Configuring the Network E.g. Debian DHCP is used during the Debian installation, then configure the server with a static IP address perform the testing required. If public IP address is configured as static, you can skip to the next section. If you installed Debian with a DHCP client from your router or Internet service provider, you need to reconfigure networking. This is a valuable lesson in its own right for exploring Linux network configuration. To change the settings to use a static IP address, the user should be a root user and edit the file /etc/network/interfaces to suit your needs. As an example, we ll use the IP address 70.153.258.42. The configuration file starts out looking like this: # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) # The loopback interface 3 P a g e

auto lo iface lo inet loopback # The first network card - this entry was created during the Debian # installation # (network, broadcast, and gateway are optional) # The primary network interface iface eth0 inet dhcp then search the servers nameserver 70.153.258.42 nameserver 70.253.158.45 nameserver 151.164.1.8 Now, to set the hostname, enter these commands: # echo server1.centralsoft.org > /etc/hostname # /bin/hostname -F /etc/hostname Then finally give service network restart. Virtualization Definition Virtualization is the creation of a virtual (rather than actual) version of something, such as an operating system, a server, a storage device or network resources. Virtualization allows one computer to do the job of multiple computers. Virtual environments let one computer host multiple operating systems at the same time. Virtualization transforms hardware into software Virtual machine monitor The Virtualization layer is the middleware between the underlying hardware and virtual machines represented in the system, also known as virtual machine monitor VMM. Levels of virtualization OS level Virtualization Server level Virtualization Storage level Virtualization Processor level Virtualization Network level Virtualization 4 P a g e Benefits of virtualization

It replaces wasteful arrays of systems with fewer, better-utilized systems. It simplifies administration, because separate kernels with one application running on each are more secure and manageable than one kernel running many applications. It also maintains the environment in which documents were created, to meet regulatory requirements. Reduced hardware and complexity allows reduced staff. Virtualization may help reverse the trend of server sprawl. Use of Virtualization Virtualization can be used to run multiple versions or multiple Linux distributions on one system, or to test untrusted applications in a sandboxed environment. Virtualization improves the utilization of servers and reduces over provisioning of hardware by consolidating system resources. XEN - Hypervisor Definition A hypervisor is a hardware virtualization technique allowing multiple operating systems, called guests to run on a host machine. XEN Installation Prerequisites for Xen installation The following packages must be installed in order to proceed with the Xen installation. iproute bridge-utils udev gcc binutils make zlib1g-dev libncurses4-dev openssl python-dev Steps for Xen Installation 5 P a g e

1.Type " apt-get update" in your console in order to update your local repository 2. apt-cache search xen-hypervisor 3. Install the Xen hypervisor using the following command apt-get install xen- hypervisor-3.2-1-i386 4.Installing the linux-system image. apt-get install xen-linux-system-2.6.26-1-xen-686 5. Install xen-utils-3.2-1 & Xenstore-utils apt-get install xen-utils-3.2-1 apt-get install xenstore-utils 6.Installing xenwatch apt-get install xenwatch 7.Installing xen-shell apt-get install xen-shell 8.Installing xen-tools apt-get install xen-tools After installing all the tools 1 Create a virtual machine using the following command $ xm create guestconfig This command will start the DomU or VM. To list the VM issue command as follows $ xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 403 2 r----- 476.5 guestnode.grid 1 599 1 r----- 8243.0 2 Login Guest Domain To login to newly create VM (guestnode.grid) issue command as follows $ xm console 1 You will be prompted for user name and password. Types of virtualization. Full virtualization. Para virtualization. Full virtualization 6 P a g e

Does not need to modify guest OS, and critical instructions are emulated by software through the use of binary translation. VMware Workstation applies full virtualization, which uses binary translation to automatically modify x86 software on-the-fly to replace critical instructions. Diagram for Full virtualization Advantage: no need to modify OS. Disadvantage: binary translation slows down the performance. Para virtualization Para virtualization must modify guest OS, non-virtualizable instructions are replaced by hyper calls that communicate directly with the hypervisor or VMM. Para virtualization is supported by Xen, Denali and VMware ESX. Diagram for Para virtualization 7 P a g e

Reduces the overhead, but cost of maintaining a para virtualized OS is high. The improvement depends on the workload. Installing VMware VMware has made its server available for free, and the code is even open source. http://www.vmware.com/products/server. VMware has also submitted its own open source contributions to the kernel developers, realizing that VMware will run better on Linux. VMware instances from an Ubuntu desktop using the VMware console. Creating a new installer database using the tar3 format. Installing the content of the package. [/usr/bin] VMware Server s installation begins based on the installation script s sniffing of the operating system and file layouts. The path "/usr/lib/vmware" does not exist currently. This program is going to create it, including needed parent directories. Toward the end of the installation, the script will inform the installation of the code has completed. The following are the installation process: Starting VMware services: 8 P a g e Virtual machine monitor done Virtual Ethernet done Bridged networking on /dev/vmnet0 done Host-only networking on /dev/vmnet1 (background) done Host-only networking on /dev/vmnet8 (background) done NAT service on /dev/vmnet8 done Starting VMware virtual machines done. Thus the VM-ware will be installed.