How to Install lsb_release on Ubuntu and CentOS

The lsb_release command provides certain LSB (Linux Standard Base) and distribution-specific information.  The command has flags to display some or all of the information. [user@centos-server ~]$ lsb_release --help FSG lsb_release v2.0 prints certain LSB (Linux Standard Base) and Distribution information. Usage: lsb_release [OPTION]... With no OPTION specified defaults to -v. Options: -v, --version Display the […] Read More

Installing GNOME Desktop on Ubuntu

Introduction In many cases a minimum server or desktop installation on Ubuntu does not include a graphical desktop.  Installing the packages needed for the GNOME desktop environment is simple. Installation Installation of the gnome desktop packages will take a fair amount of time since there are many files to install.   Therefore, the faster your Internet […] Read More

How to Change the Hostname in Linux

The Linux system hostname is important.  It will  help identify a given system within a larger network. It can also be used to set local and external DNS entries. To find out the current hostname of your linux system, simply type the hostname command: test@test-VirtualBox:~$ hostname test-VirtualBox   In this particular example, the current hostname […] Read More

Installing htop on CentOS 7

htop is a free (GPL) ncurses-based interactive process viewer for Linux. It is similar to top, but allows you to scroll vertically and horizontally, so you can see all the processes running on the system, along with their full command lines, as well as viewing them as a process tree, selecting multiple processes and acting […] Read More

Useful Postgresql Commands

The following are a set of simple commands to configure your PostgreSQL database.    These commands are after you have successfully installed the database application. Creating a database To create a database you can use the following. Please note the semicolon at the end of each command. CREATE DATABASE test; Creating a User To Create a […] Read More