博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Ubuntu和OSX之间通过AD验证共享文件夹(详细设置)
阅读量:6454 次
发布时间:2019-06-23

本文共 2300 字,大约阅读时间需要 7 分钟。

How to share files from Ubuntu to MacclientsDraft

1.InstallUbuntu 12.04 LTS quick start

Download ISO image and install aVM on Vsphere.  The installation procedureis very straight forward.  Few thingsneed to notice:

1)NIC type must be E1000, otherwise *IX system can’trecognize the NIC

2)If IP address and Proxy didn’t configureproperly during installation, we can manually change them after installation

StaticIP    /etc/network/interfaces

DNS /etc/resolv.conf

Apt-get FTP source list

/etc/apt/source.list

Apt-get proxy setting

/etc/apt/apt.conf

Install GUI

Sudoapt-get update

               Sudo apt-getupgrade

               Sudo apt-getinstall Ubuntu-desktop

               Startx

Add a newdisk

1)Adda new disk in Vsphere Client

2)ls /dev/sd* (Login as root, check current disk, sda means 1st disk, sdb is2nd , sdc is 3rd )

3)fdisk /dev/sdb setup disk info..)

4)mkfs -t ext3 /dev/sdb1 (format disk)

5)fdisk –l (verify disk)

mkdir -p /opt

mount /dev/sdb1 /opt -orw

(create a directory andmount the disk to the directory)

6)/dev/sdb1 /opt ext3defaults 1 2 (modify/etc/fstab)

2.BindUbuntu to Active Directory

open / install likewise

Sudo apt-get update 

 sudo apt-get install likewise-open 
 sudo domainjoin-cli join mitch.mitchells.com.au mcu-admin

open defautls

sudo update-rc.d likewise defaults 

 sudo /etc/init.d/likewise start

Enable ‘other user’  login option in Ubuntu 12.04 LTS

/etc/lightdm/lightdm.conf

Login as domain account

Setup folder  permissions

3.Installand Configure Netatalk

Installation

$ sudo apt-get installbuild-essential pkg-config checkinstall git-core avahi-daemonlibavahi-client-dev

$ ./configure–with-init-style=debian

$ make

$ sudo make install

$ sudo apt-get install netatalk

BasicConfiguration  

Modify /etc/netatalk/afpd.conf to setup Share Computer name

Modify /etc/netatak/AppleVolumes.default

Setup share path and their names (options:tm will simulate a timecapsule device for Time machine backup)

Restart service

Sudo service netatalk restart

Sudo service avahi-daemon restart

4.Accessfrom Mac OSX

If the Mac is on the samevlan of the Linux server, it will automatically detect in the Finder

Otherwise we can manuallyconnect to it

You will see the share folders

We can also use time machine to back up files to the virtualTime Capsule device

本文转自 beanxyz 51CTO博客,原文链接:http://blog.51cto.com/beanxyz/1274210,如需转载请自行联系原作者
你可能感兴趣的文章
AFNetworking 3.0 发送soap到webservice
查看>>
10个让你相见恨晚的iOS Swift动画框架!
查看>>
ubuntu 16.04下docker的安装
查看>>
Dojo 表单校验
查看>>
Redis快速入门
查看>>
Java日志那些事
查看>>
vue源码分析系列之响应式数据(二)
查看>>
使用Heroku,解决gitment登录失败,报[object ProgressEvent]的错
查看>>
JS异步编程之callback
查看>>
为Envoy v2构建Kubernetes Edge(Ingress)控制平面
查看>>
【技术性】AI/ML知识
查看>>
Celery中文翻译-Application
查看>>
LinkedList源码分析
查看>>
如何在Azure中配置SQL Server 2008 R2故障转移群集实例
查看>>
MP3转换AAC格式哪个音频转换器好
查看>>
58. Length of Last Word
查看>>
CSS3常见技巧(一):如何禁止文本选择高亮
查看>>
从 egg-bin 聊到 command line interface Tool
查看>>
深入理解JavaScript中的属性和特性
查看>>
String的所有方法,属性总结
查看>>