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

Acer Revo M1-601: How to install Asterisk & Freepbx

acer-m1-601To begin you need to install Debian 8.1.

Critical step in the installation process.
Non-free firmware
When the installation process ask for “Some of you hardware needs non-free firmware¬† – the missing firmware files are rtl_nic/rtl8168g-2.fw”, you need to dowload from Debian Packaged web site package named firmware-realtek (see linkografia), uncompress it to an USB stick (using 7zip for example): after that you can insert USB key in your Acer and continue with installation process.

debianaskforfirmware
Disk Partition
My choice: Guided – use entire – all file in one partition

Software Selection
My choice: ssh server and standard system utilities

Root SSH Access
You need to permit root user to get via SSH in order to facilitate the configuration steps.

> sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/' /etc/ssh/sshd_config
> service sshd restart

Continue reading