doc-el commit 933:5faf8c62350c - MFen: 1.450 -> 1.451 mirrors ch...
freebsd-doc-el at lists.hellug.gr
freebsd-doc-el at lists.hellug.gr
Fri Oct 24 01:23:31 EEST 2008
changeset: 933:5faf8c62350c
user: Manolis Kiagias <sonicy at otenet.gr>
date: 2008-10-20 16:01 +0300
details: http://hg.hellug.gr/freebsd/doc-el/?cmd=changeset;node=5faf8c62350c
description:
MFen: 1.450 -> 1.451 mirrors chapter
diffs (195 lines):
diff -r 604ab91f58d6 -r 5faf8c62350c el_GR.ISO8859-7/books/handbook/mirrors/chapter.sgml
--- a/el_GR.ISO8859-7/books/handbook/mirrors/chapter.sgml Mon Oct 20 15:56:46 2008 +0300
+++ b/el_GR.ISO8859-7/books/handbook/mirrors/chapter.sgml Mon Oct 20 16:01:48 2008 +0300
@@ -2435,191 +2435,6 @@
&chap.mirrors.cvsup.inc;
</sect2>
</sect1>
-
- <sect1 id="portsnap">
- <title>×ñçóéìïðïéþíôáò ôï Portsnap</title>
-
- <sect2 id="portsnap-intro">
- <title>ÅéóáãùãÞ</title>
-
- <para>Ôï <application>Portsnap</application> åßíáé Ýíá óýóôçìá ãéá ôçí
- áóöáëÞ äéáíïìÞ ôïõ äÝíôñïõ ôùí ports ôïõ &os;. ÊÜèå ìéá þñá ðåñßðïõ,
- äçìéïõñãåßôáé Ýíá öùôïãñáöéêü áíôßãñáöï, <quote>snapshot</quote>
- ïëüêëçñïõ ôïõ äÝíôñïõ ôùí ports, ôï ïðïßï êáé õðïãñÜöåôáé
- êñõðôïãñáöéêÜ. Ôá áñ÷åßá ðïõ ðñïêýðôïõí, äéáíÝìïíôáé ìÝóù HTTP.
- </para>
-
- <para>¼ðùò êáé ôï <application>CVSup</application> ôï,
- <application>Portsnap</application> ÷ñçóéìïðïéåß ôï ìïíôÝëï áíáíÝùóçò
- <emphasis>pull</emphasis>: Ôá äÝíôñá ôùí ports, áöïý ðáêåôáñéóôïýí êáé
- õðïãñáöïýí, äéáôßèåíôáé óå Ýíá web server ï ïðïßïò ðáèçôéêÜ ðåñéìÝíåé
- ôá ìç÷áíÞìáôá-ðåëÜôåò ðïõ èá æçôÞóïõí áñ÷åßá. Ïé ÷ñÞóôåò ðñÝðåé íá
- åêôåëÝóïõí ôï &man.portsnap.8; ãéá íá êáôåâÜóïõí ôéò áíáíåþóåéò, åßôå
- ÷åéñïêßíçôá, åßôå ìÝóù ôïõ &man.cron.8; þóôå ç äéáäéêáóßá íá ãßíåôáé
- áõôüìáôá óå ôáêôÜ äéáóôÞìáôá.</para>
-
- <para>Ãéá ôå÷íéêïýò ëüãïõò, ôï <application>Portsnap</application>
- äåí áíáíåþíåé áðåõèåßáò ôï <quote>åí ÷ñÞóåé</quote> äÝíôñï ôùí ports
- óôï <filename>/usr/ports/</filename>. Áíôß ãéá áõôü, åñãÜæåôáé óå Ýíá
- óõìðéåóìÝíï áíôßãñáöï ôïõ äÝíôñïõ, ôï ïðïßï áðïèçêåýåôáé áðü
- ðñïåðéëïãÞ óôï <filename>/var/db/portsnap/</filename>. Ôï óõìðéåóìÝíï
- áõôü áíôßãñáöï ÷ñçóéìïðïéåßôáé ãéá ôçí ìåôÝðåéôá áíáíÝùóç ôïõ
- êáíïíéêïý äÝíôñïõ ôùí ports.</para>
-
- <note>
- <para>Áí åãêáôáóôÞóåôå ôïí <application>Portsnap</application> áðü
- ôçí óõëëïãÞ ôùí Ports ôïõ &os;, ç ðñïåðéëåãìÝíç èÝóç ãéá ôï
- óõìðéåóìÝíï snapshot èá åßíáé
- <filename>/usr/local/portsnap/</filename> áíôß ãéá
- <filename>/var/db/portsnap/</filename>.</para>
- </note>
- </sect2>
-
- <sect2 id="portsnap-install">
- <title>ÅãêáôÜóôáóç</title>
-
- <para>Áðü ôï &os; 6.0 êáé ìåôÜ, ôï
- <application>Portsnap</application> ðåñéÝ÷åôáé óôï âáóéêü óýóôçìá ôïõ
- &os;. Óå ðáëéüôåñåò åêäüóåéò ôïõ &os; ìðïñåß íá åãêáôáóôáèåß ìÝóù ôïõ
- port <filename role="package">ports-mgmt/portsnap</filename>.</para>
- </sect2>
-
- <sect2 id="portsnap-config">
- <title>Ñýèìéóç ôïõ Portsnap</title>
-
- <para>Ç ëåéôïõñãßá ôïõ <application>Portsnap</application> åëÝã÷åôáé áðü
- ôï áñ÷åßï ñõèìßóåùí <filename>/etc/portsnap.conf</filename>. Ãéá ôïõò
- ðåñéóóüôåñïõò ÷ñÞóôåò, ïé ðñïåðéëåãìÝíåò ñõèìßóåéò åßíáé óùóôÝò. Ãéá
- ðåñéóóüôåñåò ðëçñïöïñßåò, äåßôå ôç óåëßäá manual
- &man.portsnap.conf.5;.</para>
-
- <note>
- <para>Áí åãêáôáóôÞóåôå ôï <application>Portsnap</application> áðü ôçí
- óõëëïãÞ ôùí Ports, èá ÷ñçóéìïðïéåß ôï áñ÷åßï ñõèìßóåùí
- <filename>/usr/local/etc/portsnap.conf</filename> áíôß ãéá ôï
- <filename>/etc/portsnap.conf</filename>. Áõôü ôï áñ÷åßï ñõèìßóåùí
- äåí äçìéïõñãåßôáé êáôÜ ôçí åãêáôÜóôáóç ôïõ Port, äçìéïõñãåßôáé üìùò
- Ýíá õðüäåéãìá ôïõ áñ÷åßïõ ñõèìßóåùí. Ãéá íá ôï âÜëåôå óôç óùóôÞ èÝóç
- åêôåëÝóôå ôçí áêüëïõèç åíôïëÞ:</para>
-
- <screen>&prompt.root; <userinput>cd /usr/local/etc && cp portsnap.conf.sample portsnap.conf</userinput></screen>
- </note>
- </sect2>
-
- <sect2>
- <title>Åêôåëþíôáò ôï <application>Portsnap</application> ãéá Ðñþôç
- ÖïñÜ</title>
-
- <para>Ôçí ðñþôç öïñÜ ðïõ èá åêôåëÝóåôå ôï &man.portsnap.8;, èá ÷ñåéáóôåß
- íá êáôåâÜóåé Ýíá óõìðéåóìÝíï snapshot ïëüêëçñïõ ôïõ äÝíôñïõ ôùí ports
- óôï <filename>/var/db/portsnap/</filename> (Þ óôï
- <filename>/usr/local/portsnap/</filename> áí ôï
- <application>Portsnap</application> åãêáôáóôÜèçêå áðü ôçí óõëëïãÞ ôùí
- Ports). Óôéò áñ÷Ýò ôïõ 2006, ôï snapshot åß÷å ìÝãåèïò ðåñßðïõ
- 41 MB.</para>
-
- <screen>&prompt.root; <userinput>portsnap fetch</userinput></screen>
-
- <para>ÌåôÜ ôï êáôÝâáóìá ôïõ óõìðéåóìÝíïõ snapshot, åßíáé ðëÝïí äõíáôÞ
- ç åîáãùãÞ ôïõ <quote>ðñáãìáôéêïý (live)</quote> áíôéãñÜöïõ ôïõ äÝíôñïõ
- ôùí ports óôïí êáôÜëïãï <filename>/usr/ports/</filename>. Áõôü åßíáé
- áðáñáßôçôï, áêüìá êáé áí Ý÷åôå Þäç äçìéïõñãÞóåé äÝíôñï ports óôïí
- êáôÜëïãï áõôü (ð.÷. ìå ÷ñÞóç ôçò <application>CVSup</application>),
- êáèþò ìå áõôü ôïí ôñüðï, ôï <command>portsnap</command> äçìéïõñãåß ìéá
- âáóéêÞ áíáöïñÜ áðü ôçí ïðïßá êÜèå öïñÜ áíáêáëýðôåé ðïéá ôìÞìáôá ôïõ
- äÝíôñïõ ôùí ports ðñÝðåé íá áíáíåùèïýí áñãüôåñá.</para>
-
- <screen>&prompt.root; <userinput>portsnap extract</userinput></screen>
-
- <note>
- <para>ÊáôÜ ôçí ðñïåðéëåãìÝíç åãêáôÜóôáóç, äåí äçìéïõñãåßôáé ï
- êáôÜëïãïò <filename role="directory">/usr/ports</filename>. Áí
- ÷ñçóéìïðïéåßôå ôï &os; 6.0-RELEASE, èá ðñÝðåé íá ôïí
- äçìéïõñãÞóåôå ðñéí åêôåëÝóåôå ôçí <command>portsnap</command>.
- Óå ðéï ðñüóöáôåò åêäüóåéò ôïõ &os; Þ ôïõ
- <application>Portsnap</application>, ç åñãáóßá áõôÞ èá ãßíåé
- áõôüìáôá ôçí ðñþôç öïñÜ ðïõ èá ÷ñçóéìïðïéÞóåôå ôçí åíôïëÞ
- <command>portsnap</command>.<para>
- </note>
- </sect2>
-
- <sect2>
- <title>ÁíáíÝùóç ôïõ ÄÝíôñïõ ôùí Ports</title>
-
- <para>ÌåôÜ ôï áñ÷éêü êáôÝâáóìá êáé åîáãùãÞ åíüò äÝíôñïõ ports óôïí
- êáôÜëïãï <filename>/usr/ports/</filename>, ç áíáíÝùóç ôùí ports
- áðïôåëåßôáé âáóéêÜ áðü äýï âÞìáôá:
- Íá ãßíïõí <emphasis>fetch</emphasis> ïé áíáíåþóåéò óôï óõìðéåóìÝíï
- snapshot, êáé íá ÷ñçóéìïðïéçèïýí ãéá ôçí
- <emphasis>áíáíÝùóç (update)</emphasis> óôï ðñáãìáôéêü äÝíôñï ôùí
- ports. Ôá äýï áõôÜ âÞìáôá, ìðïñïýí íá äïèïýí óôçí
- <command>portsnap</command> ùò ìéá ìüíï åíôïëÞ:</para>
-
- <screen>&prompt.root; <userinput>portsnap fetch update</userinput></screen>
-
- <note>
- <para>ÌåñéêÝò ðáëéüôåñåò åêäüóåéò ôçò <command>portsnap</command>
- äåí õðïóôçñßæïõí áõôÞ ôç óýíôáîç. Áí ôï ðáñáðÜíù áðïôý÷åé,
- äïêéìÜóôå áíôß ãéá áõôü ôï ðáñáêÜôù:</para>
-
- <screen>&prompt.root; <userinput>portsnap fetch</userinput>
-&prompt.root; <userinput>portsnap update</userinput></screen>
- </note>
- </sect2>
-
- <sect2>
- <title>Åêôåëþíôáò ôï Portsnap áðü ôï cron</title>
-
- <para>Ãéá íá áðïöåõ÷èïýí <quote>ðñïâëÞìáôá óõíùóôéóìïý</quote> êáôÜ ôçí
- ðñüóâáóç óôïõò åîõðçñåôçôÝò <application>Portsnap</application>, ç
- <command>portsnap fetch</command> äåí åêôåëåßôáé ìÝóù åñãáóßáò ôïõ
- &man.cron.8;. Áíôß ãéá áõôü, õðÜñ÷åé ç åéäéêÞ åíôïëÞ
- <command>portsnap cron</command>, ç ïðïßá ðåñéìÝíåé Ýíá ôõ÷áßï
- äéÜóôçìá ùò êáé 3600 äåõôåñüëåðôá ðñéí êáôåâÜóåé ôéò áíáíåþóåéò.
- </para>
-
- <para>Åðéðñüóèåôá, óáò óõíéóôïýìå íá ìçí åêôåëåßôå ôçí åíôïëÞ
- <command>portsnap update</command> ìÝóù åñãáóßáò ôïõ
- <command>cron</command>, êáèþò ìðïñåß íá ðñïêáëÝóåôå óçìáíôéêÜ
- ðñïâëÞìáôá áí ôý÷åé íá åêôåëåóôåß ôçí ßäéá þñá ðïõ ãßíåôáé
- ìåôáãëþôôéóç Þ åãêáôÜóôáóç êÜðïéïõ port. Åßíáé ùóôüóï áóöáëÝò íá
- áíáíåþóåôå ôá áñ÷åßá <filename>INDEX</filename> ôùí ports êáé áõôü
- ìðïñåß íá ãßíåé ðåñíþíôáò ôçí åðéëïãÞ <option>-I</option> óôï
- <command>portsnap</command>. (Ðñïöáíþò áí åêôåëÝóåôå ôï
- <command>portsnap -I update</command> ìÝóù ôïõ
- <command>cron</command>, èá åßíáé áðáñáßôçôï íá åêôåëÝóåôå áñãüôåñá ôï
- <command>portsnap update</command> ÷ùñßò ôçí åðéëïãÞ
- <option>-I</option> ãéá íá áíáíåùèåß ôï õðüëïéðï ôìÞìá ôïõ äÝíôñïõ.)
- </para>
-
- <para>ÐñïóèÝôïíôáò ôçí áêüëïõèç ãñáììÞ óôï
- <filename>/etc/crontab</filename>, ôï <command>portsnap</command> èá
- áíáíåþóåé ôï óõìðéåóìÝíï snapshot êáé ôá áñ÷åßá
- <filename>INDEX</filename> óôïí êáôÜëïãï
- <filename>/usr/ports/</filename>, êáé èá óáò óôåßëåé email áí êÜðïéá
- åãêáôáóôçìÝíá ports ÷ñåéÜæïíôáé áíáíÝùóç:</para>
-
- <programlisting>0 3 * * * root portsnap -I cron update && pkg_version -vIL=</programlisting>
-
- <note>
- <para>Áí ôï ñïëüé ôïõ óõóôÞìáôïò äåí åßíáé ñõèìéóìÝíï óôçí ôïðéêÞ æþíç
- þñáò, óáò ðáñáêáëïýìå íá áíôéêáôáóôÞóåôå ôï <literal>3</literal> ìå
- ìéá ôõ÷áßá ôéìÞ ìåôáîý 0 êáé 23, þóôå íá ãßíåôáé ðéï ïìïéüìïñöç
- êáôáíïìÞ ôïõ öïñôßïõ óôïõò åîõðçñåôçôÝò ôïõ
- <application>Portsnap</application>.</para>
- </note>
- <note>
- <para>ÊÜðïéåò ðáëéüôåñåò åêäüóåéò ôïõ <command>portsnap</command>
- äåí õðïóôçñßæïõí ðïëëáðëÝò åíôïëÝò
- (ð.÷., <literal>cron update</literal>) óôçí ßäéá ãñáììÞ åíôïëÞò
- ôïõ <command>portsnap</command>. Áí ç ðáñáðÜíù ãñáììÞ áðïôý÷åé,
- äïêéìÜóôå íá áíôéêáôáóôÞóåôå ôçí
- <command>portsnap -I cron update</command> ìå
- <command>portsnap cron && portsnap -I update</command>.
- </para>
- </note>
- </sect2>
- </sect1>
<sect1 id="cvs-tags">
<title>ÅôéêÝôåò (Tags) ãéá ôï CVS</title>
More information about the Freebsd-doc-el
mailing list