Archive for the ‘LINUX’ Category

In this tutorial i will show you how to configure DNS server in Linux. We will learn to configure zone file and reverse lookup zone file.We will also learn about dns packages and dns services.We will also learn to change the ownership of files which we need to change.I have used Virtualbox for configuring and testing this DNS lab.The operating system i used for DNS server is RHEL5 and the DNS Client machines is WindowsXP.

Learn More server configuration on Linux.

DHCP SERVER Configuration in Linux.

NIS Server Configuration on Linux.

Apache server Configuration on Linux

 

The ip address for DNS server is 192.168.0.254 and domain name is xyz.com

(more…)

DHCP Server configuration in Redhat Enterprise Linux. In this tutorial we will learn how to configure DHCP Server on Linux.Then we will see how dhcp client machine will receive ip address from DHCP server.


Subnet and netmask should be 192.168.0.0 255.255.255.0


Gateway Should be 192.168.0.254


DNS Sever Should be 192.168.0.254


Domain Name will be xyz.com


Range from 192.168.0.10- 192.168.0.100


DNS Configuration on Linux.
NIS Server Configuration on Linux.
Apache Web server Configuration on Linux.

So let’s assign IP Address, default  Gateway IP and domain Name and range as we have decided above.

(more…)

In this article i will explain how you can encrypt your Linux hard drive or Linux Drive or Partition using LUKS.I will create a partition /dev/sda2 here and then  I will show you how to encrypt this partition using LUKS or you can say how to password protect this drive using LUKS.I will explain the complete procedure in few simple steps.So you need to just read each and every line carefully and you will be able to do this task easily.

(more…)

This article is all about Linux System Administrator Interview question.Here i will discuss all the questions which mainly asked during Linux system admin interviews.I will highlight the questions which generally all Linux system admins have faced during his interview.

(more…)

In this tutorial we will learn and try to understand the types of files in Linux and how to identify them all.Before using any operating system we must know about the types of files available in those operating system.Like other OS Linux OS also has some files and each files have different properties and assigned for different task.

Types of files in linux.

The following are the list of file types, and their associated character:

• – regular file
• d directory
• b block device
• c character device
• l symbolic link
• s socket link, also called a Unix networking socket
• p first-in first-out (FIFO) buffer, also called a named pipe

(more…)

If you are a Linux User and you are using Linux for storing data and doing multiples tasks then you must need to manage your hard drive in linux.sometimes you need to create new partition,sometimes you need to delete some of your partitions as per your requirement.And if you don’t have idea about how to create and delete partition in Linux then it will become very hectic task for you to manage your data in Linux and sometimes it may result in Data Loss.even many people used Linux and windows together in Dual Boot(mean Windows and Linux Together in a Hard Disk).In such case even a little mistake done at Linux Side can Destroy  your all Windows data because all data resides on same Hard Disk.

ethical Hacking

So for everyone who wants to keep Linux in His/Her laptop or Computer this article is for you.here in this article i am going to show you how to Create and Delete partitions in Linux very easily in just few simple steps.

(more…)

I have already written two articles on User and Group management in Linux.here in this article mostly i focused on how to create and delete multiple users or multiple groups in linux at a time.And we will also learn How to create a series of Linux Users in a sequence like from U1 to U100 at a time and delete them.

User and Group Management For Linux User Part-1
User and Group Management For Linux User Part-2
How to Lock and unlock Users in Linux in Detail.

And Now this is part-3 of User and Group Management Tutorial in Linux.

(more…)

I have already written an article on how to create users and group in Linux and how to manage it along with few script to add users and Groups in Linux.This tutorial is enhanced form of my previous article User and Group Management Tutorial for linux User Part-1.

How to Lock and Unlock Users in Linux.

In this article we will learn some typical and conceptual thing about customizing and managing  Users and Groups in Linux Machines like changing Users home Directory,Creating Users in Linux with Custom Home Directory,Adding a user even without any Home Directory,Creating Users with custom User ID,Creating Users with Custom Group ID,Adding a User to Multiple Groups,Creating a User with Account Expiry date,Creating a User with Custom Comments and Many more.

(more…)

In this tutorial we are going to build our own customize kernel for our RedHat Enterprise Linux.Before we go further i love to remind you that we will do all these process as root user and all the commands will be performed inside your linux kernel Directory which is located inside /usr/src folder. (more…)

In this tutorial we will learn about user and group management in linux.We will learn how to add and delete user and groups in linux.We will also learn how add multiple users and groups through simple script or program.Our this article contains linux user database and password related information.We will also see how to display or check password status of any linux user and how to set password expiry date for any linux user.Not only this we will also learn how to set account expiry date and set user to be inactive after certain number of inactive days.

There are many more in this article and to gain all you have to go through this article.

You can also read:

User and Group Management in Linux Part-2

User and Group Management in Linux Part-3

How to Lock and Unlock Users in Linux.

(more…)