zoukankan      html  css  js  c++  java
  • 配置内核支持NFS启动文件系统

    内核支持NFS分区(即编译时在File system中选中[*] Root file system on NFS), 

    以及支持内核IP_PNP(即编译时在Networking中选中[*] IP: kernel level autoconfiguration)

        File systems  ---> 

            Network File Systems  ---> 

                <*> NFS file system support                        ## 必选

                    [*]   Provide NFSv3 client support             ## 可选

                [*] Root file system on NFS                        ## 必选

        Networking  ---> 

            [*] Networking support 

                Networking options  ---> 

                    [*]   IP: kernel level autoconfiguration       ## 必选

    需要打开IP:Kernel level autoconfiguration 以及下面所有的选项包括DHCP, BOOTP, RARP,而且NFS Client Support不能是模块,必须编译进内核

    mount:RPC:Unable to receive;errno=No route to host 

    原因:有限制的端口。

    (fedora 12)关闭防火墙:方法:

    1、永久性关闭

    lokkit --disabled
    2、 即时生效,重启后失效

    service 方式
    开启: service iptables start 
    关闭: service iptables stop

    iptables方式

    查看防火墙状态:
    /etc/init.d/iptables status

    暂时关闭防火墙:
    /etc/init.d/iptables stop

    重启iptables:
    /etc/init.d/iptables restart


    mount -t nfs 192.168.1.102:/rootfs /mnt


    rpcbind server localhost not responding, time out 

    mount -t nfs -o nolock 192.168.1.102:/rootfs /mnt

     http://www.cnblogs.com/mchina/archive/2013/01/03/2840040.html

  • 相关阅读:
    python端口扫描
    python模块-platform
    Mysql注入root权限直接写一句话马
    meterpreter使用
    msfpayload反弹shell
    sql_injection之post注入
    初涉sqlmap
    sql_injection之基本get注入
    利用SSLStrip截获https协议--抓取邮箱等密码
    简析CSRF
  • 原文地址:https://www.cnblogs.com/liuchengchuxiao/p/4318982.html
Copyright © 2011-2022 走看看