For starters we will install Ubuntu Desktop 16.04.1. The installation itself is pretty vanilla, for almost all questions the default answers were taken. My PC is nothing special either.
I used a simple PC with 4 hard drives, 1x 120Gb and 3x 500Gb. I could have used a 1 or 2 Tb drives, but since I didn’t want to spend much money and already had the parts. Of course the HDD with 120Gb will be used for the OS.
CMD: sudo apt-get update
CMD: sudo apt-get upgrade
CMD: sudo apt-get dist-upgrade
I would recommend doing a “reboot” as the “dist-upgrade” might install a newer version of the kernel.
This is simple, open a local console session and type the following command to install ssh. It will enable us to remote access via SSH protocol.
CMD: sudo apt-get install ssh
Remote Control (installation)
For this case I will be using a lot of the graphic interface. Like most Linux servers I build, they are no graphical interface and I purely use SSH remote access.
But in this case I will use it, but I would like to use a remote access.
For a long time I used to use VNC but ran in a lot of problems, specialy the idea of one password protection didnt appeal to me.
Also I’m a Windows OS user at home at work were 80% of servers are Windows, so Remote Desktop is what I use most of the time.
Now I will show you how to use the standard Microsoft Remote Desktop Client on an Ubuntu server.
The solution is a combination of TigerVNC Server and xRDP.
Lets go on the site: http://tigervnc.org/
Go on -> Releases -> follow the link for available binary. -> Go to Files.
Find the “ubuntu-16.04LTS” folder than “amd64” download the file:
Here is a direct link for version 1.7.1: Link
CMD: sudo apt-get install libtasn1-3-bin
CMD: sudo dpkg -i tigervncserver_1.7.1-1ubuntu1_amd64.deb
CMD: sudo apt-get install xrdp -y
Plex Media Server (installation)
CMD: sudo dpkg -i plexmediaserver_220.127.116.1185-b46e0ea_amd64.deb
CMD: sudo systemctl status plexmediaserver
You know it’s always a good thing to have a few shared folders to help with files transfers. So let’s install Samba on our system.
CMD: sudo apt-get install -y samba samba-common python-glade2 system-config-samba
Deluged Torrent Client (installation)
Now we are going to install the deluge web torrent client. This installation is a little bit more manual.
We are going to create a special user called “deluge”, after create some log files for it.
CMD: sudo adduser --disabled-password --system --home /var/lib/deluge --gecos "Deluge service" --group deluge
CMD: sudo touch /var/log/deluged.log
CMD: sudo touch /var/log/deluge-web.log
CMD: sudo chown deluge:deluge /var/log/deluge*
We are going to install deluged and deluge web UI now.
CMD: sudo apt-get install deluged deluge-webui -y