Ubuntu System Administration Guide: Ubuntu Desktop, Server, security, and DevOps automation / Руководство по администрированию системы Ubuntu: Рабочий стол Ubuntu, сервер, безопасность и автоматизация DevOps Год издания: 2025 Автор: Hemmingsson Mattias / Хеммингссон Маттиас Издательство: BPB Publications ISBN: 978-93-65897-883 Язык: Английский Формат: PDF (Not True)/EPUB Качество: Издательский макет или текст (eBook) Интерактивное оглавление: Да Количество страниц: 365 Описание: Ubuntu, a powerful and versatile Linux operating system, is the cornerstone for countless personal desktops, robust servers, and cutting-edge cloud deployments. The Ubuntu System Administration Guide provides a rapid yet comprehensive journey, equipping you with the practical skills to confidently navigate and master this essential ecosystem, from basic commands to advanced infrastructure. This book systematically builds your expertise, starting with Ubuntu's ecosystem, installation, and desktop configuration, including diverse window managers and essential networking like VPNs. You will then cover virtualization with KVM and Vagrant, followed by modern containerization using Docker and local Kubernetes (Minikube). The book transitions to server mastery, covering various installation methods, robust health checks, and advanced server networking, including firewalls and VPN servers. It progresses to professional server virtualization with KVM and the deployment of full Kubernetes clusters. Finally, you will learn to set up web servers, deploy diverse applications, and automate tasks with powerful CI/CD pipelines, embodying DevOps practices. Upon completing this practical guide, you will possess a profound understanding of Ubuntu, gaining both beginner-friendly competence and professional-level skills in system administration, modern application deployment, and automation, ready to tackle real-world challenges. What you will learn ● Learn Ubuntu installation, desktop configuration, and network security essentials. ● Implement desktop virtualization (KVM, Vagrant) and local containerization (Docker, Minikube). ● Deploy Ubuntu Server on metal, cloud, and configure advanced networking. ● Build production Kubernetes clusters, including master, workers, and services. ● Automate server deployments and service delivery via CI/CD pipelines. ● Troubleshoot server logs, implement security HIDS, and set up alerts. Who this book is for This book is perfect for aspiring system administrators, developers, DevOps engineers, and IT professionals. Readers should have basic computer literacy and a desire to learn, as it guides them from fundamental Ubuntu concepts to advanced server and cloud-native practices. Ubuntu, мощная и универсальная операционная система Linux, является краеугольным камнем для бесчисленных персональных компьютеров, надежных серверов и передовых облачных решений. Руководство по системному администрированию Ubuntu представляет собой краткое, но всестороннее руководство, которое поможет вам овладеть практическими навыками, необходимыми для уверенной навигации и освоения этой важной экосистемы, от базовых команд до продвинутой инфраструктуры. Эта книга систематизирует ваши знания, начиная с экосистемы Ubuntu, установки и настройки рабочего стола, включая различные оконные менеджеры и основные сетевые сервисы, такие как VPN. Затем вы познакомитесь с виртуализацией с помощью KVM и Vagrant, а затем с современной контейнеризацией с использованием Docker и локального Kubernetes (Minikube). В книге рассказывается о различных методах установки, надежных проверках работоспособности и расширенных серверных сетях, включая брандмауэры и VPN-серверы. Затем вы перейдете к профессиональной виртуализации серверов с помощью KVM и развертыванию полноценных кластеров Kubernetes. Наконец, вы научитесь настраивать веб-серверы, развертывать разнообразные приложения и автоматизировать задачи с помощью мощных конвейеров CI/CD, воплощающих методы DevOps. После прочтения этого практического руководства вы будете обладать глубоким пониманием Ubuntu, приобретете как навыки, понятные новичкам, так и навыки профессионального уровня в области системного администрирования, развертывания современных приложений и автоматизации, и будете готовы решать реальные задачи. Что вы узнаете ● Изучите установку Ubuntu, настройку рабочего стола и основы сетевой безопасности. ● Реализуйте виртуализацию рабочего стола (KVM, Vagrant) и локальную контейнеризацию (Docker, Minikube). ● Разверните сервер Ubuntu в metal, cloud и настройте расширенную сеть. ● Создавайте производственные кластеры Kubernetes, включая основные, рабочие и службы. ● Автоматизируйте развертывание серверов и предоставление услуг с помощью конвейеров CI/CD. ● Устраняйте неполадки в журналах сервера, внедряйте идентификаторы безопасности и настраивайте оповещения. Для кого предназначена эта книга Эта книга идеально подходит для начинающих системных администраторов, разработчиков, инженеров DevOps и ИТ-специалистов. Читатели должны обладать базовой компьютерной грамотностью и желанием учиться, поскольку она поможет им перейти от фундаментальных концепций Ubuntu к передовым серверным и облачным практикам.
Примеры страниц (скриншоты)
Оглавление
1. Getting Getting Familiar with Ubuntu Ecosystem Introduction Structure Objectives Linux history Linux stack Usage and stats of Linux Ubuntu history Ubuntu releases Ubuntu version Mint Pop LXLE Other Linux distributions Create GitHub and blogger account Git Blog Book Git Repo Conclusion References 2. Install, Upgrade, and Configure Ubuntu Desktop Introduction Structure Objectives Installing Ubuntu Pre-installing Ubuntu Dual-boot Windows or Ubuntu Boot Ubuntu and install Making boot USB with Etcher Boot Ubuntu for the first time Pre-checks before installations Verify computer device Commands Installing Ubuntu Update and other software Installation type Ubuntu running Installing software Software store Snap Store Updating Ubuntu Upgrading Ubuntu LTS .config folder Conclusion 3. Environments and Window Managers Introduction Structure Objectives Install i3 window manager Tiling Extra commands Troubleshooting commands Commands in i3 Custom shortcuts Background image Lock screen Extra configs Extra Trix with i3 Work on Ubuntu Email Password manager PGP encryption Communication tools Watching video on Ubuntu Stream your desktop live Sound and video Webcam Syncing files Developing with Ubuntu Git Code PyCharm About code editors Conclusion 4. Setting up Firewall, VPN, and Wi-Fi Networks Introduction Structure Objectives Network DHCP or static Network static Connect to segment VLAN networks Connect to wireless network Hide your computer by changing MAC address Secure your connections with VPN service OpenVPN WireGuard Protect your traffic by using DNSS Protect your computer by applying a firewall Detect and stop computer virus Update virus database ClamAV GUI Conclusion 5. Preparing Virtualization Environment Introduction Structure Objectives Overview of virtualization in Ubuntu KVM virtualization in Ubuntu Create bridge Installing our first VM Settings for your VM Snapshots Custom snapshot Access to VM Using hardware devices directly in your VM Other virtualizations Build and run a Vagrant box inside KVM Run VirtualBox inside KVM Converting images back and forth Conclusion 6. Up and Running with Kubernetes and Introduction Structure Objectives Docker and container Installing Docker Setting up Docker repos for Ubuntu Docker Hub Official images Start your first Docker Expanding our Docker Compose to run services Adding Docker Compose Connecting service with Docker Compose Expanding Docker Compose Connecting two stacks Local development with Docker About Kubernetes Deploy app on Kubernetes MySQL WordPress Access your service Conclusion 7. Install Ubuntu Server on Metal, Cloud, and Network Introduction Structure Objectives Cattle vs. pets Using SSH to connect to your server Install Ubuntu Server with USB Connect to your Ubuntu Server Using Ubuntu in VM Ubuntu Server in Google Cloud and Hetzner Hetzner cloud and metal provider Creating an Ubuntu Server in Google cloud Large Ubuntu installations made easy PXE booting Provision VM with MAAS Setting up our network PXE installation on our server Time to boot More control Conclusion 8. Keeping Introduction Structure Objectives Commands for monitoring a Linux server Top Netstat lsof du Monitoring Ubuntu Server using Cockpit Monitoring Ubuntu Server data at scale Installing Grafana on Ubuntu Visualizing your metrics with Grafana Pushing data vs. pulling data Installing Node Exporter to export server data Combining tools to visualize the data Grafana dashboards Logs command Collecting and storing logs together Detecting hacking on your server Fail2Ban Setting up a HIDS Sending OSSEC logs with Filebeat to Elasticsearch Conclusion 9. Setup Advanced Network, Firewall, and VPN Servers Introduction Structure Objectives Using Ubuntu as the main firewall Ubuntu virtual NIC and VLAN VLAN Setup network for routing Controlling traffic with iptables Keeping you safe Network clients with DHCP and DNS DNS settings Securing communications OpenVPN To connect our client On the Client WireGuard VPN VPN troubleshooting Conclusion 10. Running Virtualization Server Environment Introduction Structure Objectives Installing KVM on your Ubuntu Server Connecting from the desktop using KVM GUI Installing the KVM web interface Creating a VM server Control your VM using the virsh command Shared storage Dedicated VM Linux version Containers Podman´s features Installing Podman Setting up Podman Repo Podman error with CNI plugin Setup and monitoring with Grafana and Prometheus Reading logs with Loki Journal logs Container based monitoring clients Conclusion 11. Setup Webserver, Deploy and Run Webapps Introduction Structure Objectives Web servers Apache Webb content First config NGINX Databases MariaDB SQL MongoDB Database tools phpmyadmin Deploying web apps WordPress Observium Rocket.Chat Webb performance Backup Database user Conclusions 12. Kubernetes Run and Setup Introduction Structure Objectives Installing Kubernetes on Ubuntu Installing Kubernetes requirements Setting up our Kubernetes cluster Deploy Kubernetes base service Installing Helm Storage Monitoring Ingress Load balancer Logs Install WordPress in Kubernets MySQL WordPress Access our WordPress Setup MetalLB Monitoring Kubernetes cluster with Grafana Kubectl command to remember Pods Conclusions 13. Task Automations, CI/CD Pipeline, and Service Deployment Introduction Structure Objectives Basic Bash Automate tasks with Ansible Run host command from Docker Build and push Docker images Docker hub Build local Build and push Deploy with terraform against Kubernetes Init Terraform Terraform commands Terraform plan Terraform apply CI/CD Conclusion Index
Hemmingsson Mattias / Хеммингссон Маттиас - Ubuntu System Administration Guide / Руководство по администрированию системы Ubuntu [2025, PDF/EPUB, ENG] download torrent for free and without registration
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum