Showing posts with label Configuration Directory. Show all posts
Showing posts with label Configuration Directory. Show all posts

NIS Network Information Service configuration important files and directory in Red Hat Linux

Install NIS
#rpm –q yp*
Set the domain
/etc/sysconfig/network
Line4: NISDOMAIN =linuxclient

Edit variable directory /var/yp/Makefile
Line 109 add # before host
Add the user to NIS
/usr/lib/yp/ypinit –m

-m option means this is for the Master server.

Start the service
Service yppasswdd start
Add the user
Update the user database through make command

Go to the client system
Setup NIS client
Set NISDOMAIN as linuxclient

NFS Network File Sharing Configuration Important Files Directory in Red Hat Linux

Before you install the NFS you must stop the ipatables
#service iptables stop
Or
#chkconfig iptables off

Install the NFS files
#yum install nfs*
ADD the shared files in the NFS configuration file
/etc/exports
Start the portmap
#service portmap start

Client Side
Mount the share file
#mount ipaddress:/sharefolder

Samba Server Configuration Important Files Directory in Red Hat Linux

Samba server installation command
Yum install samba*
Edit the smb.conf configuration file
/etc/samba/smb.conf
Add the user to samba
smbpasswd –a username


And give the full permission for shared directory

using chmod command Linux

Apache Web Server Configuration Important Files Directory in Red Hat Linux

Web server installation command
Yum install httpd*
Create Home file for the web server variable directory
/var/www/html

Create the web server configuration file httpd.conf file in configuration directory
/etc/httpd/conf


And edit the file httpd.conf
Restart the service
Service httpd restart

DNS rndc utility /etc/named.conf in Red Hat Linux OS

RNDC is the bind utility enables secure and remote management of running name server. It is earlier name is Daemon Control utility (ndc).rndc is also called by remote BIND, or DHCP server to dynamically “update” the local server’s configuration. It is not daemon but utility called by named to verify keys. It used 953 port .rndc is used key specified in /etc/named.conf three statement are essential with option statement you can set the default server and key for rndc
Options
{
default-server localhost;
default-key “”;
};


Server localhost

{
Key “”;
};


Key “

{
};

and should exactly match their setting /etc/named.conf

To test this command you can run
rndc reload
rndc:relod command successfully.




DNS Configuration Important Files Directory Red Hat Linux

DNS installation command
Yum install bind* cachi*
Create the named.conf file in the configuration directory
/var/named/chroot/etc
Create Forward.zone and Reverse.zone file in the
/var/named/chroot/var/named directory

Set the IP address
/etc/sysconfig/network
Or use command to set the IP address
system-config-nework


Specify the IP address and host name DNS client system
/etc/hosts

Specify the DNS server name and IP address in the client System
/etc/resolve.conf

YUM Server Configuration Important Directory Files REDHAT Linux

Copy of the Linux OS like RED HAT package
/var/ftp/pub- copy the data from CD or DVD to /var/ftp/pub
Create repo file
rpm –ivh createrepo.
List out the repo file
createrepo /var/ftp/pub/Server/

Edit the yum server configuration file
/etc/yum.repos.d directory