Ubuntu Server 14.04

How to Set Up a Firewall with UFW on ubuntu 14.04

August 21st 2021, 5:40
Uncomplicated firewall (UFW) provides easy-to-use interface for people unfamiliar with firewall concepts. It provides a framework for managing netfilter as well as the command-line interface to manipulate the firewall. With its small command set and plain English parameters, UFW makes it quick and easy to understand and set up firewall...

How to Install and Configure fail2ban on ubuntu 14.04

August 21st 2021, 2:23
Step 1 : Install and Configure fail2ban sudo apt-get install fail2ban After installation, the fail2ban daemon will start up and be configured to automatically start at boot-time. Configuring fail2ban is simply a matter of creating a configuration file. But, you shouldn't use its default config file (/etc/fail2ban/jail.conf). The problem with...

How to Setup DHCP Server in Ubuntu Server 14.04

August 21st 2021, 12:12
DHCP is a service used to automatically assign network configuration to client systems. DHCP can be used as a handy tool when you have a large pool of systems that needs to be configured for network settings. Plus, when you need to change the network configuration, say to update a...

How to set a static ip address in Ubuntu Server 14.04

August 20th 2021, 5:33
When you install Ubuntu server, its network setting defaults to dynamic IP addressing, that is, the network management daemon in Ubuntu searches for a DHCP server on the connected network and configures the network with the IP address assigned by DHCP. Even when you start an instance in the cloud,...

How to Change Hostname on Ubuntu 14.04

August 19th 2021, 12:31
How do you view your hostname? Step 1 : You need to use the hostname command or hostnamectl command hostname Step 2 : Output from the hostname command Setting the hostname Step 1 :Changing the hostname is fairly simple. To do this, we can use the hostnamectl command as root...

How to set up ssh keys on ubuntu server 14.04

August 15th 2021, 4:14
Follow these steps to set up public key authentication: Step 1 : Change to the home directory with cd ~/ cd ~/ Step 2 : Create a .ssh directory if it doesn't already exist mkdir .ssh Step 3 : Create a file named authorized_keys under the .ssh directory touch .ssh/authorized_keys...

How to Set permissions on files and directories on ubuntu server 14.04

August 15th 2021, 3:32
Viewing permissions Step 1 : Use the ls command to list the access permissions of files and directories. ls -l Step 2 : In each line, we see several fields of information. 1 : The permission strings 2 : The link count for the object 3 : The user that...

How to Add User to Sudoers in Ubuntu Server 14.04

August 15th 2021, 12:54
Add User to Sudoers Step 1 : To give additional users access to sudo, all you would need to do is add them to the sudo group sudo usermod -aG sudo myuser Configure sudo Step 2 : User with sudo privileges access to everything, and that may or may not...

How to Manage passwords and password policies on ubuntu server 14.04

August 15th 2021, 11:03
Set an expiration date on a user's password Step 1 : Type chage -l username command to display expiration date on a user's password. sudo chage -l myuser Step 2 : When creating user accounts, The chage command allows you to force a password change for a user when he...

How to Manage Groups on Ubuntu server 14.04

August 15th 2021, 12:04
List all groups Step 1 : The /etc/group file contains information regarding the groups that have been created on your system. Go ahead and take a look at this file on your system: cat /etc/group Creating new groups Step 2 : The groupadd command allows you to create new groups....