|
11.
|
|
|
The most important concept to grasp is the Debian packaging system. In essence, large parts of your system should be considered under the control of the packaging system. These include: <itemizedlist> <listitem><para> <filename>/usr</filename> (excluding <filename>/usr/local</filename>) </para></listitem> <listitem><para> <filename>/var</filename> (you could make <filename>/var/local</filename> and be safe in there) </para></listitem> <listitem><para> <filename>/bin</filename> </para></listitem> <listitem><para> <filename>/sbin</filename> </para></listitem> <listitem><para> <filename>/lib</filename> </para></listitem> </itemizedlist> For instance, if you replace <filename>/usr/bin/perl</filename>, that will work, but then if you upgrade your <classname>perl</classname> package, the file you put there will be replaced. Experts can get around this by putting packages on <quote>hold</quote> in <command>aptitude</command>.
|
|
|
Tag: para
|
|
|
|
A legfontosabb, amit meg kell értenünk, a Debian csomagkezelő rendszer. A rendszer legnagyobb részét ez kezeli. Így például: <itemizedlist> <listitem><para> <filename>/usr</filename> (kivéve <filename>/usr/local</filename>) </para></listitem> <listitem><para> <filename>/var</filename> (készíthető egyéni <filename>/var/local</filename> és használható mentésre) </para></listitem> <listitem><para> <filename>/bin</filename> </para></listitem> <listitem><para> <filename>/sbin</filename> </para></listitem> <listitem><para> <filename>/lib</filename> </para></listitem> </itemizedlist> Például, ha lecseréled a <filename>/usr/bin/perl</filename> fájlt, működni fog, de ha frissül a rendszereden a <classname>perl</classname> csomag, az felülírja majd. Haladó felhasználóként viszont visszafogásba (<quote>hold</quote>) teheted a csomagot például az <command>aptitude</command> paranccsal indítható felület segítségével.
|
|
Translated by
SZERVÑC Attila
|
|
|
|
Located in
post-install.xml:89
|
|
12.
|
|
|
One of the best installation methods is apt. You can use the command line version <command>apt-get</command> or full-screen text version <application>aptitude</application>. Note apt will also let you merge main, contrib, and non-free so you can have export-restricted packages as well as standard versions.
|
|
|
Tag: para
|
|
|
|
A telepítés egyik legjobb módja az apt. Ennek több felülete létezik, például az <command>apt-get</command> parancssoros felület, vagy az <application>aptitude</application> teljes-képernyős szöveges felület. Az apt a fő, vagyis main tárolók mellett a contrib és non-free nevűeket is tudja kezelni, így, ha esetleg ezeket is használnád, korlátozó csomagjaid éppúgy lesznek, mint standard verziójúak.
|
|
Translated by
SZERVÑC Attila
|
|
|
|
Located in
post-install.xml:130
|
|
13.
|
|
|
Application Version Management
|
|
|
Tag: title
|
|
|
|
Alkalmazás verzió kezelés
|
|
Translated by
SZERVÑC Attila
|
|
|
|
Located in
post-install.xml:141
|
|
14.
|
|
|
Alternative versions of applications are managed by update-alternatives. If you are maintaining multiple versions of your applications, read the update-alternatives man page.
|
|
|
Tag: para
|
|
|
|
Az alkalmazások párhuzamos verzióit az update-alternatives kezeli. Ha egyes alkalmazásaid egyszerre több változatát is karbantartod, olvasd el az update-alternatives kézikönyv oldalát.
|
|
Translated by
SZERVÑC Attila
|
|
|
|
Located in
post-install.xml:142
|
|
15.
|
|
|
Cron Job Management
|
|
|
Tag: title
|
|
|
|
Cron feladatok kezelése
|
|
Translated by
SZERVÑC Attila
|
|
|
|
Located in
post-install.xml:152
|
|
16.
|
|
|
Any jobs under the purview of the system administrator should be in <filename>/etc</filename>, since they are configuration files. If you have a root cron job for daily, weekly, or monthly runs, put them in <filename>/etc/cron.{daily,weekly,monthly}</filename>. These are invoked from <filename>/etc/crontab</filename>, and will run in alphabetic order, which serializes them.
|
|
|
Tag: para
|
|
|
|
Minden a rendszergazda hatáskörébe tartozó cron feladatnak a <filename>/etc</filename> könyvtárban kell lennie, mivel ezek a cron szempontjából beállítófájlok. Ha van egy napi, heti vagy havi rendszergazdai cron feladatod, tedd a <filename>/etc/cron.{daily,weekly,monthly}</filename> könyvtárba. A <filename>/etc/crontab</filename> meghívja őket, és ABC-rendben futtatja.
|
|
Translated by
SZERVÑC Attila
|
|
|
|
Located in
post-install.xml:153
|
|
17.
|
|
|
On the other hand, if you have a cron job that (a) needs to run as a special user, or (b) needs to run at a special time or frequency, you can use either <filename>/etc/crontab</filename>, or, better yet, <filename>/etc/cron.d/whatever</filename>. These particular files also have an extra field that allows you to stipulate the user account under which the cron job runs.
|
|
|
Tag: para
|
|
|
|
Illetve, ha van egy cron feladatod, amit speciális (a) felhasználóként (b) időpontban vagy gyakorisággal kell futtatnod, használd a <filename>/etc/crontab</filename> vagy, még jobb, a <filename>/etc/cron.d/amit_akarsz</filename> fájlt. E fájloknak extra mezőik vannak, melyekkel megadhatod e feltételeket.
|
|
Translated by
SZERVÑC Attila
|
|
|
|
Located in
post-install.xml:162
|
|
18.
|
|
|
In either case, you just edit the files and cron will notice them automatically. There is no need to run a special command. For more information see cron(8), crontab(5), and <filename>/usr/share/doc/cron/README.Debian</filename>.
|
|
|
Tag: para
|
|
|
|
Csak szerkeszd e fájlokat és a cron magától észreveszi. Nem kell különleges parancsot futtatnod. A további adatokat lásd a cron(8) és crontab(5) lapokon és a <filename>/usr/share/doc/cron/README.Debian</filename> fájlban.
|
|
Translated by
SZERVÑC Attila
|
|
|
|
Located in
post-install.xml:171
|
|
19.
|
|
|
Further Reading and Information
|
|
|
Tag: title
|
|
|
|
További olvasnivalók és információk
|
|
Translated by
SZERVÑC Attila
|
|
|
|
Located in
post-install.xml:186
|
|
20.
|
|
|
If you need information about a particular program, you should first try <userinput>man <replaceable>program</replaceable></userinput>, or <userinput>info <replaceable>program</replaceable></userinput>.
|
|
|
Tag: para
|
|
|
|
Ha tájékozódni akarsz egy programról, először majdnem mindig érdemes kipróbálni az <userinput>info <replaceable>a_program_neve</replaceable></userinput> vagy a <userinput>man <replaceable>a_program_neve</replaceable></userinput> parancsot.
|
|
Translated by
SZERVÑC Attila
|
|
|
|
Located in
post-install.xml:187
|