SAMBA
Red Hat Linux 9 includes
SAMBA 2.2.7a.
Red Hat Enterprise Linux 3 incudes SAMBA 3.0.0.
First, I downloaded it
from a website I found via GOOGLE, using a Windows PC with a CD-R burner.
I've burned the 2 files to a CD-R. About 10.6 MB total.
Log in as ROOT for all of this.
First, to remove SAMBA
2.2.7a.
on PC "grasshopper"
# rpm -q samba
samba-2.2.7a-6
# rpm -e samba I TRY
TO ERASE (remove) IT, BUT
error. Failed -
samba is needed by redhat-config-samba-1.0.4-1
THESE ARE PREVENTING
samba is needed by samba-swat-2.2.7a
ME FROM REMOVING IT !
# rpm -e samba-swat
warning: /etc/xinetd.d/swat saved as swat.rpmsave
IT BACKED-UP
MY OLD SETTINGS FOR ME
# rpm -e redhat-config-samba
# rpm -e samba
warning: /etc/samba/smbusers saved as sbmusers.rpmsave HOW
NICE FOR IT TO DO THAT
#
# rpm -q samba
package samba is not installed
I previously copied the 2 Samba 3.0.0 files from the CD-R to /home/bill/.
I double-clicked the main file, which launched the extractor to unzip the 10.6
MB file into a folder.
I chose /home/bill/samba-3.0.0/
Now, logged in as ROOT,
I install the newer version of SAMBA-
#
# cd /home/bill/samba-3.0.0/source CHANGE
TO THE SOURCE DIRECTORY
# ./configure SET-UP RUNS TO
MAKE SURE IT CAN DO THE INSTALL
# make THE
SAMBA PROGRAM FILES ARE COMPILED
#
To start the smbd and nmd services:
# service smbd start
# service nmd start
# ps -ef | grep smbd
# ps -ef | grep nmd
To set SAMBA to restart
automatically when the system reboots:
# chkconfig --list samba
# chkconfig --level 35 on Set
SAMBA to start at run levels 3 and 5
# chkconfig --list samba Check
that changes have taken affect
another
example, this time on PC "bulldog":
# rpm -q samba
samba-2.2.7a-6
# rpm -e samba I TRY
TO ERASE (remove) IT, BUT
error Failed -
samba is needed by redhat-config-samba-1.0.4-1
JUST ONE DEPENDENCY
ON THIS PC
# rpm -e redhat-config-samba
# rpm -e samba
# rpm -q samba
package samba is not installed
NOTE:
on bulldog, I only had to remove one dependency = redhat-config-samba-1.0.4-1
before removing samba 2.2.7a.
I had not previously configured SAMBA 2.2.7a on 'bulldog", so there were
no files to back-up
copy the file from the
CD to /tmp-
# mount /dev/cdrom
# cd /dev/cdrom
# ls -l
# cd samba
# ls -l
# cp samba-3.0.0.tar.gz /tmp About
11mb copied
# cd /tmp
# ls -l
# tar xvfz samba-3.0.0.tar.gz Many
files scroll by as they are being uncompressed
# ls -l
# cd /tmp/samba-3.0.0/source Change
to the source directory
# ./configure
on bulldog:
/tmp 5%
/tmp 16% copied
/tmp 49% uncompressed
/tmp