Fast deployment of samba services under solaris10

Source: Internet
Author: User
Fast deployment of samba service under solaris10-Linux Enterprise Application-Linux server application information. The following is a detailed description. Samba is a file sharing method between linux and windows. In a sense, samba is a type of file server. Next, we will deploy this server.

1. Download the samba software package. The website address is www.samba.org. The download URL is samba-3.0.22.tar.gz.
2. decompress the package. # Gzip-d samba-3.0.22.tar.gz; tar xvf samba-3.0.22.tar
3. Switch the directory. # Cd samba-3.0.33/source
4. configuration. #./C -- prefix =/opt/samba
5. Compile and install the SDK. # Make; make install
6. Copy the samba configuration file. # Cd...; cd examples; cp smb. conf. default/opt/samba/lib/smb. conf. Pay attention to the location of the source file and the location of the configuration file. If this is not done, the samba service cannot be started correctly. If you want to use more advanced features of samba, You need to modify the configuration file smb. c.
7. Add a system user. # Useradd-m-d/export/home/sery-s/usr/bin/bash sery a user sery is added here.
8. Add a samba user. /Opt/samba/bin/smbpasswd-a sery. Enter the password twice. Note: The user must be a user of the system.
9. Verify the configuration. #/Opt/samba/bin/testparm. The samba service can be started normally only when no error message is received.
10. Start the samba service. Samba has two services: smbd and nmbd. Run the command #/opt/samba/sbin/smbd &;/opt/samba/sbin/nmbd &.
11. windwos client connection. Right-click a network neighbor and choose search computer. Enter the IP address of the samba server, click the computer icon, and enter the username and password to access the samba server.
Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.