Различия
Показаны различия между двумя версиями страницы.
| Предыдущая версия справа и слеваПредыдущая версияСледующая версия | Предыдущая версия | ||
| wiki:ippsl13 [21/03/2010 18:27] – Boris V. Vuks | wiki:ippsl13 [21/03/2010 18:57] (текущий) – Boris V. Vuks | ||
|---|---|---|---|
| Строка 1: | Строка 1: | ||
| - | ==== Установка | + | ==== Установка |
| === Download and Extracting Packages: === | === Download and Extracting Packages: === | ||
| - | # cd / | + | |
| - | # wget http:// | + | |
| - | # wget http:// | + | # wget http:// |
| - | # wget http:// | + | # wget http:// |
| - | # wget http:// | + | # wget http:// |
| - | # wget http:// | + | # wget http:// |
| - | # wget http:// | + | # wget http:// |
| + | # wget http:// | ||
| \\ | \\ | ||
| - | # for archive in *.bz2; do tar -jxf $archive; | + | |
| - | # for archive in *.gz; do tar -zxf $archive; | + | # for archive in *.gz; do tar -zxf $archive; |
| === Creating symbolic links: === | === Creating symbolic links: === | ||
| - | # ln -s linux-2.6.31 linux \\ | + | |
| - | # ln -s iptables-1.4.5 iptables | + | |
| - | # ln -s xtables-addons-1.18 xtables-addons | + | # ln -s iptables-1.4.5 iptables |
| + | # ln -s xtables-addons-1.18 xtables-addons | ||
| === Patching Kernel and Kernel Compile : === | === Patching Kernel and Kernel Compile : === | ||
| - | # cd / | + | |
| - | # patch -p1 < ../ | + | |
| - | # make menuconfig | + | # patch -p1 < ../ |
| + | # make menuconfig | ||
| Networking options | Networking options | ||
| ... | ... | ||
| Строка 32: | Строка 36: | ||
| " | " | ||
| - | # make -j 4 bzlilo && make -j 4 modules && make modules_install | + | |
| === Patching and installing iptables 1.4.5: === | === Patching and installing iptables 1.4.5: === | ||
| - | # cd / | + | |
| - | # cp ../ | + | |
| - | # sed -i ' | + | # cp ../ |
| - | # cd .. \\ | + | # sed -i ' |
| - | # patch -p1 -NE < ../ | + | # cd .. |
| - | # cp / | + | # patch -p1 -NE < ../ |
| - | # ./configure --with-ksource=/ | + | # cp / |
| - | --prefix=/ | + | # ./configure --with-ksource=/ |
| - | # make && make install | + | --prefix=/ |
| - | # cd / | + | # make && make install |
| - | # make install | + | # cd / |
| + | # make install | ||
| === Xtables-addons compile: === | === Xtables-addons compile: === | ||
| - | # cd / | + | |
| - | # ./ | + | |
| - | --mandir=/ | + | # ./ |
| - | --with-ksource=/ | + | --mandir=/ |
| - | # make && make install | + | --with-ksource=/ |
| + | # make && make install | ||
| === Testing the Installation: | === Testing the Installation: | ||
| - | # iptables -j TARPIT -h \\ | ||
| - | # iptables -m ipp2p -h \\ | ||
| - | # iptables -m layer7 -h \\ | ||
| + | # iptables -j TARPIT -h | ||
| + | # iptables -m ipp2p -h | ||
| + | # iptables -m layer7 -h | ||
| + | |||
| + | ---- | ||
| ==Thanks for information: | ==Thanks for information: | ||
| http:// | http:// | ||