background preloader

The Debian Administrator's Handbook

The Debian Administrator's Handbook
Debian 10 Edition 1 Copyright © 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Raphaël Hertzog Copyright © 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Roland Mas Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Freexian SARL ISBN: 979-10-91414-19-7 (English paperback) ISBN: 979-10-91414-20-3 (English ebook) This book is available under the terms of two licenses compatible with the Debian Free Software Guidelines. Creative Commons License Notice: This book is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License. GNU General Public License Notice: This book is free documentation: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version. This book is published under a free license because we want everybody to benefit from it. Abstract

-- Manuels pour les utilisateurs de Debian Debian GNU/Linux FAQ Users' Frequently Asked Questions. Debian Installation Guide Installation instructions for the Debian GNU/Linux distribution. Versions of the installation guide for previous releases (and possibly the next release) of Debian are linked from the release page for those releases. Debian Release Notes This document contains information on what's new in the current Debian GNU/Linux distribution and complete upgrading information for users of older Debian releases. Debian Reference Card This card provides new users of Debian GNU/Linux with the most important commands in a single page to be used as a reference when working with Debian GNU/Linux systems. The Debian Administrator's Handbook The Debian Administrator's Handbook teaches the essentials to anyone who wants to become an effective and independent Debian GNU/Linux administrator. Debian Reference This Debian GNU/Linux reference covers many aspects of system administration through shell-command examples. Securing Debian Manual

Cooking Infrastructure by Chef Chef is a configuration management and automation platform from Chef. Chef helps you describe your infrastructure with code. Because your infrastructure is managed with code, it can be automated, tested and reproduced with ease. [fig:cheflogo] Chef is a configuration management tool written in Ruby and Erlang. The user writes <<recipes>> that describe how Chef manages server applications (such as Apache, MySQL, or Hadoop) and how they are to be configured. Traditionally, Chef is used to manage GNU/Linux but later versions support running on Windows as well. What are the core principles? Idempotence A recipe can run multiple times on the same system and the results will always be identical. Thick Clients, Thin Server Chef does as much work as possible on the node and as little as possible on the server. Order Matters When the chef-client configures each node in the system, the order in which that configuration occurs is very important. Why you should use Chef? [fig:automate-all-the-things] ! !. !

Server - for scale out workloads Ubuntu Server brings economic and technical scalability to your datacentre, public or private. Whether you want to deploy an OpenStack cloud, a Kubernetes cluster or a 50,000-node render farm, Ubuntu Server delivers the best value scale-out performance available. Download Ubuntu Server What's new in 21.10 Supported by Canonical until July 2022 Certified native drivers for NVIDIA virtual GPU (vGPU) software on Ubuntu 20.04 LTS and Ubuntu 18.04 LTS * Minimal system installation option through the Ubuntu Server Live Installer Needrestart by default for automated daemon restarts after applying library upgrades The latest stable Linux 5.13 kernel for the latest hardware and security updates Runs on all major architectures - x86-64, ARM v7, ARM64, POWER8, POWER9, IBM s390x (LinuxONE) and RISC-V Updates to QEMU (6.0), libvirt (7.6), PHP (8.0.8), Apache2 (2.4.48), GCC (11.2.0), Python (3.9.4), Bind9 (9.16.15), Open vSwitch (2.16.0) and OpenLDAP (2.5.6) Read more in the release notes Get in touch

MySQL SSH Tunnel mit autossh » Debian Root MySQL SSH Tunnel mit autossh Warum ein SSH Tunnel eine gute Wahl ist um von einem Remote Client auf einen MySQL Server zuzugreifen habe ich in diesem Artikel beschrieben. Jetzt möchte ich zeigen wir man einen dauerhaften SSH Tunnel erstellt und ihn aufrecht erhält. Zum Monitoring des Tunnels kommt autossh zum Einsatz und die Authentifizieren geschieht per PublicKey. MySQL Server (Bob) Dieser MySQL Server soll unter dem Port 3307 von Alice aus dauerhaft erreichbar sein. MySQL Server auf Bob Auf Bob wird ein neuer User angelegt und der sshd so konfiguriert das dieser User sich per PublicKey Authentication anmelden kann. Webserver auf Alice Als erstes wird autossh installiert, dann wird ein neue User angelegt. Jetzt loggt man sich als tunnel User ein und testet die Verbindung. Der autossh Aufruf endet nach dem -M 20009 (setzt den Monitoring Port auf 20009). Nun kümmern wir uns um den PublicKey zum anmelden ohne Passwort. Jetzt noch einmal die Verbindung per PublicKey testen. Auf Alice: Auf Bob:

-- Installation par le réseau à partir d'un CD minimal A network install or netinst CD is a single CD which enables you to install the entire operating system. This single CD contains just the minimal amount of software to install the base system and fetch the remaining packages over the Internet. What types of network connections are supported during installation? Various different ways are supported for this, like Ethernet and WLAN (with some restrictions) The following minimal bootable CD images are available for download: Official netinst images for the stable release — see below Images for the testing release — see the Debian-Installer page. This image contains the installer and a small set of packages which allows the installation of a (very) basic system. For information what these files are and how to use them, please see the FAQ. Once you have downloaded the images, be sure to have a look at the detailed information about the installation process.

rsync hack to bounce files between two unconnected servers Télécharger Fedora Server En cliquant et en téléchargeant Fedora, vous acceptez de respecter les modalités suivantes : En téléchargeant le logiciel Fedora, vous reconnaissez avoir compris tout ce qui suit : le logiciel Fedora et les informations techniques peuvent être assujettis à l’U.S. LuRsT/hr 10 outils Linux à connaître en tant que Sysadmin Tôt ou tard, tous les administrateurs système sont confrontés au défi de l'administration des serveurs. Et des outils viennent sauver la vie de l'administrateur système. En tant qu'administrateur système, vous ne travaillez tout simplement pas sur le système d'exploitation principal (Linux ou Windows), mais vous vous occupez également de ce qui y est hébergé. Zenmap Lorsque vous avez besoin de découvrir des problèmes liés au réseau, Zenmap viendra à la rescousse. Il s'agit d'un frontal pour le scanner de réseau Nmap qui fonctionne non seulement sous Linux mais aussi sous Windows, BSD, d'autres versions d'Unix et macOS. Zenmap peut stocker des profils, ce qui est certainement l'un de ses atouts. Webmin This L'outil one-stop-shop offre une interface Web pour administrer tous les aspects d'un serveur Linux. Il vous suffit de télécharger la dernière version et de la copier dans le dossier d'accueil du serveur. Cockpit Poste de pilotage est un autre outil d'administration de serveur. gping Nagios

Scrap the SCP. How to copy data fast using pigz and nc « Intermediate SQL Have you ever heard that the speed of the system is determined by its slowest component ? I am made painfully aware of that every time I do data migrations. I.e. it doesn’t matter if you have 64 core systems with 100+ Gb of memory on either end if the majority of time is spent waiting for data to trickle across a slow 1 Gb network link. Watching data trickle for hours, while the rest of the system is doing nothing is a pretty frustrating experience. But limitations breed creativity … so lately, I’ve been experimenting with several different copy techniques to see if there is any way transfer speed can be improved, perhaps using some of the idle capacity to speed things up. Here is the short summary of my experiments (transferring 16Gb ORACLE data file across the WAN), which I summarized as a “speed and effect comparison” table. And here is the longer explanation if you are really interested Copying data using SCP > scp /u02/databases/mydb/data_file-1.dbf remote_host:/u02/databases/mydb Yes.

Related: