/[d-i]/trunk/manual/en/post-install/orientation.xml
ViewVC logotype

Contents of /trunk/manual/en/post-install/orientation.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 64916 - (show annotations) (download) (as text)
Fri Oct 8 22:15:00 2010 UTC (2 years, 7 months ago) by holger-guest
File MIME type: text/xml
File size: 3291 byte(s)
Change many occurences of 'Debian' into &debian;.

This run is in the english version, other languages will follow.
1 <!-- retain these comments for translator revision tracking -->
2 <!-- $Id$ -->
3
4
5 <sect1 id="debian-orientation"><title>Orienting Yourself to &debian;</title>
6 <para>
7
8 &debian; is a little different from other distributions. Even if you're
9 familiar with Linux in other distributions, there are things you
10 should know about &debian; to help you to keep your system in a good,
11 clean state. This chapter contains material to help you get oriented;
12 it is not intended to be a tutorial for how to use &debian;, but just a
13 very brief glimpse of the system for the very rushed.
14
15 </para>
16
17 <sect2><title>&debian; Packaging System</title>
18 <para>
19
20 The most important concept to grasp is the &debian; packaging system.
21 In essence, large parts of your system should be considered under the
22 control of the packaging system. These include:
23
24 <itemizedlist>
25 <listitem><para>
26
27 <filename>/usr</filename> (excluding <filename>/usr/local</filename>)
28
29 </para></listitem>
30 <listitem><para>
31
32 <filename>/var</filename> (you could make
33 <filename>/var/local</filename> and be safe in there)
34
35 </para></listitem>
36 <listitem><para>
37
38 <filename>/bin</filename>
39
40 </para></listitem>
41 <listitem><para>
42
43 <filename>/sbin</filename>
44
45 </para></listitem>
46 <listitem><para>
47
48 <filename>/lib</filename>
49
50 </para></listitem>
51 </itemizedlist>
52
53 For instance, if you replace <filename>/usr/bin/perl</filename>, that
54 will work, but then if you upgrade your <classname>perl</classname>
55 package, the file you put there will be replaced. Experts can get
56 around this by putting packages on <quote>hold</quote> in
57 <command>aptitude</command>.
58
59 </para><para>
60
61 One of the best installation methods is apt. You can use the command
62 line version <command>apt-get</command> or full-screen text version
63 <application>aptitude</application>. Note apt will also let you merge
64 main, contrib, and non-free so you can have export-restricted packages
65 as well as standard versions.
66
67 </para>
68 </sect2>
69
70 <sect2><title>Application Version Management</title>
71 <para>
72
73
74 Alternative versions of applications are managed by update-alternatives. If
75 you are maintaining multiple versions of your applications, read the
76 update-alternatives man page.
77
78 </para>
79 </sect2>
80
81 <sect2><title>Cron Job Management</title>
82 <para>
83
84 Any jobs under the purview of the system administrator should be in
85 <filename>/etc</filename>, since they are configuration files. If you
86 have a root cron job for daily, weekly, or monthly runs, put them in
87 <filename>/etc/cron.{daily,weekly,monthly}</filename>. These are
88 invoked from <filename>/etc/crontab</filename>, and will run in
89 alphabetic order, which serializes them.
90
91 </para><para>
92
93 On the other hand, if you have a cron job that (a) needs to run as a
94 special user, or (b) needs to run at a special time or frequency, you
95 can use either <filename>/etc/crontab</filename>, or, better yet,
96 <filename>/etc/cron.d/whatever</filename>. These particular files
97 also have an extra field that allows you to stipulate the user account
98 under which the cron job runs.
99
100 </para><para>
101
102 In either case, you just edit the files and cron will notice them
103 automatically. There is no need to run a special command. For more
104 information see cron(8), crontab(5), and
105 <filename>/usr/share/doc/cron/README.Debian</filename>.
106
107 </para>
108 </sect2>
109 </sect1>

Properties

Name Value
svn:keywords Id

  ViewVC Help
Powered by ViewVC 1.1.5