~ubuntu-branches/ubuntu/vivid/installation-guide/vivid-proposed

« back to all changes in this revision

Viewing changes to fi/post-install/orientation.xml

  • Committer: Bazaar Package Importer
  • Author(s): Frans Pop
  • Date: 2005-10-25 17:37:25 UTC
  • Revision ID: james.westby@ubuntu.com-20051025173725-aq0bm11be7bfd7rw
Tags: 20051025
* Mention in copyright that full GPL is included in the manual.
  Closes: #334925
* Register installed documents with doc-base.
* Minor updates in English text and translations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!-- retain these comments for translator revision tracking -->
 
2
<!-- original version: 31137 untranslated -->
 
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 under
 
98
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>