Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ Configuring ftp server and nfs server under Linux     - To solve the Mac in question invalid BASH under configuration environment variable (Linux)

- rpm package specify the installation path (Linux)

- HBase vs Oracle (Database)

- SQL MySQL query table duplicate data (Database)

- Xshell configure SSH free password (Server)

- Kali Linux virtualbox rc = Error 1908 workaround (Linux)

- Use lsof restore accidentally deleted log files or database (Linux)

- Fedora 22 installation and configuration optimization (Linux)

- To install GCC development environment under SUSE11 (Linux)

- Java deserialization test (Programming)

- Oracle 12c In-Memory Study (Database)

- Install Rubinius testing Ubuntu 14.04 native threads (Linux)

- Puppet installation and testing (Server)

- How to achieve the MySQL Oracle table associated with the two operations update (Database)

- Ubuntu 15.04 and Ubuntu 14.04 installed Cinnamon 2.6 (Linux)

- Boost notes --Thread - problems encountered in the initial use on Ubuntu (Programming)

- Linux operating tips: Can not open file for writing or operation not permitted solution (Linux)

- C # how to generate a folder or file automatically rename (Programming)

- ARP Linux-related operations (Linux)

- Debian 7.7 Installation and Configuration (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:      
 
- Number JavaScript type system (Programming)
- ORA-38856: Unable instance UNNAMED_INSTANCE_2 (redo thread 2) marked enabled (Database)
- LVS + Keepalived the DR mode (Server)
- Linux Network Analysis Tcpdump Command Guide (Linux)
- MongoDB upgrade to 2.6 (Database)
- Shell Script: create a function and specify a directory for download (Programming)
- Zabbix monitoring disk IO status (Server)
- Why HBase need to build SQL engine layer (Database)
- Django how to generate content in non-HTML formats (Programming)
- Hadoop 2.6.0 standalone configuration and pseudo-distributed configuration under Ubuntu 14.04 (Server)
- RedHat command line and graphical interface switching (Linux)
- Install MATE desktop environment adjustment tools Mate Tweak 3.3.6 (Linux)
- CentOS and RHEL to install IPython 0.11 (Linux)
- To setup CentOS LAMP environment (Server)
- The need to avoid a gap of InnoDB lock (Database)
- How to install Visual Studio Code on Ubuntu (Linux)
- Java, boolean operators & =, | = ^ = use (Programming)
- MySQL Online DDL tools of pt-online-schema-change (Database)
- How to install the Ruby runtime environment on Mac OS X (Linux)
- Lua4.0 interpreter entrance (Programming)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.