Link to home
Start Free TrialLog in
Avatar of dontdig
dontdig

asked on

How to install samba server on solaris 10 ?

Hi,

I am newbee in UNIX/solaris  i cant install samba on solaris see wht steps i tried in cdrom

# pkgadd -d . SUNWsmbar SUNWsmbau SUNWmbac SUNWsmbas

but it could only install SUNWsmbar and SUNWsmbau

for other packages it says package not found  i installed SUNWsmbaS also but i  dont know what is use of this?? but still i cant find ./samba service script in /etc/inet.d/

actually iam following this tutorial

http://it.toolbox.com/wiki/index.php/How_to_configure_SAMBA_in_Solaris




pls help me out guys

Ty  alot
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

Avatar of dontdig
dontdig

ASKER

Ty omarfarid for links

but i dont have sparc pc its on vmware workstation with C2DUO processor will it work?
actually iam studying on solaris...though iam downloading it...
Avatar of dontdig

ASKER

sorry to say but i have downloaded it was corrupted  package ..iam trying to  download it  again
Avatar of dontdig

ASKER

now i have extracted the above package but prob is i dont know how to instll it its  

 samba-3.2.4-sol10-x86-local

i dont know how to run  it is an script ?
after unzipping it

gunzip samba-3.2.4-sol10-x86-local.gz

then run as root

pkgadd -d samba-3.2.4-sol10-x86-local
Avatar of dontdig

ASKER

thanks its has been installed now but how to start this service in /etc/init.d there is no start-up script for this like we have in linux
Avatar of dontdig

ASKER

now  my samba server is up and running i can share folder .....but still funny thing is how can i start/restart  the service?? there is no /etc/init.d/samba or /etc/init.d/./samba to stop or to restart this service  

suppose i have made some changes in smb.conf i want to restart the service pls tel me about it

Regards++
please look into the provided links on how to stop / start / restart samba
Avatar of dontdig

ASKER

yes i looked at it it says the same /etc/init.d/samba start/stop ,,but the script is "NOT" there to start and stop the service.
in the link below (already given)

http://forums.sun.com/thread.jspa?threadID=5106458

Follow the steps from

Sep 18, 2006 11:23 PM  (reply 4 of 20)  (In reply to  #3  )
Avatar of dontdig

ASKER

HeLL!!!!!!!!!!!!  

LOL man the procedure is very long do we need to follow the same procedure to just start and stop an service in solaris???????????// nothing inbuilt??


if answer is yes i"ll  have to certainly leave solaris study..... :-(
well, you could take the commands and run them manually and forget about automating it!
Avatar of dontdig

ASKER

"well, you could take the commands and run them manually and forget about automating it!"

can u pls explain urs comment practically
please tell me the procedure u do when u use solaris for an service to start like samba...please be practical while answering it will be easy to understand


Ty++
ok, if not mistaken you can do

- to start

/etc/rc3.d/S90samba start

OR

 /usr/sfw/sbin/smbd -D
 /usr/sfw/sbin/nmbd -D

- to stop

/etc/rc3.d/S90samba stop

OR

pkill smbd
pkill nmbd
Avatar of dontdig

ASKER

Ty omar

/etc/rc3.d/S90samba doesnt exist i dont know y but  /usr/sfw/sbin/smbd -D did the job and then pkill to stop

but y /etc/rc3.d/S90samba is not here?
ASKER CERTIFIED SOLUTION
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dontdig

ASKER

Thanks Omar :-)
Avatar of dontdig

ASKER

just one more thing bit out of topic

may i know that where people are implementing solaris i mean about objective like for an web server ?
I want to know  actual usage of an solaris O.S in our practical life see there are many more easier to handle server are available like cent 0.S



Thanks :-)
solaris is very popular OS and widely used as web server, mail server, directory / LDAP server, etc.

Many free and commercial S/W packages are developed and available on it.

solaris runs on sparc and x86 platforms and recently Sun released it as open source ( Open Solaris)
Avatar of dontdig

ASKER

thanks for information