Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to deploy samba under solaris10

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article focuses on "how to deploy samba under solaris10". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to deploy samba under solaris10.

1. Download samba software package. The website address is www.samba.org, and the version I downloaded is samba-3.0.22.tar.gz.

2. Unpack and decompress. # gzip-d samba-3.0.22.tar.gz;tar xvf samba-3.0.22.tar

3. Change the directory. # cd samba-3.0.33/source

4. Configuration. #. / c-prefix=/opt/samba

5. Compile and install. # make; make install

6. Copy 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 also be aware of the location of the configuration file. If you do not do so, the samba service will not start correctly. If you want to use more advanced features of samba, you need to modify the configuration file smb.c yourself

7. Add system users. # useradd-m-d / export/home/sery-s / usr/bin/bash sery adds a user sery.

8. Add samba users. / opt/samba/bin/smbpasswd-a sery. Enter the password twice. Note: the user here must be a user that exists in the system.

9. Verify the configuration. # / opt/samba/bin/testparm, the samba service can be started normally only if there is no incorrect information.

10. Start samba service. Samba has two services: smbd and nmbd. Execute the command # / opt/samba/sbin/smbd&; / opt/samba/sbin/nmbd&.

11. Windwos client connection. Network neighbors right-click "search computer", enter the ip address of the samba server, and then click the search computer icon, enter the user name and password to access the samba server.

At this point, I believe you have a deeper understanding of "how to deploy samba under solaris10". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report