Hi List!
Vu+`a ro^`i down ca'i mpentoo 190688K, tha^'y no' la` mini-pentoo, la` Gentoo based ma` la.i LiveCD, ne^n ngu+'a tay ca`i thu+?. Ai de` nho? ma` du+~ qua'. http://www.netsc.ch/-Download-.htm >This version is only 186 Mb fat and fits on mini-cd and 256 MB usb pen-drive. >It features the bare minimum tools for pentesting and support modules >addition ala slax, allowing you to add some more stuff as you see fit. 1/ Trong website cu?a no' http://www.netsc.ch/ co' dda(.t file pentoo-install.sh 953 bytes (sau khi gunzip) va` pentoo.pdf 296262 bytes. Ca? 2 files na`y dde^`u kho^ng xa`i ddu+o+.c. Ngay trong cdrom mpentoo-2006.0 dda~ co' ro^`i, dda(. ta.i /mnt/cdrom/install, go^`m pentoo-install.sh 1472 bytes va` pentoo.pdf 387199 bytes. 2/ Sau khi download, copy 2 files na`y va`o some where, vi' du. /mnt/hda1 (windows) : # cp /mnt/cdrom/install/pentoo* /mnt/hda1 # cd /mnt/hda1 # gunzip pentoo-install.gz 3/ Su+?a file pentoo-install.sh # nano -w /mnt/hda1/pentoo-install.sh Comment 5 do`ng ngay du+o+'i do`ng PENTOO,va` comment 4 do`ng a'p cho't nhu+ ddoa.n ca('t da'n sau dda^y: =================================== #!/bin/sh PENTOO=`grep 2006.0 /sbin/rc` #if [ ! -e /var/db/pkg/net-wireless/bluediving-0.3/bluediving-0.3.ebuild ] ; then # echo "Please load the pentoodb-2006.0.mo module to allow a clean install" # echo "or your system will be broken." # exit 1 #fi if [ ! -z "${PENTOO}" ] ; then >>>>>>>snip read -p "Do you plan on getting multi-user ? y/[n]" MULTI # if [ "${MULTI}" == "y" ]; then # mv /mnt/gentoo/etc/inittab.orig /mnt/gentoo/etc/inittab # mv /mnt/gentoo/root/.bash_profile.orig /mnt/gentoo/root/.bash_profile # fi else echo "You don't seem to be running on pentoo, aborting..." fi ================================ He^'t script. Save ro^`i thoa't. (Ghi the^m: Trong pentoo.pdf chi? da^~n thie^'u vie^.c comment 5 do`ng dda^`u, do va^.y khi cha.y pentoo-install.sh va^~n bi. ba'o lo^~i). 4/ Su+?a soa.n tru+o+'c mo^.t ext2/ext3 partition (thi` ddo+~ phie^`n ho+n). Vi' du. se~ du`ng /dev/hda3 dde^? ca`i mpentoo-2006.0 # mke2fs -j /dev/hda3 >Ghi chu' : Trong pentoo.pdf co' chi? da^~n la`m the^m /boot partition. Nhu+ng >co' the^? ca`i chi? vo+'i 1 partition duy nha^'t la`m / la` ddu?. Ngoa`i ra, >di~ nhie^n ca^`n co' mo^.t swap partition tu+` 256MB tro+? le^n. 5/ Ba('t dda^`u. Boot CD mpentoo-2006.0. Cho.n 1 dde^? co' vga=791. Default la` 2. Cho.n 3,4 vv tu`y y'. Nha^'n F3 dde^? co' tu`y bie^'n the^m. 6/ Tie^'n tri`nh hoa`n ta^'t. Co' the^? nha^'n Ctrl+Alt+F1 dde^? ra TextMode de^~ la`m vie^.c ho+n. 7/ Chua^?n bi. ca'c bu+o+'c cuo^'i cu`ng: # mount /dev/hda3 /mnt/gentoo (gentoo la` ba('t buo^.c) # mkdir /mnt/gentoo/boot # mkdir /mnt/genroo/root # mkdir /mnt/gentoo/hda1 # mount -t vfat /dev/hda1 /mnt/gentoo/hda1 # cp /mnt/gentoo/hda1/pentoo* /mnt/gentoo/root 8/ Thie^'t la^.p ADSL : # ifconfig -a # ifconfig eth0 192.168.1.3 netmask 255.255.255.0 (thay eth0 ba(`ng eth1 tuy` tru+o+`ng ho+.p) # route add default gw 192.168.1.1 # echo "nameserver 192.168.1.1" > /etc/resolv.conf Thu+?: # links www.cisco.com 9/ Ba('t dda^`u ca`i : # cd /mnt/gentoo/root # sh ./pentoo-install.sh Ne^'u kho^ng co' gi` sai :) thi` vie^.c ca`i dda(.t chi? trong i't phut la` cha^'m du+'t. 10/ Ca`i dda(.t Portage # mount -t proc none /mnt/gentoo/proc # mount --bind /dev /mnt/gentoo/dev # chroot /mnt/gentoo # env-update # source /etc/profile # emerge sync Tie^'n tri`nh na`y vo+'i ma'y P4 3GHz va` ADSL (cha^.m nhu+ FPT ban nga`y) se~ ke'o da`i chu+`ng 160 phu't hoa(.c nhie^`u ho+n. Khi cha.y he^'t pha^`n 1, to+'i pha^`n 2 ne^'u no'ng ruo^.t co' the^? nha^'n Ctrl+C dde^? ngu+ng, nga`y mai nga`y kia cha.y tie^'p cu~ng ddu+o+.c. Chu' y' : >You'll need to stay chrooted until you finish the setup!!! 11/ Ca'c bu+o+'c sau cu`ng la` kie^?m tra, bie^n ta^.p /etc/fstab va` /boot/grub/menu.lst. Co' the^? theo chi? da^~n trong pentoo.pdf (ne^n in ra tru+o+'c) dde^? la`m the^m ma^'y vie^.c. Sau khi dda~ setup grub, thi` cha.y ca'c le^.nh dde^? tha'o : # umount /mnt/gentoo/proc # umount /mnt/gentoo/dev # umount /mnt/gentoo # reboot -n Chu'c may ma('n. Lo+'i Xin Lo^~i tru+o+'c : Meo na`y to^i go~ ga^`n nhu+ theo tri' nho+' ca'c co^ng ddoa.n dda~ la`m, ne^'u co' sai so't xin ca'c ba.n vui lo`ng bo^? khuye^'t va` post le^n ML cho mo.i ngu+o+`i cu`ng xem. Ca'm o+n. NHA^N TIE^.N : Trong distro co' dda(.t nhie^`u apps la. hoa('c, chu+a bie^'t no' la`m va`o vie^.c khi? gi` ? Ai bie^'t xin chi? da^~n ca'ch du`ng? -- m k h _ s g n __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ VietLUG-users mailing list VietLUG-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vietlug-users