Installation and configuration of HP-UX samba

Source: Internet
Author: User
Installation steps:

1. Download the samba binary file for the HP-UNIX at the samba site.

Http://us1.samba.org/samba/ftp/ B... ithwinbind.depot.gz

2. decompress the file

Tar-xzvf samba_2.2.5_hpux_withwinbind.depot.gz
Alternatively, you can use the gzip command to unbind it.

3. Installation

After extracting the file, you can obtain the samba_2.2.5_hpux_withwinbind.depot file,
Then install the software with swinstall-S/yourdirectory/samba_2.2.5_hpux_withwinbind.depot,
If you feel inconvenient in character Console mode, you can set export display = yourhost: 0.0 and then start the X-WIN32 on your machine for analog X terminal for installation.

4. Configuration

Open the/usr/local/samba/lib/smb. Con file (the file varies depending on the specific installation directory) and modify the security items in the file:

Quote:
# Security_level.txt for details.
Security = Server
# Use password server option only with security = server or domain
Password Server = your server IP

Then add

[TMP]
Path =/tmp # current shared directory
Hosts allow = 211.88.9.160 # allow access to the shared host

Save the disk and exit.

5. Detection

Use the testparm command to check whether the smb. conf syntax is correct. If everything is OK, you can start the samba service.

6. Start the samba service.

Quote:
Start smbd & nmbd by/sbin/init. d/samba start

If you have typed // your samba server in IE to access the shared TMP you just created. If you cannot create a new folder, check whether you have sufficient permissions for the current directory.

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.