Открыть Электронные книги
Категории
Открыть Аудиокниги
Категории
Открыть Журналы
Категории
Открыть Документы
Категории
25.10.2002.
( ), Linux.
c <http://www.sensi.org/~ak/linuxfaq/>
2 Linux
10
22
30
6 X Window
35
39
1
H *
1.1 FAQ?
, FAQ copy-and-paste. (Alex
Kanavin)
1.2 ?
FAQ - ak@sensi.org
1.3 FAQ?
: FAQ.
SSL (openssl). VPN. Kerberos.
,
, -
.
, "" .
1.4
FAQ?
1.
1.5
Fidonet FAQ
?
1.6
FAQ, .
RU.LINUX ( ).
(c) - , FidoNet 2:5030/532.
(s) - , mbravo@kronverk.spb.su, 1999
(s) - A , ak@sensi.org
FAQ ftp/www/etc . , .
. ( :-)
1.7
, ?
- ( , ), faqs ( /usr/doc/faq),
HOWTOs .. <http://groups.google.com/>. ,
- , ,
.
, ,
. , ,
- , , , ( , ),
.
, ru.linux, , ru.unix
- , Unix- ru.gnu - , GNU. ru.unix.prog - Unix,
ru.unix.multimedia - ru.unix.ftn - Unix. ru.linux.chainik, ,
ru.linux ru.unix.
ru.unix.linux, ,
ru.linux,
.
2. Linux
1.8
* ,
?
:
How To Ask Questions The Smart Way <http://www.tuxedo.org/~esr/faqs/smart-questions.
html>
:
<http://ln.com.ua/~openxs/articles/
smart-questions-ru.html>
How to Report Bugs Effectively <http://www.chiark.greenend.org.uk/~sgtatham/bugs.html>
2 Linux
2.1 Linux...
: ?
, :
Linux-
Windows. , , "
Word" " Excel".
. ,
. ,
( ). .
2.2
Linux, ?
<http://www.lug.ru> Linux . , .
- . LUG ( ), , - .
LUG , " -
(CD-R) ?" Fido,
Unix/Linux (: SPB.LINUX, SPB.FILES).
: , c , , ,
.
2.3
, ?
2. Linux
- ,
" / ". H
. (- -
walnut creek, cheapbytes infomagic . , , ,
. , "".)
,
. ,
, ftp (
) - GPL. , cd-r
, (,
).
, , ,
, , ,
.
2.4
(, - ) ?
2.5 XXX/url ?
, ,
, ?
<http://www.freshmeat.net>. .
<http://www.opennet.ru>
( <http://www.opennet.ru/lastsoft/> - , <http://www.opennet.ru/
news/> - "")
2. Linux
2.6
<-> :,:#! ?
c , update , . ,
.
. Red Hat , <http://bugzilla.redhat.com/
bugzilla/>
, ( ,
) ,
- . , , ,
, -.
2.7
, p p? ( ,
)
2. Linux
2.8
2.9
, ! !
?! (: ...! !)
Linux - , . ,
, ,
, ,
CD ,
- - ( , ,
" - ,
). , ,
- , . ,
-, -, , , ,
- , , , .
, ,
freq, U*, , - .
, c ,
.
2.10
, ... ?
FAQ.
CD-R:
: (2:5030/902, idv@aanet.ru). H freq FILES
. .
BBS :
: Quasi-BBS 702-52-49 23:00-08:00
Ultrix BBS, 00:00-07:00, 462-8291, Sysop - Arthur Komarov (5020/943.17) (TNSDrive 2.0b1)
unitrecordHQ, 0:00-7:30, 162-9286, , sysop - tim kondratyev (2:5020/1989.1)
:
2:5030/763 TMA BBS, (-).
- 2:461/220
Spezvuz BBS CM 057-7123313 Alexander Grinevich (2:461/1024)
2:463/57 ( -)
-: ISP BBS CM 3272-638796 Alexander Uskov (2:5083/21) (TNSDrive 2.0b4)
2.11
info gcc,libc,gdb
/usr/doc/LDP/lpg LDP, . ( <http://www.linuxdoc.org>)
Cc curses : <http:
//www.linuxprogramming.com/>
2. Linux
Unix
ru.unix.prog,
2.12
H {p / normal
/ - / 8Gb } ?
2.13
, - . (: 150 - , )
NT//OS/8, etc.
2.14
: , win95/98 dos,
, , . ,
( - ) MBR,
Linux.
: ? NT
Loader, HOWTO/mini/Linux+NT-loader. LILO,
:
2. Linux
2.15
2. Linux
90 p - "pp". DN ().
p - . , XEmacs p "", vim - 8) p , . p p. ""
, ,
.
""
, , bg/fg, screen , , X-Window.
, " ", vi.
, , vi - __, "" DN -
, , .
.
2.16
2.17
* , Linux...
2.18
: ... ?
Victor Wagner, , . , . .
2.19
...
RU.LINUX.CHAINIK. , .
3.
10
3
Alexander Voropay <mailto:alec@sensi.org>.
3.1 ...
:
(libc) locale
X Window -
-.
Cyrillc-HOWTO
<http://www.ibiblio.org/pub/Linux/docs/HOWTO/
unmaintained/Cyrillic-HOWTO>, , (Last version : v4.0, 23 January 1998), :
<http://www.inp.nsk.su/~baldin/Cyrillic-HOWTO-russian-old/Cyrillic-HOWTO.html>.
Cyrillic-HOWTO (
HOWTO). : <http://www.inp.nsk.
su/~baldin>
- Cyrillic-HOWTO ().
3.2
Linux :
kbd consoletools.
<ftp://ftp.win.tue.nl/pub/linux/utils/kbd/> <ftp://ftp.kernel.org/pub/linux/
utils/kbd/>
<http://lct.sourceforge.net>
, . , Red Hat 4. 5.x
kbd. Red Hat 6.x
- consoletools.
Keyboard-and-Console-HOWTO, HOWTO kbd, , kbd. ;-) <http://linuxdoc.org/
HOWTO/Keyboard-and-Console-HOWTO.html>
" " (
kbd):
$
$
$
$
setfont Cyr_a8x16
mapscrn koi2alt
echo -ne "\033(K"
loadkeys ru1
console-tools:
$ consolechars -f UniCyr_8x16 -m koi8-r
$ echo -ne "\033(K"
$ loadkeys ru1
3.
11
3.4
* locale ? LANG, .
- locale <http://www.sensi.org/~alec/locale>. , (,
..)
X-Window Xlib Xt (XLC_LOCALE) "" locale. :
{X11Root}/doc/i18n ( RedHat: /usr/share/Xfree86-doc/i18n). .PS <http://www.
tsu.ru/~pascal/x_locale/>.
, LANG=ru_RU
LANG=ru, __ : LANG=ru_RU.KOI8-R .
LANG=ru_SU, :-)
3.
12
3.5
,
?
:
LANGUAGE=en_US
LC_MESSAGES=en_US
RedHat /etc/sysconfig/i18n .
3.6
locale , bash
, .
LANG=ru_RU.KOI8-R
, , readline (
bash), 128 META- (
).
readline ,
INPUTRC=/etc/inputrc
, /etc/inputrc
set meta-flag on
set convert-meta off
set output-meta on
readline ( bash) .
: INPUTRC=, /.inputrc ( home). .
. man readline.
13
3.
3.7
Red Hat
C /etc/sysconfig/i18n. - :
SYSFONT=UniCyr_8x16
SYSFONTACM=koi8-r
LANG=ru_RU.KOI8-R
/etc/sysconfig/keyboard, :
kbdconfig
KEYTABLE=ru1
/etc/rc.d/rc.sysinit, /sbin/setsysfont. ,
/usr/doc/initscripts-x.xx/, .
3.8
Debian
3.9
KOI8-R XFree86 ?
. ( X
) :
$ xlsfonts -fn "*-koi8-r"
- :-)
XFree86 3.3.2 cronyx-* XFree.
. Red Hat XFree86-cyrillic-fontsXXXX.rpm . /usr/X11R6/lib/X11/fonts/cyrillic .
X Window. , /etc/X11/XF86Config
:
Section "Files"
...
FontPath
"/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath
"/usr/X11R6/lib/X11/fonts/75dpi"
...
EndSection
14
3.
cyrillic . X :
xlsfonts -fn "*-koi8-r".
. " ?"
TrueType , X Window.
-. -,
, - -
TrueType. Red Hat - xfsft XFree86-xfs.
<http://www.dcs.ed.ac.uk/home/jec/programs/xfsft/>
3.10 , X Window ?
X :
XKB, X11R6
xmodmap, X11R5
X 3.3.x XKB /etc/X11/XF86Config :
Section "Keyboard"
...
XkbRules "xfree86"
XkbModel "pc101"
XkbLayout "ru"
XkbOptions "grp:shift_toggle"
EndSection
X 4.0.x
Section "InputDevice"
...
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc101"
Option "XkbLayout" "ru"
Option "XkbOptions" "grp:shift_toggle"
EndSection
Model "pc101", "pc104" "pc105",
:
grp:toggle
grp:caps_toggle
grp:shift_toggle
grp:ctrl_shift_toggle
grp:ctrl_alt_toggle
Alt ( "")
Caps_Lock
Shift
Control+Shift
Control+Alt
4.0.x :
grp:alt_shift_toggle
grp:menu_toggle
Alt+Shift
Menu ( pc104, pc105)
XKB, <http://www.tsu.ru/~pascal/other/xkb/>
" ", xxkb, ,
,
.
xmodmap : xruskb
Alexander V. Lukaynov <mailto:lav@yars.free.net>
15
3.
3.11
c , ?
vfat (c /etc/fstab/):
/dev/hda5 /mnt/d vfat noexec,rw,umask=002,codepage=866,iocharset=koi8-r,gid=100 0 0
mount /mnt/d. (>=2.0.36)
(, /lib/modules/uname -r/fs/nls_*) - CP866 KOI8-R,
( ) .
CD, :
$ mount -t iso9660 -o iocharset=koi8-r
/dev/cdrom
/mnt/cdrom
3.12
* Samba?
/etc/smb.conf
[global]
character set = koi8-r
client code page = 866
preserve case = yes
short preserve case = yes
default case = lower
mangle case = no
smb (
>=2.2.20 )
CONFIG_NLS_DEFAULT="koi8-r"
CONFIG_SMB_NLS_DEFAULT=y
CONFIG_SMB_NLS_REMOTE="cp866"
CONFIG_SMB_NLS=y
CONFIG_NLS=y
3.13
DOS/Win KOI8-R ?
16
3.
3.14
<ftp:
file.txt
* Vim ?
:e ++enc=cp1251 winfile.txt
, , , , .
3.15
* UTF-8 VIM ?
--enable-multibyte
, KOI8-R, VIM :
:set encoding=utf-8
:set fileencoding=utf-8
:set termencoding=koi8-r
RedHat VIM .
vim-common-6.1-2
vim-minimal-6.1-2
vim-enhanced-6.1-2
vi, vim-minimal Multibyte, vim vim-enhanced .
vim.
3.16
Vim , ?
/.vimrc:
set langmap=q,w,e,r,t,y,u,i,o ..
3.17
Golded/LNX 866 ?
-, GoldEd+ c <http://golded-plus.sourceforge.net>.
, ( , aftnged <http://collage.etel.ru/fileechos/ftn/>
golded.cfg, :
AREAPATH /mnt/c/fido/fecho/
AREAFILE FastEcho
XLATPATH /home/ak/.golded/chars
XLATLOCALSET KOI8
XLATIMPORT IBMPC
XLATEXPORT IBMPC
XLATCHARSET KOI8 IBMPC koi_866.chs
XLATCHARSET IBMPC KOI8 866_koi.chs
IGNORECHARSET
17
3.
3.18
mc p ?
3.19
--enable-charset
....
less
Yuriy.Kaminskiy@p21.f517.n5020.z2.fidonet.org :
LESSCHARSET _H H_. , /.lesskey
#env
LESSCHARSET=
LESSCHARSET= ( , man :) [
lesskey /.less]
setlocale(LC_CTYPE,) , , icase search .
3.20
telnet
, /.telnetrc :
DEFAULT set outbinary
Win-1251
""0xff. TELNET 0xff . "", : 0xff, 0xff. KOI8-R
.
3.21
, "" ?
- , ESC-. :
:
$ echo -ne "\033c"
, :
# echo -ne "\033c" >/dev/ttyX
downloaded font
$ echo -ne "\033(K"
(, , ...)
- , curses,
$ stty sane
Red Hat reset; setsysfont <ctrl-j>
reset - ncurses
. man console_codes man stty
18
3.
3.22
TeX koi8-r?
tex
language.dat
cyrtxinf.ini
3.23
* Type1 ps KOI8-R?
3.
19
3.24
X Window System?
Cronyx
Cyr-RFX : <http://www.inp.nsk.su/~bolkhov/files/fonts/
cyr-rfx/>
-cronyx-fixed-* koi8-r , : <ftp://ftp.ice.
ru/pub/fonts/X11>
KSI-Linux: <ftp://ftp.ksi-linux.com/pub/patches/>
Black Cat Linux: <ftp://ftp.blackcatlinux.com/pub/blackcat-linux/6.
2/SRPMS/SRPMS/urw-fonts-2.0-4bc.src.rpm>
3.25
Emacs/XEmacs
3.26
pp dosemu ?
p - pp. , <http://www.ice.ru/
~vitus/misc/>, . X- - , - DOS -
. dosemu ( telnet/ssh/rsh) - .
- dosemu pp, X- - 866- p. p <http://www.ice.ru/~vitus/works/x11.html>, <ftp:
//ftp.dosemu.org/dosemu/Development/>vga_cyr8x16.pcf.gz <http://www.inp.nsk.su/
~bolkhov/files/fonts/vga4dosemu/>.
3.27
StarOffice ( -
..
- <http://www.blackcatlinux.
com/StarOffice/>
FAQ , Open
Office Star Office 6.
20
3.
3.28
AbiWord?
<http://www.hippo.ru/~hvv/abiword/>
3.29 Mozilla?
<http://www.mozilla.ru/download/>
: <http://www.
mozilla.org/projects/l10n/mlp_status.html>
3.30
3.31
koi8-r,
iso8859-1 ?
21
3.
Netscape*fontList: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-koi8-r
"" appres :
$ appres
XTerm
man X RESOURCES.
- "Toolkit : GTK, Qt, Motif, e.t.c.,
Toolkit. GNOME/Gtk Qt
.
b) -fn font -font font. XLIB
X .
c) . <ftp://ftp.relcom.ru/pub/x11/
cyrillic/fonts/>, adobe-*-koi8-1 (c fonts.alias, -iso8859-1),
koi8-r .
"" iso8859-1 .
XFree86-cyrillic-fonts . ,
- .
, ( patch
;) "".
3.32
Gnome , GTK+, -
? ?
gtk ( , ), 8- .
/etc/gtk/gtkrc.$LANG. gtkrc.ru . ( ,
, koi8-r):
style "gtk-default-ru" {
fontset = "-cronyx-helvetica-medium-r-normal--*-*-*-*-*-*-koi8-r,\
-cronyx-courier-medium-r-normal--*-*-*-*-*-*-koi8-r,\
-cronyx-fixed-medium-r-normal--*-*-*-*-*-*-koi8-r,\
-cronyx-times-medium-r-normal--*-*-*-*-*-*-koi8-r"
}
class "GtkWidget" style "gtk-default-ru"
gtkrc.ru_RU.KOI8-R symlink:
$ cd /etc/gtk/
$ ln -s gtkrc.ru
gtkrc.ru_RU.KOI8-R
. <http://www.gtk.org/tutorial/gtk_tut-21.html>, <http://www.
linux.org.ru/gnome/>
3.33
Qt
<http://kde.ru/docs.php?action=index>
3.34
KDE?
<http://www.kde.org/international/russia/localization.html>
4.
3.35
22
, (ru_RU.UTF8) ?
3.36
4
4.1
? /
#$@#$#@%@#$%@#$? - , , - 2.2.x ,
2.3.- ? ?
4.
23
a - . , , .
b - patchlevel. , .
- , - . a b a.b
.
- sublevel. .
<ftp://ftp.kernel.org>
(: <ftp://ftp.ru.kernel.org>, , .bz2, , <ftp://ftp.rmt.ru/>, <ftp://ftp.chg.ru/Mirrors/ftp.kernel.org/> <http:
//ftp.chg.ru/Mirrors/ftp.kernel.org/>).
[ , <ftp://ftp.chg.ru> , <ftp://ftp.ru.
kernel.olg> : , ,
redhat, , .
, ftp.redhat.com, - . ""mirror? , - .]
-
, a.b.c a.b.c+1 c
patch. usyslnx.
.
,
. ,
- , . (
, , ,
.) - , .
, , . ,
, , -
.
(, , ""). . ,
. , ,
. , ,
. -
.
? : -
Linus Torvalds .. feature freeze, (bugfix).
a.b.c+1, a.b+1.0 a+1.0.0 - , :)
.. fork - ,
.
, "" "" - . , "" 2.3.128 2.4.0
, 2.2.xxx,
. , , .
Linux . -ac,
. -, -ac ,
4.
24
, , etc. , ,
, . -, -ac , ,
.
( ) : , International Kernel Patch ,
devfs-patch /dev, ISDN,
). , ,
).
- ? : ,
. . , , , - ,
, , , , , ,
, , (, ).
, ,
, , , .
, ,
- , .
,
ftp , , . (rpm
deb), ,
.
(" ", " " .. ;-),
, . ,
. ru.linux,
:-). -
:-)
, / . development -
linux-kernel. (
Documentation).
lilo target oldlinux, .
Documentation/Changes - . -
, .
4.2
?
?
cd /usr/src/linux
, ( ,
( ) ), /usr/src/linux/.config.
, (, // - ), .config , .
make oldconfig - , .config
__ (, ) ,
(, , ),
. make menuconfig ,
.
4.
25
dep
clean
zImage (make bzImage > 2.2)
modules
,
(/lib/modules/).
make modules_install
/usr/src/linux/arch/i386/boot/(b)zImage - . . , .
lilo.conf - , linux.test, -
/usr/src/linux/arch/i386/boot/zImage.
(Valentin Nechayev <mailto:nnlx@nn.kiev.ua>)
p p - pp Red Hat.
cd /usr/src/linux-_p
vi Makefile extraversion - pp,
EXTRAVERSION = -vasya1
,
1. make modules_install
2. (p!) p /boot p make install
3. 2.2.x ( 2.0 EXTRAVERSION) , , ""- ,
n.n.nn uname -r.
(Alexander Pevzner, 2:5020/59.9)
, ,
:
Makefile (/usr/src/linux/Makefile) EXTRAVERSION. , ,
(, 2.2.12-20 2.2.12-vasya). , , . , ,
. H /etc/lilo.conf ( 2 :
).
/usr/src/linux make install make modules_install.
. , , , .src.rpm,
ftp.kernel.org, . ( /sbin/installkernel, ,
make install (Alex Kanavin).)
EXTRAVERSION ,
2.2.13 (, EXTRAVERSION )
, ,
make *config make clean. , -
, __,
( ) .
4.
4.3
26
2.2.10 :
echo 30000 > /proc/sys/fs/file-max
echo 30000 > /proc/sys/fs/inode-max
ulimit -n 2000 . .
(Yuriy Kaminsky 2:5020/517.21)
, select, - .
(at least glibc-2.0 - . /usr/include/gnu/types.h - ;
#define __FD_SETSIZE
1024
, select
1024 [.., , X
1024 , Xlib Xt ]; , ,
libc , , ).
4.4
, pls, www/ftp
Linux.
<http://www.linuxdoc.org> H - <http://linux-ve.chat.ru>
4.6
, : , init,
. /etc/inittab
(man inittab) . inittab *getty, ,
( *getty login
( , , , /etc/passwd
. shell), pppd, ifcico ..,
- getty). mingetty,
- mgetty.
, , .. " ", ,
, ..
: BSD SysV. . (. ), SysV
<http://www.sensi.org/~alec/unix/redhat/sysv-init.html>.
27
4.
4.7
/var/log/syslog /var/log/messages pp p . p
log-?
syslog . syslog :
mv $log ${log}.old ( rm , p)
touch $log
kill -1 cat /var/run/syslogd.pid
logrotate.
-syslog - RTFM p .
4.8
pam?
<http://www.kernel.org/pub/linux/libs/pam/>
4.9
BSD su user, p
p wheel, Linux - . Hp -. ,
p?
auth
required
pam_wheel.so
/etc/pam.conf, pam p, :
auth
required
pam_wheel.so
/etc/pam.d/su, .
, pp . Hpp, p pp group deny, pp , p p:
pam_wheel.so group=guest deny
p, p, p gid, p groups...
...
Debian 2.1 secure-su suauth.
Slackware 3.3 (pp) p pp /etc/login.defs H,
SU_WHEEL_ONLY
yes
4.10
a a a- a a
aa ( aaa aa - roota),
a a a a?
man setrlimit
4.
4.11
28
, XXXX YYYY - ?
4.12
p /dev/cua* /dev/ttyS*?
4.13
Linux?
? ?
4.
29
/usr/local/bin/ntpdate ntp1.gamma.ru
Linux Samba, MS Windows
C:\> NET TIME \\LINUXBOX /SET /YES
(Alexey Mahotkin <mailto:alexm@hsys.msk.ru>)
4.14
H uucico ,
: \177}\030\177} \177}#\177}
port type pipe
port command /bin/telnet -8E hostname
4.15
root?
4.16
- (INN, SENDMAIL) ?
4.17
/usr/doc/HOWTO/Security-HOWTO.
H <http://www.openwall.com> Solar Designer-, . , <http://rootshell.com> <http://packetstorm.securify.com>, <http://www.
linuxsecurity.com> , bugtraq, linux-security, , . ,
: <http://www.infowar.co.uk/thc/files/thc/anonymous-unix.html>
4.18 . ?
,
( cd /old_fs && tar cf - . ) | ( cd /new_fs && tar xvpf - )
dump 0f - /old_fs | ( cd /new_fs && restore xf - )
, , -, tar
, (, ""). tar
:
tar -C /old_fs -cf - . | tar -xpf - -C /new_fs
- GNU tar , dump.
/usr/doc/HOWTO/mini/Hard-Disk-Upgrade
5.
4.19
30
, , sticky
setgid bit?
4.20
:
. ,
. , ,
modules.conf ( man-) :
alias <-> off
Linux.
, modprobe, ,
, , . modutils,
/etc/modules.conf:
alias <---> <---.o>
( , , modprobe)
4.21
5
5.1
telnet root?
root?
5.
31
, ( telnet), , ""
"".
:
- /etc/securetty /dev/ttyP*. ,
, .
, - , su sudo.
, .
- telnet, - ftp, rsh, rlogin
ssh, , , .
ssh Unix <http://www.openssh.com>,
Windows "".
5.
32
5.4 pp p p , p (
) pp N . HP pp ,
Epson . ?
PRINTCAP / Begin
my_favourite_printer:\
lp=/dev/lp1:\
sd=/var/spool/lpd/my_favourite_printer:\
sh:lf=/dev/tty10:ff=:
PRINTCAP / End
5.5
1 ?
5.
33
win95.
5.6
5.7
PC + Linux, Linux-e. :
. Linux
?
hylafax - , , ""
DOS, Windows, etc. H! () . :(
mgetty, - ,
hylafax. :)
5.8
PPTP Linux ?
<http://www.moretonbay.com/vpn/pptp.html>
5.9
5.10
. , 192.168.0.0
( RFC-1918). :
#!/bin/sh
/sbin/insmod
/sbin/insmod
/sbin/insmod
/sbin/insmod
/sbin/insmod
/sbin/insmod
/sbin/insmod
/sbin/insmod
/sbin/insmod
ip_masq_autofw
ip_masq_user
ip_masq_cuseeme
ip_masq_ftp
ip_masq_irc
ip_masq_mfw
ip_masq_portfw
ip_masq_quake
ip_masq_raudio
5.
34
/sbin/insmod ip_masq_vdolive
/sbin/ipchains -F
/sbin/ipchains -P forward DENY
/sbin/ipchains -A forward -j MASQ -s 192.168.0.0/16 -d 0.0.0.0/0
Linux 192.168.0.1, ip
default gateway.
HOWTOs:
Firewall <http://linuxdoc.org/HOWTO/Firewall-HOWTO.html>
IPCHAINS <http://linuxdoc.org/HOWTO/IPCHAINS-HOWTO.html>
IP-Masquerade <http://linuxdoc.org/HOWTO/IP-Masquerade-HOWTO.html>
<http://www.fima.net/masquerade.html>
2.0 ipchains ipfwadm, 2.4 - netfilter, HOWTO
<http://netfilter.kernlenotes.org>
- , /proc/sys/net/ipv4/ip_forward :
$ echo "1" > /proc/sys/net/ipv4/ip_forward
( Red Hat 6.2 - /etc/sysctl.conf)
firewall- : fBuilder <http://www.innertek.com/> Mason
<http://users.dhp.com/~whisper/mason/>
5.11
socks5 ?
C <http://www.socks.nec.com>
, (PPP/Ethernet Ethernet/Ethernet).
Ethernet-e : 192.168.0.1. -
.
/etc/socks5.conf
permit - - 192.168.0. - - set SOCKS5_BINDINTFC 192.168.0.1:1080
set SOCKS5_NOIDENT
ICQ 99/2000 . man socks5, man socks5.conf, <http://www.socks.nec.com>.
[ FAQ]
5.12 -?
- - /etc/hosts
ip .
, - - Squid.
ACL (Access Control List) "url_regex"(squid.conf, ACCESS CONTROLS) :
acl Reclama_Banners url_regex ^http://www1\.reklama\.ru/cgi-bin/banner/*
http_access deny Reclama_Banners
:
acl Banners url_regex "/etc/squid/banners"
http_access deny Banners
/etc/squid/banners ( ), :
6. X Window
35
^http://banners\.rambler\.ru/advert/.*\.gif
^http://kulichki.rambler.ru/reklama/banners/.*\.gif
^http://www.*\.yandex\.ru/cgi-bin/banner/*
^http://www1\.reklama\.ru/cgi-bin/banner/*
^http://www\.reklama\.ru/cgi-bin/banner/*
^http://www\.reklama\.ru/cgi-bin/href/*
^http://www\.100mb\.net/images/ban/banner.*\.gif
^http://www\.bizlink\.ru/cgi-bin/irads\.cgi.*
^http://www\.linkexchange\.ru/cgi-bin/rle\.cgi
^http://www\.linkexchange\.ru/users/.*/goto\.map
^http://www\.netcq\.com/banners/banner\.gif
^http://1000\.stars\.ru/cgi-bin/1000\.cgi
- squidguard <http:
//www.squidguard.org>, squid.
<http://pail.pu.ru/>
Transparent Proxy <http://www.lexa.ru/lexa/transparent-proxy.html>
Transparent Proxy MiniHOWTO: <http://www.tldp.org/HOWTO/mini/TransparentProxy.html>
squirm <http://www.senet.com.au/squirm/>, - URLs .
5.13 * Squid
Windows?
<http://www.artmagic.ru/labs/sqlandwin.shtml>
X Window
Window Manager-
<http://ep2-ts2.inp.nsk.su/lecture/>
<http://www.xfree86.org/FAQ/>
/usr/X11R6/lib/X11/doc/
, , , , <ftp://ftp.xfree86.org>.
___ , , , (
, - , -
.) H: - ,
SVGA. , . XFree 4
, . (), ,
.
6.2 Modeline ?
,
(xf86config, XF86Setup, Xconfigurator),
ModeLine, .
, Modeline strings
which xf86setup . - ModeLine
, Alexei Dets <mailto:dets@china.formoza.ru>:
36
6. X Window
Modeline , ,
.. , . H , , XF86Config, .
. , , -
.. . Modeline
xvidtune. , :
Modeline "640x480"
25.175 640
664
760
800
480
491
493
525
?
: 25175000/800/525=59,9 .
.. , , .
, , , 120 ?
: 800x525x120/1000000=50,4
, :
Modeline "640x480"
50.4 640
664
760
800
480
491
493
525
:-) ,
, xvidtune. .
:-)
: "" /usr/X11R6/lib/X11/doc/VideoModes.doc
<http://knot.pu.ru/faq/xfaq.html>.
2 Alex Kanavin: XFree86 4.x . -, X
c VESA , , HorizSync VertRefresh. , , ModeLine ,
- 60, 70, 75, 85 Hz. - "640x480" .., "1920x1444":-)
-, X VESA DDC.
, . , , .
6.3 , ?
X , XFree, - ( startx :1 -bpp 8
/etc/X11/xdm/Xserver, xdm). XFree 4
DGA2, .
6.4
(Alec Voropay <mailto:alec@sensi.org>, Alex Kanavin, Alexander Pevzner)
X Window "" "" . ,
.
, "c"? print-server file-server.
- "". , printserver .
- ( 30 ;) 256
:-) . display-server ,
, X-server.
6. X Window
37
6.5
, Ctrl-Alt-F# ( ) Alt-F# (,
getty , ).
6.6
6.7
, ? ( ?) , ? () ?
6. X Window
38
6.8
Window Manager ?
<http://xwinman.org>
<http://www.themes.org>
6.9
X Server Windows ?
7.
6.10
39
TrueType ?
6.11
font antialiasing?
. C : <http://www.xfree86.org/~keithp/render/>.
7
7.1
, Microsoft Word?
MS Word
<http://wvware.sourceforge.net/>
<http://www.ice.ru/~vitus/catdoc/>
word2x .
wvware AbiWord , , AbiWord
7.
40
rtf. - .
<http://www.hippo.ru/~hvv/abiword/>
- LaTeX, rtf latex2rtf <ftp://tug.ctan.org/tex-archive/support/latex2rtf/> c ,
.
(nb: sgml)
7.3
, Powerpoint?
7.5
7.6 Linux/ ?
( Victor Wagner)
<http://www.mostang.com/sane>. . scsi-, usb
. , , Linux- , SCSI (
PCI). scanner-only ncr- aha 1502 $10-$15.
.
: sane xscanimage, gimp- .
7.7 OCR ( )?
OCR Linux, , .
Windows wine (
SCSI, . documentation/aspi). OCR
, , - ,
, ocr <http://www.freshmeat.net>.
7.8
<http://www.hamrick.com/vsm.html> - shareware, .
7.
7.9
41
WinModem ?
7.10
* USB ?
<http://www.linux-usb.org/USB-guide/book1.html>
<http://tldp.org/HOWTO/USB-Digital-Camera-HOWTO/>
7.11 * - , c Intel
EtherExpress (PCI)?
. .
7.13 Linux ,
/ Teleport Pro -...
wget
<http://www.gnu.org/software/wget>
7.14
Linux ?
<news:fido7.ru.unix.ftnl>.
c URL , ru.linux ru.unix ( FidoSoft URL MiniFAQ), <http://www.sensi.org/download/fidosoft.html>.
<http://donlug.dn.ua/~aks/>.
:
1. dosemu / .
2. , ifcico ifmail,
qico binkleyforce, , binkd BinkP. ifmail <ftp://oskin.macomnet.ru> <http://www.average.org/
7.
42
7.15
* ?
Linux .
1. OSS (Open Sound System) . ,
, Linux- *NIX-. <http://www.opensound.
com>
2. OSS/Free - Linux <=2.4,
. <http://www.linux.org.uk/OSS/>
3. ALSA (Advanced Linux Sound Architecture) ,
, Full-Duplex <http://www.alsa-project.
org/>
RedHat-based sndconfig. ,
, Sound-HOWTO <http://tldp.org/HOWTO/Sound-HOWTO/index.
html>
Aureal <http://aureal.sourceforge.net>
7.16 ext2?
lde:
<http://www.datafoundation.org/lde/>
7.17
ext2fs Linux ?
<http://www.penguin.cz/~mhi/fs/Filesystems-HOWTO/
Filesystems-HOWTO-6.html>
Windows NT: (read/write) <http://www.chat.ru/~ashedel>
Windows 9x: (r/o) <http://www.yipton.demon.co.uk>
Windows 95/98/NT/2000: (write experimental): <http://uranus.it.swin.edu.au/~jn/linux/>
OS/2: (R/W) , ext2_240.zip
7.
7.18
43
Linux p y
doublespace ?
ext2fs py.
<http://www.netspace.net.au/~reiter/
e2compr/>. p py yy e2fsprogs yy
. p p y development . p chattr +c
7.19
PGP, , . ,
, : <http://drt.ailis.de/crypto/
linux-disk.html>
: <http://encryptionhowto.sourceforge.net>
:
loopback encryption - international crypto patch ( <http://www.kerneli.org>.
losetup mount.
.
cfs, : <ftp://ftp.zedz.com/pub/crypto/disk/>. , nfs-.
7.22 ?
<news:fido7.ru.rdbms.oracle>.
ORACLE-LINUX@fatcity.com
7.
7.24
44
Linux?
Linux, , ( ,
-). .
Oleg Lomaka <mailto:Oleg_Lomaka@p7.f85.n468.z2.fidonet.org> :
<http://www.chat.ru/~mueller_dic/> c Mueller (Mueller7accentGPL.tgz)
cp "mova"(script_mova.tgz) c y c c. - GPL.
Linux.
c. C .movarc , c p y
cp cp. Cop pp cy:
-*-*-bold-r-*-*-20-*-*-*-*-*-*-koi8-r
-*-*-medium-r-*-*-20-*-*-*-*-*-koi8-r
-*-*-medium-o-*-*-20-*-*-*-*-*-koi8-r
-*-*-bold-o-*-*-21-*-*-*-*-*-koi8-r
-*-silsophiaipa-*-r-*-20-*-*-*-p-*-*-*
# c cp
/usr/local/Mova/
#, y pcc cp
/usr/local/bin/
# cp
Mueller7accentGPL.koi
/tmp /
"mova table".
Andy Shevchenko <mailto:Andy_Shevchenko@f192.n465.z2.fidonet.org>: qt- slowo. <http://gambit.com.ru/~wolf/dic/>
linux src.rpm : <ftp://ftp.smile.org.ua/pub/linux/prj/slowo/>
7.25 / ...?
<http://tldp.org/HOWTO/Sound-Playing-HOWTO.html>
<http://tldp.org/HOWTO/MP3-HOWTO.html>
AU, WAV, MP3 ( SB Compatible) - sox, mpg123, X - xmms
MIDI - playmidi, timidity
AVI, MOV - xanim, avifile ( <http://avifile.sourceforge.net>) -
xanim, .
windows, dll ( ,
), mplayer ( <http://www.mplayerhq.hu>) - Xv,
DGA2, SDL, X11, , (.dll), ( ) 5.1
DVD. xine ( <http://xine.sourceforge.net>) 5.1 .
MPEG, VideoCD - avifile, xine,mplayer smpeg ( <http://
www.lokigames.com/development/>, mpeglib ( <http://mpeglib.sourceforge.net>)
JPEG, TIFF, GIF ( PCX/BMP) gqview, gtksee, xloadimage, xv
- zgv
<http://www.freshmeat.net> -> application index -> multimedia...
download.
7.
7.26
45
Linux
<http://www.linuxgames.org.ru>
<http://happypenguin.org>
<http://www.linuxgames.com>
7.27
7.28
"Not
running in graphics-capable console..."?
H mc .
7.29
(Alexander Voropay)
"", DB-25. - -. :
RX <-- TX
TX --> RX
RTS --> CTS
CTS <-- RTS
DTR --> DSR+CD
DSR+CD <-- DTR
GNG <--> GND
- hardware flowcontrol.
, , minicom Linux TERM90, TELEMATE e.t.c.
DOS COM- ( 38400, 8-N-1).
PC .
- <http://www.chat.ru/~uk_nc/>
, getty. /etc/inittab
# Modem/Terminal on Serial COM2:
S1:2345:respawn:/sbin/uugetty ttyS1 F38400 vt220
F38400 - 38400 ( /etc/gettydefs), "vt220 ESC ( , TERM).
Login: , flow-control, .
. Serial-HOWTO <http://www.linuxdoc.org/HOWTO/Serial-HOWTO.html>
7.
7.31
46
RPM .spec
<http://www.rpm.org>
.spec .spec nmap.
binary rpm source,
- spec %files - rpm , install,
%install. %files find /usr/src/test-install -type d \! -path \*/usr \! -path \*/usr/local \
\! -path \*/usr/local/bin \! -path \*/usr/local/sbin | \
sed -e s|^/usr/src/test-install/|%dir /| >> file.spec
find /usr/src/test-install -type f | sed -e s|^/usr/src/test-install/|/| >>
file.spec
, /usr/local/- BuildRoot, sed , make install - %attr, , ,
%files -f. ( -path -
/usr, /usr/local .. H )
rpm -bb .spec . ( $RPMROOT/RPMS/${ARCH}/ )
7.32
/ .
7.33
""?
"" . (ak) , c
.