Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ Configuring ftp server and nfs server under Linux     - HBase cluster installation and deployment (Server)

- How to ensure the Linux SSH login security with one-time password (Linux)

- The multiplexed signal driving IO (Programming)

- The Rabbitmq installation under CentOS 6.4 (Linux)

- CentOS 7.0 Experience with previous versions (Linux)

- using Docker Kitematic on windows (Linux)

- Confrontation dragged Library - Web front-end encryption slow (Linux)

- Generated characters using Java Videos (Programming)

- Use Hexo quickly build and deploy a blog to Github (Server)

- Linux process scheduling opportunity (Programming)

- Linux system started to learn: the Linux syslog (Linux)

- Linux host system monitoring implement the cgi (Server)

- To assign multiple IP addresses NIC on the CentOS 7 (Linux)

- Java exception handling mechanism (Programming)

- To change CentOS7 runlevel (Linux)

- Oracle 12C truncate table cascade (Database)

- How to install Git on CentOS 7 (Linux)

- Ubuntu Eclipse configuration Gtk + 2.0 libraries (Linux)

- Linux System Tutorial: Ubuntu on the desktop is disabled by default keyring to unlock tips (Linux)

- Mount and unloading disks under Linux (Linux)

 
         
  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:      
 
- OpenWRT environment to build (Linux)
- Ceph tuning --Journal and tcmalloc (Server)
- Docker deployment practices in Ubuntu (Server)
- Java Generics (Programming)
- Oracle creates split and splitstr functions (Database)
- Cancel Root Command History under Linux (Linux)
- Use custom backup plans for Debian backupninja (Linux)
- Install Java 8 on Ubuntu using PPA (Linux)
- In Spring AOP example explanation (Programming)
- Xshell key authentication mechanism using a remote login Linux (Linux)
- Use Markdown editor for document work under Linux (Linux)
- The correct way of logical backup mysqldump (Database)
- Using C ++ Container Templates in Shared Memory (Programming)
- Kubuntu 14.04 desktop to the user how to upgrade KDE 4.13.2 (Linux)
- To share some very useful Vim command (Linux)
- Graphing tool: Gnuplot (Linux)
- Android graphic introduction NDK installation and simple jni demo implementation (Linux)
- Use Docker containers (Linux)
- Configuring Android NDK development environment for Mac OS X (Linux)
- MySQL bulk insert data script (Database)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.