Creating Ubuntu 16.04 Mirror on a Synology Diskstation
I am constantly installing Ubuntu with various configurations. I find having a local Ubuntu 16.04 Mirror on a Synology Diskstation speeds up the installation and updates, making the time spent setting it up well worth while.
Backup your diskstation before doing anything else, just in case.
I wanted to create a test networking lab Ubuntu on 16.04 for trying out configurations without having to hack my real LAN about. I decided to use VirtualBox virtual machines as they are freely available and work with Linux and you can also use MS Windows guests. The network in the test networking lab Ubuntu on 16.04 will need to separate from our own normal LAN. VirtualBox provides this out of the box. We simply set the network interfaces to us “Internal Network”. This way only VM’s on the host can see each other.
This post will, quickly, run through how to create a Minimal Server Install using Ubuntu 16.04. It also only takes a short time, taking between 7 to 20 minutes to install depending on your hardware and the number of times you have run through it. I find it an ideal way to try out and learn how to install Ubuntu in various configurations. I also use a virtual machine running on Virtualbox as this allows me to throw it away without messing about with real hardware.
Synology documentation sucks big time! It usually only states the blindingly obvious missing off any useful or helpful information.
This post will run through the harder parts of setting up DNS and DHCP on Synology NAS. It is a little tricky the first time you do this especially if you have not come across bind or bind9 before. It seems a little over the top or just plain weird. You will only really need this if you have some local servers, computers or other devices that need to be accessed.
Updated for DSM 6.0, because Synology buggered about with stuff!
This may not work on earlier versions.
This tutorial will be installing an OpenVPN Server on Ubuntu 14.04 using routing and giving the external client full access to your LAN.
Installing an OpenVPN Server on Ubuntu 14.04 is not that difficult when you have already gained the necessary skills and knowledge for, IP addresses, netmasks, subnets, DNS names, IP routing, routers, network interfaces, LANs, gateways, and firewall rules.
In this part we will be adding to the mail server created in Installing A Mailserver on Ubuntu 14.04 LTS Part 1, in this part we will be building on that and adding anti-virus and anti-spam software and a tool to greylist emails to cut down on the work our server has to do. This will be added to postfix via amavis-new.
The server called mailserver will end up running the following servers and services. Once all the parts of this series posts are completed.
I wrote this HOWTO as record of what I did to get my own mail server up and running. I can now and in the future follow these steps again and rebuild my own mail server. I hope it is of use to others too.