Starting samba
I'm a newbie and I'm trying to get samba to run. I have a few small questions.
- How do you know if its running? - How do you start/stop/restart it? Matt |
Quote:
Quote:
I'm going to assume you have a RedHat (-compatible) system. Goto /etc/init.d and run (as root) ./smb start (or restart, stop) |
Go to the terminal window and type in any of the following commands:
/etc/init.d/smb restart /etc/init.d/smb start /etc/init.d/smb stop To have SAMBA start when the machine does type: chkconfig smb on Hope that helps. |
Using RH 7 or 8, I open a terminal window and
"su -" <enter password> and then "service smb status " you can also just enter the service command with no parameters to get the parameters it accepts -- one of these is service --status-all which is useful to see what services are running--note per other posts that you either need to stop your default IPTABLES firewall which can be done by service iptables stop or "poke a hole in the firewall" to get Samba to work with windows boxes. RH gnome also has a GUI services program and a Samba config program. editing the conf file is instructive though. All the above is just another way to do what mawarsha correctly posts, without having to remember (or count on ) directory locations. -- my 2cents.... |
All times are GMT -5. The time now is 06:07 PM. |