Sun 31 Dec 2006
Samba Configuration with SWAT Preparing… ########################################### [100%] 1:
Posted by sales under redhatSamba Configuration with SWAT Preparing… ########################################### [100%] 1: samba-swat ########################################### [100%] Note Alternatively, view the available package files on your disk by using the Nautilus file manager GUI to navigate to /mnt/cdrom/Redhat/RPMS. Locate the file matching the name samba-swat-*.rpm. Double-click on this file - this action will open RPM GUI tool, from which you can install the package. Starting the SWAT Service Starting the SWAT service is a two step process: 1. Launch gedit or your favorite text editor, and open the file /etc/xinetd.d/swat. This is the configuration file for the SWAT service, and it looks like this: # default: off # description: SWAT is the Samba Web Admin Tool. Use swat # to configure your Samba server. To use SWAT, # connect to port 901 with your favorite web browser. service swat { port = 901 socket_type = stream wait = no only_from = 127.0.0.1 user = root server = /usr/sbin/swat log_on_failure += USERID disable = yes } Change disable value, like this: disable = no Save the file, and close your text editor. Note As an aside, note that this default configuration ensures that the SWAT service will only be accessible through the IP address 127.0.0.1, and on port 901. The IP address 127.0.0.1 is a special address known as the loopback address, because requests to http://127.0.0.1 are sent to the web server on the same machine as the browser from which the request is made. Hence, by default, SWAT is only available from the file server machine itself - via http://127.0.0.1:901 or http://localhost:901 (as we mentioned earlier in the chapter). 2. Restart the xinetd service. (We must do this because SWAT runs as an xinetd service. The xinetd service is out of scope of this book, but it is enough to know that its purpose is to support Internet services such as SWAT). To do this, first launch the Service Configuration GUI tool by selecting Main Menu | System Settings | Server Settings | Services: 296
Hint: If you are looking for good and high quality web space to host and run your java application check Vision java web hosting services