Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
40Activity
0 of .
Results for:
No results containing your search query
P. 1
Linux Server Installation & Configuration Manual

Linux Server Installation & Configuration Manual

Ratings: (0)|Views: 968 |Likes:
Published by Mathivanan

More info:

Published by: Mathivanan on Sep 30, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

06/16/2013

pdf

text

original

 
Redhat -9 SERVER INSTALLATIONPartition:
boot 100 MB/10 GBhome10 GBvar10 GBswapDouble of ramprofile30 GB
Packages:
Select all servers packages.Select all development packages.Kernel source.Do not select samba's and samba-swat packages.
DNS Configuration:Check DNS rpm# rpm -qa | grep bind
Now open /etc/named.conf 
# vi /etc/named.conf 
copy all 5lines of local host at last.
This is a forward lookup zone entry
zone “hitech.com.zone” IN { type masterfile “hitech.com.zone”allow-update {none;} ;
This is a reverse lookup zone entry
 zone “100.168.192.in-addr.arpa” IN { type masterfile “named.local.hitech”;allow-update {none;} ;
copy 2 file in directory /var/named
(1) hitech.com.zone(2) named.local.hitech
#cp /var/named/localhost.zone /var/named/hitech.com.zone#cp /var/named/named.local /var/named/named.local.hite
ch
 
4.
vi /var/named/hitech.com.zone
ORIGIN hitech.com @1DINNShitech.comhitech.com.1DINA192.168.100.1mailINA192.168.100.1hitech.com.INMX 5 mail.hitech.com5.
vi /var/named/named.local.hitechReplace all localhost words with hitech.com.Contents of named.local.hitech
$TTL86400 @ IN SOA hitech.com. root.hitech.com. (1997022700 ; Serial28800 ; Refresh14400 ; Retry3600000 ; Expire86400 ) ; MinimumIN NS hitech.com.2 IN PTR hitech.com.
Note: In above file 2 stand’s for last octet of ip address.Now Edit /etc/resolve.con#vi /etc/resolve.conf 
 nameserver192.168.100.2 (Give server ip)nameserverISP's DNS
#service named restart#rndc reload#host hitech.comqmail queris this#host -t MX hitech.com#host mail.hitech.com#host 192.168.100.1#host -a hitech.comNote:
If on client side error of dns lookup, then
iptables
should be off. If we implement qmail and other packages then we have to change ip in dns file andothers configuration files.
 
Samba Configuration:
(1)
First you have to remove all samba's old rpms if installed.
#rpm -e – nodeps samba#rpm -e – nodeps samba-common#rpm -e – nodeps samba-client#rpm -e – nodeps samba-swat(if installed)Install all new rpms of samba from redhat enterprise cd.
Samba-swat-3.0.0-15samba-commom-3.0.0-14.3E from cd-2samba-3.0.0-14.3E from cd-3samba-client-3.0.0-14.3E from cd-2
If rpm is not found download from net and then followed this procedure.(If source rpm)
# rpmbuild –rebuild (Samba rpm name)
Now we have to edit /etc/samba/smb.conf file
Contains of file which are edited in Global section.[global]workgroup = HITECHEXPORTserver string = Hi-Tech Export PDC Server#interfaces = eth0, lo#bind interfaces only = Yesobey pam restrictions = Yespam password change = Yeshosts allow = 192.168.100. 127.printing = cupslog file = /var/log/samba/%m.logmax log size = 0unix password sync = Yespasswd program = /usr/bin/passwd %upasswd chat = *New*password* %n\n *ReType*new*password* %n\n*passwd:*all*authentication*tokens*updated*successfully*socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192add machine script = /usr/sbin/useradd -d /dev/null -g samba-clients -s/bin/false -M %ulocal master = Yesos level = 99domain master = Yespreferred master = Yesdomain logons = Yeslogon script = %U.batlogon path = \\%L\Profiles\%Udns proxy = Nolog level = 1

Activity (40)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
amrut9 liked this
surajhari liked this
ankit boxer liked this
virendar_gupta liked this
peeaarkey liked this
pin22cool liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->