Marv has written 28 articles

Recovering a Linux Software raid when a rebuild fails

In this scenario we will recover from a situation where both drives in a software raid 1 in Linux have failed. First go through this guide: https://server-help.org/index.php/2019/04/17/rebuild-software-raid-linux/ If this process fails and the raid is not rebuilt proceed as follows. In this we assume sda is the drive with our data but is failing, and…

Deploying a Website using Docker

1). First image your server with a pre-built docker image or follow the instructions below to install manually: A). yum install -y yum-utils device-mapper-persistent-data lvm2B). yum-config-manager –add-repo https://download.docker.com/linux/centos/docker-ce.repoC). yum install dockerD). systemctl start dockerE). systemctl enable docker 2). cd /opt3). sudo curl -L http://github.com/docker/compose/releases/download/1.24.0/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose 4). chmod +x /usr/local/bin/docker-compose 5). yum install…