Ubuntu和OSX之间通过AD验证共享文件夹(详细设置)

简介:

How to share files from Ubuntu to Macclients(Draft)


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,如需转载请自行联系原作者
目录
相关文章
|
Ubuntu Linux 程序员
Ubuntu 18.04 安装详细步骤与设置指南
接下来,我们将探讨如何进行个人信息设置。重启选择高级模式,联网更新软件包并安装硬件驱动程序以完成个人信息设置。在重启过程中,你需要按下esc键(只需按一下)来选择ubuntu的高级模式。重启完成后,请联网并打开终端,然后输入以下字符以继续设置过程。
|
Ubuntu Linux 索引
Centos 7、Debian及Ubuntu系统中安装和验证tree命令的指南。
通过上述步骤,我们可以在CentOS 7、Debian和Ubuntu系统中安装并验证 `tree`命令。在命令行界面中执行安装命令,然后通过版本检查确认安装成功。这保证了在多个平台上 `tree`命令的一致性和可用性,使得用户无论在哪种Linux发行版上都能使用此工具浏览目录结构。
1143 78
|
Ubuntu 关系型数据库 MySQL
Ubuntu 22.04.1上安装MySQL 8.0及设置root密码的注意事项
这些是在Ubuntu 22.04.1 系统上安装MySQL 8.0 及设置root密码过程中必须考虑的关键点。正确的遵循这些步骤可确保MySQL的安装过程既顺利又安全。
2184 20
|
Ubuntu
在Ubuntu系统上设置syslog日志轮替与大小限制
请注意,在修改任何系统级别配置之前,请务必备份相应得原始档案并理解每项变更可能带来得影响。
1320 2
|
网络协议 Ubuntu
在Ubuntu 18.04/20.04 LTS设置静态DNS服务器的过程。
以上步骤提供了一种简洁明了的指导,让用户能够在Ubuntu系统中有效设置静态DNS服务器,这对日常管理和网络配置来说是非常实用的技能。
1994 18
|
监控 Ubuntu Linux
在Ubuntu环境中制定脚本开机自动启动设置
以上就是在Ubuntu环境下制定脚本开机自动启动的设置方法。通过Systemd服务,你可以按需要轻松管理脚本的自动执行。全新的一天开始时,脚本已静静地运行,无需额外手动启动,机器恰如一位忠诚的仲夏夜的梦想者,在黎明的许诺中尽职尽责。于是心满意足地看着,任由它在自己选择的轨道上静静地飞翔。
1849 26
|
Ubuntu 数据安全/隐私保护
在Ubuntu系统中增加Openfire服务设置和管理
至此,你已经完成了在Ubuntu中增加Openfire服务的设置和管理。希望你在这个过程中,能像享受一场摇滚音乐会一样,体验编程的乐趣和成就感。祝你玩得开心!
328 27
|
Ubuntu 编译器
在Ubuntu中设置QT Creator的交叉编译环境。
在进行交叉编译设置时,请确保遵循你的目标硬件平台和软件的具体指南。以上步骤给出的是一个概括的指南,具体步骤可能因你的特定需求而有所不同。务必参照相关硬件和软件的官方文档进行操作,以获得具体的、针对性的指导。
1080 0