Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ Configuring ftp server and nfs server under Linux     - MySQL related statements (CRUD) (SQLyog software) (Database)

- AngularJS notes --- Scope and controller (Programming)

- The new task parallel library feature in .NET 4.6 (Programming)

- Linux instructions and examples GPG encryption and decryption (Linux)

- Linux module mechanism of (Programming)

- Unix average load average load calculation method (Server)

- Puppet centralized configuration management system (Server)

- Archlinux installation tutorial (Linux)

- Linux shell script debugging (Linux)

- Ora-14450: attempt to access ah transactional temptable already in use (Database)

- JQuery implements the same content merge cells (Programming)

- Why is the ibdata1 file growing in MySQL? (Database)

- Nginx Installation and Configuration (Server)

- To compile and install Clang 3.5.0 in Linux CentOS (Linux)

- On Android running ClojureScript (Linux)

- Node.js installed on Ubuntu Upstream version (Linux)

- About Java 7 module system (Programming)

- Achieve camera preview by ffplay (Linux)

- Find details block device with Linux blkid command (Linux)

- Use IF NOT EXISTS create a data table (Database)

 
         
  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:      
 
- Linux server data backup (Server)
- Install the latest Eclipse IDE in Ubuntu (Linux)
- swap space is insufficient cause OOM kill MySQL Case (Database)
- Oracle 11g logical standby achieve BI needs (Database)
- Nginx Installation and Configuration (Server)
- Through the source code to install MySQL 5.6.26 under CentOS6 (Database)
- iOS development -Launch Image and Launchscreen (Programming)
- Ubuntu System Log Configuration / var / log / messages (Linux)
- Java study notes: String (Programming)
- A well-known but rarely used skills: object pool (Programming)
- Linux, rename the file or folder (mv command and rename command) (Linux)
- Extended VMware Ubuntu root partition size (Linux)
- Ubuntu 14.04 after the restart the default maximum screen brightness solutions (Linux)
- The method of MySQL two kinds of incomplete recovery (Database)
- GAMIT10.5 under CentOS installation (Linux)
- xCAT line installation on CentOS 6.X (Linux)
- Linux based exercises, interview questions (Linux)
- iptables using summary (Linux)
- C ++ two second pointer memory model (two-dimensional array) (Programming)
- Talk about Java EE Learning (Programming)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.