Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ Configuring ftp server and nfs server under Linux     - How Bluetooth turned off by default in Ubuntu 14.04 (Linux)

- Ubuntu 10.04 to Ubuntu 10.10 Upgrade (Linux)

- How to back up Debian system backupninja (Linux)

- SQL Server memory Misunderstanding (Database)

- MySQL Authorized a recovered (Database)

- Linux Getting Started tutorial: How to backup Linux systems (Linux)

- How to install and use the malware detection tool LMD and ClamAV antivirus engine on Linux (Linux)

- How do you prevent other users from accessing your home directory in Linux (Linux)

- Oracle 12c detailing the new features (Database)

- Java Concurrency -volatile keywords (Programming)

- Hadoop 2.2.0 installation development environment (standalone pseudo-distributed mode) (Server)

- AngularJS - Getting Started with Routing (Programming)

- MongoDB slice simple example (Database)

- Python script file directory traversal examples (Programming)

- A command to install Sublime Text 3 on Manjaro / Archlinux (Linux)

- Oracle RAC 10.2.0.5 upgrade to 11.2.0.4 problems encountered (Database)

- Linux security settings Notes (Linux)

- Experts teach you how to identify the actual functional differences between the firewall (Linux)

- OpenGL Programming Guide (8th edition of the original book) - compute shader (Programming)

- Ubuntu users to install the system indicator SysPeek 0.3 (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:      
 
- How to create a cloud encrypted file system in Linux systems (Linux)
- Linux / Windows setup is complete port range (Linux)
- CentOS 6.7 compile and install LAMP (Server)
- Use XtraBackup to MySQL database online incremental backup and recovery (Database)
- Vi editor Introduction (Linux)
- Getting Started with Linux system to learn: how to check the version of SSH on Linux (Linux)
- Linux system security check method (Linux)
- C ++ Supplements - Smart Pointers (Programming)
- MySQL and MariaDB new master from the cluster configuration GTID (Database)
- Ubuntu 14.04 Solution login interface infinite loop (Linux)
- Android custom ViewPager create kaleidoscopic image transition effects (Programming)
- MySQL separation Amoeba achieve literacy (Database)
- Docker: installation under Ubuntu (Server)
- Linux process management related content (Linux)
- Kitematic how seamless and DockerFILE (Server)
- When the master key encounter NULL (Database)
- Linux common network tools: ping host sweep (Linux)
- How VirtualBox and VMware virtual machine conversion (Linux)
- Puppet 3.5 Source package Installation and Configuration (Server)
- Getting Started with Linux system to learn: how to check in a package is installed on Ubuntu (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.