Вы находитесь на странице: 1из 2

apt-le update

apt-le search
file-name
apt-le list
package-name

auto-apt

aptitude
synaptic

dpkg -l [names]
dpkg -I pkg.deb
dpkg -c pkg.deb
dpkg -S filename
dpkg -i pkg.deb
debsums
dpkg-divert
[options] file
dpkg
--compare-versions
v1 gt v2
dpkg-query -W --showformat=format
dpkg
--get-selections >
file
dpkg
--set-selections <
file

APT


, . apt-get
update.
,
.

.

,
,
apt-le,
auto-apt.

APT, aptitude.

APT, synaptic.

Dpkg

.

.

.
,
.
.


,
debsums.

.
,
echo
$?.

,
., '${Package}
${Version}
${Installed-Size}\n'.

.

.

/etc/network/
interfaces
ifup, ifdown
[device]

/sbin/ip

ssh -X user@host
scp files
user@host:path

.
,
.



,
iproute.
.

(
).

- (Apache2)
/etc/apache2/
.

/etc/apache2/
.
sites-available/
,
a2ensite.

/etc/apache2/
.
mods-available/
,
a2enmod.

DebianGNU/Linux
5.0.1 2008-08-01
http://www.debian.org/

.
man page or man

bash

.
command [--help,

-h]
.
.
/usr/share/doc/

package-name/
README.Debian
Debian-.
,
Web
, ,
documentation
HOWTO .
http://www.debian.org/doc/
Mailing lists at

http://lists.debi, .
an.org/
The Wiki at http:
//wiki.debian.org/
.

Installer
CD images
boot: expert

GPL 3 .

http://xinocat.com/refcard/, .
Copyright 2004, 2008 W. Martin Borgert
Copyright 2004, 2008 Ilya V. Golovko (Russian)
: http://xinocat.com/refcard/

.
http://www.debian.org/devel/debian-installer/
. http://www.debian.org/distrib/

DHCP LILO
GRUB.


Bug Tracking at

http://bugs.debia .
n.org/
http://bugs.debian.org/-/, wnpp
Package specic

.

reportbug
.



Reporting
http://www.debian.org/Bugs/Reporting


/etc/

/etc/.

.
editor files
nano,
emacs, vi, joe.
CUPS at http://h-
ostname:631
.
,
. console-common
dpkg-recongure
(), locales
package-name
().
update
alternatives
.
options

update-grub

/boot/grub/menu.lst.
make-kpkg

--initrd - ,
-revision=2:my.1.0

--rootcmd
,
fakeroot --uc --us
kernel-package.
kernel_image


m-a a-i module
(gspca, ...),
kernel_image

module-assistant.


/etc/init.d/file

restart
.
/etc/init.d/file

stop
.
/etc/init.d/file

start
.
,
halt, reboot,

powero
.

/var/log/
.



/etc/default/
.

cat files
.
cd directory
.

cp files dest
.

echo string
.
gzip, bzip2 [-d]
, .
files

pager files
.
ls [files]
.
mkdir
.
directory-names
,
mv file1 file2
.
rm files
.
rmdir dirs
.
c - , x - ,
t -
tar [c][x][t][z][j] -f

file.tar [files]
, z, j .gz,
.bz2.
c -name
nd directories
-size +1000
expressions
..
grep search-string

files
.

(.,
kill [-9] number
).

ln -s file link
.
ps [options]
.

su - [username]
, ., root.

root,

sudo command
,
/etc/sudoers.

command > file

.

command >> file
.


cmd1 | cmd2
1
2.

command < file
.

apt-get update

apt-cache search
search-string
apt-cache policy
package-names
apt-cache show
package-names
apt-cache
showpkg
package-names
apt-get install
package-names
apt-get upgrade

apt-get
dist-upgrade
apt-get remove
package-names
apt-get
autoremove
apt-cache depends
package-names
apt-cache
rdepends
package-names

APT

,

/etc/apt/sources.list.



.

-.


.

.

.


.


.
apt-get upgrade,


.

.
,

.
,

.
,

.