What is linux server administration

Linux server administration

Linux server administration is one of the server administration learning projects. Linux server administration studies the use of the Linux operating system as an all purpose server.

Contents

What is Linux? [ edit | edit source ]

Linux, or GNU/Linux, refers to any Unix-like computer operating system which uses the Linux kernel. It is one of the most prominent examples of open source development and free software as well as user generated software; its underlying source code is available for anyone to use, modify, and redistribute freely. See the Linux article at Wikipedia for much more information

Choosing a distribution [ edit | edit source ]

Linux distributions are available in a very wide variety. Choosing only one is a difficult task. Popular examples that have been around for a while are

Others like Knoppix offers live CD experience. See the Comparison of Linux distributions at Wikipedia for an exhaustive list

NOTE: Wikiversity runs from Wikimedia servers using several distributions including Red Hat Enterprise Linux and Ubuntu.

A curriculum for the Linux users and administrators [ edit | edit source ]

This is for future contributers to add to and develop.

Level 1 : Introduction to Linux

  • What is Linux?
  • How Linux Began and Origins of Linux
  • The GNU Project
  • Platforms, Applications & Distributions
  • Linux Resources
  • Minimum System Requirements
  • The Fedora Project
  • Red Hat Linux 7,8,9 vs. Enterprise 3.x
  • Chapter 1 Review

Level 2 : Linux Installation

  • Is Your Hardware Compatible?
  • System Requirements Table
  • Initiating an Installation
  • Hard Disk Management: fdisk, linux/mdadm, disk usage, blkid, lsblk
  • Selecting an Installation Method
  • Virtual Consoles
  • Initiation Installation from Boot Media
  • Welcome Screen and Boot Options
  • Language Selection
  • Keyboard & Mouse Configuration
  • Installation Type Options
  • Disk Partitioning Setup
  • Boot Loader Configuration
  • Network Configuration
  • Firewall Configuration
  • Language Support Selection
  • Time Zone Configuration: NTP services
  • Root Password Configuration
  • Authentication Configuration
  • Desktop Configuration
  • Demo — Fedora Installation
  • Directory structure[1]
  • Chapter 2 Review

Level 3 : Package Managers: Red Hat Package Manager «RPM»

  • What is RPM?
  • Demo — Reflection X
  • Downloading RPM’s
  • RPM’s 5 Modes of Operation
  • Installing with RPM
  • Installation Errors/Remedies
  • Uninstalling Packages
  • Upgrading RPM’s
  • Freshening RPM’s
  • Querying RPM’s
  • Verifying RPM’s
  • Additional RPM Resources
  • Other package management systems: dpkg, apt, yum
  • Chapter 3 Review

Level 4 : Managing Users

  • Linux User Types
  • Adding Users
  • Usernames
  • Passwords
  • User Home Directories
  • UID and GID
  • User Groups
  • User Primary vs. Private Groups
  • Sharing
  • Files Built When Users are Created
  • Files Checked by Bash
  • Activating the User Manager GUI
  • System Created Users & Groups
  • Command Line User Deletion
  • Chapter 4 Review

Level 5 : Partitioning and Filesystems

  • Devices & Device Nodes
  • IDE Devices
  • SCSI Devices
  • IDE Device Naming
  • SCSI Chain
  • Filesystem Management Commands
  • Partition Planning
  • Partition Types
  • Supported Filesystems
  • Creating Filesystems
  • Files: (touch (command))
  • Formatting devices: Floppies / USB
  • More Filesystem Details
  • Link Count
  • Mounting Filesystems
  • Unmounting Filesystems
  • Mount Command Options
  • Mounting Remote Filesystems
  • fstab File
  • Swap Space
  • Special Case: Swap
  • Special Case: Automounter
  • Quotas
  • Maintenance & Repair
  • Adding a New Hard Drive
  • Recovering a Partition
  • LVM and ZFS
  • Demo -fstab File
  • Chapter 5 Review
  • Types of Backups
  • Device Naming Conventions
  • Chapter 6 Review
Читайте также:  Шредер файлов для windows

Level 7 : Startup and Shutdown

  • The Boot Process
  • Run Levels
  • Configuring Process Fields
  • Inittab Example
  • In The Beginning.Init
  • The /etc/rc.d Directory
  • /etc/rcX.d Script Sequencing
  • Processes: ps and pstree utils
  • Stop & Stop Services: systemd
  • The /etc/rc.d/rc.local File
  • Shutting Down Properly
  • Methods of Rebooting
  • Booting into Single-User Mode
  • Creating a Boot Diskette
  • Demo — Startup & Shutdown Procedures
  • Chapter 7 Review

Level 8 : Compiling the Kernel

  • What is the Linux Kernel?
  • Why Compile the Kernel?
  • Before You Get Started
  • Four Kernel Upgrade Paths
  • Check Your Tool Kit
  • 4 Stages to Compile the Kernel
  • Patching the Kernel
  • Demo — Manually Compile the Kernel
  • Chapter 8 Review
  • 2 Major Scheduling Daemons
  • crontab command
  • The /etc/crontab File
  • Simple /etc/crontab Example
  • Complex /etc/crontab Example
  • An actual /etc/crontab file
  • Sample /etc/cron.daily/ directory
  • Use /etc/cron.allow or /etc/cron.deny
  • Starting & Stopping cron
  • The at Command
  • Anacron
  • Starting & Stopping Anacron
  • Sample /etc/anacrontab File
  • Demo — Scheduling
  • Chapter 9 Review

Level 10 : Basic Networking Concepts

  • Platform Compatibility
  • Physical Network Support
  • Protocol Suite Support
  • Network Device Names
  • Network Kernel Modules
  • ifconfig Command
  • ifup & ifdown Scripts
  • Interface Configuration
  • Non-root User Control
  • Multiple IP’s on a Single Interface
  • Client DHCP/BOOTP
  • Global Parameters
  • Configuration Utilities
  • Network Tools
  • Demo — Reconfigure Network Information
  • Demo — Sysconfig Directory
  • Chapter 10 Review

Level 11 : Printing

  • Linux Printing over the Last 2 Years
  • Setup Printing
  • Common Unix Printing System «CUPS»
  • Printing Flow in a CUPS Environment
  • CUPS Browser Interface
  • Linux-Supported Printers
  • Printer Configuration Tools
  • User Command Interface
  • Starting & Stopping Printing Services
  • lpr Examples
  • lpq Examples
  • lprm Examples
  • lpc Usage
  • Printing from Linux Applications
  • redhat-config-printer
  • Availability
  • Troubleshooting Printing
  • Chapter 11 Review

Level 12 : Linux Security

  • Basic Levels of Security
  • Physical Security
  • Grub Security
  • User-based Security
  • User Accounts & Patterns
  • Typical User No-No’s
  • Delegating Root Authority
  • Password Security
  • Pluggable Authentication Modules «PAM»
  • Permissions
  • File and directory permissions
  • Controlling Permissions
  • Files & Filesystem Security
  • Filesystem Monitoring
  • Avoiding Trojan Horses
  • Encryption
  • Introduction to iptables: filters and SNAT/DNAT
  • hardening[2]
  • Response Strategies
  • Demo — Base Permissions
  • Chapter 12 Review

Level 13 : Popular Linux Services

  • SAMBA Naming, overview and components
  • Exploring/Browsing Directories
  • Browsing Resources with Linux Commands
  • Letting Linux Use a Windows Printer
  • Official SAMBA Website
  • Web Servers:
    • Apache Web Server: Naming confusion and configuration files
    • Nginx
  • What is Squid?
  • Demo — Connecting to a Linux Machine
  • Demo — Getting a list of Running Services

Level 14 : Operation and Monitoring

Источник

What is Linux System Administration?

Linux is an operating system or a kernel created by Linus Torvalds with other contributors. It was first released on September 17, 1991. The main advantage of Linux is that it is distributed under an open-source license means programmers can use the Linux Kernel to design their own custom operating systems. Most of Linux code is written in C Programming Language.

Some of the most popular operating systems that use Linux as kernel are Debian, Knoppix, Ubuntu, and Fedora. Nevertheless, the list does not end here as there are thousands of operating systems based on Linux which offer a variety of functions to the users.

Introduction to Linux System Administration: Linux is a major strength in computing technology. Most of the webserver, mobile phones, personal computers, supercomputers, and cloud-servers are powered by Linux. The job of a Linux systems administrator is to manage the operations of a computer system like maintain, enhance, create user account/report, taking backups using Linux tools and command-line interface tools. Most computing devices are powered by Linux because of its high stability, high security, and open-source environment. There are some of the things that a Linux system administrator should know and understand:

  • Linux File Systems
  • File System Hierarchy
  • Managing Root/super User
  • Basic Bash Command
  • Handling File, Directories and Users
Читайте также:  Панель gnome как windows

Duties of a Linux Administrator: System Administration has become a solid criterion for an organization and institute that requires a solid IT foundation. Hence, the need for efficient Linux administrators is the requirement of the time. The job profile might change from each organization as there may be added responsibilities and duties to the role. Below are some duties of a Linux Administrator:

  • Maintain all internet requests inclusive to DNS, RADIUS, Apache, MySQL, PHP.
  • Taking regular back up of data, create new stored procedures and listing back-up is one of the duties.
  • Analyzing all error logs and fixing along with providing excellent customer support for Webhosting, ISP and LAN Customers on troubleshooting increased support troubles.
  • Communicating with the staff, vendors, and customers in a cultivated, professional manner at all times has to be one of his characteristics.
  • Enhance, maintain and creating the tools for the Linux environment and its users.
  • Detecting and solving the service problems ranging from disaster recovery to login problems.
  • Installing the necessary systems and security tools. Working with the Data Network Engineer and other personnel/departments to analyze hardware requirements and makes acquiring recommendations.
  • Troubleshoot, when the problem occurs in the server.

Steps to Start the Career as Linux System Admin:

  • Install and learn to use Linux environment
  • Get Certified in Linux administration
  • Learn to do Documentation
  • Joining up with a local Linux Users Group or Community for Support and Help

In short, the main role of the Linux Systems Administrator is to manage the operations like install, observe the software and hardware systems and taking backup. And also have a good ability to describe an In-depth understanding of technical knowledge. Even freshman-level Professionals has great possibilities for the position of System Administrator with the yearly median salary is around INR 3 Lacs, salary increase with an increase in job experience. To get the experience you need to check for the latest skills and learning in the Linux community.

Источник

Лекции Технотрека. Администрирование Linux

Представляем вашему вниманию очередную порцию лекций Технотрека. В рамках курса будут рассмотрены основы системного администрирования интернет-сервисов, обеспечения их отказоустойчивости, производительности и безопасности, а также особенности устройства ОС Linux, наиболее широко применяемой в подобных проектах. В качестве примера будут использоваться дистрибутивы семейства RHEL 7 (CentOS 7), веб-сервер nginx, СУБД MySQL, системы резервного копирования bacula, системы мониторинга Zabbix, системы виртуализации oVirt, балансировщика нагрузки на базе ipvs+keepalived. Курс ведёт Сергей Клочков, системный администратор в компании Variti.

Лекция 1. Основы

В начале лекции вы узнаете об истории появления и развития Linux. Затем проводится экскурс по экосистеме Linux, рассказывается о некоторых различиях между дистрибутивами. Далее обсуждается иерархия файловой системы, рассматривается основной рабочий инструмент в этой ОС — командная строка. Подробно рассказывается о Bash-скриптах, о двух основных сущностях в системе — пользователях и группах. Затем обсуждаются регулирование прав доступа к файлам и директориям, рассматриваются привилегии пользователей и в завершение лекции затрагивается тема удалённого доступа.

Лекция 2. Пользовательское окружение Linux

Сначала подробно рассказывается об этапах загрузки системы и ОС, обсуждается ядро Linux. Объясняется, что собой представляет «процесс», как он использует оперативную память. Вы узнаете, что такое дескрипторы и для чего они нужны, как процессор потребляет ресурсы. Затем рассматриваются системные вызовы, сигналы, лимиты процессов, переменные окружения. Обсуждается вопрос размножения процессов и подробно анализируется работа процесса. В завершение вы узнаете о подсистеме perf и логах.

Лекция 3. Linux и сеть (основы)

Вы узнаете, что такое сетевой стек и модель OSI. Вспомните, что такое Ethernet и как с ним работает Linux. Дальше будут освежены ваши знания об использовании IPv4, особенностях IPv4-пакетов и сетей. Затем рассматривается ICMP, мультикаст в IPv4. Далее переходим к IPv6, обсуждаются заголовки IPv6-пакетов, UDP, TCP-соединения. Затрагивается тема TCP congestion control. Потом рассказывается о NAT, протоколах уровня приложения, DNS, NTP, HTTP и URL. Разбираются коды HTTP-ответа (успешные ответы и ошибки).

Читайте также:  Windows zip linux unzip

Лекция 4. Управление пользовательским окружением

Вы узнаете о том, что такое менеджер пакетов RPM и как его использовать. Далее рассматривается классический init, системный менеджер systemd. Разбирается пример init-файла. Обсуждаются основные типы Unit’ов, рассказывается про системный логгер и ротацию логов. В заключение вы узнаете об основах конфигурации сетевых интерфейсов.

Лекция 5. Веб-сервисы

Сначала рассматривается типовая архитектура веб-сервиса. Рассказывается о том, что такое фронтенд, что такое сервер приложений. Разбирается вопрос хранения данных веб-приложениями. Подробно разбирается работа и использование протокола HTTP. Обсуждаются виды HTTP-запросов. Затрагивается тема создания шифрованных туннелей с помощью SSL. Затем рассматриваются примеры установки СУБД MySQL с созданием БД и пользователя. Разбирается работа с PHP-FPM, конфигурирование nginx, установка и настройка wiki-движка.

Лекция 6. Хранение данных

Перечисляются основные проблемы хранения данных, рассматриваются достоинства и недостатки разных устройств хранения, их интерфейсы. Затем вы узнаете, как определять состояние жёсткого диска, какова его производительность, что такое RAID, какие бывают RAID-массивы и как их создавать. Сравниваются разные типы RAID, а также программные и аппаратные массивы. Обсуждаются LVM-снепшоты, рассматриваются разные файловые системы. Затрагивается вопрос удалённого хранения данных и использование протокола ISCSI.

Лекция 7. Сервисы инфраструктуры

Рассматривается DNS-сервер bind, NTP-сервер. Обсуждается централизованная аутентификация на основе LDAP. Разбирается DHCP, задача установки ОС по сети с помощью kickstart, а в завершение рассматривается система управления конфигурацией Salt.

Лекция 8. Резервное копирование

Начало лекции посвящено продолжению рассказа о системе управления конфигурацией Salt. Рассказывается, как её установить, как осуществляется управление конфигурацией Linux, разбирается её пример. Вы узнаете, что такое «зёрна» и зачем они нужны. Далее переходим к теме резервного копирования: какие данные нужно копировать, каковы основные трудности, какие бывают виды резервных копий. Обсуждается задача резервного копирования ОС. Рассказывается об использовании системы резервного копирования bacula.

Лекция 9. Резервное копирование (часть 2)

В начале лекции рассказывается о резервном копировании БД. Обсуждаются различные стратегии резервного копирования — mysqldump, mylvmbackup. Вы узнаете, для чего нужен мониторинг и как его выполнять, какие есть средства мониторинга. Рассматриваются разные виды проверок. Обсуждаются шаблоны проверок. В заключение рассказывается об элементах данных, о выполнении веб-мониторинга.

Лекция 10. Инфраструктура электронной почты

Вы узнаете, что такое электронная почта, познакомитесь с основными понятиями. Затем рассматривается процесс доставки и выдачи почты. Обсуждается использование протоколов SMTP, POP3 и IMAP. Разбирается применение SMTP-сервера postfix, IMAP-сервера Dovecot. Рассказывается о том, как ходят письма по сети и что такое MX-записи. Наконец, обсуждается защита от спама, разбираются SPF-записи, DKIM и Spamassassin.

Лекция 11. Распределение ресурсов системы

Лекция посвящена продвинутым вопросам администрирования Linux. Сначала вы узнаете, как управлять параметрами ядра ОС. Затем рассматриваются модули ядра, как ими управлять. Обсуждается выделение ресурсов приложения. Далее рассказывается о планировщике задач, об алгоритмах шедулинга, о приоритетах процессов. Разбирается шедулер CFS, политики шедулинга. Вы узнаете, что такое NUMA и как с ней работать. Познакомитесь с планировщиками ввода/вывода. Далее рассказывается о контрольных группах, об управляемых ресурсах, об управлении контрольными группами и лимитами ввода/вывода.

Плейлист всех лекций находится по ссылке. Напомним, что актуальные лекции и мастер-классы о программировании от наших IT-специалистов в проектах Технопарк, Техносфера и Технотрек по-прежнему публикуются на канале Технострим.

Другие курсы Технотрека на Хабре:

Информацию обо всех наших образовательных проектах вы можете найти в недавней статье.

Источник

Оцените статью