Configure Postfix to use Office365 SMTP Relay on Ubuntu 16.04

In this post I’ll show how to install and configure Postfix on Ubuntu 16.04 to use Office 365 services like smarthost/mail relay.

apt-get upgrade
apt-get update
apt-get install postfix sasl2-bin mailutils

sasl2-bin is an API thet implement Cyrus SASL API, and permit to integrate authentication mechanisms in Postfix
mailutils is a simple mail commands that will help testing our configuration. Continue reading

Set Up VNC remote access on Linux Mint 17

VNC remote access allows one to view remotely and interact with real x displays on Linux box (i.e. a display corresponding to a physical monitor, keyboard, and mouse), and using windows, linux, mac or any other operating system SO where exist a vnc viewer.
To access in Linux Mint I prefer x11vnc instead of the default Vino server or other package. Continue reading

How to install Ms Sql Server vNext on Debian 8 Jessie

better_linux_boxMicrosoft surprised the IT world with the announcement about the new MS SQL Server that is able to run on Linux. In this post I’ll show hot to install Sql Server on Debian 8 Jessie.

apt-get update
apt-get upgrade
apt-get install curl apt-transport-https sudo 

Add to /etc/apt/sources.list this backports

deb http://ftp.debian.org/debian jessie-backports main

After that you’ll be able to install jessie-backports openssl

apt-get install -t jessie-backports openssl

Continue reading

How to compact VirtualBox’s VDI file size

bimboingabbiaIf in creating process of Virtual Box VM you have selected the option Dynamically Expanding Storage, you will find that the file size expands whenever you install new applications in the VM or add new files.
However, when you uninstall or delete applications, the file size of the VM does not shrink: if you are constantly installing and uninstalling applications in your VM, the VDI file could be taking up more space than it is actually using.
In this post I?ll show the steps to shrink your Virtualbox VM. Continue reading