Category: Linux Administration

Manage Time service on RH and CentOS 7

When Linux system first boots the hardware clock is read first. The time on the hardware clock read from local hardware clock in UTC – Universal Time. Local time is the actual time in the current time zone. System time, unlike Hardware clock maintained by operating system. System clock is completely independent of the hardware

Setup SFTP on UBUNTU 16.x with Active Directory authentication

In this tutorial we will look into setting up sftp server for users on Ubuntu 16 which will be authenticating through Active Directory. This will be a two step process consisting of first connecting Ubuntu server to Active Directory and then setting up SFTP for AD users.

How to copy files and directories between Linux hosts with scp

In this how to we will go over scp copy command and how it can be used to securely copy files between Linux hosts. SCP uses SSH for data transfer and also uses it for authentication. By default SCP works on port 22 which is default ssh port. For security reasons it is recommended to

Basic NTP Configuration on CentOS 6

It is very important to have proper time set on your VPS system. There are many reasons for this. One of them is security, all log entries must have proper time stamp for successful troubleshooting, also some networking applications will not work properly with time not set properly. On Linux time synchronization is done with

Ubuntu 12.04 and Tomcat 7 SSL implementation

Apache Tomcat is open source servlet container developed by Apache. Tomcat implements the Java Servlet and the JavaServer Pages(JSP) specifications, and provides a JAVA HTTP web server environment for Java code yo run. In this blog we will show you host how to quickly install Tomcat 7 on Ebuntu 12.04 vm or server and deploy

Expand KVM based image with lvm partition

Lets take a quick look at how to expand kvm raw image with lvm partition running CentOS7 guest. We will need to download gparted for this to re-size image. It cam be downloaded from here. We will be expanding our image by 10G.

Changing Permissions and Ownership on Linux filesystem

Managing Linux permission can be tricky at times. Although it is possible to manage permission from GUI interface on most of Linux distributions, in this article we will go over basic CLI permission and ownership management of files and directories. Key commands that can help you manage the permissions and ownership of a file are

Add directory to PATH variable CentOS and Red Hat

When we running a command in Linux, logically we should type the full path to that command. For example, since the pwd command is in the /bin directory, we should actually type the /bin/pwd command to list files in the current directory. With the benefit of the PATH, an environment variable, that’s not required. The

Using ACLs (Access Control Lists) with Linux filesystem

This article was written specifically for Red Hat and CentOS but concept will be the same for other Linux distributions. In this article we will go over ACLs for Linux and how they can be used to control access to files and directory’s on Linux file system. ACLs start with ownership and permissions. ACL on