مصدرك جيّدة من معلومة وأخبار حوالي جهاز, جهاز و برمجيّة على الإنترنت

[فيستا] مواد أعلى 50 [سبور] حمى [فيستا] ليّنة [فيستا] مساعدة

يمكّن [نفس] في [أوبونتث]


تحت [لينوإكس] وكثير [أونيإكس] [أبرت سستم], ال [نتوورك فيل سستم] ([نفس]) الطريق عاديّة أن يشارك أدلة. مع أخرى [أونيإكس] و [لينوإكس] [أبرت سستم], [نفس] جزء من اللب تجهيز. غير أنّ مع [أوبونتث], يحتاج أنت أن يركّب هو كمجموعة. هناك ثلاثة عناصر رئيسيّة يتطلّب ب [نفس]:

? يزوّد [بورتمب-ثيس] مجموعة دعم لبعيد إجراء دعوات ([ربك]) واستعملت ب [نفس]. أنت لا تحتاج أن يركّب [بورتمب] ب [إيتسلف-ث] [أبت-جت] أوامر للأخرى اثنان عناصر سيركّب [بورتمب] كمتطلب.

? [نفس-كمّون-لثوو] [بورتمب] يزوّد دعم ل [ربك] عمل, يزوّد هذا مجموعة واقعيّا ال [ربك] أعمال ل [نفس]. تطلّبت هذا مجموعة ل [نفس] زبونات ونادلات. هو يزوّد أساسيّة [ربك] أعمال مثل مبرد يقفل ووضع. إن أنت فقط تحتاج أن يركّب [نفس] زبونة (معنى سيعلو أنت دليل يصدر ب بعض أخرى نادلة), بعد ذلك أنت يستطيع استعملت: [سودو] [أبت-جت] يركّب [نفس-كمّون]. ولدت يركّب إرادة [نفس-كمّون] [إرّور مسّج], "لا يبدأ [نفس] نواة [دمون]: ما من تصديرات. "توقّعت هذا بما أنّ هو يكون لا يشكّل.

? يضيف [نفس-كرنل-سرفر-ثيس] مجموعة نواة وحدة نمطيّة لذلك أنت يستطيع واقعيّا صدرت دليل [فور وس بي] [رموت هوست]; مع هذا مجموعة, يحصل أنت نادلة. أنت يستطيع ركّبت هو يستعمل: [سودو] [أبت-جت] يركّب [نفس-كرنل-سرفر]. هذا يحضر في [بورتمب] و [نفس-كمّون] [أس رقويرد] مجموعة.

[نفس] عظيمة تعاون أداة لأنّ [فيل سستم] كاملة يستطيع كنت شاركت بشكل شفّاف. كلّ شخص يرى ال نفسه مبارد ومبرد تغيرات فورا يتيسّر ب كلّ شخص. التحديد رئيسيّة [أبرت سستم] دعم. رغم أنّ [نفس] يتواجد ل [لينوإكس], [بسد], [هب-وإكس], [أيإكس], [سلريس], [بيوس], ماك [أس] [إكس], وحتّى [أس/2], يتضمّن [ويندووس] لا [نتيفلي] هو. اعتبرت إن أنت تريد أن يستعمل [نفس] مع [ويندووس], يركّب [ويندووس] خدمات ل [أونيإكس] (http://www.microsoft.com/technet/interopmigration/unix/sfu/). يتضمّن هذا منتوج حرّة من مكروسوفت [نفس] نادلة وزبونة دعم.


يتصرّف ك [نفس] زبونة
يعلو [فيل سستم] بعيدة مع [نفس] حقّا يتيح. فقط بما أنّ الجبل أمر يستطيع كنت استعملت أن ينفذ يستعصي إدارة وحدة دفع, [كد-روم], أو أخرى [بلوك دفيس], هو يستطيع كنت استعملت أن يعلو [فيل سستم] بعيدة. أنت صحيحة حاجة ثلاثة مواد: النادلة اسم, ال [ديركتوري نم] على النادلة أنّ يكون يكون صددت, والجبل نقطة على نظامتك محلّية (دليل) للتوصيل. مثلا, أن يعلو الدليل /home/project من النادلة [سسبرج1] ووضعت هو في /mnt/project على حاسوبك محلّية, استعمل أنت:

[سودو] يتواجد [مكدير] /mnt/project # أن يتأكّد هو
[سودو] جبل - [ت] [نفس] [سسبرج1]: [/هوم/بروجكت] /mnt/project

Now, all the files under /home/project on the host sysprj1 are accessible from the local directory /mnt/project. The access is completely transparent-anything you can do on your local file system can be done over this NFS mount.

If you don't know the name of the exported directory, NFS enables you to browse the list of exported partitions using the showmount -e command. This lists the directories and list of clients that can access it. The client list returned from the server can be an entire domain (for example, *.local.net) or a list of clients. Access restrictions are set by the NFS server and follow the Unix permissions. If you find that you cannot access the directory after mounting it, check the permissions with ls -l. If you do not have permission, then talk to the administrator for the NFS server.

$ showmount -e sysprj1
/home/projects *.local.net
/media/cdrom *.local.net

When you are done with the mounted partition, you can remove it using sudo umount /mnt/project.

For short-term access, you will probably want to use mount and umount to access the directory as needed. For long-term collaboration, you can add the entry in /etc/fstab. For example:

sysprj1:/home/project /mnt/project nfs defaults 0 0

Having the entry in /etc/fstab will make sure the directory is mounted every time you reboot. You can also use sudo mount /mnt/project (specifying only the mount point) as a shortcut since mount consults /etc/fstab when determining devices. NFS has one huge limitation. If the server goes down then all file accesses to the network partition will hang-up to hours-before failing. The hang-up is due to network timeouts and retries. If your connection to the server is unstable, then don't use NFS.


Acting as an NFS Server
NFS servers export directories for use by NFS clients. This is a two-step process. First, you need to create a file called /etc/exports. This file contains a list of directories to export and clients that are permitted to access the directories. Special access permissions can also be specified such as ro for read-only, rw for read-write, and sync for synchronous writes.

The NFS server will not start if /etc/exports is missing or contains no exported directories. The default file contains only a few comments, so the server will not start. After you create your first entries, you will need to start the server. The easy way to start it is with the command sudo /etc/init.d/nfs-kernel-server start.

After modifying the /etc/exports file, you need to tell the NFS server to actually export the entries.
sudo exportfs -r # re-export all entries in /etc/exports

The exportfs command can also be used for other tasks:
? List the current export table-Run exportfs without any parameters.

? Export a specific directory once-This is useful if the export is not intended to be permanent (/etc/exports is really for permanent mounts). You will need to specify options, and the list of clients is specified before the directory. For example:

sudo exportfs -o ro,async '*.local.net:/media/cdrom'

? Un-export directory-If the entry is still listed in /etc/exports, then the removal is temporary; the mount will be re-exported the next time you reboot or restart the NFS server.

sudo exportfs -u '*.local.net:/media/cdrom'

You can export anything that is mounted. This includes CD-ROM drives, USB thumb drives, and even mounted NFS partitions from other servers! Although you cannot export single files or block devices, you can export the entire /dev directory (not that you would want to). NFS offers no security, encryption, or authentication. Furthermore, established NFS connections can be easily hijacked. NFS is fine for most internal, corporate networks and for use within your home, but don't use it to share files across the Internet.

Source of Information : Hacking Ubuntu Serious Hacks Mods and CustomizationsPopularity: 1%


Written by magakos. Read more great feeds at is source WEBSITE
no comments.
Read more articles on Ubuntu Linux and otherSoftware.

Related articles

No comments

There are still no comments on this article.

Leave your comment...

If you want to leave your comment on this article, simply fill out the next form:




You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong> .