Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Shared directory settings between Linux and Linux     - Java multi-threaded communications pipeline flow (Programming)

- GRUB and Linux system repair (Linux)

- Ubuntu install Scala 2.10.x version (Linux)

- CentOS 6.3 compile and install LNMP environment (Server)

- Ubuntu Linux installation GAMIT10.6 (Linux)

- expdp reported ORA-39181 Export Processing Method (Database)

- Linux system started to learn: Teaches you install Fedora 22 on VirtualBox (Linux)

- CentOS6.x and Windows XP and Windows Server 2003 Open IPv6 related matters (Linux)

- How to customize your Linux desktop: Gnome 3 (Linux)

- Linux Getting Started tutorial: build your own Vim (Linux)

- Zabbix monitors the status of TCP connections (Server)

- MySQL Data Types (Database)

- Go build the locale under Windows (Linux)

- ImageMagick Tutorial: How to cut images in Linux command line (Linux)

- Ubuntu 14.10 Apache installation and configuration (Server)

- MySQL 5.5 on master-slave copy filter (Database)

- Using IE can also be easily remotely control the computer (Linux)

- By way of a binary installation innobackupex (Database)

- Ubuntu 14.04 and derivative version of the user on how to install cURL 7.37.1 (Linux)

- Ubuntu 14.04 installation configuration GNOME Classic interface (Linux)

  Shared directory settings between Linux and Linux
  Add Date : 2016-04-30      
  Shared directory settings between Linux and Linux

1. [end] to modify the server modify / etc / export file and add:
/ Home / user / source * (rw)
/ Home / user / source * (rw, sync, no_wdelay, insecure_locks, no_root_squash)
/ Home / wyq / share 192. * (insecure, rw, sync, no_root_squash)

 exports Profile Description
/ Home / user / source shared directory
192. * allows the host IP access, If you are unsure, use * (IP represents any time, without starred in Fedora 20 experiments, otherwise nfs not start)
insecure a safe option if nfs service port number less than 1024, you can not add this option, otherwise do not add, it is not accessible. Other host access, then it will be rejected.
Shared directory permissions rw, rw can read and write permissions, read permissions are ro.
sync synchronization options, as well as optional async. sync is no cache, ready to write sync, async is the use of cache.
no_root_squash NFS shared directory service attributes if the user is root, then this will have root directory permissions.

2. [end] server Run the following command to make entry into force of the new share
$ / Etc / rc.d / init.d / nfs restart

[Client] 3. Run the following command to mount shared:
sudo mount -t nfs zxhost001: / home / user / share / u01 / user / mount_point
 mount -t nfs -o rw / home / user / target
Note: Open NFS firewall between two hosts
4. [client] unmounted
umount / u01 / user / mount_point

5. [client] automatically mount the boot
If you want to boot without manually mount the shared directory, you need to set the boot automatically mount.

mount_AtoB.sh contents of the file, which is passwordxxx Password:

set fileformat = unix
 #! Bin / bash
 mount -t nfs -o rw / home / user / target << EOF

1), modify the password mount_AtoB.sh
2) the mount_AtoB.sh file into the / home / user directory
3), execute permission to change files, execute the following command:
chmod 777 mount_AtoB.sh
4), the file is added to the startup file:
$ Echo /home/user/mount_94to93.sh >> /etc/rc.d/rc.local
- Forwarding module with Apache reverse proxy server (Server)
- Weld a problem in JDK 8u60 environment (Programming)
- ActionContext and ServletActionContext Summary (Programming)
- How to modify the Ubuntu terminal user name changed to red color (Linux)
- Linux iptables port mapping settings (Server)
- REDO LOG records management (Database)
- Security experience: to see how the experts deal with DDoS attacks (Linux)
- Boost - Memory Management - smart pointers (Programming)
- Realization of Linux operating system illegal IP censorship (Linux)
- iTerm - let your command line can also be colorful (Linux)
- ethtool command Detailed (Linux)
- Gnu Linux - Ubuntu System Clean-term consolidation (Linux)
- Ftp user to create multiple virtual machines to support different access rights Examples (Server)
- Heartbeat cluster components Overview (Server)
- Ubuntu 14.04 jdk Installation and Configuration (Linux)
- Install Xshell on Mac OS X (Linux)
- SaltStack installation and testing (Server)
- RHEL 6.5 x86_64 CentOS yum configuration source (Linux)
- Red Hat Enterprise Linux configuration VNC multi-user access methods (Linux)
- RedHat Linux 9.0 under P4VP-MX motherboard graphics resolution of problems (Linux)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.