Artur K. Shakirov system administrator

unix/linux

http://blog.shakirov.com/entry/1000042/file/fwunixref_ru.pdf – ,   .   .

Дек. 16, 2007 // 21:47 | (0)


Linux accounting

    .. accounting.

    :

 :

http://rus-linux.net/MyLDP/MINI-HOWTO-ru/Process-Accounting.html

http://www.freebsd.org/cgi/man.cgi?query=sa&sektion=8&apropos=0&manpath=FreeBSD+6.2-RELEASE

http://www.freebsd.org/cgi/man.cgi?query=acct&sektion=2&apropos=0&manpath=FreeBSD+6.2-RELEASE

UPD:     ,   .

Дек. 16, 2007 // 21:39 | (0)


tar cf file.tar files tar-   file.tar files

tar xf file.tar file.tar

tar czf file.tar.gz files tar   Gzip

tar xzf file.tar.gz tar  Gzip

tar cjf file.tar.bz2 tar   Bzip2

tar xjf file.tar.bz2 tar  Bzip2

gzip file file    file.gz

gzip -d file.gz file.gz  file

Дек. 09, 2007 // 00:41 | (0)


RTL8169 RTL8168 RTL8101 - r1000 CentOS 5

r1000 CentOS, . :
[root@centos ~]# lspci -v | more

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
        Subsystem: ASUSTeK Computer Inc. Unknown device 81aa
        Flags: bus master, fast devsel, latency 0, IRQ 177
        I/O ports at a800 [size=256]
        Memory at ff5ff000 (64-bit, non-prefetchable) [size=4K]
        Expansion ROM at ff5c0000 [disabled] [size=128K]
        Capabilities: [40] Power Management version 2
        Capabilities: [48] Vital Product Data
        Capabilities: [50] Message Signalled Interrupts: 64bit+ Queue=0/1 Enable-
        Capabilities: [60] Express Endpoint IRQ 0
        Capabilities: [84] Vendor Specific Information
[root@centos ~]# kudzu -p --class=NETWORK
-
class: NETWORK
bus: PCI
detached: 0
device: eth0
driver: r1000
desc: "Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller"
:
[root@centos ~]# wget http://blog.shakirov.com/entry/1000038/file/r1000-kmod-1.05-3.2.6.18_8.1.1.el5.src.rpm
[root@centos ~]# rpm -ivh kernel-xen*
[root@centos ~]# rpm -ivh kernel-PAE*
[root@centos ~]# rpmbuild --rebuild r1000* --target i686
[root@centos ~]# cd /usr/src/redhat/RPMS/i686
[root@centos ~]# rpm -ivh kmod-r1000-1.05-3.2.6.18_8.el5.i686.rpm      
[root@centos ~]# rpm -ivh kmod-r1000-xen-1.05-3.2.6.18_8.el5.i686.rpm
[root@centos ~]# rpm -ivh kmod-r1000-PAE-1.05-3.2.6.18_8.el5.i686.rpm  
[root@centos ~]# rpm -ivh r1000-kmod-common-1.05-3.2.6.18_8.el5.i686.rpm
[root@centos ~]# shutdown -r now
[root@centos ~]# ifconfig
: http://blog.shakirov.com/entry/1000038/file/r8168-8.004.00.tar.bz2
modprobe r8168
http://blog.shakirov.com/entry/1000038/file/r8168-2.6.18-53.el5-i686-x86_64.img.zip
: http://wiki.centos.org/HardwareList/RealTekRTL8111b

Ноя. 25, 2007 // 12:13 | (0)


hostname

Ноя. 25, 2007 // 12:09 | (0)


  :

curl -o /dev/null -s -w %{time_connect}:%{time_starttransfer}:%{time_total} http://blog.shakirov.com

Ноя. 23, 2007 // 08:00 | (0)


1c unix-like

1c  Linux: http://gloomka.livejournal.com/35655.html

1  FreeBSD: http://community.livejournal.com/ru_sysadmins/549282.html

Ноя. 20, 2007 // 17:00 | (0)


dos2unix

-  Windows  Unix ..

   *nix- :

dos2unix <file>

Ноя. 18, 2007 // 08:00 | (0)


Perl CPAN

,   DBI. :

[root@mailserver ]# perl -MCPAN -e shell Terminal does not support AddHistory.

cpan shell — CPAN exploration and modules installation (v1.7602) ReadLine support available (try 'install Bundle::CPAN')

cpan> install DBI

,   .

Ноя. 12, 2007 // 08:00 | (0)


redHat ?

  red Hat  ?

, Red Hat based linux ditribution,  , anaconda-ks.cfg       :

linux ks=/path/to/anaconda-ks.cfg

Ноя. 12, 2007 // 08:00 | (0)


  http://blog.shakirov.com/2007/03/18/neskolko_ip_na_odnom_setevom_adaptere_linux/

      IP-   ? :

/etc/init.d/add_ip :

  /etc/init.d/network

Ноя. 07, 2007 // 06:32 | (0)


?

«» eth1, /etc/sysconfig/network-scripts/ifcfg-eth1   /etc/modprobe.conf alias eth1.

Ноя. 07, 2007 // 06:14 | (0)


Linux

   :

Ноя. 07, 2007 // 05:58 | (0)


NTP

NTP  : http://www.ntp.org/downloads.html

  :

 :

 : http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch24_:_The_NTP_Server

Сен. 20, 2007 // 08:00 | (0)


wget

  wget ? :

/etc/wgetrc

http_proxy = http://your_proxy:port

ftp_proxy = http://your_proxy:port

# If you do not want to use proxy at all, set this to off.

use_proxy = on 

Июн. 27, 2007 // 16:33 | (0)