VMware Virtual machine CentOS installation Samba entire process

Source: Internet
Author: User

1. Mount the disc

2. Virtual machine loading ISO file

3. Virtual machine under the pastry disc symbol, choose Connect

4. Executive Mkdir/media/cdrom

5.mount/dev/cdrom/media/drom

6. Query Samba Installation Rpm-qa | grep Samba

7. Installation of three files

Cd/media/cdrom/centos

RPM-IVH samba-3.0.33-3.28.el5.i386.rpm-f--nodeps

RPM-IVH samba-client-3.0.33-3.28.el5.i386.rpm-f--nodeps

RPM-IVH samba-common-3.0.33-3.28.el5.i386.rpm-f--nodeps

8. Configure/etc/samba/smb.conf

9. Back up smb.conf before configuring

MV Smb.conf Smb.confbak

10. Create a new smb.conf

Touch smb.conf

11. Write the following code with vim to the configuration file smb.conf

[Global] #全局配置

Workgroup = Linuxgrp #设定工作组

NetBIOS name = centos# Sets the computer names

Server string = Linux Samba server# Servers description

Security = Share #登录验证方式

[Linuxserver] #windows里面显示的共享目录

Path =/opt/linuxserver #共享文件夹路径

writeable = yes #设置可写权限

browseable = yes #设置可以浏览

Guest OK = yes #设置可以匿名登录

12. Create the appropriate directory and authorize

Mkdir-p/opt/linuxserver

Chown-r Nobody:nodoby/opt/linuxserver

13. Start Samba and NMBD servers

Smaba

Nmbd

14.windows Open Network Places

Run inside Input: \\192.168.1.128 (virtual server IP address)

VMware Virtual machine CentOS installation Samba entire process

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.