Friday, July 16, 2010

Red Hat Lectures

Red Hat Linux Lecture 4 (RH 253)

Red Hat Linux Lecture 3 (RH 253)


Red Hat Linux Lecture 2 (RH 253)


Red Hat Linux Lecture 1 (RH 253)

Thursday, June 10, 2010

Red Hat Linux Lecture 4 (RH-253)

NFS SERVER CONFIGURATION : -

NFS stands for network file system which is used for sharing the data between UNIX or LINUX machines.

PORT NO. : - 2049 // controlled by rpc.

SERVICES AND DAEMONS : - 1. nfs 2. portmap

PACKAGES : - 1. nfs 2. nfsd 3. nfsdoc

CONFIGURATION FILE : - /etc/exports

Configuration Steps SERVER SIDE : -

1. Create data or use previous data for sharing. Ex. #mkdir /data(folder to share.)

2. open the configuration file.
#vim /etc/exports

3. Make the entry as follows in this file : -
For single system sharing :-
/data 172.24.0.1/255.255.255.255(rw,sync)

For sharing with in a network : -

/data 172.24.0.0/255.255.0.0(rw,sync)

For sharing globally :-

/data *(rw,sync)

and save and Quit (Esc :wq)

4. Run the Following Commands : -

#service portmap restart
#service nfs restart
#chkconfig portmap on
#chkconfig nfs on

5. For viewing the content on network sharing run the command : -

#showmount -e

Client Side configuration :-

1. Mount the server on which data is residing :-
#mount /172.24.0.2:/data /mnt

2. now use the file access them from server.

############################################################### Whow!!!!!!!!!! that's it buddy !!!
Kindle Wireless Reading Device (6" Display, Global Wireless, Latest Generation)
Breach of Trust

Wednesday, June 9, 2010

Red Hat Linux Lecture 3 (RH-253)

CONFIGURING SSH
** SSH stands for secure shell. It provides functionality of both telnet and ftp. It always performs the complete transmission in Secure mode. It uses encryption for transferring data between two machines.

Port No. : - 22

Services and Daemons : - sshd

Configuration file : - /etc/ssh/sshd.conf

configuration Steps SERVER SIDE: -

1. Configure your machine as yum client.
2. Run following command : -
yum install *ssh*
#yum list openssh

3. open the configuration file.
#vim /etc/ssh/sshd.conf

4. Go to line no. 13 and uncomment it.

5. Go to line no. 39 and uncomment the line. ( PermitRootLogin yes)

6. Rum the commands : -
#service sshd restart
#chkconfig sshd on

Now for accessing machine run the command : -

#ssh 172.24.0.1

give the password of that machine and you are there,......

whew!!!!!!
Avatar (Two-Disc Blu-ray/DVD Combo) [Blu-ray]
The Girl Who Kicked the Hornet's Nest
Breach of Trust

Tuesday, June 8, 2010

Red Hat linux Lecture 2 (RH-253)

Telnet Configuration

Telnet stand for telecommunication network used to access a remote machine in command line interface (CLI) mode. It is a universal protocol that do not provides encryption during transferring of data that's why unsecured.

Port No. - 22
Package it required : - telnet-server & xinetd
services and daemons :- xinetd
configuration file : - /etc/xinetd.d/telnet

#yum install telnet-server
#yum install xinetd
in this file go to line disable = yes and convert yes to no

run the following command : -
# service xinetd restart

for accessing particular machine run command : -

telnet
example : - telnet 172.24.0.2

now login by giving user name and password. and transfer files by using put & get commands.

for Exiting use bye command.

Red Hat linux Lecture 1 (RH-253)

system Services :
1. by init
2. by service command
3. by chkconfig command
4. by xinetd daemon
1. INIT SERVICES
#init run_level
command is used to chose a desired run level.
2. SERVICE
#service service_name restart|stop|start
command is used to restart/start/stop a particular service. For example service vsftpd restart command will restart vsftpd service immediately. This will not survives after a reboot

3. CHKCONFIG COMMAND
#chkconfig service_name on|off
command is used to runnin a particular service after a reboot also. tahat was not possible by service command.

4. XINETD

xinted hold the services that is to be run on a particular run levels. it turns on the given set of services in a particular run level. means it holds the list of services that has to be run in a particular run level.