676 Part V (Web design tools) . Running Servers The commands

676 Part V . Running Servers The commands and configuration files are the same on most Linux systems using Samba. The Samba project itself comes with a Web-based interface for administering Samba called Samba Web Administration Tool (SWAT). For someone setting up Samba for the first time, SWAT is a good way to get it up and running. If your Linux installation does not have help documents for Samba available, consult the documentation on the Samba project home page. Also, check the extensive help information that comes with SWAT. Configuring Samba with SWAT In addition to offering an extensive interface to Samba options, SWAT (Samba Web Administration Tool) also comes with an excellent help facility. And if you need to administer Samba from another computer, SWAT can be configured to be remotely accessible and secured by requiring an administrative login and password. Turning on the SWAT Service Before you can use SWAT, you must do some configuration. The first thing you must do is turn on the SWAT service, which is done differently in different Linux distributions. Here s how to set up SWAT in Fedora Core and other Red Hat Linux systems: 1. Turn on the SWAT service by typing the following, as root user, from a Terminal window: # chkconfig swat on 2. Pick up the change to the service by restarting the xinetd startup script as follows: # service xinetd restart Linux distributions such as Debian, Slackware, and Gentoo turn on the SWAT service from the inetd superserver daemon. After SWAT is installed, you simply remove the comment character from in front of the swat line in the /etc/inetd.conf file (as root user, using any text editor) and restart the daemon. Here s an example of what the swat line looks like in Debian: swat stream tcp nowait.400 root /usr/sbin/tcpd /usr/sbin/swat With the SWAT service ready to be activated, restart the inetd daemon so it rereads the inetd.conf file. To do that in Debian, type the following as root user: # /etc/init.d/inetd restart Note
Please visit Domain Name Hosting services for high quality webhost to host and run your jsp applications.

Leave a Reply