![]() |
Installing Samba 3.0.14a-2 under Fedora Core 4 - Printable Version +- Linux-Noob Forums (https://www.linux-noob.com/forums) +-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html) +--- Forum: Tips and Tricks (https://www.linux-noob.com/forums/forum-59.html) +---- Forum: Samba and NFS (https://www.linux-noob.com/forums/forum-23.html) +---- Thread: Installing Samba 3.0.14a-2 under Fedora Core 4 (/thread-2561.html) |
Installing Samba 3.0.14a-2 under Fedora Core 4 - ASrael - 2005-07-08 This Tutorial is free and may be distributed with reference to this website It is for people running Fedora Core 4 wanting to setup a working Samba Server to access the Shares on a Linux machine from a Windows machine Commands are written in green Everything else are things you might edit / write / add Get my Tutorials from [/url][url=http://www.bildunxxluecke.de/usr/fedora]http://www.bildunxxluecke.de/usr/fedora 1. -------------------------------------------------------------------------------- Prepare your Enviroment: - samba-common-3.0.14a-2.i386.rpm - samba-3.0.14a-2.i386.rpm - samba-client-3.0.14a-2.i386.rpm - samba-swat-3.0.14a-2.i386.rpm (install only if you want have samba-webinterface) 2. -------------------------------------------------------------------------------- Now its time to configure SAMBA: rpm -i samba-common-3.0.14a-2.i386.rpm rpm -i samba-3.0.14a-2.i386.rpm rpm -i samba-client-3.0.14a-2.i386.rpm rpm -i samba-swat-3.0.14a-2.i386.rpm 3. -------------------------------------------------------------------------------- Everything should be installed now, its time to configure Samba: - cd /etc/samba/ - vi smb.conf You can safely edit this file (in fact you must) necessary is : workgroup = < your windows network workgroup > e.g.: WORKGROUP server string = < Information about your Samba Server > netbios name = < Hostname of Sambaserver > e.g.: SMBSERV01 You dont need to touch the shares so far, if you want to share other directorys keep and eye on the examples in the smb.conf 4. -------------------------------------------------------------------------------- Now everything is done and you can start: [root@test] smbd -D [root@test] nmbd -D Now you should be able to access your Sambaserver from your Windowsmachine via \\< smb machine ip > (5.) -------------------------------------------------------------------------------- For those who want to use swat with samba : - cd /etc/xinetd.d/ - vi swat change disable = yes to => disable = no - cd /etc/ - vi services make sure the following line is in it : swat 901/tcp # Samba Web Administration Tool to test do 'grep 901 /etc/services' , if not in insert it now do : service xinetd restart Swat should be running now ! (6.) -------------------------------------------------------------------------------- To access Swat Webinterface from Lan : - cd /etc/xinetd.d/ - vi swat change 'only_from = 127.0.0.1' to 'only_from = 'your.netmask.0.0' e.g.: '192.168.0.0' the 0 stands for wildcards (e.g. 192.168.0.0 to 192.168.255.255) -------------------------------------------------------------------------------- Everything is fine .. enjoy now just do http:// SAMBAIP : 901 and login as root Installing Samba 3.0.14a-2 under Fedora Core 4 - anyweb - 2005-07-08 nicely done, and welcome to the linux-noob.com forums i hope you stay and contribute ! and bring some noobs too ;) cheers anyweb Installing Samba 3.0.14a-2 under Fedora Core 4 - znx - 2005-07-08 nice walkthrough ASrael B) Installing Samba 3.0.14a-2 under Fedora Core 4 - CityofAsh - 2005-07-27 Hmm can this post be copied into Samba also?? Make it easier for us noobs to find! Thx ~City Installing Samba 3.0.14a-2 under Fedora Core 4 - anyweb - 2005-07-27 done! Installing Samba 3.0.14a-2 under Fedora Core 4 - dasunst3r - 2005-08-19 You might want to mention security-related things, such as making sure that you are using user security by doing the following: Code: [global] And with that security in place, you would also want to mention adding a user by issuing smbpassword -a as root, like this: Code: su This is a security measure that quite a few Windows computers lack, so by adding this security, we'll be one step ahead of Windows users! :) |