Use a Linux server as a Mac Server

Source: Internet
Author: User
Use a Linux server as a Mac server-a Linux Enterprise Application-a Linux server application. For more information, see the following. This article is for reference only



Download a program named netatalk at the address below, which is about KB and should be easily downloaded back;
Ftp://linux.sinica.edu.tw/pub1/r... sun2.1.0-5. i386.rpm
  

Similar to Samba, a Linux-connected Windows program, this applet shares the hard disk space in the Linux kernel with computers on other platforms. netatalk provides the "AppleTalk" communication protocol, allow Linux and Mac to "intercommunicate with each other 」.
  
The installation method is the same as the general rpm file, so we will not describe it here. After you install it on your Linux host, you can see that there will be an additional "/atalk" directory under the "/etc" directory. Please go to this directory and find "AppleVolumes. default file. 「 AppleVolumes. the default file is used to specify where the directory to be shared is. This file contains only a few lines of words. Please open it in the usual editor and move it to the bottom line of the blank line, enter the directory path you want to share, and the name of the shared path displayed on the Mac computer, and store it. Let's take an example. Suppose you set it;
/Home/share MyLinux
  
The shared folder path is/home/share 」
The name to be displayed is "MyLinux 」
Note that there must be a space key to separate the folder path from the display name path.
  
Next, we will change the folder properties you want to share;
[Root @ linpus] # chmod 777/home/share
  
When you set this attribute, everyone can access the content in this folder (including nobody and guest). If you have security concerns, or you do not want everyone to have access to the file. Please change the attribute to the most suitable situation for you.
  
The last step is to activate this service. Please go to the following directory and execute this command;
  
[Root @ linpus] # cd/etc/rc. d/init. d
[Root @ linpus/etc/rc. d/init. d] #./atalk start
  
Then you will see some explanatory text indicating that it has been activated ,「. "and"/"are used to execute this command. Once activated, it will be enabled all the time. When you restart the system, it will also be automatically activated without extra effort. After activation, you can see this "server" from the "select perimeter" (Chooser) of Mac 」.
  
When you think there is something wrong with it, you can use 「. /atalk restart to reactivate netatalk. You can also use 「. /atalk status to check the status of this service.
  
Installation File (ftp://linux.sinica.edu.tw/pub4/s.../source/n/netatalk/), but this step is complex, you can go to the http://thehamptons.com/ands/netatalk/page to find the relevant information
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.