≡ Menu

Ubuntu Linux

Ubuntu setup a bonding device and enslave two real Ethernet devices

How do I setup a bonding device bond0 and enslave two real Ethernet (say eth0 and eth2) devices to it on Ubuntu Linux 140.04 or 16.04 LTS server? How can I create 802.3ad bonding mode (IEEE 802.3ad Dynamic link aggregation) on Ubuntu Linux 16.04 LTS server?
[click to continue…]

Sysadmin because even developers need heroes!!!

How To Setup Bridge (br0) Network on Ubuntu Linux 14.04 and 16.04 LTS

I am a new Ubuntu Linux 16.04 LTS user. How do I setup a network bridge on the host server powered by Ubuntu 14.04 LTS or 16.04 LTS operating system?
[click to continue…]

How To Setup OpenVPN Server In 5 Minutes on Ubuntu Server

I am a new Ubuntu Linux server user. How do I setup an OpenVPN Server on Ubuntu Linux version 14.04 or 16.04 LTS server to shield my browsing activity from bad guys on public Wi-Fi, and more?
[click to continue…]

How to install mysql server 5.7 on Ubuntu 16.04 LTS ( Xenial Xerus )

MySQL is a popular database management system used for my web applications. How do I install MySQL server version 5.7 on Ubuntu Linux 16.04 LTS ( Xenial Xerus )?
[click to continue…]

How to check Debian/Ubuntu Linux package version using apt-get/aptitude command

I am a new Debian / Ubuntu Linux sysadmin. I would like to find out what version I would install if I ran the apt-get command. How do I find out which versions of a package can I install using apt-cache/apt-get command? How do you check package version using apt-get/aptitude on Debian or Ubuntu Linux server?
[click to continue…]

How to run a command or script after running apt-get command on a Debian or Ubuntu Linux

How do I run custom command after ‘apt-get upgrade‘ or ‘apt-get dist-upgrade‘ on a Debian or Ubuntu Linux based system? How do I hook a script to apt-get command on my Ubuntu Linux server?
[click to continue…]

How to install PHP 7 on Ubuntu Linux 14.04 LTS

PHP 7 provides 2x faster performance and 50% better memory consumption than PHP version 5.6. How do I install PHP 7 on Ubuntu Linux version 14.04 LTS server? How do I install PHP 7 with PHP-FPM in along with Nginx web server?
[click to continue…]

Ubuntu sudo: add-apt-repository: command not found error and solution

I‘m trying to run a command ‘sudo add-apt-repository ppa:foo/bar‘ but getting the following error:

     sudo: add-apt-repository: command not found

How do I fix this problem on Ubuntu Linux 14.04 LTS server?
[click to continue…]

How to create unprivileged LXC container on Ubuntu Linux 14.04 LTS

How do I install, create and manage unprivileged LXC containers on Ubuntu Linux version 14.04 LTS server?
[click to continue…]

Ubuntu Linux Change Hostname (computer name)

I am a new Ubuntu Linux laptop user. I setup my computer name to ‘tom’ during installation but now I would like to change the computer name to ‘jerry’. How can I remove tom and set it to jerry on Ubuntu Linux? How do I change the Ubuntu computer name from ‘ubuntu’ to ‘AvlinStar’?
[click to continue…]