Ubuntu 16.04

Install NGINX on Ubuntu 18.04 LTS

Today we’ll look at installing NGINX on a freshly installed server running Ubuntu 18.04 LTS. A little bit about NGINX: NGINX is a lightweight opensource web browser capable of serving static files using far lesser memory than Apache and handling up to 4 times as many connections. Start off by…
Read More
Ubuntu 16.04

Find which version of Ubuntu you’re running

Today we’ll learn how to find which version of Ubuntu you’re running. To do this, launch a terminal window and issue the following at the terminal: lsb_release -a The terminal window will throw back the version of Ubuntu currently installed, followed by the Release number and Codename of the version.…
Read More

killall: command not found

We’ll be looking at how to install the Linux command killall in this article. Killall send’s a signal to, if not explicitly specified, terminate all the processes with the given name. CentOS used to ship with killall out of the box but since version 7 it’s been left out. [[email protected]
Read More

Enable timestamps for bash history

The HISTORY command in bash lets you see the last 1000 commands issued at the terminal. By default, this list does not contain timestamps for the commands you’ve issued. To enable timestamps, issue the following at the terminal: echo 'HISTTIMEFORMAT="%d/%m/%y %T "' >> ~/.bashrc source ~/.bashrc The timestamp for commands…
Read More
cpanel whm logo

Install cPanel / WHM on CentOS 7.7

Today we’ll install cPanel or WHM on CentOS 7.7 cPanel is the most popular control panel in the shared hosting space. It is so widely used that it is the defacto control panel in the industry, Plesk comes in close second place. There are two parts to cPanel: cPanel and…
Read More
check mysql / mariadb table for primary key

How to backup your Mysql Databases

Today we’ll look at how to backup your MySQL databases. It’s a good idea to backup your databases on a regular basis so ]you have a working ‘good’ copy in the event of data loss due to failure or if your website was compromised (read: hacked). These commands are operating…
Read More