Commit 9bbe003365faff6857636d413e2e585c620eb08d

Authored by mj
1 parent 6f151a822b
Exists in master

[IMP] install/mondo.sh

Showing 1 changed file with 2 additions and 1 deletions Inline Diff

1 #!/bin/bash 1 #!/bin/bash
2 2
3 # INSTALL mondo on Debian 8 Host .. must be root 3 # INSTALL mondo on Debian 8 Host .. must be root
4 # URL: http://git.str8.biz/ecommun/shell/raw/master/install/mondo.sh
4 5
5 cd /tmp 6 cd /tmp
6 7
7 apt-get install wget 8 apt-get install wget
8 9
9 wget -q ftp://ftp.mondorescue.org/debian/8/mondorescue.pubkey -O- | apt-key add - 10 wget -q ftp://ftp.mondorescue.org/debian/8/mondorescue.pubkey -O- | apt-key add -
10 11
11 wget -O /etc/apt/sources.list.d/mondorescue.sources.list ftp://ftp.mondorescue.org/debian/8/mondorescue.sources.list 12 wget -O /etc/apt/sources.list.d/mondorescue.sources.list ftp://ftp.mondorescue.org/debian/8/mondorescue.sources.list
12 13
13 apt-get update 14 apt-get update
14 15
15 apt-get install mondo nfs-common 16 apt-get install mondo nfs-common
16 17
17 mkdir /mnt/data && mount nfs.gjserver.de:/mnt/data /mnt/data 18 mkdir /mnt/data && modprobe nfs && mount nfs.gjserver.de:/mnt/data /mnt/data
18 19
19 cd ~/ 20 cd ~/
20 21
21 rm -r /tmp/* 22 rm -r /tmp/*
22 23
23 wget -O ./nfsbackup.sh http://git.str8.biz/ecommun/shell/raw/master/helpers/nfsbackup.sh 24 wget -O ./nfsbackup.sh http://git.str8.biz/ecommun/shell/raw/master/helpers/nfsbackup.sh
24 25
25 chmod +x nfsbackup.sh 26 chmod +x nfsbackup.sh
26 27
27 ./nfsbackup.sh 28 ./nfsbackup.sh
28 29