After the Samba server configuration is complete, the Samba dual virtual host service can be started. Script file SMB in the//ETC/INIT.D directory controls the Samba service, with parameter start, stop and restart control the start, stop, and restart of the samba service.
1. Start Samba Service
To start the Samba service, simply enter the "/etc/rc.d/init.d/smb start" command in the terminal, and press ENTER.
In addition, the user can start the Samba service by entering the service SMB Start command and pressing ENTER.
2. Restart Samba Service
In Linux system services, when a user changes a profile, be sure to restart the service to have the service reload the configuration file for the configuration to take effect. If you are restarting the Samba service, you can restart the Samba service by using the "/etc/rc.d/init.d/smbrestart" command or the service SMB restart command.
3. Automatically load Samba service
In practical applications, it is tedious work to enable the Samba service frequently. Therefore, the user can set it to load automatically as the system boots. To do so, the user can enter the SMB service in the terminal by using the arrow keys, preceded by "*" and press ENTER. NTSYSV the command, and press ENTER. In the Open Interface, number (press SPACEBAR). Then, click the OK button.
When users do not want to turn on samba sharing, they can use the/ETC/RC.D/INIT.D/SMB Stop command to turn off the samba service.
In addition, users can use the service SMB Stop command to turn off the samba service.
When users do not want to turn on samba sharing, they can use the "/etc/rc.d/init.d/smb stop" command to turn off the samba month and service.
In addition, users can also use the service SMB Stop command to turn off the samba service
This column more highlights: http://www.bianceng.cnhttp://www.bianceng.cn/Servers/zs/