Ocenite etot tekst:




/etc/inittab - initdefault 3

Zaglavnye rc-skripty

/etc/rc.d/rc.S - single
/etc/rc.d/rc.M - multiuser
/etc/rc.d/rc.K - kill

/etc/rc.d/rc.M zapuskaet rc.skripty /etc/rc.d/rc.*
propisannye v nem v yavnoj forme po tipovoj sheme

if [ -x /etc/rc.d/rc.samba ]; then
  . /etc/rc.d/rc.samba start
fi

Aktivaciya sluzhby (chtoby avtomaticheski zapuskalas' pri zagruzke)
  chmod a+x  /etc/rc.d/rc.samba

Deaktivaciya sluzhby
  chmod a-x  /etc/rc.d/rc.samba

Start/stop sluzhby:

  /etc/rc.d/rc.samba start
  /etc/rc.d/rc.samba stop



Proizvoditsya menyushkoj
  netconfig

Konfiguraciya IP sohranyaetsya v /etc/rc.d/rc.inet1.conf

# Config information for eth0:
IPADDR[0]="3.222.66.34"
NETMASK[0]="255.255.255.0"
USE_DHCP[0]=""
DHCP_HOSTNAME[0]=""
# Config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]="yes"
DHCP_HOSTNAME[1]=""
# Default gateway IP address:
GATEWAY="83.222.6.33"

Kak zadavat' IP-aliasy - ustanovit' ne udalos'.



Spiski apdejtov chitat' tut
http://www.slackware.org/security/list.php?l=slackware-security&y=2004

Tipovaya ustanovka apdejta vyglyadit primerno tak:

  wget ftp://ftp.slackware.com/pub/slackware/slackware-10.0/patches/packages/sox-12.17.4-i486-3.tgz

  upgradepkg sox-12.17.4-i486-3.tgz



Ustanovochnyj paket Slackware - fajl .tgz: sox-12.17.4-i486-3.tgz

Spisok proinstallirovannyh paketov

  /var/log/packages/

Ustanovka

  [ROOT=path] installpkg [option] package-name-shablon ...

Udalenie

  [ROOT=path] removepkg  [option] package-name-shablon ...

  opcii udaleniya
     -copy   The package is copied to the preserved packages directory.
             I pri etom on NE UDALYAETSYA
     -preserve  Paket udalyaetsya,
                no sohranyaetsya ego kopiya v preserved packages directory.

Obnovlenie paketa

     [ROOT=path] upgradepkg package-name

     [ROOT=] upgradepkg old-package-name%new-package-name


Izgotovlenie paketa iz rpm

    rpm2tgz

    Ozhivit' slackvarnogo ftp

# propisat' standalone ServerType standalone # chroot dlya obychnyh yuzerov: dobavlyaem DefaultRoot ~ AllowStoreRestart on AllowRetrieveRestart on DirFakeUser on ~ UseFtpUsers off MaxClientsPerHost 5

Last-modified: Fri, 12 Nov 2004 17:26:54 GMT
Ocenite etot tekst: