Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ Configuring ftp server and nfs server under Linux     - How to download GOG games in Linux command line (Linux)

- Android main thread message system (Handler Looper) (Linux)

- Hands to teach you to solve Ubuntu error message (Linux)

- Oracle () trunc function usage (Database)

- Android webView URL redirects affect goBack () (Programming)

- Linux firewall settings instance (Linux)

- To compile install and test Swift under Linux (Linux)

- Linux Basics Tutorial: create your own Vim IDE (Linux)

- MySQL binlog group to submit XA (two-phase commit) (Database)

- The method of Linux into the rescue mode (Linux)

- Installation and operation GAMIT software under Linux operating system (Linux)

- Bash How to read a file line by line (Programming)

- GitLab remote backup of Linux Shell Scripting (Linux)

- OpenGL Superb Learning Notes - New Patterns (Programming)

- To_teach you three strategies to prevent the LAN IP address theft (Linux)

- Linux kernel RCU (Read Copy Update) lock Brief (Linux)

- Sublime Text Add instructions to insert the current time zone (Linux)

- Linux command to view the system status (Linux)

- Try debugfs restore the deleted files ext3 file system (Linux)

- Spring Integration ehcache annotation implement the query cache and cache update or delete instant (Programming)

 
         
  Configuring ftp server and nfs server under Linux
     
  Add Date : 2018-11-21      
         
         
         
  Tip: The experimental platform is carried out under RedHat Linux 6
 
Prerequisite for successful configuration There are three:
 
(1): In the Windows can ping through linux
 
(2): Turn off the Linux firewall Instruction: /etc/init.d/iptables stop
 
(3): Increases SElinux in tolerance mode execution command: setenforce permissive
 
First, configure the tftp server step
 
(1): mount the disk, install tptp-server package
 
mount / dev / cdrom / mnt / .......................................... .................... mount the disk file system
 
cd / mnt / Packages / ............................................ ................. enter the disk directory
 
find ./ -name tftp *
 find: paths must precede expression: tftp-server-0.49-7.el6.i686.rpm
 Usage: find [-H] [-L] [-P] [-Olevel] [-D help | tree | search | stat | rates | opt | exec] [path ...] [expression]
 [Root @ localhost Packages] # rpm -ivh tftp-server-0.49-7.el6.i686.rpm ........................... ............................................... installation tpft- server software package
 warning: tftp-server-0.49-7.el6.i686.rpm: Header V3 RSA / SHA256 Signature, key ID fd431d51: NOKEY
 error: Failed dependencies: ............................................. ................. installation fails, we need to first install the xinetd package beginning
 xinetd is needed by tftp-server-0.49-7.el6.i686
 [Root @ localhost Packages] # rpm -ivh / mnt / Packages / xinetd .................................. .................. tab key automatically filled
 error: open of / mnt / Packages / xinetd failed: No such file or directory
 [Root @ localhost Packages] # rpm -ivh /mnt/Packages/xinetd-2.3.14-34.el6.i686.rpm ...................... ......................... install dependencies
 warning: /mnt/Packages/xinetd-2.3.14-34.el6.i686.rpm: Header V3 RSA / SHA256 Signature, key ID fd431d51: NOKEY
 Preparing ... ########################################### [100% ]
    1: xinetd ########################################### [100%]
 [Root @ localhost Packages] # rpm -ivh tftp-server-0.49-7.el6.i686.rpm ........................... ............................................... installation tpft- server software package
 warning: tftp-server-0.49-7.el6.i686.rpm: Header V3 RSA / SHA256 Signature, key ID fd431d51: NOKEY
 Preparing ... ########################################### [100% ]
    1: tftp-server ########################################### [100 %] ..............................Successful installation
 [Root @ localhost Packages] #
 


(2): Configure tftp server: execute command: vim /etc/xinetd.d/tftp
 
[Root @ localhost Packages] # vim /etc/xinetd.d/tftp
 

service tftp
 {
        socket_type = dgram
        protocol = udp
        wait = yes
        user = root
        server = /usr/sbin/in.tftpd
        server_args = -s / home ............................................ ... will access the directory server is set to / home
        disable = no ............................................... ..... enable tftp server
        per_source = 11
        cps = 100 2
        flags = IPv4
 }
(3) to restart the tftp service /etc/init.d/xinetd restart
 
(4) Test tftp setup is successful: Methods: ftfp client test program to download files from the tftp server under linux
II: nfs server configuration steps:
 
1. Configure the NFS server vim / etc / exports (the default file is empty)
 
Where you can add / tmp 192.168.1. * (Rw, sync, no_root_squash)
 
/ Tmp: Shared directory
 
*: Allows access to the shared directory of the host IP
 (Rw, sync, no_root_squash): Access
 

2. Start the NFS server
 /etc/init.d/nfs restart
 
[Root @ localhost home] # /etc/init.d/nfs restart
 Close NFS daemon: [failure]
 Close NFS mountd: [failure]
 Close NFS quotas: [failure]
 Start the NFS services: [OK]
 Turn off the NFS quota: [OK]
 Start NFS mountd: [OK]
 Starting RPC idmapd: [OK]
 Starting RPC idmapd: [OK]
 Start the NFS daemon: [OK]
 [Root @ localhost home] #
     
         
         
         
  More:      
 
- Nine artifact control disk partition under Linux (Linux)
- The multiplexed signal driving IO (Programming)
- Using VMware vSphere Client Linux virtual machine installation CentOS6.4 system (Linux)
- There are more than one server, there is reason to try cloud operating system (Server)
- SVN common commands (Linux)
- Ubuntu Control Panel to resolve network-manager icon display issue (Linux)
- OpenStack image production in the CentOS 6.2 (Linux)
- Android main thread message system (Handler Looper) (Linux)
- Linux terminal interface font color settings (Linux)
- How to choose the correct HTTP status code (Server)
- To install the mail client terminal Evolution 3.13.2 under Ubuntu 14.04 (Linux)
- ImportTsv-HBase data import tool (Database)
- Ubuntu and derivatives installation Atom 0.104.0 (Linux)
- Linux suffered SYN flood attack setting (Linux)
- Create your own YUM repository (Linux)
- Atheros AR8161 / AR8162 network card driver problem solving in CentOS 6.4 (Linux)
- Improve the efficiency of Linux development tools 5 (Linux)
- The user of fedora is not in the sudoers file method to solve (Linux)
- apt-get install openstack pkg Troubleshooting (Linux)
- Android working with Volley Comments (Programming)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.