Difference between revisions of "Server:QNAP"
Matt.carter (Talk | contribs) |
Matt.carter (Talk | contribs) |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
Download Ubuntu ISO 18.04.6 LTS | Download Ubuntu ISO 18.04.6 LTS | ||
Create a New VM | 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<br/> | ||
Make folders to mount the shares to | Make folders to mount the shares to | ||
<source lang="sh"> | <source lang="sh"> | ||
| Line 29: | Line 30: | ||
</source> | </source> | ||
| − | + | To edit , use command "sudo gedit /etc/fstab"<br/> | |
| − | + | To re-mount use command "sudo mount -a" | |
| − | + | ||
<source lang="sh"> | <source lang="sh"> | ||
sudo gedit /etc/fstab | sudo gedit /etc/fstab | ||
| Line 37: | Line 37: | ||
</source> | </source> | ||
| − | Download Code42 (CrashPlan) v10 | + | Download Code42 (CrashPlan) v10 <br/> |
| − | Extract tgz and run install | + | Extract tgz and run install <br/> |
| − | Note: install prompts to install dependency "libgconf-2-4" | + | Note: install prompts to install dependency "libgconf-2-4" <br/> |
Installs to location /usr/local/crashplan | Installs to location /usr/local/crashplan | ||
| Line 52: | Line 52: | ||
sudo /usr/local/crashplan/bin/service.sh start | sudo /usr/local/crashplan/bin/service.sh start | ||
</source> | </source> | ||
| + | |||
| + | Create a desktop icon by lauching '''gedit ~/Desktop/CrashPlan.desktop''' with the following | ||
| + | <source lang="sh"> | ||
| + | [Desktop Entry] | ||
| + | Name=CrashPlan | ||
| + | Exec=/usr/local/crashplan/bin/desktop.sh | ||
| + | Icon=/usr/local/crashplan/bin/icon_app.png | ||
| + | Terminal=false | ||
| + | Type=Application | ||
| + | </source> | ||
| + | Thend on desktop goto Properties-Permissions and check '''Allow execting file as program''' | ||
| + | |||
| + | Install SSH Server | ||
| + | <source lang="sh"> | ||
| + | sudo apt-get install openssh-server | ||
| + | sudo systemctl enable ssh | ||
| + | sudo systemctl start ssh | ||
| + | </source> | ||
| + | |||
| + | Crashplan Backup Service not starting automatically<br/> | ||
| + | Tried to setup as a service but didn't work<br/> | ||
| + | Instead added a cron job | ||
| + | <source lang="sh"> | ||
| + | sudo crontab -e | ||
| + | |||
| + | @reboot /usr/local/crashplan/bin/service.sh start > /dev/null 2>&1 | ||
| + | </source> | ||
| + | |||
| + | Had issue that Mounts were hot suceeding with an error of '''mount error: could not resolve address for radonnas: Unknown error''' | ||
| + | |||
| + | Edited file /etc/hosts to explicitly specify the IP address. | ||
| + | |||
| + | <source lang="sh"> | ||
| + | 127.0.0.1 localhost | ||
| + | 127.0.1.1 CrashPlan | ||
| + | 192.168.1.4 radonnas | ||
| + | </source> | ||
| + | |||
[[Category:Server]] | [[Category:Server]] | ||
Latest revision as of 20:29, 17 August 2025
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
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
Create a desktop icon by lauching gedit ~/Desktop/CrashPlan.desktop with the following
[Desktop Entry]
Name=CrashPlan
Exec=/usr/local/crashplan/bin/desktop.sh
Icon=/usr/local/crashplan/bin/icon_app.png
Terminal=false
Type=Application
Thend on desktop goto Properties-Permissions and check Allow execting file as program
Install SSH Server
sudo apt-get install openssh-server
sudo systemctl enable ssh
sudo systemctl start ssh
Crashplan Backup Service not starting automatically
Tried to setup as a service but didn't work
Instead added a cron job
sudo crontab -e
@reboot /usr/local/crashplan/bin/service.sh start > /dev/null 2>&1
Had issue that Mounts were hot suceeding with an error of mount error: could not resolve address for radonnas: Unknown error
Edited file /etc/hosts to explicitly specify the IP address.
127.0.0.1 localhost
127.0.1.1 CrashPlan
192.168.1.4 radonnas