View RSS Feed

Peyman Yousefi

Kernel 2.6.36 -- Debian, Ubuntu

امتیاز
توسط - 2010-12-08 - 02:54 PM (بازدید: 1898)
  
کد:
cd /usr/src/
apt-get install kernel-package ncurses-dev fakeroot wget  bzip2
wget  http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.36.1.tar.bz2
tar  -jxvf linux-2.6.36.1.tar.bz2
ln -s linux-2.6.36.1 linux
cd linux
make  clean && make mrproper
cp /boot/config-`uname -r` ./.config
make  menuconfig

  1- Load an Alternate Configuration File
    .config
    ok

  2-  Processor type and features
    Processor family (Pentium-Pro)
      (X)  Pentium-4/Celeron(P4-based)/Pentium-4 M/older Xeon

  3-  Networking
    Networking  options
      [*] Network packet filtering framework (Netfilter)
        Core  Netfilter Configuration
           Netfilter netlink interface
              Netfilter NFQUEUE over NFNETLINK interface
             Netfilter  LOG over NFNETLINK interface
           Netfilter connection tracking  support
            Netfilter connection tracking support (Layer 3  Independent Connection tracking)  --->
          [*] Connection  tracking flow accounting
          [*] Connection mark tracking  support
          [*] Connection tracking security mark support
          [*]  Connection tracking events (EXPERIMENTAL)
                          Transparent  proxying support (EXPERIMENTAL)
                          "TPROXY"  target support (EXPERIMENTAL)
                      "recent" match  support
                       Enable obsolete /proc/net/ipt_recent
                      "socket"  match support (EXPERIMENTAL)
           SCTP protocol connection  tracking support (EXPERIMENTAL)
           Amanda backup protocol  support
           FTP protocol support
           H.323 protocol  support (EXPERIMENTAL)
           IRC protocol support
            NetBIOS name service protocol support (EXPERIMENTAL)
           PPtP  protocol support
           SIP protocol support (EXPERIMENTAL)
            TFTP protocol support
           Connection tracking netlink  interface (EXPERIMENTAL)
           Netfilter Xtables support  (required for ip_tables)
             "CLASSIFY" target support
              "MARK" target support
             "NFQUEUE" target Support
              "NFLOG" target support
             "SECMARK" target support
              "CONNSECMARK" target support
             "comment" match support
              "connbytes" per-connection counter match support
              "connmark" connection mark match support
             "conntrack"  connection tracking match support
             "DCCP" protocol match  support
             "DSCP" match support
             "ESP" match  support
             "helper" match support
             "length"  match support
             "limit" match support
              "mac" address match support
             "mark" match support
              IPsec "policy" match support
             Multiple port match  support
             "physdev" match support
              "pkttype" packet type match support
             "quota" match  support
             "realm" match support
             "sctp"  protocol match support (EXPERIMENTAL)
             "state" match  support
             "statistic" match support
              "string" match support
             "tcpmss" match support
              "hashlimit" match support
        IP: Netfilter Configuration
            IPv4 connection tracking support (required for NAT)
          [*]    proc/sysctl compatibility with old connection tracking (NEW)
            IP Userspace queueing via NETLINK (OBSOLETE)
           IP tables  support (required for filtering/masq/NAT)
             IP range match  support
             TOS match support
             recent match  support
             ECN match support
             AH match  support
             TTL match support
             Owner match  support
             address type match support
              Packet filtering
               REJECT target support
              LOG target support
             ULOG target support
              TCPMSS target support
             Full NAT
           MASQUERADE  target support
           REDIRECT target support
            NETMAP target support
           SAME target support
            Basic SNMP-ALG support (EXPERIMENTAL)
           Packet mangling
              TOS target support
             ECN target support
              TTL target support
             CLUSTERIP target support  (EXPERIMENTAL)
           raw table support (required for  NOTRACK/TRACE)
           ARP tables support
             ARP  packet filtering
             ARP payload mangling
  4-  File  systems
    <*> Second extended fs support
    <*>  Ext3 journalling file system support
    <*> Ext4 journalling  file system support
    <*> Reiserfs support
    <*>  JFS filesystem support
    <*> XFS filesystem support
  5-  Save & Exit

make-kpkg clean
fakeroot make-kpkg --initrd  --append-to-version=-custom kernel_image kernel_headers

cd  /usr/src
ls -l

dpkg -i  linux-image-2.6.21.3-custom_2.6.21.3-custom-10.00.Custom_i386.deb
dpkg  -i linux-headers-2.6.21.3-custom_2.6.21.3-custom-10.00.Custom_i386.deb

shutdown  -r now

Updated 2010-12-11 at 03:47 PM by darklove

دسته ها
Linux

نظر