/l3/users/eb/2009/linux13/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 :21 :22 :23 :24 :25 :26 :27 :28 :29 :30 :31 :32 :33 :34 :35 :36 :37 :38 :39 :40 :41 :42 :43 :44 :45 :46 :47 :48 :49 :50 :51 :52 :53 :54 :55 :56 :57 :58 :59 :60 :61 :62 :63 :64 :65 :66 :67 :68 :69 :70 :71 :72 :73 :74 :75 :76 |
|
#apt-cache search xen-linux-system-2.6.18-6-xen-686
xen-linux-system-2.6.18-6-xen-686 - XEN system with Linux 2.6.18 image on i686 |
#apt-cache search xen-linux-system-2.6.18-6-xen-686
xen-linux-system-2.6.18-6-xen-686 - XEN system with Linux 2.6.18 image on i686 |
#apt-get install xen-utils-3.2.1
Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package xen-utils-3.2.1 |
#apt-get install xen-utils-3.2.1
Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package xen-utils-3.2.1 |
#apt-get install xen-utils-3.2-1
Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package xen-utils-3.2-1 |
#apt-get install xen-utils-3.2-1
Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package xen-utils-3.2-1 |
#apt-cache search xen utils
xen-utils-3.0.3-1 - XEN administrative tools xen-utils-common - XEN administrative tools - common files |
#apt-cache search xen utils
xen-utils-3.0.3-1 - XEN administrative tools xen-utils-common - XEN administrative tools - common files |
#apt-get install xen-utils-3.2-1
Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libc6-xen libxenstore3.0 xen-hypervisor-3.2-1-i386 xen-utils-common xenstore-utils Suggested packages: xen-docs-3.2 Recommended packages: xen-hypervisor-3.2-1 The following NEW packages will be installed: ... Setting up xen-hypervisor-3.2-1-i386 (3.2.1-2) ... Searching for GRUB installation directory ... found: /boot/grub Searching for default file ... found: /boot/grub/default Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst Searching for splash image ... none found, skipping ... Found Xen hypervisor 3.0.3-1-i386-pae, kernel: /boot/vmlinuz-2.6.18-6-xen-686 Found kernel: /boot/vmlinuz-2.6.29-2-686 Found kernel: /boot/vmlinuz-2.6.18-6-xen-686 Updating /boot/grub/menu.lst ... done Setting up xen-utils-3.2-1 (3.2.1-2) ... |
#apt-get install xen-utils-3.2-1
Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libc6-xen libxenstore3.0 xen-hypervisor-3.2-1-i386 xen-utils-common xenstore-utils Suggested packages: xen-docs-3.2 Recommended packages: xen-hypervisor-3.2-1 The following NEW packages will be installed: ... Setting up xen-hypervisor-3.2-1-i386 (3.2.1-2) ... Searching for GRUB installation directory ... found: /boot/grub Searching for default file ... found: /boot/grub/default Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst Searching for splash image ... none found, skipping ... Found Xen hypervisor 3.0.3-1-i386-pae, kernel: /boot/vmlinuz-2.6.18-6-xen-686 Found kernel: /boot/vmlinuz-2.6.29-2-686 Found kernel: /boot/vmlinuz-2.6.18-6-xen-686 Updating /boot/grub/menu.lst ... done Setting up xen-utils-3.2-1 (3.2.1-2) ... |
#ls /boot/
config-2.6.18-6-xen-686 initrd.img-2.6.29-2-686 vmlinuz-2.6.18-6-xen-686 config-2.6.29-2-686 initrd.img-2.6.29-2-686.bak vmlinuz-2.6.29-2-686 grub/ System.map-2.6.18-6-xen-686 xen-3.0.3-1-i386-pae.gz initrd.img-2.6.18-6-xen-686 System.map-2.6.29-2-686 xen-3.2-1-i386.gz |
#ls /boot/
config-2.6.18-6-xen-686 initrd.img-2.6.29-2-686 vmlinuz-2.6.18-6-xen-686 config-2.6.29-2-686 initrd.img-2.6.29-2-686.bak vmlinuz-2.6.29-2-686 grub/ System.map-2.6.18-6-xen-686 xen-3.0.3-1-i386-pae.gz initrd.img-2.6.18-6-xen-686 System.map-2.6.29-2-686 xen-3.2-1-i386.gz |
#dpkg -l | grep xen-hypervisor-3.0
ii xen-hypervisor-3.0.3-1-i386-pae 3.0.3-0-4 The Xen Hypervisor on i386 with pae |
#dpkg -l | grep xen-hypervisor-3.0
ii xen-hypervisor-3.0.3-1-i386-pae 3.0.3-0-4 The Xen Hypervisor on i386 with pae |
#vim /boot/grub/menu.lst
--- /tmp/l3-saved-4173.25352.23221 2009-06-05 17:16:57.000000000 +0300 +++ /boot/grub/menu.lst 2009-06-05 17:26:06.000000000 +0300 @@ -5,6 +5,13 @@ title GNU/Linux (2.6.29) kernel /vmlinuz root=LABEL=ROOT initrd /initrd.img + +title Xen 3.0.3-1-i386-pae / Debian GNU/Linux, kernel 2.6.18-6-xen-686 +root (hd0,0) +kernel /boot/xen-3.2-1-i386.gz +module /boot/vmlinuz-2.6.18-6-xen-686 root=UUID=abcb56f4-3a69-4474-a5fd-c3a107a66da3 ro console=tty0 +module /boot/initrd.img-2.6.18-6-xen-686 + ### BEGIN AUTOMAGIC KERNELS LIST ## lines between the AUTOMAGIC KERNELS LIST markers will be modified ## by the debian update-grub script except for the default options below |
#vim /boot/grub/menu.lst
--- /tmp/l3-saved-4173.16627.20379 2009-06-05 17:26:23.000000000 +0300 +++ /boot/grub/menu.lst 2009-06-05 17:27:07.000000000 +0300 @@ -8,7 +8,7 @@ title Xen 3.0.3-1-i386-pae / Debian GNU/Linux, kernel 2.6.18-6-xen-686 root (hd0,0) -kernel /boot/xen-3.2-1-i386.gz +kernel /boot/xen-3.2-1-i386.gz dom0_mem=256000 module /boot/vmlinuz-2.6.18-6-xen-686 root=UUID=abcb56f4-3a69-4474-a5fd-c3a107a66da3 ro console=tty0 module /boot/initrd.img-2.6.18-6-xen-686 |
#exit
exit Connection to 10.0.35.100 closed. You have new mail in /var/mail/root |
#route
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface |
#lspci
00:00.0 Host bridge: Intel Corporation 82P965/G965 Memory Controller Hub (rev 02) 00:02.0 VGA compatible controller: Intel Corporation 82G965 Integrated Graphics Controller (rev 02) 00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 02) 00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02) 00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02) 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02) 00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02) 00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 02) 00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02) 00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02) 00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02) 00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev f2) 00:1f.0 ISA bridge: Intel Corporation 82801HB/HR (ICH8/R) LPC Interface Controller (rev 02) 00:1f.2 IDE interface: Intel Corporation 82801H (ICH8 Family) 4 port SATA IDE Controller (rev 02) 00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02) 00:1f.5 IDE interface: Intel Corporation 82801H (ICH8 Family) 2 port SATA IDE Controller (rev 02) 01:00.0 IDE interface: JMicron Technologies, Inc. JMB368 IDE controller 02:00.0 Ethernet controller: Attansic Technology Corp. L1 Gigabit Ethernet Adapter (rev b0) |
#cd
|
#ls
1 file ip_forwarx~ lv-table passswd1 screen.png spamsend 11 harddisk.img ip_forwary~ Mail samba.dot scriptall usaddscript 2 ip_forward~ ip_forwarz~ new samba.png sent vol1 all ip_forwarw~ iptables-save passswd screen.dot shtdown |
#vim /boot/grub/m
|
#vim /boot/grub/m
|
#vim /boot/grub/menu.lst
|
## default kernel options for automagic boot options
if-down.d/ if-post-down.d/ if-pre-up.d/ if-up.d/ interfaces |
#vim /etc/network/interfaces
|
#+q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31
lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:2 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:100 (100.0 B) TX bytes:100 (100.0 B) |
#nii-tool eth0
bash: nii-tool: command not found |
#mii-tool eth0
SIOCGMIIPHY on 'eth0' failed: No such device |
#vim /boot/grub/menu.lst
|
## default kernel options for automagic boot options
00:00.0 Host bridge: Intel Corporation 82P965/G965 Memory Controller Hub (rev 02) 00:02.0 VGA compatible controller: Intel Corporation 82G965 Integrated Graphics Controller (rev 02) 00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 02) 00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02) 00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02) 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02) 00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02) 00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 02) 00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02) 00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02) 00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02) 00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev f2) 00:1f.0 ISA bridge: Intel Corporation 82801HB/HR (ICH8/R) LPC Interface Controller (rev 02) 00:1f.2 IDE interface: Intel Corporation 82801H (ICH8 Family) 4 port SATA IDE Controller (rev 02) 00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02) 00:1f.5 IDE interface: Intel Corporation 82801H (ICH8 Family) 2 port SATA IDE Controller (rev 02) 01:00.0 IDE interface: JMicron Technologies, Inc. JMB368 IDE controller 02:00.0 Ethernet controller: Attansic Technology Corp. L1 Gigabit Ethernet Adapter (rev b0) |
#who
user tty7 2009-06-05 17:40 (:0) root pts/1 2009-06-05 17:42 (:0.0) |
#id
uid=0(root) gid=0(root) groups=0(root) |
#hw
bash: hw: command not found |
#man -k show hardware info
|
#man -k show hardware info|less
|
#Pattern not found (press RETURN)
clock (8) - query and set the hardware clock (RTC) hwclock (8) - query and set the hardware clock (RTC) vbetool (1) - run real-mode video BIOS code to alter hardware state /proc/slabinfo (5) [slabinfo] - Kernel slab allocator statistics aoe-version (8) - print AoE-related software version information biosdecode (8) - BIOS information decoder captoinfo (1) - convert a termcap description into a terminfo description chage (1) - change user password expiry information chfn (1) - change real user name and information deb-shlibs (5) - Debian shared library information file ... lvs (8) - report information about logical volumes modinfo (8) - program to show information about a Linux Kernel module Net::XMPP::IQ (3pm) - XMPP Info/Query Module networks (5) - network name information objdump (1) - display information from object files. pac (8) - printer/plotter accounting information pam_mail (8) - Inform about available mail Pango::Context (3pm) - Pango object that stores global information used to control the itemization process Pango::FontMetrics (3pm) - object for Pango containing overall metric information for a font Pattern not found (press RETURN) |
#man -k info|less
|
#hwb
bash: hwb: command not found |
#dconf
bash: dconf: command not found |
#hwinfo
bash: hwinfo: command not found |
#init 6
|
#vim /etc/apt/sources.list
--- /tmp/l3-saved-4179.19447.15829 2009-06-05 18:53:18.000000000 +0300 +++ /etc/apt/sources.list 2009-06-05 18:53:29.000000000 +0300 @@ -1,2 +1,2 @@ -deb http://192.168.15.13:9999/debian sid main contrib non-free +deb http://192.168.15.13:9999/debian etch main contrib non-free # deb http://www.debian-multimedia.org sid main |
#apt-get update
Get:1 http://192.168.15.13 etch Release.gpg [1032B] Ign http://192.168.15.13 etch/main Translation-en_US Ign http://192.168.15.13 etch/contrib Translation-en_US Ign http://192.168.15.13 etch/non-free Translation-en_US Get:2 http://192.168.15.13 etch Release [67.8kB] Ign http://192.168.15.13 etch/main Packages Ign http://192.168.15.13 etch/contrib Packages Ign http://192.168.15.13 etch/non-free Packages Get:3 http://192.168.15.13 etch/main Packages [5620kB] Get:4 http://192.168.15.13 etch/contrib Packages [71.2kB] Get:5 http://192.168.15.13 etch/non-free Packages [102kB] Fetched 5861kB in 3s (1897kB/s) Reading package lists... Done |
#apt-get update
Get:1 http://192.168.15.13 etch Release.gpg [1032B] Ign http://192.168.15.13 etch/main Translation-en_US Ign http://192.168.15.13 etch/contrib Translation-en_US Ign http://192.168.15.13 etch/non-free Translation-en_US Get:2 http://192.168.15.13 etch Release [67.8kB] Ign http://192.168.15.13 etch/main Packages Ign http://192.168.15.13 etch/contrib Packages Ign http://192.168.15.13 etch/non-free Packages Get:3 http://192.168.15.13 etch/main Packages [5620kB] Get:4 http://192.168.15.13 etch/contrib Packages [71.2kB] Get:5 http://192.168.15.13 etch/non-free Packages [102kB] Fetched 5861kB in 3s (1897kB/s) Reading package lists... Done |
#apt-cache search linux kernel
unionfs-tools - Tools to manage unionfs filesystems upx-ucl-beta - an efficient live-compressor for executables (beta version) usbmgr - user-mode daemon which loads/unloads USB kernel modules user-mode-linux - User-mode Linux (kernel) vrflash - tool to flash kernels and romdisks to Agenda VR vrrpd - Virtual Router Redundancy Protocol user-space implementation vtun - Virtual Tunnel over TCP/IP Networks vzctl - server virtualization solution - control tools xen-ioemu-3.0.3-1 - XEN administrative tools xfce4-diskperf-plugin - disk performance display plugin for the Xfce4 panel ... aoetools - tools to assist in using ATA over Ethernet linux-kbuild-2.6.29 - Kbuild infrastructure for Linux 2.6.29 linux-headers-2.6.29-2-686 - Header files for Linux 2.6.29-2-686 oss-compat - OSS compatibility package dmsetup - The Linux Kernel Device Mapper userspace library libdrm-intel1 - Userspace interface to intel-specific kernel DRM services -- runtime libselinux1 - SELinux shared libraries libsplashy1 - Library to draw splash screen on boot, shutdown, resume or suspend iptables - administration tools for packet filtering and NAT libcap2 - support for getting/setting POSIX.1e capabilities |
#apt-cache search linux kernel
unionfs-tools - Tools to manage unionfs filesystems upx-ucl-beta - an efficient live-compressor for executables (beta version) usbmgr - user-mode daemon which loads/unloads USB kernel modules user-mode-linux - User-mode Linux (kernel) vrflash - tool to flash kernels and romdisks to Agenda VR vrrpd - Virtual Router Redundancy Protocol user-space implementation vtun - Virtual Tunnel over TCP/IP Networks vzctl - server virtualization solution - control tools xen-ioemu-3.0.3-1 - XEN administrative tools xfce4-diskperf-plugin - disk performance display plugin for the Xfce4 panel ... aoetools - tools to assist in using ATA over Ethernet linux-kbuild-2.6.29 - Kbuild infrastructure for Linux 2.6.29 linux-headers-2.6.29-2-686 - Header files for Linux 2.6.29-2-686 oss-compat - OSS compatibility package dmsetup - The Linux Kernel Device Mapper userspace library libdrm-intel1 - Userspace interface to intel-specific kernel DRM services -- runtime libselinux1 - SELinux shared libraries libsplashy1 - Library to draw splash screen on boot, shutdown, resume or suspend iptables - administration tools for packet filtering and NAT libcap2 - support for getting/setting POSIX.1e capabilities |
#apt-cache search linux kernel 2.6.18
gspca-modules-2.6.18-6-486 - gspca video for linux (v4l) driver modules for Linux 2.6.18 on x86 gspca-modules-2.6.18-6-686 - gspca video for linux (v4l) driver modules for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4 gspca-modules-2.6.18-6-686-bigmem - gspca video for linux (v4l) driver modules for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4 gspca-modules-2.6.18-6-amd64 - gspca video for linux (v4l) driver modules for Linux 2.6.18 on AMD64 gspca-modules-2.6.18-6-k7 - gspca video for linux (v4l) driver modules for Linux 2.6.18 on AMD K7 gspca-modules-2.6.18-6-vserver-686 - gspca video for linux (v4l) driver modules for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4 gspca-modules-2.6.18-6-vserver-k7 - gspca video for linux (v4l) driver modules for Linux 2.6.18 on AMD K7 gspca-modules-2.6.18-6-xen-686 - gspca video for linux (v4l) driver modules for Linux 2.6.18 on i686 gspca-modules-2.6.18-6-xen-vserver-686 - gspca video for linux (v4l) driver modules for Linux 2.6.18 on i686 linux-doc-2.6.18 - Linux kernel specific documentation for version 2.6.18 ... kqemu-modules-2.6.18-6-486 - QEMU Accelerator modules for Linux 2.6.18 on x86 kqemu-modules-2.6.18-6-686 - QEMU Accelerator modules for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4 kqemu-modules-2.6.18-6-686-bigmem - QEMU Accelerator modules for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4 kqemu-modules-2.6.18-6-k7 - QEMU Accelerator modules for Linux 2.6.18 on AMD K7 nvidia-kernel-2.6.18-6-486 - NVIDIA binary kernel module for Linux 2.6.18-6-486 nvidia-kernel-2.6.18-6-686 - NVIDIA binary kernel module for Linux 2.6.18-6-686 nvidia-kernel-2.6.18-6-k7 - NVIDIA binary kernel module for Linux 2.6.18-6-k7 nvidia-kernel-legacy-2.6.18-6-486 - NVIDIA binary kernel module for Linux 2.6.18-6-486 (legacy version) nvidia-kernel-legacy-2.6.18-6-686 - NVIDIA binary kernel module for Linux 2.6.18-6-686 (legacy version) nvidia-kernel-legacy-2.6.18-6-k7 - NVIDIA binary kernel module for Linux 2.6.18-6-k7 (legacy version) |
#apt-cache search linux kernel 2.6.18
gspca-modules-2.6.18-6-486 - gspca video for linux (v4l) driver modules for Linux 2.6.18 on x86 gspca-modules-2.6.18-6-686 - gspca video for linux (v4l) driver modules for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4 gspca-modules-2.6.18-6-686-bigmem - gspca video for linux (v4l) driver modules for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4 gspca-modules-2.6.18-6-amd64 - gspca video for linux (v4l) driver modules for Linux 2.6.18 on AMD64 gspca-modules-2.6.18-6-k7 - gspca video for linux (v4l) driver modules for Linux 2.6.18 on AMD K7 gspca-modules-2.6.18-6-vserver-686 - gspca video for linux (v4l) driver modules for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4 gspca-modules-2.6.18-6-vserver-k7 - gspca video for linux (v4l) driver modules for Linux 2.6.18 on AMD K7 gspca-modules-2.6.18-6-xen-686 - gspca video for linux (v4l) driver modules for Linux 2.6.18 on i686 gspca-modules-2.6.18-6-xen-vserver-686 - gspca video for linux (v4l) driver modules for Linux 2.6.18 on i686 linux-doc-2.6.18 - Linux kernel specific documentation for version 2.6.18 ... kqemu-modules-2.6.18-6-486 - QEMU Accelerator modules for Linux 2.6.18 on x86 kqemu-modules-2.6.18-6-686 - QEMU Accelerator modules for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4 kqemu-modules-2.6.18-6-686-bigmem - QEMU Accelerator modules for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4 kqemu-modules-2.6.18-6-k7 - QEMU Accelerator modules for Linux 2.6.18 on AMD K7 nvidia-kernel-2.6.18-6-486 - NVIDIA binary kernel module for Linux 2.6.18-6-486 nvidia-kernel-2.6.18-6-686 - NVIDIA binary kernel module for Linux 2.6.18-6-686 nvidia-kernel-2.6.18-6-k7 - NVIDIA binary kernel module for Linux 2.6.18-6-k7 nvidia-kernel-legacy-2.6.18-6-486 - NVIDIA binary kernel module for Linux 2.6.18-6-486 (legacy version) nvidia-kernel-legacy-2.6.18-6-686 - NVIDIA binary kernel module for Linux 2.6.18-6-686 (legacy version) nvidia-kernel-legacy-2.6.18-6-k7 - NVIDIA binary kernel module for Linux 2.6.18-6-k7 (legacy version) |
#apt-cache search linux kernel|grep 2.6.18
gspca-modules-2.6.18-6-486 - gspca video for linux (v4l) driver modules for Linux 2.6.18 on x86 gspca-modules-2.6.18-6-686 - gspca video for linux (v4l) driver modules for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4 gspca-modules-2.6.18-6-686-bigmem - gspca video for linux (v4l) driver modules for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4 gspca-modules-2.6.18-6-amd64 - gspca video for linux (v4l) driver modules for Linux 2.6.18 on AMD64 gspca-modules-2.6.18-6-k7 - gspca video for linux (v4l) driver modules for Linux 2.6.18 on AMD K7 gspca-modules-2.6.18-6-vserver-686 - gspca video for linux (v4l) driver modules for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4 gspca-modules-2.6.18-6-vserver-k7 - gspca video for linux (v4l) driver modules for Linux 2.6.18 on AMD K7 gspca-modules-2.6.18-6-xen-686 - gspca video for linux (v4l) driver modules for Linux 2.6.18 on i686 gspca-modules-2.6.18-6-xen-vserver-686 - gspca video for linux (v4l) driver modules for Linux 2.6.18 on i686 linux-doc-2.6.18 - Linux kernel specific documentation for version 2.6.18 ... kqemu-modules-2.6.18-6-486 - QEMU Accelerator modules for Linux 2.6.18 on x86 kqemu-modules-2.6.18-6-686 - QEMU Accelerator modules for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4 kqemu-modules-2.6.18-6-686-bigmem - QEMU Accelerator modules for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4 kqemu-modules-2.6.18-6-k7 - QEMU Accelerator modules for Linux 2.6.18 on AMD K7 nvidia-kernel-2.6.18-6-486 - NVIDIA binary kernel module for Linux 2.6.18-6-486 nvidia-kernel-2.6.18-6-686 - NVIDIA binary kernel module for Linux 2.6.18-6-686 nvidia-kernel-2.6.18-6-k7 - NVIDIA binary kernel module for Linux 2.6.18-6-k7 nvidia-kernel-legacy-2.6.18-6-486 - NVIDIA binary kernel module for Linux 2.6.18-6-486 (legacy version) nvidia-kernel-legacy-2.6.18-6-686 - NVIDIA binary kernel module for Linux 2.6.18-6-686 (legacy version) nvidia-kernel-legacy-2.6.18-6-k7 - NVIDIA binary kernel module for Linux 2.6.18-6-k7 (legacy version) |
#apt-cache search linux kernel|grep 2.6.18
gspca-modules-2.6.18-6-486 - gspca video for linux (v4l) driver modules for Linux 2.6.18 on x86 gspca-modules-2.6.18-6-686 - gspca video for linux (v4l) driver modules for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4 gspca-modules-2.6.18-6-686-bigmem - gspca video for linux (v4l) driver modules for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4 gspca-modules-2.6.18-6-amd64 - gspca video for linux (v4l) driver modules for Linux 2.6.18 on AMD64 gspca-modules-2.6.18-6-k7 - gspca video for linux (v4l) driver modules for Linux 2.6.18 on AMD K7 gspca-modules-2.6.18-6-vserver-686 - gspca video for linux (v4l) driver modules for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4 gspca-modules-2.6.18-6-vserver-k7 - gspca video for linux (v4l) driver modules for Linux 2.6.18 on AMD K7 gspca-modules-2.6.18-6-xen-686 - gspca video for linux (v4l) driver modules for Linux 2.6.18 on i686 gspca-modules-2.6.18-6-xen-vserver-686 - gspca video for linux (v4l) driver modules for Linux 2.6.18 on i686 linux-doc-2.6.18 - Linux kernel specific documentation for version 2.6.18 ... kqemu-modules-2.6.18-6-486 - QEMU Accelerator modules for Linux 2.6.18 on x86 kqemu-modules-2.6.18-6-686 - QEMU Accelerator modules for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4 kqemu-modules-2.6.18-6-686-bigmem - QEMU Accelerator modules for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4 kqemu-modules-2.6.18-6-k7 - QEMU Accelerator modules for Linux 2.6.18 on AMD K7 nvidia-kernel-2.6.18-6-486 - NVIDIA binary kernel module for Linux 2.6.18-6-486 nvidia-kernel-2.6.18-6-686 - NVIDIA binary kernel module for Linux 2.6.18-6-686 nvidia-kernel-2.6.18-6-k7 - NVIDIA binary kernel module for Linux 2.6.18-6-k7 nvidia-kernel-legacy-2.6.18-6-486 - NVIDIA binary kernel module for Linux 2.6.18-6-486 (legacy version) nvidia-kernel-legacy-2.6.18-6-686 - NVIDIA binary kernel module for Linux 2.6.18-6-686 (legacy version) nvidia-kernel-legacy-2.6.18-6-k7 - NVIDIA binary kernel module for Linux 2.6.18-6-k7 (legacy version) |
#apt-get install linux-headers-2.6.18-6
linux-headers-2.6.18-6 linux-headers-2.6.18-6-486 linux-headers-2.6.18-6-686 linux-headers-2.6.18-6-686-bigmem linux-headers-2.6.18-6-all linux-headers-2.6.18-6-all-i386 linux-headers-2.6.18-6-amd64 linux-headers-2.6.18-6-k7 linux-headers-2.6.18-6-vserver linux-headers-2.6.18-6-vserver-686 linux-headers-2.6.18-6-vserver-k7 linux-headers-2.6.18-6-xen linux-headers-2.6.18-6-xen-686 linux-headers-2.6.18-6-xen-vserver linux-headers-2.6.18-6-xen-vserver-686 |
#apt-get install linux-headers-2.6.18-6
linux-headers-2.6.18-6 linux-headers-2.6.18-6-486 linux-headers-2.6.18-6-686 linux-headers-2.6.18-6-686-bigmem linux-headers-2.6.18-6-all linux-headers-2.6.18-6-all-i386 linux-headers-2.6.18-6-amd64 linux-headers-2.6.18-6-k7 linux-headers-2.6.18-6-vserver linux-headers-2.6.18-6-vserver-686 linux-headers-2.6.18-6-vserver-k7 linux-headers-2.6.18-6-xen linux-headers-2.6.18-6-xen-686 linux-headers-2.6.18-6-xen-vserver linux-headers-2.6.18-6-xen-vserver-686 |
#apt-get install linux-headers-2.6.18-6-xen-686
Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: cpp-4.1 gcc-4.1 gcc-4.1-base libmudflap0 libmudflap0-dev libssp0 linux-headers-2.6.18-6-xen linux-kbuild-2.6.18 Suggested packages: gcc-4.1-locales gcc-4.1-doc libc6-dev-amd64 lib64gcc1 lib64ssp0 lib64mudflap0 The following NEW packages will be installed: ... Processing triggers for man-db ... Setting up gcc-4.1-base (4.1.1-21) ... Setting up cpp-4.1 (4.1.1-21) ... Setting up libssp0 (4.1.1-21) ... Setting up gcc-4.1 (4.1.1-21) ... Setting up libmudflap0 (4.1.1-21) ... Setting up libmudflap0-dev (4.1.1-21) ... Setting up linux-headers-2.6.18-6-xen (2.6.18.dfsg.1-24) ... Setting up linux-kbuild-2.6.18 (2.6.18-1) ... Setting up linux-headers-2.6.18-6-xen-686 (2.6.18.dfsg.1-24) ... |
#apt-get install linux-headers-2.6.18-6-xen-686
Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: cpp-4.1 gcc-4.1 gcc-4.1-base libmudflap0 libmudflap0-dev libssp0 linux-headers-2.6.18-6-xen linux-kbuild-2.6.18 Suggested packages: gcc-4.1-locales gcc-4.1-doc libc6-dev-amd64 lib64gcc1 lib64ssp0 lib64mudflap0 The following NEW packages will be installed: ... Processing triggers for man-db ... Setting up gcc-4.1-base (4.1.1-21) ... Setting up cpp-4.1 (4.1.1-21) ... Setting up libssp0 (4.1.1-21) ... Setting up gcc-4.1 (4.1.1-21) ... Setting up libmudflap0 (4.1.1-21) ... Setting up libmudflap0-dev (4.1.1-21) ... Setting up linux-headers-2.6.18-6-xen (2.6.18.dfsg.1-24) ... Setting up linux-kbuild-2.6.18 (2.6.18-1) ... Setting up linux-headers-2.6.18-6-xen-686 (2.6.18.dfsg.1-24) ... |
#apt-get install linux-source
linux-source linux-source-2.6.18 linux-source-2.6 linux-source-2.6.24 |
#apt-get install linux-source
linux-source linux-source-2.6.18 linux-source-2.6 linux-source-2.6.24 |
#apt-get install linux-source-2.6.18
Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: libncurses-dev ncurses-dev kernel-package libqt3-mt-dev The following NEW packages will be installed: linux-source-2.6.18 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 41.5MB of archives. After this operation, 41.6MB of additional disk space will be used. Get:1 http://192.168.15.13 etch/main linux-source-2.6.18 2.6.18.dfsg.1-24 [41.5MB] Fetched 41.5MB in 3s (11.4MB/s) Selecting previously deselected package linux-source-2.6.18. (Reading database ... 90816 files and directories currently installed.) Unpacking linux-source-2.6.18 (from .../linux-source-2.6.18_2.6.18.dfsg.1-24_all.deb) ... Setting up linux-source-2.6.18 (2.6.18.dfsg.1-24) ... |
#apt-get install linux-source-2.6.18
Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: libncurses-dev ncurses-dev kernel-package libqt3-mt-dev The following NEW packages will be installed: linux-source-2.6.18 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 41.5MB of archives. After this operation, 41.6MB of additional disk space will be used. Get:1 http://192.168.15.13 etch/main linux-source-2.6.18 2.6.18.dfsg.1-24 [41.5MB] Fetched 41.5MB in 3s (11.4MB/s) Selecting previously deselected package linux-source-2.6.18. (Reading database ... 90816 files and directories currently installed.) Unpacking linux-source-2.6.18 (from .../linux-source-2.6.18_2.6.18.dfsg.1-24_all.deb) ... Setting up linux-source-2.6.18 (2.6.18.dfsg.1-24) ... |
#apt-get install build-essential
Reading package lists... Done Building dependency tree Reading state information... Done build-essential is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. |
#apt-get install build-essential
Reading package lists... Done Building dependency tree Reading state information... Done build-essential is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. |
#ls
back l1 l1-linux-v1.2.40.0.tar.gz linux-headers-2.6.18-6-xen-686_2.6.18.dfsg.1-24etch2_i386.deb miranda Miranda IM putty.reg QIP Infium setup_mtsconnect.exe spark_2_5_8.exe tokyiv Vpnkeys |
#ls
back l1 l1-linux-v1.2.40.0.tar.gz linux-headers-2.6.18-6-xen-686_2.6.18.dfsg.1-24etch2_i386.deb miranda Miranda IM putty.reg QIP Infium setup_mtsconnect.exe spark_2_5_8.exe tokyiv Vpnkeys |
#tar -xvf l1-linux-v1.2.40.0.tar.gz
l1-linux-v1.2.40.0/ l1-linux-v1.2.40.0/release_note.txt l1-linux-v1.2.40.0/readme l1-linux-v1.2.40.0/copying l1-linux-v1.2.40.0/src/ l1-linux-v1.2.40.0/src/at.h l1-linux-v1.2.40.0/src/kcompat_ethtool.c l1-linux-v1.2.40.0/src/kcompat.h l1-linux-v1.2.40.0/src/Makefile l1-linux-v1.2.40.0/src/at_main.c l1-linux-v1.2.40.0/src/at_hw.h l1-linux-v1.2.40.0/src/Module.symvers l1-linux-v1.2.40.0/src/at_hw.c l1-linux-v1.2.40.0/src/at_param.c l1-linux-v1.2.40.0/src/kcompat.c l1-linux-v1.2.40.0/src/at_osdep.h l1-linux-v1.2.40.0/src/at_ethtool.c l1-linux-v1.2.40.0/atl1.spec l1-linux-v1.2.40.0/ldistrib.txt l1-linux-v1.2.40.0/atl1.7 tar: l1-linux-v1.2.40.0: time stamp 2010-03-06 22:31:41 is 23689638.263554 s in the future |
#tar -xvf l1-linux-v1.2.40.0.tar.gz
l1-linux-v1.2.40.0/ l1-linux-v1.2.40.0/release_note.txt l1-linux-v1.2.40.0/readme l1-linux-v1.2.40.0/copying l1-linux-v1.2.40.0/src/ l1-linux-v1.2.40.0/src/at.h l1-linux-v1.2.40.0/src/kcompat_ethtool.c l1-linux-v1.2.40.0/src/kcompat.h l1-linux-v1.2.40.0/src/Makefile l1-linux-v1.2.40.0/src/at_main.c l1-linux-v1.2.40.0/src/at_hw.h l1-linux-v1.2.40.0/src/Module.symvers l1-linux-v1.2.40.0/src/at_hw.c l1-linux-v1.2.40.0/src/at_param.c l1-linux-v1.2.40.0/src/kcompat.c l1-linux-v1.2.40.0/src/at_osdep.h l1-linux-v1.2.40.0/src/at_ethtool.c l1-linux-v1.2.40.0/atl1.spec l1-linux-v1.2.40.0/ldistrib.txt l1-linux-v1.2.40.0/atl1.7 tar: l1-linux-v1.2.40.0: time stamp 2010-03-06 22:31:41 is 23689638.263554 s in the future |
#ls
back l1 l1-linux-v1.2.40.0 l1-linux-v1.2.40.0.tar.gz linux-headers-2.6.18-6-xen-686_2.6.18.dfsg.1-24etch2_i386.deb miranda Miranda IM putty.reg QIP Infium setup_mtsconnect.exe spark_2_5_8.exe tokyiv Vpnkeys |
#ls
back l1 l1-linux-v1.2.40.0 l1-linux-v1.2.40.0.tar.gz linux-headers-2.6.18-6-xen-686_2.6.18.dfsg.1-24etch2_i386.deb miranda Miranda IM putty.reg QIP Infium setup_mtsconnect.exe spark_2_5_8.exe tokyiv Vpnkeys |
#make install
make -C /lib/modules/2.6.18-6-xen-686/build SUBDIRS=/mnt/l1-linux-v1.2.40.0/src modules make[1]: Entering directory `/usr/src/linux-headers-2.6.18-6-xen-686' CC [M] /mnt/l1-linux-v1.2.40.0/src/at_main.o CC [M] /mnt/l1-linux-v1.2.40.0/src/at_hw.o CC [M] /mnt/l1-linux-v1.2.40.0/src/at_param.o CC [M] /mnt/l1-linux-v1.2.40.0/src/at_ethtool.o CC [M] /mnt/l1-linux-v1.2.40.0/src/kcompat.o LD [M] /mnt/l1-linux-v1.2.40.0/src/atl1.o Building modules, stage 2. MODPOST ... # remove all old versions of the driver find /lib/modules/2.6.18-6-xen-686 -name atl1.ko -exec rm -f {} \; || true find /lib/modules/2.6.18-6-xen-686 -name atl1.ko.gz -exec rm -f {} \; || true install -D -m 644 atl1.ko /lib/modules/2.6.18-6-xen-686/kernel/drivers/net/atl1/atl1.ko /sbin/depmod -a || true install -D -m 644 atl1.7.gz /usr/share/man/man7/atl1.7.gz man -c -P'cat > /dev/null' atl1 || true man: cannot write to /var/cache/man/cat7/atl1.7.gz in catman mode atl1. |
#make install
make -C /lib/modules/2.6.18-6-xen-686/build SUBDIRS=/mnt/l1-linux-v1.2.40.0/src modules make[1]: Entering directory `/usr/src/linux-headers-2.6.18-6-xen-686' CC [M] /mnt/l1-linux-v1.2.40.0/src/at_main.o CC [M] /mnt/l1-linux-v1.2.40.0/src/at_hw.o CC [M] /mnt/l1-linux-v1.2.40.0/src/at_param.o CC [M] /mnt/l1-linux-v1.2.40.0/src/at_ethtool.o CC [M] /mnt/l1-linux-v1.2.40.0/src/kcompat.o LD [M] /mnt/l1-linux-v1.2.40.0/src/atl1.o Building modules, stage 2. MODPOST ... # remove all old versions of the driver find /lib/modules/2.6.18-6-xen-686 -name atl1.ko -exec rm -f {} \; || true find /lib/modules/2.6.18-6-xen-686 -name atl1.ko.gz -exec rm -f {} \; || true install -D -m 644 atl1.ko /lib/modules/2.6.18-6-xen-686/kernel/drivers/net/atl1/atl1.ko /sbin/depmod -a || true install -D -m 644 atl1.7.gz /usr/share/man/man7/atl1.7.gz man -c -P'cat > /dev/null' atl1 || true man: cannot write to /var/cache/man/cat7/atl1.7.gz in catman mode atl1. |
#modprobe
Usage: modprobe [-v] [-V] [-C config-file] [-d <dirname> ] [-n] [-i] [-q] [-b] [-o <modname>] [ --dump-modversions ] <modname> [parameters...] modprobe -r [-n] [-i] [-v] <modulename> ... modprobe -l -t <dirname> [ -a <modulename> ...] |
#modprobe
Usage: modprobe [-v] [-V] [-C config-file] [-d <dirname> ] [-n] [-i] [-q] [-b] [-o <modname>] [ --dump-modversions ] <modname> [parameters...] modprobe -r [-n] [-i] [-v] <modulename> ... modprobe -l -t <dirname> [ -a <modulename> ...] |
Время первой команды журнала | 17:05:35 2009- 6- 5 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 19:04:54 2009- 6- 5 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 11.88 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 4.95 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 1.35 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 1.25 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found |
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4 |
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ find / -name abc find: /home/devi-orig/.gnome2: Keine Berechtigung find: /home/devi-orig/.gnome2_private: Keine Berechtigung find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung find: /home/devi-orig/.metacity: Keine Berechtigung find: /home/devi-orig/.inkscape: Keine Berechtigung ^C |
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root) |
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc
|
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc |
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
Интересно, кто я? |
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user
|
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1 2 3 4Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.
LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008