Ubuntu Server 16.04 Some Helpful Softwares and Configurations After Fresh Install

I’m using some popular softwares and tools after fresh installation of Ubuntu Server.

To Add Swap Space if there haven’t. Swap size is variable to needs. For example server has 2GB RAM so we can give also 2GB to swap size.

sudo fallocate -l 2G /swap
sudo chmod 600 /swap
sudo mkswap /swap
sudo swapon /swap
sudo swapon --show
Output:
NAME TYPE SIZE USED PRIO 
/swap file 2048M 0B -1

Install text editor which is your best. My favorite one is Nano.

sudo apt-get install nano

 

Compression Software as 7zip is very fast.

sudo apt-get install p7zip-full
7z x rarfile.rar

 

Get a static IP for your server

sudo nano /etc/network/interfaces
auto lo eth0
iface lo inet loopback
iface eth0 inet static
        address xxx.xxx.xxx.xxx (192.168.1.50)
        netmask xxx.xxx.xxx.xxx (255.255.255.0)
        gateway xxx.xxx.xxx.xxx (192.168.1.1, router address)

 

For monitoring process, htop is also good.

sudo apt-get install htop

 

Installing Oracle Java JDK

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

 

Installing Node.js, https://github.com/nodesource/distributions

curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs
 

azmi.cirit.wp