{"id":971,"date":"2011-03-28T11:42:44","date_gmt":"2011-03-28T08:42:44","guid":{"rendered":"http:\/\/skeletor.org.ua\/?p=971"},"modified":"2011-03-28T11:56:31","modified_gmt":"2011-03-28T08:56:31","slug":"%d0%b1%d0%b0%d0%b7%d0%be%d0%b2%d0%b0%d1%8f-%d1%83%d1%81%d1%82%d0%b0%d0%bd%d0%be%d0%b2%d0%ba%d0%b0-gentoolinux","status":"publish","type":"post","link":"https:\/\/skeletor.org.ua\/?p=971","title":{"rendered":"\u0411\u0430\u0437\u043e\u0432\u0430\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 GentooLinux."},"content":{"rendered":"<p><strong><span style=\"color: #ff0000;\">1) \u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435.<\/span><\/strong><\/p>\n<p>\u041d\u0435\u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043e\u0431 \u044d\u0442\u043e\u043c \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0435. \u042f \u0432\u043e\u043e\u0431\u0449\u0435 \u043f\u0440\u0438\u0432\u0435\u0440\u0436\u0435\u043d\u0435\u0446 &#8220;\u0444\u0440\u044f\u0445\u0438&#8221;,  \u043d\u043e \u0438\u043d\u043e\u0433\u0434\u0430 \u0431\u044b\u0432\u0430\u044e\u0442 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438, \u043a\u043e\u0433\u0434\u0430 \u043c\u043e\u044f \u043b\u044e\u0431\u0438\u043c\u0430\u044f \u041e\u0421 \u043e\u0442\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e  \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0433\u043e \u0440\u043e\u0434\u0430 \u0441\u043e\u0444\u0442\u043e\u043c \u0438\u043b\u0438 \u0436\u0435\u043b\u0435\u0437\u043e\u043c. \u0412 \u044d\u0442\u0438 \u043c\u043e\u043c\u0435\u043d\u0442\u044b  \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043e\u0431\u0440\u0430\u0449\u0430\u0442\u044c\u0441\u044f \u043a <strong>linux<\/strong>. \u0420\u0430\u043d\u044c\u0448\u0435 \u043c\u043d\u0435 \u0441\u0438\u043c\u043f\u043e\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043b <strong>Debian<\/strong>, \u043d\u043e  \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u044f, \u0447\u0442\u043e \u0441\u043e\u0444\u0442 \u0443 \u043d\u0435\u0433\u043e \u0443\u0436\u0435 \u043f\u0440\u0435\u043a\u043e\u043c\u043f\u0438\u043b\u043b\u0438\u0440\u043e\u0432\u0430\u043d \u0438 \u043d\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438  \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 (\u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438 \u044f \u043d\u0435 \u0431\u0435\u0440\u0443 \u0432 \u0441\u0447\u0451\u0442), \u0440\u0435\u0448\u0438\u043b \u043e\u0442 \u043d\u0435\u0433\u043e  \u043e\u0442\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u0438 \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 <strong>Gentoo<\/strong>. \u041f\u043e \u0441\u0432\u043e\u0435\u0439 \u0441\u0443\u0442\u0438 \u044d\u0442\u043e \u0441\u043a\u0440\u0435\u0449\u0435\u043d\u043d\u044b\u0439 <strong>linux<\/strong> \u0438  <strong>freebsd<\/strong>. \u041e\u043d \u0442\u0430\u043a \u0436\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043f\u043e\u0440\u0442\u043e\u0432, \u043a\u0430\u043a \u0432\u043e <strong>FreeBSD<\/strong>, \u043d\u043e \u044f\u0434\u0440\u043e \u0438  \u0432\u0441\u0451 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435 &#8211; \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u043e\u0442 <strong>Linux&#8217;a<\/strong>.<\/p>\n<p><!--more--><\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435: \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0431\u0443\u0434\u0443 \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0434\u043b\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u044b <strong>32<\/strong> \u0431\u0438\u0442\u0430 \u0441 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u043e\u0439 <strong>x86<\/strong>.<\/p>\n<p><strong><span style=\"color: #ff0000;\">2) \u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435.<\/span><\/strong><\/p>\n<p>\u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0443\u0436\u043d\u043e \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u043e\u0431\u0440\u0430\u0437 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0430. \u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435, \u044d\u0442\u043e<strong> live-cd<\/strong> \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0441\u0442\u0430\u0432\u0438\u0442\u0441\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430. \u0412\u0441\u0451 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0432 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0440\u0443\u0447\u043d\u043e\u043c  \u0440\u0435\u0436\u0438\u043c\u0435, \u0431\u0435\u0437 \u043c\u0435\u043d\u044e\u0448\u0435\u043a. \u0418 \u0442\u0430\u043a, \u043a\u0430\u0447\u0430\u0435\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0440\u0435\u043b\u0438\u0437 \u043e\u0431\u0440\u0430\u0437\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0436\u043d\u043e  \u043d\u0430\u0439\u0442\u0438 \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443  <strong>http:\/\/distfiles.gentoo.org\/releases\/x86\/autobuilds\/current-iso\/<\/strong>. \u041d\u0430  \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u044c\u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u043c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u043c \u0431\u044b\u043b \u043e\u0431\u0440\u0430\u0437  <strong>install-x86-minimal-20100216.iso<\/strong>.<\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0441 \u0434\u0438\u0441\u043a\u0430, \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u0441 \u043f\u0440\u0430\u0432\u0430\u043c\u0438 <strong>root&#8217;a<\/strong> (\u0431\u0435\u0437  \u043f\u0430\u0440\u043e\u043b\u044f). \u041d\u0430 \u044d\u0442\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0439\u0442\u0438 2-\u043c\u044f \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438: \u043b\u0438\u0431\u043e \u0441\u0438\u0434\u0435\u0442\u044c  \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0443 \u043a\u043e\u043d\u0441\u043e\u043b\u0438, \u043b\u0438\u0431\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f \u043f\u043e <strong>ssh<\/strong> \u0438  \u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e. \u0415\u0441\u043b\u0438 \u0432\u044b\u0431\u0440\u0430\u043b\u0438 \u043f\u0435\u0440\u0432\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 &#8211; \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u0430\u0439\u0442\u0435 \u044d\u0442\u043e\u0442  \u0430\u0431\u0437\u0430\u0446. \u041f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043c \u0441\u0435\u0442\u044c. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0430 \u0443\u0442\u0438\u043b\u0438\u0442\u0430  <strong>net-setup<\/strong> (\u042d\u0442\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 <strong>live-cd<\/strong>, \u0431\u0443\u0434\u044c\u0442\u0435  \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b). \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0435\u0451:<\/p>\n<p><code>#net-setup eth0<\/code><\/p>\n<p><strong>net-setup<\/strong> \u0437\u0430\u0434\u0430\u0441\u0442 \u0432\u0430\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u0432 \u043e \u0432\u0430\u0448\u0435\u0439 \u0441\u0435\u0442\u0435\u0432\u043e\u0439 \u0441\u0440\u0435\u0434\u0435. \u0412  \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0435\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u044b \u0443 \u0432\u0430\u0441 \u0434\u043e\u043b\u0436\u043d\u043e \u043f\u043e\u044f\u0432\u0438\u0442\u044c\u0441\u044f \u0440\u0430\u0431\u043e\u0442\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435  \u043a \u0441\u0435\u0442\u0438.<\/p>\n<p>\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0441\u043b\u0443\u0436\u0431\u0443 <strong>ssh<\/strong>:<\/p>\n<p><code>#\/etc\/init.d\/sshd start<\/code><\/p>\n<p>\u041e\u043d\u0430 \u0441\u043e\u0437\u0434\u0430\u0441\u0442 \u043a\u043b\u044e\u0447\u0438 \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442 \u0441\u0430\u043c\u0443 \u0441\u043b\u0443\u0431\u0436\u0443. \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c\u0441\u044f \u043f\u043e <strong>ssh<\/strong> \u0438 \u0441\u0442\u0430\u0432\u0438\u0442\u044c \u041e\u0421.<\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435: \u043f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u041e\u0421 \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043d\u043e\u0432\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0441\u0435\u0442\u044c \u0438 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u043b\u0443\u0436\u0431\u044b.<\/p>\n<p><strong><span style=\"color: #ff0000;\">3) \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430.<\/span><\/strong><\/p>\n<p><strong><em><span style=\"color: #ff6600;\">\u0430) \u0420\u0430\u0437\u0431\u0438\u0432\u043a\u0430 \u0434\u0438\u0441\u043a\u0430<\/span><\/em><\/strong> (\u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u043c\u044b\u0435; \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0438\u043c\u0435\u043d\u0430 \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u0432, \u0443 \u0432\u0430\u0441 \u043e\u043d\u0438 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u0435!)<\/p>\n<p><code>#cfdisk \/dev\/sda<br \/>\nsda1 - primary (FS type: linux native=83) - 1 Gb (\/)<br \/>\nsda2 - primary (FS type: swap=82) - 2 Gb (swap)<br \/>\nsda3 - primary (FS type: linux native=83) - 15 Gb (\/var)<br \/>\nsda5 - primary (FS type: linux native=83) - 15 Gb (\/usr)<br \/>\nsda6 - primary (FS type: linux native=83) - 1 Gb (\/tmp)<\/code><\/p>\n<p>\u041e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u043f\u043e \u0436\u0435\u043b\u0430\u043d\u0438\u044e.<\/p>\n<p><strong><em><span style=\"color: #ff6600;\">b) \u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0438 \u0430\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u044f \u0441\u0432\u043e\u043f \u0440\u0430\u0437\u0434\u0435\u043b\u0430<\/span><\/em><\/strong><\/p>\n<p><code>#mkswap \/dev\/sda2 &amp;&amp; swapon \/dev\/sda2<\/code><\/p>\n<p><strong><em><span style=\"color: #ff6600;\">\u0441) \u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0438 \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u043e\u0432\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c<\/span><\/em><\/strong> (\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b FS)<\/p>\n<p><code># mkfs.ext4 \/dev\/sda1<br \/>\n# mkfs.ext4 \/dev\/sda3<br \/>\n# mkfs.ext4 \/dev\/sda5<br \/>\n# mkfs.ext4 \/dev\/sda6<br \/>\n# mount \/dev\/sda1 \/mnt\/gentoo<br \/>\n# mkdir \/mnt\/gentoo\/{usr,var,tmp}<br \/>\n# mount \/dev\/sda3 \/mnt\/gentoo\/var<br \/>\n# mount \/dev\/sda5 \/mnt\/gentoo\/usr<br \/>\n# mount \/dev\/sda6 \/mnt\/gentoo\/tmp<\/code><\/p>\n<p><strong><em><span style=\"color: #ff6600;\">d) stage3 \u0438 \u0434\u0435\u0440\u0435\u0432\u043e \u043f\u043e\u0440\u0442\u0435\u0436\u0435\u0439<\/span><\/em><\/strong><\/p>\n<p>\u041a\u0430\u0447\u0430\u0435\u043c \u0438 \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 <strong>stage<\/strong><\/p>\n<p><code>#cd \/mnt\/gentoo\/tmp<br \/>\n#wget http:\/\/ftp.yandex.ru\/gentoo-distfiles\/releases\/x86\/current-stage3\/stage3-i486-20100216.tar.bz2<br \/>\n#tar -C \/mnt\/gentoo -pxjvf \/mnt\/gentoo\/tmp\/stage3-i486-20100216.tar.bz2<br \/>\n<\/code><br \/>\n\u0422\u043e\u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u0438 \u0434\u043b\u044f \u0434\u0435\u0440\u0435\u0432\u0430 \u043f\u043e\u0440\u0442\u0435\u0436\u0435\u0439:<\/p>\n<p><code>#cd \/mnt\/gentoo\/tmp<br \/>\n#wget http:\/\/ftp.yandex.ru\/gentoo-distfiles\/snapshots\/portage-latest.tar.bz2<br \/>\n#tar -C \/mnt\/gentoo\/usr -xjvf \/mnt\/gentoo\/tmp\/portage-latest.tar.bz2<br \/>\n<\/code><br \/>\n<strong><em><span style=\"color: #ff6600;\">e) \u0412\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f:<\/span><\/em><\/strong><\/p>\n<p>\u041c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 <strong>proc<\/strong><\/p>\n<p><code># mount -t proc none \/mnt\/gentoo\/proc<\/code><\/p>\n<p>\u043f\u0440\u0438\u0432\u044f\u0437\u043a\u0430 <strong>dev<\/strong><\/p>\n<p><code># mount -o bind \/dev \/mnt\/gentoo\/dev<\/code><\/p>\n<p>\u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u0432 \u043d\u043e\u0432\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443<\/p>\n<p><code># chroot \/mnt\/gentoo \/bin\/bash<\/code><\/p>\n<p>\u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f:<\/p>\n<p><code># env-update<br \/>\n# source \/etc\/profile<br \/>\n<\/code><br \/>\n\u041d\u0430\u0437\u043d\u0430\u0447\u0430\u0435\u043c \u043f\u0430\u0440\u043e\u043b\u044c <strong>root&#8217;\u0443<\/strong><\/p>\n<p><code># passwd root<\/code><\/p>\n<p>\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0447\u0430\u0441\u043e\u0432\u043e\u0439 \u043f\u043e\u044f\u0441<\/p>\n<p><code># cp \/usr\/share\/zoneinfo\/Europe\/Kiev \/etc\/localtime<\/code><\/p>\n<p>\u0412 \u0444\u0430\u0439\u043b\u0435 <strong>\/etc\/conf.d\/clock<\/strong> \u0440\u0430\u0441\u043a\u043e\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0435\u043c \u0441\u0442\u0440\u043e\u043a\u0443<\/p>\n<p>\u0441 <strong>TIMEZONE<\/strong> \u0438 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0435\u0439 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 <strong>&#8220;Europe\/Kiev&#8221;<\/strong><\/p>\n<p>\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0438\u043c\u044f \u043c\u0430\u0448\u0438\u043d\u044b<\/p>\n<p>\u0412 \u0444\u0430\u0439\u043b\u0435 <strong>\/etc\/conf.d\/hostname<\/strong> \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0435\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0443 <strong>HOSTNAME<\/strong><\/p>\n<p>\u0438\u043c\u044f \u0431\u0443\u0434\u0443\u0449\u0435\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b. \u0412 \u043c\u043e\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044d\u0442\u043e &#8220;<strong>gencomp<\/strong>&#8220;.<\/p>\n<p>\u041f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u043c \u0430\u043f\u0434\u0435\u0439\u0442 \u043f\u043e\u0440\u0442\u0435\u0436\u0435\u0439 (\u0445\u043e\u0442\u044f \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u043c\u044b \u0443\u0436\u0435 \u0438 \u0442\u0430\u043a \u0441\u043a\u0430\u0447\u0430\u043b\u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u0432\u0435\u0440\u0441\u0438\u044e, \u043f\u043e\u044d\u0442\u043e\u043c\u0443, \u044d\u0442\u043e\u0442 \u043f\u0443\u043d\u043a\u0442 \u043c\u043e\u0436\u043d\u043e \u0438 \u043d\u0435 \u0434\u0435\u043b\u0430\u0442\u044c)<\/p>\n<p><code>#emerge --sync<\/code><\/p>\n<p>\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c, \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u0443\u0435\u043c \u0438 \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u043c \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438 \u044f\u0434\u0440\u0430. \u0417\u0434\u0435\u0441\u044c \u043c\u043e\u0436\u043d\u043e  \u043f\u043e\u0439\u0442\u0438 2-\u043c\u044f \u043f\u0443\u0442\u044f\u043c\u0438: \u043b\u0438\u0431\u043e \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u0430\u043a\u0435\u0442 <strong>gentoo-sources<\/strong> \u043b\u0438\u0431\u043e \u0441\u043a\u0430\u0447\u0430\u0442\u044c  \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u0441 \u043e\u0444\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430. \u041a\u043e\u043c\u0443 \u043a\u0430\u043a\u043e\u0439 \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0440\u0430\u0432\u0438\u0442\u044c\u0441\u044f, \u044f  \u0436\u0435 \u043e\u043f\u0438\u0448\u0443 \u043e\u0431\u0430:<\/p>\n<p><strong><em><span style=\"color: #ff6600;\">\u043f\u0435\u0440\u0432\u044b\u0439:<\/span><\/em><\/strong><\/p>\n<p><code># emerge gentoo-sources<\/code><\/p>\n<p><strong><em><span style=\"color: #ff6600;\">\u0432\u0442\u043e\u0440\u043e\u0439:<\/span><\/em><\/strong><\/p>\n<p><code>#cd \/usr\/src\/linux<br \/>\n#wget http:\/\/www.kernel.org\/pub\/linux\/kernel\/v2.6\/linux-2.6.33.tar.bz2<br \/>\n#tar -xjf linux-2.6.33.tar.bz2<br \/>\n#ln -s linux-2.6.33 linux<br \/>\n<\/code><br \/>\n\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u0443\u0435\u043c\/\u0441\u043e\u0431\u0438\u0440\u0430\u0435\u043c \u044f\u0434\u0440\u043e \u0438 \u043c\u043e\u0434\u0443\u043b\u0438<\/p>\n<p><code># cd \/usr\/src\/linux<br \/>\n# make menuconfig<br \/>\n# make<br \/>\n<\/code><br \/>\n\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043c\u043e\u0434\u0443\u043b\u0438 \u0438 \u044f\u0434\u0440\u043e<\/p>\n<p><code># make modules_install<br \/>\n# cp arch\/i386\/boot\/bzImage \/boot\/<br \/>\n<\/code><br \/>\n\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a <strong>GRUB<\/strong> (\u043e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435! \u0447\u0442\u043e \u0437\u0434\u0435\u0441\u044c \u043d\u0443\u0436\u043d\u043e  \u043f\u0438\u0441\u0430\u0442\u044c \u043d\u0435 <strong>sda<\/strong>, \u0430 <strong>hda<\/strong>! \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0434\u0438\u0441\u043a \u0432\u0438\u0434\u0438\u0442\u044c\u0441\u044f \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u043a\u0430\u043a <strong>sda<\/strong>.)<\/p>\n<p><code># emerge grub<br \/>\n# grub<br \/>\ngrub&gt; root (hd0,1)<br \/>\ngrub&gt; setup (hd0)<br \/>\ngrub&gt; quit<br \/>\n<\/code><br \/>\n\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u0437\u0430\u0440\u0433\u0443\u0437\u0447\u0438\u043a (\u0444\u0430\u0439\u043b <strong>menu.lst<\/strong>)<\/p>\n<p>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0444\u0430\u0439\u043b <strong>\/boot\/grub\/menu.lst<\/strong> \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u044f<\/p>\n<p><code>timeout=5<br \/>\ntitle=Gentoo linux<br \/>\nroot(hd0,1)<br \/>\nkernel \/boot\/bzImage root=\/dev\/hda2<br \/>\n<\/code><br \/>\n<strong><span style=\"color: #ff0000;\">4) \u0417\u0430\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0441\u043b\u043e\u0432\u043e.<\/span><\/strong><\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u0441\u044f \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0440\u0430\u0431\u043e\u0447\u0443\u044e \u041e\u0421, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0434\u0430\u043b\u044c\u0448\u0435  \u043a\u0430\u0436\u0434\u044b\u0439 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442 \u043f\u043e\u0434 \u0441\u0432\u043e\u0438 \u043d\u0443\u0436\u043d\u044b. \u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u0441\u044f \u044d\u0442\u043e\u0442  \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432 \u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u0435\u0433\u043e \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440, \u043d\u043e \u0438 \u043d\u0430  \u0434\u043e\u043c\u0430\u0448\u043d\u0438\u0439 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440, \u0442\u043e \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432 <strong>Sabayon<\/strong> (\u043e\u0442  \u0438\u0442\u0430\u043b\u044c\u044f\u043d\u0441\u043a\u0438\u0445 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432), \u0438\u0431\u043e \u043d\u0430 &#8220;\u0433\u043e\u043b\u044b\u0439&#8221;<strong> gentoo<\/strong> \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0441\u043b\u043e\u0436\u043d\u043e  \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u043e\u0431\u043e\u043b\u043e\u0447\u043a\u0443. <strong>Sabayon<\/strong> \u0436\u0435, \u044d\u0442\u043e \u043f\u043e \u0441\u0443\u0442\u0438 <strong>gentoo+GUI<\/strong>.  \u0410\u0434\u0440\u0435\u0441 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430 <strong>http:\/\/sabayonlinux.org\/<\/strong>. \u041e\u0442\u0442\u0443\u0434\u0430 \u0436\u0435 \u043c\u043e\u0436\u043d\u043e  \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0441\u0430\u043c \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432.<\/p>\n<p><em><span style=\"color: #993366;\">\u041e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043e \u0441 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0436\u0443\u0440\u043d\u0430\u043b\u0430 root.ua<\/span><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1) \u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435. \u041d\u0435\u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043e\u0431 \u044d\u0442\u043e\u043c \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0435. \u042f \u0432\u043e\u043e\u0431\u0449\u0435 \u043f\u0440\u0438\u0432\u0435\u0440\u0436\u0435\u043d\u0435\u0446 &#8220;\u0444\u0440\u044f\u0445\u0438&#8221;, \u043d\u043e \u0438\u043d\u043e\u0433\u0434\u0430 \u0431\u044b\u0432\u0430\u044e\u0442 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438, \u043a\u043e\u0433\u0434\u0430 \u043c\u043e\u044f \u043b\u044e\u0431\u0438\u043c\u0430\u044f \u041e\u0421 \u043e\u0442\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0433\u043e \u0440\u043e\u0434\u0430 \u0441\u043e\u0444\u0442\u043e\u043c \u0438\u043b\u0438 \u0436\u0435\u043b\u0435\u0437\u043e\u043c. \u0412 \u044d\u0442\u0438 \u043c\u043e\u043c\u0435\u043d\u0442\u044b \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043e\u0431\u0440\u0430\u0449\u0430\u0442\u044c\u0441\u044f \u043a linux. \u0420\u0430\u043d\u044c\u0448\u0435 \u043c\u043d\u0435 \u0441\u0438\u043c\u043f\u043e\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043b Debian, \u043d\u043e \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u044f, \u0447\u0442\u043e \u0441\u043e\u0444\u0442 \u0443 \u043d\u0435\u0433\u043e \u0443\u0436\u0435 \u043f\u0440\u0435\u043a\u043e\u043c\u043f\u0438\u043b\u043b\u0438\u0440\u043e\u0432\u0430\u043d \u0438 \u043d\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 (\u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438 \u044f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-971","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/971","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=971"}],"version-history":[{"count":6,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/971\/revisions"}],"predecessor-version":[{"id":978,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/971\/revisions\/978"}],"wp:attachment":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=971"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=971"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=971"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}