Kick-Start Configuration – Redhat 6/ CentOS 6

Kick Start Configuration  for automatic Redhat /Cent OS 6 installation in client computers.

Kickstart Configuration Requirements

Client Machine Configuration should have : 2 GB Ram, 60 GB Hard disk capacity and a proper network connectivity to the server as per this configuration.

Steps To Configure KickStart :-

Step 1 : Install required packages by proceeding the below command.

yum install dhcp tftp-server nfs-utils syslinux vsftpd

Step 2 : open /etc/dhcp/dhcpd.conf  and paste the below DHCP configuration to provide the IP to the client computer. Change the network settings as per your need.

 

default-lease-time 600;

max-lease-time 7200;

 

allow booting;

allow bootp;

authoritative;

 

subnet 192.168.3.0 netmask 255.255.255.0 {

range 192.168.3.100 192.168.3.200;

next-server 192.168.3.3;

filename “pxelinux.0”;

}

Step 3:  Start the DHCP service

 

Step 4: Open /etc/xinetd.d/tftp configuration file and modify the below value

 

disable           =          no

 

Step 5: Start the xinetd service

 

Step 6:  Copy all files from Red hat Enterprise Linux 6 DVD to /var/ftp/pub/rhos6/

or

mount the /dev/cdrom to  /var/ftp/pub/rhos6

 

Step 7 :  Copy all files from isolinux folder to below destination.

cp -a /var/ftp/pub/rhos6/isolinux/*  /var/lib/tftpboot

 

Step 8 : Please go to /var/lib/tftpboot

 

Step 9 : Create  a directoty named as pxelinux.cfg and  copy isolinux.cfg  as default and now move the default file to pxelinux.cfg folfer

  1. mkdir pxelinux.cfg
  2. cp isolinux.cfg default
  3. mv default pxelinux.cfg

 

Step 10 : Open the  pxelinux.cfg/default configuration file

 

Step 11 : Please ensure the below values on that configuration file

 

timeout 30

 

label linux

menu label ^Install or Upgrade an existing system

menu default

kernel vmlinuz

append initrd=initrd.img linux ks=ftp://192.168.3.3/pub/ks.cfg

 

 

Step 12 : I have created a below script file to install the Redhat/Cent OS 6 in the destination computer. Now please copy the below script to /var/ftp/pub/ks.cfg . Please change the URL settings as per your need.

 

# Kickstart file configuration

 

#version=Redhat Enterprise Linux 6

 

install

url –url=”ftp://192.168.3.3/pub/rhos6″

lang en_US.UTF-8

keyboard us

network –onboot yes –device eth0 –bootproto dhcp –noipv6

 

#Root password is “redhat”

 

rootpw  –iscrypted $1$3FyvFr.8$YtTb4r8F3z8yTzjY3eEw11

 

# Reboot after installation

 

reboot

firewall –service=ssh

authconfig –useshadow –enablemd5

selinux –enforcing

timezone –utc Asia/Manila

bootloader –location=mbr –driveorder=sda –append=”crashkernel=auto rhgb quiet”

# The following is the partition information you requested

# Note that any partitions you deleted are not expressed

# here so unless you clear all partitions first, this is

# not guaranteed to work

 

clearpart –all

 

# /boot = 300MB

 

part /boot –fstype=ext4 –size=300

 

#SWAP Memory = 4GB

 

part swap –grow –maxsize=4064 –size=4064

 

# / partition size = 30GB

 

part / –fstype=ext4 –grow –size=30000

 

 

%packages

@Base

@Core

@Desktop

@Fonts

@General Purpose Desktop

@Internet Browser

@Printing client

@X Window System

 

%end

 

Step 13 : Please ensure the below permission for ks.cfg configuration file

“rw-r–r–”

 

 

Step 14 :   cp /usr/share/syslinux/pxelinux.0   .

 

Step 15 : Start/Restart the vsftp service

 

Step 16 : Start/Restart the DHCP service

 

Step 17 : Start/Restart the XINETD service

 

 

That’s all………..Our Kick Start machine is ready to install OS on the client computer.

 

 

Best of luck !!

Please give me your comments/feedback to correct this configuration, if anything wrong.

Cheers!!!

 

 

Advertisements

Openfiler – SMB – Windows share configuration

Greetings,

Using below steps, you can configure the Openfiler for Windows share folder access.

If you do not installed, please refer Openfiler 2.99 – Installation Procedure to install open-filer in your server computer.

1
Please login to the web browser interface with https://ipaddress:446/ Username : openfiler Password : password
3
Once you logged in you can see the System Information. Please click on System module to configure. Go to Network Access Configuration and provide Name , Network/Host then click Update button.
5
Click on Volumes module to configure Hard Drive. Click the “create new physical volumes” link to create new volume group.
6
Now you can see the Hard Drive list and select your Hard Drive to configure. Ex: I am selecting  my 1 TB Hard Drive.
7
We are going to create a Partition by clicking the Create button.
8
Our partition has successfully created.
9
Click on Volume Groups and provide the group name and check your partition and click Add volume group.
10
Click Add Volume and this time, we are going to create a fresh volume for windows share on our created volume group.
11
Configure our new volume to activate. . Provide the volume name, volume description and provide or drag your required space value .Select your file system value.
12
The output of our created volume
13
Go to Services module and Enable  and Start the CIFS  (Common Internet File System) Server service.

 

Picture1
In this configuration plan, I am going to create three groups and three folders and going to provide specific folder access to above selected groups
21
And, through the group, I am going to provide the folder access to Users in Windows Machines.
login
Now you need to login through root account on your Openfiler or you can use Putty to connect your server.
1
Adding user1
2
Adding user2
3
Adding user3
4
Adding user4
5
Now, adding group1
6
Adding group2
7
Adding group3
8
Please provide the command like above to add users on the group. Now am adding user1 on group1
9
Adding user2 on group2
10
Adding user3 on group3
11
Adding user4 on group3
12
Now create SMB password for the users as per our configuration plan. It is a must thing to do to access the folder in windows machine. Creating SMB password for user 1
13
Creating SMB password for user2
14
Creating SMB password for user3
15
Creating SMB passwd for user4
14
Once you finished your user, group and password configuration on CLI, please go to your web openfiler interface and click Shares module to create 3 folders. Now click on the created volume.    

 

15
Provide the name and press Create-Sub-folder button.
16
Press Make Share to button to configure the share folder access. 
22
Select Controlled access  and press Update in Share Access Control Mode. Locate your group1 and select the radio button on PG (Primary Group) and select the radio button to RW (Read Write) and press Update in Group Access Configuration.
23
.
24
Create second folder.

 

25
Configure the second folder as like above.
26
Create third group.
27
Configure the third group as like above.
28
Now go to your windows system and type the IP address in RUN program as like above and if you configured properly, then you can see the folder names.
29
Our folders are properly visible in the network. Now you can access the folder as per our configuration plan users. If you need any reference, please see our graphical configuration plan.

 

 
Thank you for viewing and good luck for all. 🙂

Let me know comments.

Thanks,

Pradheep Kumar

Open filer 2.99- Installation procedure.

Hello everyone,

We are going to see about the installation procedure of Openfiler 2.99.

You can download the ISO file from the official website of Openfiler.

 

1
Step 1: Once you boot from ISO file, you will see the above image in your computer screen. Press Enter button to continue
2
Step 2: Press Next to continue the installation process
3
Step 3: Select Language and press Next
4
Step 4: One Warning message will prompt and ask you the permission to erase all data’s in the system hard disk. Press Yes and continue.
5
Step 5: Now we are going to install Openfiler on local hard disk so press Next to continue.
6
Step 6: Then, below error message asking your permission once again to remove all partitions and data’s on the hard disk so please press Yes to continue.
7
Step 7: Select Manually option and provide the domain based system name as like below or you can give a only a host name. Press Edit on Networking devices option to configure the network settings.
8
Step 8: Now provide your IP address range and Net mask value
9
Step 9: And, optionally you can provide your Gateway , Primary DNS and Secondary DNS. Then press Next button to continue
12
Step 10: Select your Time zone and pres Next.
13
Step 11: Provide the password for Root account and press Next.
14
Step 12: Click Next to start Openfiler installation.
15
Step 13: Once it has started, then it will format and apply the file system.
16
Step 14: The installation has successfully started.
17
Step 15: It will ask you to click Reboot button.
18
Step 16: Once it has Openfiler started, it will show the kernal file booting up like below.
19
Step 17: The Openfiler loading screen appears like below.
20
Step 18: An Open filer storage operating system loads up like below and the installation has been successfully done.

 

Computer Operating Systems – Linux and Windows

Linux

Linux is an operating system.

The main advantage is, it is an open source operating system.

We can edit the source code as per our personal need and use it with our private network.

If we compare with the other operating systems, Linux is secured to use.

At worldwide, there are many numbers of distributions are available in Linux and most of the world wide Supercomputers are running with Linux Operating system.

There are some major distributions to use and to get the valuable support from the distributed concern.

 

Redhat Enterprise Linux is one of the major distribution in Linux.

The Redhat company is from USA, they are modifying and selling the OS named Redhat Enterprise linux to the public customers.

If you want to use the Redhat distribution, then you need to study and write the certification exam in Red hat.

After successful completion of your exam, red hat will provide you a credential on their website to stay updated with them.

Using the credential you can download and install the Red hat ISO file for free of cost.

If the company needs a support from Red hat, then they should pay to Redhat only for the Technical Support.

Upon that, the other success full distributions are SUSE Linux, Ubuntu Linux, Cent OS, Debian and Fedora.

Ubuntu is really good to use on Desktop computers. Also Server type of operating systems are available in Ubuntu.

Cent OS is a complete copy of Red hat and only the difference is you cannot get the official Technical support.

But you can get the all types of technical support via Cent OS online forums as well as it is free of cost.This operating system is completely free to use and distributed by the Red hat company.

Microsoft Windows

Microsoft Windows or Windows is the user friendly computer operating system.

It is developed and sold by the company named Microsoft.

Windows OS’s contains several families, they are Windows NT, Windows Embedded and Windows Server and Client.

Let we see about the  versions of Windows Server and Client operating systems.

Windows NT was the first Windows operating system in Server OS’s.

Server OS’s                                                         Client OS’s

Windows server 2003                                     Windows 2000, XP

Windows server 2008, 2008 R2                   Windows vista, Windows 7

Windows server 2012                                     Windows 8 and 8.1

(Coming soon)

Windows server 2016                                     Windows 10

If you want to use the windows operating system, then you need to pay for the each copy of the Windows OS’s.

Based on your License, you will get the Technical Support from Microsoft team.

The license will vary with Server and Client operating systems.

 

Hi everybody

My warm greetings to all of you.

This is Pradheep Kumar from Chennai. I am working  as a Customer Support (Technical) at Software Industry.

Shortly, I will post more technical information’s about the Linux / Windows / VMware based  configurations on my blog.

Regards,

Pradheep Kumar R