Configuring hostname in Ubuntu 18.04.2 LTS (Bionic Beaver)

Changing hostname in Ubuntu 18.04.2 LTS is different from previous versions. You can use following command [crayon-5c6f3b056935f610118726/] After this you need to set preserve hostname setting in /etc/cloud/cloud.cfg [crayon-5c6f3b0569364074024987/] This will preserve new hostname after reboot. … [Read more...]

Configuring Static IP in Ubuntu 18.04.2 LTS (Bionic Beaver)

The method of configuring static ip in Ubuntu 18.04.2 LTS is different from its previous variants. Previously it was to configure in /etc/network/interfaces file, however in Ubuntu 18.04.2 LTS, it is setup in /etc/netplan/50-cloud-init.yaml file. [crayon-5c6f3b056987a017275588/] Content of this file is [crayon-5c6f3b056987e019807305/] I have edited this file like … [Read more...]

Debian – Systemd to kill all user processes after logout in release/version 230

  A bug is reported to Debian related to systemd. [crayon-5c6f3b0569b6d683179439/] [crayon-5c6f3b0569b70343900477/] [crayon-5c6f3b0569b72388201723/] [crayon-5c6f3b0569b75371128582/] [crayon-5c6f3b0569b76768177080/] … [Read more...]

Amazon web services (aws) data centers locations

This is second post of my experience with Amazon web services (aws) series. Click here to read My first experience with Amazon Web Services.   Although Amazon documentation claims that they are offering services in 12 geographic location, however all I see 10 options in my account for available aws locations/aws datacenters.   US East (N. Virginia) US West (N. … [Read more...]

Soon you will see more ads in Start Menu of Microsoft Windows 10

  Microsoft is planning to double the amount of promoted apps in the Start menu with the upcoming Anniversary Update to Windows 10. Therefore soon you will see the more number of ads in Start menu of Microsoft Windows 10. ┬áThe software maker revealed at its WinHEC conference last week that the amount will increase from five currently up to 10 in the Anniversary Update that's due to roll … [Read more...]

How to copy iptables rules from one server to another

If you want to copy iptables rules from one linux server to another linux server its really simple 1) Save iptables rules from source server by running [crayon-5c6f3b0569e47425778903/] 2) Copy that file to target server and run [crayon-5c6f3b0569e4b333612534/]   … [Read more...]

Bash/Shell script to ping range of IPs

I mostly need to ping range of ips and some times more then 100 ips, and pinging them one by one is a time consuming task. Here is the script to do them quickly. [crayon-5c6f3b056a093012824245/] You can replace 192.168.1 with your ip range, and 241 and 248 with start and end of ip range … [Read more...]

The Glibc GHOST Vulnerability – How to Patch your Linux Server/VPS?

A very serious security problem is just found in GNU C library, Glibc, announced yesterday, Jan 27, 2015. This is a critical vulnerability that almost every linux Machine is going to effect by it. Accoding to qualys What is glibc? The GNU C Library or glibc is an implementation of the standard C library and a core part of the Linux operating system. Without this library a Linux system will … [Read more...]