Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1797504
  • 博文数量: 293
  • 博客积分: 10127
  • 博客等级: 上将
  • 技术积分: 3029
  • 用 户 组: 普通用户
  • 注册时间: 2010-08-12 19:05
文章分类

全部博文(293)

文章存档

2011年(11)

2010年(282)

我的朋友

分类:

2010-09-27 21:52:32

使用cifs可以实现6000平台和windows平台在同一网段内进行直接的数据交换,可以在windows上使用rs6000的磁盘空间,同时可以根据共享的口令实现不同的读写权限(只读或读写)

1. 安装cifs文件包(来源于demopakage,bonus pack盘中也有)
#smitty install_all
选择安装
cifs.basic.rte               
cifs.client.rte
cifs.websm.apps

2. 设置cifs的属性
#smit smbcfg

                                   Attributes
Type or select values in entry fields.
Press Enter AFTER making all desired changes.

[TOP]                                                   [Entry Fields]
* Server Name                                        [dumpserver]
* Start Server                                       [Now]                    +
* Domain Name                                        [bjd1mcc]
  Description                                        [Fast Connect Server]
  Server alias(es)
  WINS Address                                       []
  Backup WINS address                                []
  Proxy WINS Server                                  [off]                    +
  NetBIOS Name Server (NBNS)                         [off]                    +
  Use Encrypted Passwords                            [no]                     +
  Passthrough Authentication Server                  []
  Backup Passthrough Authentication Server           []
  Allow DCE/DFS access                               [no]                     +
  Enable network logon server for client PCs         [disabled]               +
  Client startup script file name                    [startup.bat]
  Guest logon support                                [disabled]               +
  Guest logon ID                                     [nobody]                 +
  Enable client user name mapping                    [yes]                    +
  Enable share level security                        [yes]                    +
  Share level security user login                    [root]                   +
  Enable opportunistic locking                       [yes]                    +
  Enable search caching                              [no]                     +
  Enable send file API support                       [no]                     +


3. 修改Resources
# smit smbcfgresi
                                   Resources
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
                                                        [Entry Fields]
  Maximum User                                       [5]                      #
  Maximum Connections                                [5]                      #
  Maximum Open                                       [5]                      #
  Maximum Searches                                   [5]                      #
  Auto Disconnects                                   [600]                    #


4. 添加共享卷组及设置权限(建议只读口令和读写口令不要设置成相同的)
#smit smbsrvfiladd_d

                       Add File Systems (Shared Volumes)
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
                                                     [Entry Fields]
* Share (network) Name                               [sharefolder]
* Path                                               [/sharefolder]
  Description                                        []
  Access allowed                                      Full                    +
  Enable opportunistic locking                        yes                     +
  Enable search caching                               no                      +
  Enable send file API support                        no                      +
  Status of share level security on this server:      enabled
  Would you like to specify a Read/Write password     yes                     +
  Would you like to specify a Read Only password      yes                     +


5.修改语言环境
#smit mle_add_lang
                                Add Additional Language Environments
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
                                                     [Entry Fields]
  CULTURAL convention to install                      UTF-8      English (United States) [EN_US]+
  LANGUAGE translation to install                                             +
* INPUT device/directory for software                [/dev/cd0]               +
  EXTEND file systems if space needed?                yes                     +



6.设置用户语言
#smit chlang_user
                               Set User Languages
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
                                                     [Entry Fields]
* User NAME                                           root
* Primary CULTURAL convention                         UTF-8 English (United States) [EN_US]+
  1ST language translation choice                    []                       +
  2ND language translation choice                    []                       +
  3RD language translation choice                    []                       +


7.设置重启后自动生效
vi /etc/inittab
add "rccifs:2:wait:/etc/rc.cifs start >; /dev/console 2>;&1"


8.重启6000服务器

9.重启后在windows端执行,开始-运行\\192.168.0.1
直接输入password即可(根据不同的password可以获得不同的读、写权限)
阅读(2665) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2010-09-28 15:40:44

很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com