Chapter 26 . Running a File Server (Http web server) 675
Saturday, October 13th, 2007Chapter 26 . Running a File Server 675 Windows 9x Windows for Workgroups Windows NT MS Client 3.0 for DOS Windows ME OS/2 Windows 2000 Dave for Macintosh Computers Windows XP Samba for Linux As for administrative tools for Samba, you have several shell commands at your disposal: testparm and testprns, with which you can check your configuration files; smbstatus, which tells you what computers are currently connected to your shared resources; and nmblookup command, with which you can query computers. Samba uses the NetBIOS service to share resources with SMB clients, but the underlying network must be configured for TCP/IP. Although other SMB hosts can use TCP/IP, NetBEUI, and IPX/SPX to transport data, Samba for Linux supports only TCP/IP. Messages are carried between host computers with TCP/IP and are then handled by NetBIOS. Getting and Installing Samba You can get Samba software in different ways, depending on your Linux distribution. Here are a few examples: . Debian To use Samba in Debian, you must install the samba and smbclient packages using apt-get. Then start the Samba service by running the appropriate scripts from the /etc/init.d directory, as follows: # apt-get install samba samba-common smbclient swat # /etc/init.d/samba start # /etc/init.d/smb-client start . Gentoo With Gentoo, you need to have configured NFS file system and NFS server support into the kernel to use NFS server features. Installing the nfs-utils package (emerge nfs-utils) should get the required packages. To start the service, run rc-update and start the service immediately: # emerge samba # rc-update add samba default # /etc/init.d/samba start . Fedora Core and other Red Hat Linux systems You need to install the samba, samba-client, samba-common, and optionally, the system-config-samba and samba-swat packages to use Samba in Fedora. You can then start Samba using the service and chkconfig commands as follows: # service smb start # chkconfig smb on
From our experience, we are can tell you that you can find a reliable and cheap webhost service at Java Web Hosting services.