0% found this document useful (0 votes)
2 views17 pages

Linux RAID Setup and VM Configuration Guide

Uploaded by

heryt hyug
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views17 pages

Linux RAID Setup and VM Configuration Guide

Uploaded by

heryt hyug
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Ayaz Amélie Jade

Soutenance Linux RAID

VM ADMIN !!!

PART 1

Installing RAID.

Creating RAID

Confirming Status
Ayaz Amélie Jade

Formatting and Mounting RAID

Getting UUID

Pasted UUID at the bottom

Saved RAID config


Ayaz Amélie Jade

Simulating a disk failure

Status Check

Re-adding /dev/sdb to test

Syncing.
Ayaz Amélie Jade

PART 2

RAID-mounted path /srv/data

Creating [Link] : sudo nano /srv/data/[Link]

Executable
Ayaz Amélie Jade

Testing Script

Setting up ‘crontab’ this runs at 2am everyday

Logs.
Ayaz Amélie Jade

PART 3:

Role​ IP Address
vm-admin​ [Link]
vm-dns​ [Link]
vm-web​ [Link]
vm-mon​ [Link]
Netmask​ [Link]
Gateway​ [Link]
DNS Server​ [Link]

Netplan config with sudo nano /etc/netplan/[Link]


Ayaz Amélie Jade

Applied config and pinged [Link].

Ping entre DNS et Admin


Ayaz Amélie Jade

VM DNS !!!!

Changing hostnames.

Changing Address

PART 4

Installing Bind9
Ayaz Amélie Jade

Editing Zone File

DNS Server Working


Ayaz Amélie Jade

VM WEB!!!!

PART 5

Installing NGINX

Installing CURL
Ayaz Amélie Jade

Creating website directory and homepage with sudo nano


/var/www/[Link]/html/[Link]

Virtual Host Config with sudo nano /etc/nginx/sites-available/[Link]


Ayaz Amélie Jade

Pinging

self-signed SSL certificate


Ayaz Amélie Jade

Updating NGINX virtual host to use HTTPS and redirect HTTP with sudo nano
/etc/nginx/sites-available/[Link]

HTTPS Working

VM MON!!!!
Ayaz Amélie Jade

PART 6

Create [Link] zone file

Declare the zone in [Link] with sudo nano /etc/bind/[Link]


Ayaz Amélie Jade

Pinging vm-dns from vm-mon

Netdata online.
Ayaz Amélie Jade

PART 7 - EXTRA

Simulating Disk Failure /dev/sdc

Rebuilding RAID1
Ayaz Amélie Jade

Built

EVERYTHING PINGS.

PING ALL :

ping -c 2 vm-dns
ping -c 2 vm-admin
ping -c 2 [Link]
ping -c 2 [Link]
ping -c 2 [Link]

Ping Site: curl -k [Link]

You might also like