Change and design of the NFS of Fedora10

Source: Internet
Author: User
Tags ftp file ftp file transfer ftp file transfer protocol

For the problem of NFS of Fedora10, we will explain the kernel modification settings today. NFS is still quite common, so I have studied NFS ora10 NFS. Here I will share it with you and hope it will be useful to you. fedora10 nfs tftp server sets Linux TFTP simple File Transfer Protocol) and FTP File Transfer Protocol) Different Linux tftp server is tftp server, FTP commonly used SERVER is VSFTP

Why Linux TFTP service? If you download a data file of hundreds of KB to the Development Board, you can use the serial port protocol, but the entire process will take a few minutes! After the kernel image and file system are created, you will find that they are all files on M, which need to be downloaded at several K speeds through the serial port, I believe that everyone will go crazy, and the network has an absolute advantage in terms of speed, and M Files will take a few seconds, my next kernel image is usually about 2 seconds. It is not as exciting as you are. Please build a Linux TFTP server!

1. Check whether the system has installed tftp server: # rpm-qa | grep tftp, if there is a prompt such as tftp-server-0.49-1.fc10.i386, it indicates that the system has installed the Linux TFTP service.

2. # vim/etc/xinetd. d/tftp configure Linux TFTP and change the disable value to no. The server_args value is the directory path of the server, which can be changed as needed.

3. # service xinetd start chkconfig: You can configure the service at six running levels for Linux services that can be started upon startup. You can use chkconfig to configure the service running status at each level, # chkconfig-list can list all services in the system and their running status) start the service.

4. Disable SELinux, # vim/etc/sysconfig/selinux comment out SELINUX = enforceing and change it to = disabled. or enter the setenforce 0 command.

NFS ora10 NFS settings

NFS: the abbreviation of Net File System, that is, the Network File System Fedora10 NFS allows a System to share directories and files with others on the network. by using NFS, users and programs can access files on the remote system just like accessing local files. in embedded development, the most obvious advantages of using February 10 NFS are:

1. Because the data can be stored on the HOST machine and accessed through the network, the embedded development space is as large as the HOST machine, so there is no need to be limited by dozens of MB.

2. Reduce the number of Flash burning times and increase the Flash life

3. you don't have to re-create the file system every time you change it. It's just as convenient as on a PC. note: NFS is developed by Sun microsystems. is a network operating system that uses the underlying transport layer protocol TCP/IP application layer protocol.

1. view the Intranet IP address of the local physical NIC: 192.168.1.252

2. Disable the firewall in the NFS of Fedora10, # service iptables stop

3. Set Linux in the virtual machine to Bridge Mode:

A) VM -- Setting -- Network Adapter, and select the bridge mode;

B) Edit -- Virtual Network Settings -- Host Virtual Network Mapping. In the VMnet0 drop-down box, select the physical Network card of the computer; go to the briic Bridging tab and select Automatic bridging -- "Add". In the displayed dialog box, select the physical Nic and click OK.

4. in Linux, system -- manage -- Network Device Control -- configuration -- hardware -- double-click the NIC in the displayed dialog box, in the drop-down list, select eth0 -- OK -- return to network configuration -- device -- double-click the network adapter -- select the static IP address, and add: 192.168.1.2 it is best to set the client in the host and virtual machine to a network segment.) subnet mask: 255.255.255.0 default gateway address: 192.168.1.252 -- OK -- return to network configuration -- activated in Fedora10, the IP settings on the GUI are incorrect, you can set static IP by configuring the/etc/sysconfig/networking/devices/ifcfg-eth0 file.

5. Configure the shared directory of the NFS ora10 NFS service

# Vim/etc/exports/aesop/rootfs * (rw, sync, no_root_squash) This is the directory of the configured NFS ora10 NFS service, that is, the directory mounted by other computers is accessed by the IP address mounted by other computers * indicates that all clients can mount this directory, and rw indicates that the Client Connected to this directory has read and write permissions on this directory, no_root_squash indicates that the Client Connected to this directory is allowed to have the root identity of the host. That is, if the user on the client is logged on as the root user, the user on the NFS server of Fedora10 also has the root permission ), when the no_root_squash option is set, the mounted client has the ROOT identity of the host.

6. # lokkit disable the Firewall

7. start the NFS server of Fedora10: # service nfs start. Once/etc/exports is modified, restart the NFS service of Fedora10 # service nfs restart to display the mount directory list # exportfs, line # mount-t nfs localhost:/aesop/rootfs/mnt. If the NFS ora10 nfs service is normal or # Check the nfs status of the service nfs status ), the content displayed in/mnt should be consistent with that in/aesop/rootfs and can solve the problem. run # service nfs stop to stop the NFS ora10 nfs service.

8. start the old version of the rpcbind service Fedora10 NFS is portmap) # service rpcbind start

After downloading the kernel, the system encountered a problem when downloading the file system: the prompt IP-Config: Device 'eth0' not found. Later, when thinking about the possible Kernel configuration, you didn't use make xconfig to set cs80x0 support, so I re-configured the kernel and encountered another problem. make xconfig prompts unable to find the QT installation, so after downloading the QT installation, configure the kernel, and then re-compile the kernel, that's it !)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.