Tuesday, April 25, 2017

Convert Ubuntu Desktop to Server

# update
sudo apt-get update

# install the 'tasksel' package so we can remove the desktop image       
sudo apt-get install tasksel

# remove the desktop image
sudo tasksel remove ubuntu-desktop

# tell tasksel to start the server image setup
sudo tasksel install server

# install the server images
sudo apt-get install linux-server linux-image-server

# remove lightdm
sudo apt-get purge lightdm

# remove all packages no longer required (~400 MB)
sudo apt-get autoremove

Monday, April 17, 2017

Upgrade Ubuntu 16.04 to 16.10 command line

First, SSH into your Ubuntu 16.04 server and upgrade all software.
$sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade

Then make sure you have update-manager-core package installed.
$sudo apt-get install update-manager-core

Next, edit a configuration file.
$sudo nano /etc/update-manager/release-upgrades
At the bottom of this file, change the value of Prompt from lts to normal.
Prompt=normal
Save and close the file. After that, run the following command to begin the upgrade process and follow the on-screen instructions.
$do-release-upgrade -d

Once the upgrade is finished, reboot your Ubuntu server. To check your Ubuntu version, run:
$lsb_release -a

Tuesday, April 4, 2017

Install Sky on Linuxmint 18.1

In able to use Lync in Linux, Sky will be good option. This installation for Linuxmint 18.1
  • Go to https://tel.red/repos.htm
  • Repo for Linuxtmint 18.1 equal to Ubuntu 16.04
  • Copy "deb https://tel.red/repos/ubuntu xenial non-free" to /etc/apt/source.list
  • Download and register TEL.RED software signing public key
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 9454C19A66B920C83DDF696E07C8CCAFCE49F8C5
sudo apt-get update
sudo apt-get install sky