zoukankan      html  css  js  c++  java
  • OracleEnterpriseLinux上搭建samba服务器

    安装samba软件包

    [root@BJRAC ~]# yum install samba*
    Loaded plugins: security
    base                                                                                                                   | 3.7 kB     00:00 ... 
    Setting up Install Process
    Package samba-common-3.5.10-125.el6.x86_64 already installed and latest version
    Package samba-winbind-clients-3.5.10-125.el6.x86_64 already installed and latest version
    Package samba-client-3.5.10-125.el6.x86_64 already installed and latest version
    Resolving Dependencies
    --> Running transaction check
    ---> Package samba.x86_64 0:3.5.10-125.el6 will be installed
    ---> Package samba-winbind.x86_64 0:3.5.10-125.el6 will be installed
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ==============================================================================================================================================
     Package                              Arch                          Version                                 Repository                   Size
    ==============================================================================================================================================
    Installing:
     samba                                x86_64                        3.5.10-125.el6                          base                        5.0 M
     samba-winbind                        x86_64                        3.5.10-125.el6                          base                        3.5 M
    
    Transaction Summary
    ==============================================================================================================================================
    Install       2 Package(s)
    
    Total download size: 8.5 M
    Installed size: 30 M
    Is this ok [y/N]: y
    Downloading Packages:
    ----------------------------------------------------------------------------------------------------------------------------------------------
    Total                                                                                                          25 MB/s | 8.5 MB     00:00     
    Running rpm_check_debug
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Installing : samba-winbind-3.5.10-125.el6.x86_64                                                                                        1/2 
      Installing : samba-3.5.10-125.el6.x86_64                                                                                                2/2 
      Verifying  : samba-3.5.10-125.el6.x86_64                                                                                                1/2 
      Verifying  : samba-winbind-3.5.10-125.el6.x86_64                                                                                        2/2 
    
    Installed:
      samba.x86_64 0:3.5.10-125.el6                                     samba-winbind.x86_64 0:3.5.10-125.el6                                    
    
    Complete!
    [root@BJRAC ~]# 

    启动samba服务

    [root@BJRAC ~]# /etc/init.d/smb start
    Starting SMB services:                                     [  OK  ]

    查看smb服务运行情况

    [root@BJRAC ~]# /etc/init.d/smb status
    smbd (pid  1697) is running...

    配置smb服务在开机时自动启动(级别35)

    [root@BJRAC ~]# chkconfig --level 35 smb on

    二、samba服务器配置

    参考文章

  • 相关阅读:
    当扩展方法和类里定义的方法重名时,会优先调用类里自义的方法
    jquery.uploadify不支持MVC的Authorize
    .NET4中多线程并行方法Parallel.ForEach
    http://twitter.github.com/bootstrap/
    .NET 4.0中使用sqlite
    Extend Html.EditorFor MVC
    Custom Email Attribute在客户端不起作用原因
    使用webpack搭建vue环境
    新浪sae对storage的文档进行读写操作
    jquery+bootstrap插件
  • 原文地址:https://www.cnblogs.com/arcer/p/3552215.html
Copyright © 2011-2022 走看看