This runs the Samba service during the current (Free web hosting music)

This runs the Samba service during the current session. To set up Samba to start automatically when your Linux system starts, type the following: # chkconfig smb on This turns on the Samba service to start automatically in run levels 3, 4, or 5. At this point, you can open the Network Neighborhood icon from the Windows desktop on the local LAN for a user you have just set up. An icon representing the Linux Samba server you just configured should appear in the Network Neighborhood window. When you open the server icon, you should see an icon representing the user s home directory (/home/user) and one icon for each shared printer available from the Linux Samba server. Configuring Samba with SWAT The SWAT program lets you set Samba configuration information, the result of which is stored in the /etc/samba/smb.conf file. The advantage of using SWAT, as opposed to editing the /etc/samba/smb.conf file by hand, is that you can get help and some error checking as you configure Samba. SWAT is an application that runs in your Web browser window. Before you can use swat, you need to do some configuration. To set up the SWAT program to run from your browser, follow these steps: 1. In /etc/services, make sure that the following line exists. This assigns the swat service to port 901, using the TCP protocol. swat 901/tcp # Samba Web Administration Tool 2. In the /etc/xinetd.d/swat file, you need to change the disable line from yes to no. This is how the line should appear after that: disable = no 3. For the changes to xinetd and /etc/services to take effect, you restart the xinetd start-up script as follows: # /etc/init.d/xinetd restart When you have finished this procedure, use the SWAT program, described in the next section, to configure Samba. Creating the Samba server configuration with SWAT You can run the SWAT program, by typing the following URL from your local browser: http://localhost:901/ Instead of running SWAT from your local browser, you can also run the SWAT program from another computer on the network, by substituting the server computer s name for localhost. (To allow computers besides localhost to access the swat service, you must change or remove the only_from = 127.0.0.1 line from the /etc/xinetd.d/swat file and restart the xinetd service.) At this point, the browser will prompt you for a user name and password. Enter the root user name and password. The SWAT window should appear, as shown in Figure 18-2.
If you are searching for cheap webhost for your web application, please visit MySQL5 Web Hosting services.

Leave a Reply