Difference between revisions of "Server:QNAP"
From RadonWiki
Matt.carter (Talk | contribs) |
Matt.carter (Talk | contribs) |
||
| Line 1: | Line 1: | ||
| + | Download Ubuntu ISO 18.04.6 LTS | ||
| + | Create a New VM | ||
| + | - 1 Core CPU | ||
| + | - 1 GB RAM | ||
| + | - 50GB HD | ||
| + | - Mount Ubuntu ISO to CD | ||
| + | - Start VM and Install Ubuntu | ||
| + | - Minimum Apps | ||
| + | - User: "mcarter" set to auto login | ||
| + | |||
Install cifs | Install cifs | ||
Make folders to mount the shares to | Make folders to mount the shares to | ||
<source lang="sh"> | <source lang="sh"> | ||
sudo apt-get install cifs-utils | sudo apt-get install cifs-utils | ||
| − | sudo mkdir /media/RadonNAS/homes | + | sudo mkdir -p /media/RadonNAS/homes |
| − | sudo mkdir /media/RadonNAS/Multimedia | + | sudo mkdir -p /media/RadonNAS/Multimedia |
</source> | </source> | ||
Create a file '''/home/mcarter/.smbcredentials''' to store the credentials | Create a file '''/home/mcarter/.smbcredentials''' to store the credentials | ||
<source lang="sh"> | <source lang="sh"> | ||
| − | username= | + | username=Admin |
| − | password= | + | password=<password> |
</source> | </source> | ||
Add the mounts to file '''/etc/fstab''' so that these get mounted on restarts | Add the mounts to file '''/etc/fstab''' so that these get mounted on restarts | ||
<source lang="sh"> | <source lang="sh"> | ||
| − | //radonnas/homes /media/RadonNAS/homes cifs uid=mcarter,credentials=/home/mcarter/.smbcredentials,iocharset=utf8 | + | //radonnas/homes /media/RadonNAS/homes cifs uid=mcarter,credentials=/home/mcarter/.smbcredentials,iocharset=utf8 0 0 |
| − | //radonnas/Multimedia /media/RadonNAS/Multimedia cifs uid=mcarter,credentials=/home/mcarter/.smbcredentials,iocharset=utf8 | + | //radonnas/Multimedia /media/RadonNAS/Multimedia cifs uid=mcarter,credentials=/home/mcarter/.smbcredentials,iocharset=utf8 0 0 |
</source> | </source> | ||
| Line 23: | Line 33: | ||
to re-mount use command "sudo mount -a" | to re-mount use command "sudo mount -a" | ||
<source lang="sh"> | <source lang="sh"> | ||
| − | // | + | sudo gedit /etc/fstab |
| − | + | sudo mount -a | |
</source> | </source> | ||
| − | + | Download Code42 (CrashPlan) v10 | |
| − | + | Extract tgz and run install | |
| − | + | Note: install prompts to install dependency "libgconf-2-4" | |
| − | + | Installs to location /usr/local/crashplan | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | |||
<source lang="sh"> | <source lang="sh"> | ||
| − | + | tar zxvf CrashPlan.tgz | |
| − | + | sudo ./code42-install/install.sh | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
</source> | </source> | ||
| − | + | If need to stop / start service, use this | |
<source lang="sh"> | <source lang="sh"> | ||
| − | + | sudo /usr/local/crashplan/bin/service.sh stop | |
| − | + | sudo /usr/local/crashplan/bin/service.sh start | |
</source> | </source> | ||
[[Category:Server]] | [[Category:Server]] | ||
Revision as of 23:27, 11 September 2022
Download Ubuntu ISO 18.04.6 LTS Create a New VM - 1 Core CPU - 1 GB RAM - 50GB HD - Mount Ubuntu ISO to CD - Start VM and Install Ubuntu - Minimum Apps - User: "mcarter" set to auto login
Install cifs Make folders to mount the shares to
sudo apt-get install cifs-utils
sudo mkdir -p /media/RadonNAS/homes
sudo mkdir -p /media/RadonNAS/Multimedia
Create a file /home/mcarter/.smbcredentials to store the credentials
username=Admin
password=<password>
Add the mounts to file /etc/fstab so that these get mounted on restarts
//radonnas/homes /media/RadonNAS/homes cifs uid=mcarter,credentials=/home/mcarter/.smbcredentials,iocharset=utf8 0 0
//radonnas/Multimedia /media/RadonNAS/Multimedia cifs uid=mcarter,credentials=/home/mcarter/.smbcredentials,iocharset=utf8 0 0
The above started to produce an error, and so modified to the following to edit , use command "sudo gedit /etc/fstab" to re-mount use command "sudo mount -a"
sudo gedit /etc/fstab
sudo mount -a
Download Code42 (CrashPlan) v10 Extract tgz and run install Note: install prompts to install dependency "libgconf-2-4" Installs to location /usr/local/crashplan
tar zxvf CrashPlan.tgz
sudo ./code42-install/install.sh
If need to stop / start service, use this
sudo /usr/local/crashplan/bin/service.sh stop
sudo /usr/local/crashplan/bin/service.sh start