Setting a static IP Address on Ubuntu Server 14.04

This process uses the command line to set a static IP address on Ubuntu Server 14.04.

Note: If you do this process from an SSH session, you will lose connection when you enter the final command. But if you did everything correct, you simply need to establish a new session using the static IP address you assigned.

sudo nano /etc/network/interfaces

This is what the default file will look like:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp

This similar to what should look like for a static IP. Of course, use addresses relevant to your network:

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
        address 10.5.1.33
        netmask 255.0.0.0
        gateway 10.5.1.254
	dns-nameservers 10.5.1.2 208.67.222.222 8.8.8.8

Lastly you need to reload networking:

sudo ifdown eth0 && sudo ifup eth0

Install Unifi Video (NVR) on Ubuntu 14.04

This is a new post with basically the same instructions only not tied to a specific version. I will keep this post edited to reflect the current version.

I’m starting with a fresh, fully updated server install of Ubuntu Server 14.04 64bit.

Download the current Unifi Video deb package. 3.4.0 as of this edit (9/25/16)

wget http://dl.ubnt.com/firmwares/unifi-video/3.4.0/unifi-video_3.4.0~Ubuntu14.04_amd64.deb
sudo dpkg -i unifi-video_3.4.0~Ubuntu14.04_amd64.deb

At this point you will probably receive an error about missing dependencies. No worries, simply run the following.

sudo apt-get -f install

That command will install all the needed dependencies and finish installing the unifi video deb package. At this point, Unifi Video is installed and should be running. Open a web browser and point it to https://ipaddress:7443.

My VM server parts list

Here is the list of components that I have ordered for this VM server build.

You may notice that there are no drives as part of my order. I’m going to install the server OS on either a USB flash drive or a small SSD that I currently have. As for VM storage, I will do a test install using an HDD that I have laying around, but in the end I’m going to see if I can get it connected to storage on my Synology NAS, which has ~6TB of storage capacity.

My total cost so far for these parts is: $523.78

 

Building a virtualization server

Going to be changing up my network a bit and want to start by adding a VM host server. I want to migrate my domain controller over to Windows Server 2012 R2 and I want to add a few more Linux servers to the mix. Currently my only physical server is a whitebox build running Server 2012. Besides being my current domain controller, I’m also running Hyper-V on it with a few Linux guests. It’s not the ideal setup, so that’s why I’m moving to an actual proper VM server. I can then run my DC as its own VM, and the Linux servers as their own VM’s.

Parts have been ordered and some even starting to arrive. I will do another post shortly outlining the exact parts ordered and the host software I plan to use. As well as any issues I run in to  along the way.

Install Unifi Video 3.2.0 (NVR) on Ubuntu 14.04

I’m starting with a fresh, fully updated server install of Ubuntu Server 14.04 64bit.

Download the Unifi Video 3.2.0 deb package

wget http://dl.ubnt.com/firmwares/unifi-video/3.2.0/unifi-video_3.2.0-Ubuntu14.04_amd64.deb

sudo dpkg -i unifi-video_3.2.0-Ubuntu14.04_amd64.deb

At this point you will probably receive an error about missing dependencies. No worries, simply run the following.

sudo apt-get -f install

That command will install all the needed dependencies and finish installing the unifi video deb package. At this point, Unifi Video is installed and should be running. Open a web browser and point it to https://ipaddress:7443.

A storage transient failure has occurred during content conversion

I recently completed an Exchange 2010 to 2016 migration. The last few days I’ve been getting word of quite a few users receiving NDRs. The NDR error was QUEUE Expired. I went straight to the queue and saw there were currently 12 messages there all with a last error of “A storage transient failure has occurred during content conversion”. I did eventually find a solution, and I normally don’t repost items I find in my day to day tech support life, but there wasn’t a ton of results for this error, and most weren’t relevant. But then I found the what I was looking for. This link had some Exchange Management Shell commands that allowed all the messages in the queue to send instantly

Link

Update [3/31/16]: This issue is not resolved for me. With the setting set to null or false, I get some messages stuck in the submission queue. If the TNEFEnabled is set to true, all mail sends fine, but certain recipients receive attachments as winmail.dat. So I’m still working on this one.

Update 2 [4/19/16]: I installed Cumulative Update 1 for Exchange 2016 almost a week ago and the issue appears to be resolved. I have not had a single message stuck in the Submission Queue.