-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUbuntu-Debian system setup instructions.txt
134 lines (89 loc) · 3.03 KB
/
Ubuntu-Debian system setup instructions.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
System Setup Post Install Ubuntu Server and LMDE4 Desktop
ADD PROGRAMS for SERVER
```
sudo apt install -y nfs-common mc
```
Use this guide to install Sonarr https://sonarr.tv/#downloads-v3-linux-ubuntu
Use this guide to install Radarr https://varhowto.com/install-radarr-ubuntu-20-04/#Radarr_Ubuntu_20_04
use this guide to install NZBGet https://nzbget.net/installation-on-linux
ADD PROGRAMS for desktop
```
sudo apt install -y nfs-common plank dconf-editor filezilla terminator mc vlc clementine
```
Add plank to the start up applications
install the Divo theme
MOVE FILES AND FOLDERS
use filezilla to copy over the following files and folders from monster using sftp:
.bashrc
.bash_aliases
<hostname>-desktop
.themes folder
.icons folder
Anime Wallpaper
SET UP NFS
```
sudo apt install -y nfs-common mc
sudo mkdir -p /nfs/anime
sudo mkdir -p /nfs/e-books
sudo mkdir -p /nfs/femputer/movies
sudo mkdir -p /nfs/music
sudo mkdir -p /nfs/femputer/tv
sudo mkdir -p /nfs/backup
```
```
# orac nfs new links
192.168.7.1:/mnt/media_pool/anime /nfs/anime nfs _netdev,auto,nofail,noatime,nolock,intr,tcp,actimeo=1800 0 0
192.168.7.1:/mnt/media_pool/e-books /nfs/e-books nfs _netdev,auto,nofail,noatime,nolock,intr,tcp,actimeo=1800 0 0
192.168.7.1:/mnt/backup_pool/sys_backup /nfs/backup nfs _netdev,auto,nofail,noatime,nolock,intr,tcp,actimeo=1800 0 0
192.168.7.1:/mnt/media_pool/music /nfs/music nfs _netdev,auto,nofail,noatime,nolock,intr,tcp,actimeo=1800 0 0
# femputer unraid nfs
192.168.7.7:/mnt/user/movies /nfs/femputer/movies nfs _netdev,auto,nofail,noatime,nolock,intr,tcp,actimeo=1800 0 0
192.168.7.7:/mnt/user/tv /nfs/femputer/tv nfs _netdev,auto,nofail,noatime,nolock,intr,tcp,actimeo=1800 0 0
sudo mount -a
```
SETUP HOSTS
'''
sudo mv /etc/hosts /etc/hosts.old
sudo cp /nfs/backup/<hostname>/hosts /etc/hosts
'''
SET UP CONFIG FILE BACKUP AND RESTORE
SERVER BACKUP
backups to include
~/.bashrc
~/.bash_aliases
/etc/fstab
/etc/hosts
~/nzbget/nzbget.conf
Retrieve the config-copy job from NFS for the cureent system e.g. smallbox, latitude, monster etc.
```
cd ~/
cp /nfs/backup/<hostname>/config-copy.sh .
```
run dconf to load the system settings
```
dconf load / < hostname>-desktop
```
Open crontab to add a job to copy the files once an hour
```
crontab -e
@hourly ~/config-copy.sh
```
DESKTOP BACKUP
Retrieve the config-copy job from NFS for the cureent system e.g. smallbox, latitude, monster etc.
```
cd ~/
cp /nfs/backup/<hostname>/config-copy.sh .
```
run dconf to load the system settings
```
dconf load / < hostname>-desktop
```
Open crontab to add a job to copy the files once an hour
```
crontab -e
@hourly ~/config-copy.sh
```
UPGRADE TO 5.X KERNEL IF USING LMDE4
```
sudo apt update && apt install -t buster-backports linux-image-amd64 -y && apt install -t buster-backports linux-headers-amd64 -y && apt install -t buster-backports firmware-linux firmware-linux-nonfree -y
```