Показаны сообщения с ярлыком системное администрирование. Показать все сообщения
Показаны сообщения с ярлыком системное администрирование. Показать все сообщения

ITить колотить


Первоначальная настройка DigitalOcean-дроплета с ОС Ubuntu 16.04.2 x32

Настройка файрвола

Для начала настроим файрвол. Разрешим подключаться к серверу по SSH:
# ufw disable
# ufw reset
# ufw default deny incoming
# ufw default deny outgoing
# ufw allow in on eth0 from any to ##.###.##.### port 22 proto tcp
# ufw enable
# service ufw restart
# ufw status verbose
# ufw status numbered

How To Set Up a Firewall with UFW on Ubuntu 16.04
UFW Essentials: Common Firewall Rules and Commands

Локальный и удаленный проброс портов

SSH TUNNELLING FOR FUN AND PROFIT:
  1. LOCAL VS REMOTE
  2. TUNNEL OPTIONS
  3. AUTOSSH
  4. SSH CONFIG

3 стадии системного администратора

  1. Не делает бекапы.
  2. Делает бекапы.
  3. Делает бекапы и проверяет восстановление.

источник

“Security” means your stuff is safe, and other folks can’t get it

Confidentiality

This means that secret data should remain secret. Your private information must not get into the public eye. That Eastern European kiddie porn syndicate should not get your credit card number.

Integrity

This means that data on the system should not be changed without authorization. Your records should remain intact. That intruder should not change the shipping address on an order, making your staff ship a crate of really expensive stuff to an abandoned warehouse in Detroit.

Availability

This means that the system keeps running. If your business depends on your website, losing the website means losing business. Someone who can take your website down can starve your company. And all kinds of people are willing to shut you down, either to compete or just for laughs.

"Да ты просто так деньги получаешь!"

Есть у меня хороший знакомый, который в новогоднюю ночь поведал мне волшебную историю о своём работодателе.

Дайджест интересных материалов из мира системного администрирования №1

KVM
Установка Linux KVM и гостевой ОС | rootslan central
Red Hat | Virtualization support in Red Hat Enterprise Linux

VMWare
VMWare Interfaces Tutorial | RedNectar's Blog

Network
HowTo Red Hat Enterprise Linux 5 Configure The Network Card
Viewing Packet Flow With TCPdump
Настройка аггрегации линков (bonding) в RHEL  | Заметки сисадмина
Кластер (практическое руководство) :: Channel bonding
Настройка IEEE 802.3 и LACP на CentOS 5/6 | Блог «Админа-Маньяка»
Простенький скрипт настройки bonding  - Обитель UNIX

Linux
25+ Awesome Linux/Unix command chaining examples
Find Linux / UNIX Kernel Version 
How to calculate available disk space on Linux? from Ask Dave Taylor
CentOS – RedHat: A “systeminfo” like script for Linux | George's little nerdom corner
Kernel Size Tuning Guide - eLinux.org

Xen
ru/Xen - Debian Wiki
Xen Serial Console - Xen
Xen Common Problems - Xen
XenProposed - Community Ubuntu Documentation
libvirt: Wiki: Failed to connect to the hypervisor

GRUB
Configure Linux kernel using GRUB

Red Hat
Technical Notes - Red Hat Customer Portal
How do I automatically add kernel parameters into grub.conf? - Red Hat Customer Portal
Verifying Kernel Parameters - Red Hat Customer Portal

CentOS
HowTos/Custom Kernel - CentOS Wiki

Yum
Yum Priorities - Install Yum Priorities - Configure Yum Priorities