The installation record of samba-Linux Enterprise Application-Linux server application information. The following is a detailed description. It is actually installed in FC5.
I. Check whether samba is installed
Command:
Rpm-qa | grep samba
Only:
Samba-client-3.0.21b-2
Samba-common-3.0.21b-2
In addition, samba does not exist in the Service (Service opening method: desktop-> Management-> server settings-> Service)
Therefore, you must install the samba server.
II. Install with software management package
Application-> Add/Remove Software, but the information is not available.
The reason is that you have not connected to the Internet. Before you open the software management package, you must first connect your PC to the Internet.
Open the software management package, search for the software to be installed, and select the items to be installed. Follow the prompts.
However, it takes a long time to complete.
Because you do not know which software to install, search for samba and select all uninstalled software with samba.
After installation, use rpm-qa | grep samba
Appears:
System-swat-3.2.23c-1.fc5
Samba-common-3.2.23c-1.fc5
Samba-client-3.2.23c-1.fc5
Samba-3.2.23c-1.fc5
Note: after the software is installed, you can run the following command on the terminal:
After service samba restart, it is found that:
SMB cannot be started. Only NMB can be started.
Later, I had to reinstall FC5. oh, my god.
3. Open the service again
Smb is visible, but it is not selected. After it is selected, the smb service is displayed and started. Because the right side
The window displays: smbc is stopped
Nmbd is stopped
Select start to start the smb server, or use the service smb start command on the terminal.
4. Open the wins Server
Open the SMB configuration file/etc/samba/smb. conf and add
Wins support = yes
Restart smb
The samba service is available. files can be shared in the network, even in linux and windows.
5. Configure the wins Client
1. windows
Only windows XP SP2 operating systems are similar.
(1) Add the WORKGROUP specified in smb. conf of samba (this is the default Working Group Name When samba is installed)
(2) Enable the wins client
Network Connection-> Local Connection Properties-> Internet Protocol (TCP/IP)-> properties-> Advanced-> WINS-> Add the IP address of the wins server
In NetBIOS setting, select Enable NetBIOS over TCP/IP. OK !!!
After WINDOWS is restarted, the wins client registers with the wins server. Then, you can directly access the computers in the same working group with their names without entering IP addresses.
In Start-> Run, enter the \ User Name to access
Or enter \ USERNAME in the address bar of IE.
2. in linux
Only fedora core 5 and linux can be used as wins server or as wins client, but not both.
Therefore, to configure the wins client in linux, you only need to modify/etc/samba/smb. conf,
Add
Wins support = no
Wins server = X. X (note: the IP address of the wins server)
Note: The user name and IP address cannot be the same.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.