w1r3 Network Documentation

Similar documents
Deploying a Virtual Machine (Instance) using a Template via CloudStack UI in v4.5.x (procedure valid until Oct 2015)

Red Hat Linux Administration II Installation, Configuration, Software and Troubleshooting

Navigating the Rescue Mode for Linux

Windows Template Creation Guide. How to build your own Windows VM templates for deployment in Cloudturk.

How to Restore a Linux Server Using Bare Metal Restore

Remote Unix Lab Environment (RULE)

Linux Template Creation Guide. How to build your own Linux VM templates for deployment in Cloudturk.

Backup of ESXi Virtual Machines using Affa

How to Backup XenServer VM with VirtualIQ

Implementation of Database as a Service in a Private Cloud using EUCALYPTUS

Linux System Administration on Red Hat

SUSE Manager in the Public Cloud. SUSE Manager Server in the Public Cloud

Linux Embedded devices with PicoDebian Martin Noha

Create a virtual machine at your assigned virtual server. Use the following specs

SETTING UP A LAMP SERVER REMOTELY

Plexxi Control Installation Guide Release 2.1.0

Backup, Booten, RAID, LVM, Virtualization

Building a Private Cloud Cloud Infrastructure Using Opensource

systemd Mehr als nur ein neues Init-System Markus Schade

OS Installation: CentOS 5.8

Btrfs and Rollback How It Works and How to Avoid Pitfalls

Restoring a Suse Linux Enterprise Server 9 64 Bit on Dissimilar Hardware with CBMR for Linux 1.02

II. Installing Debian Linux:

Do it Yourself System Administration

Installation GENTOO + RAID sur VMWARE

Ubuntu Professional Training Course Overview (E-learning, Ubuntu LTS)

Buildroot for Vortex86EX (2016/04/20)

Parallels Virtuozzo Containers 4.7 for Linux

Red Hat Certifications: Red Hat Certified System Administrator (RHCSA)

2. Boot using the Debian Net Install cd and when prompted to continue type "linux26", this will load the 2.6 kernel

I N S T A L L A T I O N M A N U A L

IT6204 Systems & Network Administration. (Optional)

Connections and wiring Diagram

It should be noted that the installer will delete any existing partitions on your disk in order to install the software required to use BLËSK.

GL-250: Red Hat Linux Systems Administration. Course Outline. Course Length: 5 days

How To Write A Backup On A Linux Computer (For A Non-Freebie)

Planning for an Amanda Disaster Recovery System

Installing an IBM Workplace/Portal Server on Linux

TimeIPS Server. IPS256T Virtual Machine. Installation Guide

RH033 Red Hat Linux Essentials or equivalent experience with Red Hat Linux..

Step One: Installing Rsnapshot and Configuring SSH Keys

TECHNICAL HOWTO. Imaging Linux systems with hardware changes. author:

Setup software RAID1 array on running CentOS 6.3 using mdadm. (Multiple Device Administrator) 1. Gather information about current system.

HOWTO: Set up a Vyatta device with ThreatSTOP in router mode

Virtualization. Michael Tsai 2015/06/08

MYASIA CLOUD SERVER. Defining next generation of global storage grid User Guide AUG 2010, version 1.1

Setting up your virtual infrastructure using FIWARE Lab Cloud

Using Network Attached Storage with Linux. by Andy Pepperdine

ENTERPRISE LINUX SYSTEM ADMINISTRATION

Eucalyptus Tutorial HPC and Cloud Computing Workshop

Juniper Networks Network and Security Manager

AlienVault Unified Security Management (USM) 4.x-5.x. Deploying HIDS Agents to Linux Hosts

Replacing a Laptop Hard Disk On Linux. Khalid Baheyeldin KWLUG, September 2015

Creating a DUO MFA Service in AWS

RedHat (RHEL) System Administration Course Summary

Red Hat System Administration 1(RH124) is Designed for IT Professionals who are new to Linux.

GX-V. Quick Start Guide. Microsoft Hyper-V Hypervisor. Before You Begin SUMMARY OF TASKS. Before You Begin WORKSHEET VIRTUAL GMS SERVER

HOWTO: Set up a Vyatta device with ThreatSTOP in bridge mode

Host your websites. The process to host a single website is different from having multiple sites.

Private Server and Physical Server Backup and Restoration:

Managed Appliance Installation Guide

On Disk Encryption with Red Hat Enterprise Linux

Using the IPMI interface

Univention Corporate Server. Extended domain services documentation

Red Hat Linux 7.2 Installation Guide

OPENPROJECT INSTALL ON CENTOS 7 RUNNING IN VMWARE PLAYER

Table of Contents. Introduction. Audience. At Course Completion. Prerequisites

Oracle VM Server Recovery Guide. Version 8.2

System administration basics

Advanced SUSE Linux Enterprise Server Administration (Course 3038) Chapter 5 Manage Backup and Recovery

Installing MooseFS 2.0 Step by Step Tutorial. Core Technology Development & Support Team

Linux VPS with cpanel. Getting Started Guide

Secure Network Filesystem (Secure NFS) By Travis Zigler

Making System Administration Easier by Letting the Machines Do the Hard Work, Or, Becoming an Agile Sysadmin

Hyper-V Installation Guide for Snare Server

How To Set Up Software Raid In Linux (Amd64)

Operating System Installation Guidelines

Oracle Linux 7: System Administration Ed 1 NEW

Syncplicity On-Premise Storage Connector

SIOS Protection Suite for Linux: MySQL with Data Replication. Evaluation Guide

Ulteo Open Virtual Desktop Installation

NG-NetMS Rel 3.1 User Install documentation

Monitoring Clearswift Gateways with SCOM

Cloud Homework instructions for AWS default instance (Red Hat based)

NATIONAL POPULATION REGISTER (NPR)

Cloning Complex Linux Servers

Setting up a Raspberry Pi as a WiFi access point

Extending Remote Desktop for Large Installations. Distributed Package Installs

Cloud.com CloudStack Community Edition 2.1 Beta Installation Guide

Buildroot Workshop. Libre Software Meeting Thomas Petazzoni Free Electrons

Hadoop Lab - Setting a 3 node Cluster. Java -

Linux Development Environment Description Based on VirtualBox Structure

ONLINE BACKUP MANAGER TROUBLESHOOTING MISSING BACKUP JOBS

Linux Operating System Security

Introduction to AIX 6L System Administration Course Summary

How you configure Iscsi target using starwind free Nas software & configure Iscsi initiator on Oracle Linux 6.4

GLS250 "Enterprise Linux Systems Administration"

An Oracle White Paper July Oracle VM 3: Building a Demo Environment using Oracle VM VirtualBox

Remote Desktop With P2P VNC

Transcription:

w1r3 Network Documentation Release 1.0 w1r3 Network June 08, 2014

Contents 1 Infrastructure 3 1.1 Team orientation............................................. 3 1.2 Accounts................................................. 3 1.3 Scripts.................................................. 3 1.4 Kernel.................................................. 3 2 Services 5 2.1 nya.ch - linux-kvm vps hosting..................................... 5 2.2 Arch Linux Repository.......................................... 10 i

ii

The w1r3 network is an association from Switzerland. We re group of individuals, involved in information technology and related areas. We want to offer the oppertunity to use networks free and authentic. We are against any censorship and the elimination of net neutrality. We provide infrastructure and services for this purpose. We support education, scientific activity and the development of recommendations and specifications for methods in information technology. We use SOPs (standard operating procedures) to list how we run things. Contents: Contents 1

2 Contents

CHAPTER 1 Infrastructure Contents: 1.1 Team orientation u know? 1.2 Accounts Each user has an account in our ldap structure. It is possible to use the account credenials to authenticate on various services. 1.3 Scripts We have a repository for scripts used in our infrastructure. The scripts are mainly helpers for users or for other software components. This SOP is a guideline for writing new and maintaining existing scripts. It should help with the decision if it s a good idea to write a script for a specific function, how to document it and how to integrate it in our infrastructure. 1.3.1 When a script is a good idea 1.3.2 Why you shouldn t write one 1.3.3 Documentation 1.3.4 Integration 1.4 Kernel Our Arch Linux powered servers are running a modified Linux kernel. The kernel is built with grsecurity patches and a working, semi-minimalist kernel configuration. 3

The linux-w1r3-xen kernel is tested with virtual private servers from Linode. The linux-w1r3-kvm kernel is tested with virtual private servers from nya.ch. We do not recommend to use this kernels in other infrastructures, because they are specifically designed and tested for the named environments. 4 Chapter 1. Infrastructure

CHAPTER 2 Services Contents: 2.1 nya.ch - linux-kvm vps hosting Contents: 2.1.1 virssh Virssh offers you the possibility to control your vm. This includes a serial console. Connect For using virssh you need an SSH-key. In case your SSH-key isn t in our system please contact the support team. ssh -t vmadmin@rachel.munich.w1r3.net This shows you the possible commands Example: ALERT: NOT allowing command "" Allowed commands for you are: ssh -t vmadmin@rachel.munich.w1r3.net sudo virsh list ssh -t vmadmin@rachel.munich.w1r3.net sudo virsh console example.nya.ch ssh -t vmadmin@rachel.munich.w1r3.net sudo virsh destroy example.nya.ch ssh -t vmadmin@rachel.munich.w1r3.net sudo virsh shutdown example.nya.ch ssh -t vmadmin@rachel.munich.w1r3.net sudo virsh start example.nya.ch ssh -t vmadmin@rachel.munich.w1r3.net sudo virsh start example.nya.ch --console 2.1.2 Rescue Everyone does mistakes. That s the reason why we provide you with Finnix. Finnix is a recovery system and can be used to fix errors and install certain distributions like Arch Linux. 5

Boot into Finnix We have to shutdown the VM in order to boot Finnix. After doing so enter the command below to start it again with console. ssh -t vmadmin@rachel.munich.w1r3.net sudo virsh start example.nya.ch --console After doing so we can see a bootmenu like in the picture below: Choose one of these Finnix entrys and you ll end up here like in the picture below (I chose the third one) 6 Chapter 2. Services

2.1.3 Installation of Arch Linux We will need our Rescuesystem to install Arch Linux. Preparing the Installationenvironment Run the following commands: wget http://mirror.de.leaseweb.net/archlinux/iso/latest/arch/x86_64/root-image.fs.sfs unsquashfs root-image.fs.sfs cd squashfs-root mount -o loop root-image.fs /mnt /mnt/bin/arch-chroot /mnt mkdir /run/shm Select a mirror We provide a mirror which makes everything faster echo "Server = http://mirror.w1r3.org/\$repo/os/\$arch" > /etc/pacman.d/mirrorlist Partitioning We are going to allocate the whole block device. 2.1. nya.ch - linux-kvm vps hosting 7

fdisk /dev/vda Press n to create a new partition followed with four times enter and w. Formating mkfs.ext4 /dev/vda1 Mount the new Filesystem mount /dev/vda1 /mnt Install basic packages We are going to install the package groups base and base-devel but first we have to generate our keyring. We need haveged for this task because of the missing entropy. The second one is for building packages. sed -i "s/siglevel = Required DatabaseOptional/SigLevel = Never/" /etc/pacman.conf pacman -Sy haveged procps-ng --noconfirm haveged -w 1024 pkill haveged pacman -Rs haveged procps-ng --noconfirm pacman-key --populate archlinux pacman-key --refresh-keys sed -i "s/siglevel = Never/SigLevel = Required DatabaseOptional/" /etc/pacman.conf pacstrap /mnt base base-devel Generate /etc/fstab genfstab -U -p /mnt > /mnt/etc/fstab Chroot into your new system arch-chroot /mnt Set root password passwd Install some extra packages which are always good to have These packages are mostly optional except for grub which will be used as bootloader. pacman -S vim zsh git grub openssh rsync ntp ferm atop htop mtr traceroute wget net-tools dnsutils 8 Chapter 2. Services

Install and configure GRUB First we need to edit /etc/default/grub to enable serial console support. GRUB_CMDLINE_LINUX_DEFAULT with the following: Replace the existiing GRUB_CMDLINE_LINUX_DEFAULT="console=tty0 console=ttys0,38400n8" Further add these lines: GRUB_TERMINAL=serial GRUB_SERIAL_COMMAND="serial --speed=38400 --unit=0 --word=8 --parity=no --stop=1" Now execute the commands below to install grub to blockdevice and generate the config file. grub-install --recheck /dev/vda grub-mkconfig -o /boot/grub/grub.cfg Configure networking Now create a netctl profile and configure the network configurations. Change the IP settings to the IPs you were given. nano /etc/netctl/ethernet-static Description= nya.ch connection Interface=ens3v1 Connection=ethernet IP=static Address= 31.47.227.CHANGEME/CHANGE Gateway= 31.47.227.CHANGEME DNS=( 8.8.4.4 ) DNSDomain= nya.ch IP6=static Address6=( 2a02:2260:2:1f60::CHANGEME/64 ) Gateway6= 2a02:2260:2:1f60::1 Enable the netctl profile netctl enable ethernet-static Reboot Now it s time to reboot into your own system. exit umount /mnt exit reboot Timezone and Hostname Set timezone and hostname. Please use the hostname which were given to you. timedatectl set-timezone Europe/Berlin hostnamectl set-hostname HOSTNAME 2.1. nya.ch - linux-kvm vps hosting 9

Generate and set locales Uncomment the locales for DE, AT, CH, US (all UTF-8) in the file /etc/locale.gen and run the command locale-gen. Now set the standard system locale and keymap localectl set-locale LANG="en_US.UTF-8" localectl set-keymap de Reboot and have Fun Nothing more to say ;) 2.2 Arch Linux Repository This page is empty and will be updated as soon as there is a productive repository. 10 Chapter 2. Services