/l3/users/max-public/nt-scale/debian3.unix.nt/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 |
|
#./install-authorized
![]() root@debian1's password: root@debian2's password: root@debian3's password: root@debian4's password: Debian GNU/Linux 6.0 root@debian5's password: |
#./install-authorized
root@debian1's password: root@debian2's password: root@debian3's password: root@debian4's password: Debian GNU/Linux 6.0 root@debian5's password: |
#ssh-key
![]() ssh-keygen ssh-keyscan |
#ssh-key
![]() ssh-keygen ssh-keyscan |
#ssh-keygen -t dsa
![]() Generating public/private dsa key pair. Enter file in which to save the key (/root/.ssh/id_dsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /root/.ssh/id_dsa. Your public key has been saved in /root/.ssh/id_dsa.pub. The key fingerprint is: 1f:cf:c8:b8:b5:8e:12:1a:b8:99:29:f9:3e:97:8f:0b root@debian3 The key's randomart image is: +--[ DSA 1024]----+ | | | | | | | | | . S . | | . . . + = | | .E= + .. = o | |o *.+.. + . | | +oooo..o.o | +-----------------+ |
#ssh-keygen -t dsa
Generating public/private dsa key pair. Enter file in which to save the key (/root/.ssh/id_dsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /root/.ssh/id_dsa. Your public key has been saved in /root/.ssh/id_dsa.pub. The key fingerprint is: 1f:cf:c8:b8:b5:8e:12:1a:b8:99:29:f9:3e:97:8f:0b root@debian3 The key's randomart image is: +--[ DSA 1024]----+ | | | | | | | | | . S . | | . . . + = | | .E= + .. = o | |o *.+.. + . | | +oooo..o.o | +-----------------+ |
#./install-authorized
![]() root@debian1's password: root@debian2's password: root@debian3's password: root@debian4's password: Debian GNU/Linux 6.0 root@debian5's password: |
#./install-authorized
root@debian1's password: root@debian2's password: root@debian3's password: root@debian4's password: Debian GNU/Linux 6.0 root@debian5's password: |
#ssh user@debian5
![]() Debian GNU/Linux 6.0 user@debian5's password: Permission denied, please try again. user@debian5's password: Linux debian5 2.6.39-bpo.2-686-pae #1 SMP Thu Aug 4 11:02:22 UTC 2011 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. You have mail. Last login: Mon Feb 20 12:20:25 2012 user@debian5:~$ exit logout Connection to debian5 closed. |
#ssh user@debian5
Debian GNU/Linux 6.0 user@debian5's password: Permission denied, please try again. user@debian5's password: Linux debian5 2.6.39-bpo.2-686-pae #1 SMP Thu Aug 4 11:02:22 UTC 2011 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. You have mail. Last login: Mon Feb 20 12:20:25 2012 user@debian5:~$ exit logout Connection to debian5 closed. |
#ssh root@debian2
![]() Linux debian2 2.6.39-bpo.2-686-pae #1 SMP Thu Aug 4 11:02:22 UTC 2011 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Thu Feb 23 10:44:13 2012 from debian1.unix.nt l3-agent is already running: pid=2575; pidfile=/root/.lilalo/l3-agent.pid |
#ssh root@debian2
Linux debian2 2.6.39-bpo.2-686-pae #1 SMP Thu Aug 4 11:02:22 UTC 2011 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Thu Feb 23 10:44:13 2012 from debian1.unix.nt l3-agent is already running: pid=2575; pidfile=/root/.lilalo/l3-agent.pid |
#ssh root@debian4
![]() l3-agent is already running: pid=2470; pidfile=/root/.lilalo/l3-agent.pid |
#ssh root@debian4
l3-agent is already running: pid=2470; pidfile=/root/.lilalo/l3-agent.pid |
#cat ./install-authorized
![]() for i in 1 2 3 4 5 do cat ~/.ssh/id_dsa.pub | ssh debian$i 'cat >> ~/.ssh/authorized_keys' done |
#cat ./install-authorized
for i in 1 2 3 4 5 do cat ~/.ssh/id_dsa.pub | ssh debian$i 'cat >> ~/.ssh/authorized_keys' done |
#ssh user@10.0.35.40
![]() bash: hjljh: command not found user@book:~$ kjhkljhl bash: kjhkljhl: command not found user@book:~$ Max bash: Max: command not found user@book:~$ user@book:~$ user@book:~$ user@book:~$ ssh root@10.0.35.45 root@10.0.35.45's password: ... vzdump - OpenVZ backup scripts vzquota - server virtualization solution - quota tools [root@debian5:~]# Write failed: Broken pipe user@book:~$ user@book:~$ user@book:~$ user@book:~$ user@book:~$ user@book:~$ ---------------------------------------------------------------------------------------------------------- |
#ssh user@10.0.35.40
user@book:~$ user@book:~$ j bash: j: command not found user@book:~$ kjhklh bash: kjhklh: command not found user@book:~$ user@book:~$ user@book:~$ k bash: k: command not found user@book:~$ k ... user@book:~$ kjhkljhl bash: kjhkljhl: command not found user@book:~$ Max bash: Max: command not found user@book:~$ user@book:~$ user@book:~$ user@book:~$ ssh root@10.0.35.45 root@10.0.35.45's password: l3-agent is already running: pid=2392; pidfile=/root/.lilalo/l3-agent.pid |
#lspci
![]() 00:00.0 Host bridge: Intel Corporation 82Q35 Express DRAM Controller (rev 02) 00:02.0 VGA compatible controller: Intel Corporation 82Q35 Express Integrated Graphics Controller (rev 02) 00:03.0 Communication controller: Intel Corporation 82Q35 Express MEI Controller (rev 02) 00:03.2 IDE interface: Intel Corporation 82Q35 Express PT IDER Controller (rev 02) 00:03.3 Serial controller: Intel Corporation 82Q35 Express Serial KT Controller (rev 02) 00:19.0 Ethernet controller: Intel Corporation 82566DM-2 Gigabit Network Connection (rev 02) 00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02) 00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02) 00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02) 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02) 00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02) 00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 02) 00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02) 00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02) 00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02) 00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92) 00:1f.0 ISA bridge: Intel Corporation 82801IO (ICH9DO) LPC Interface Controller (rev 02) 00:1f.2 IDE interface: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA IDE Controller (rev 02) 00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller (rev 02) 07:04.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02) |
#lspci
00:00.0 Host bridge: Intel Corporation 82Q35 Express DRAM Controller (rev 02) 00:02.0 VGA compatible controller: Intel Corporation 82Q35 Express Integrated Graphics Controller (rev 02) 00:03.0 Communication controller: Intel Corporation 82Q35 Express MEI Controller (rev 02) 00:03.2 IDE interface: Intel Corporation 82Q35 Express PT IDER Controller (rev 02) 00:03.3 Serial controller: Intel Corporation 82Q35 Express Serial KT Controller (rev 02) 00:19.0 Ethernet controller: Intel Corporation 82566DM-2 Gigabit Network Connection (rev 02) 00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02) 00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02) 00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02) 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02) 00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02) 00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 02) 00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02) 00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02) 00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02) 00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92) 00:1f.0 ISA bridge: Intel Corporation 82801IO (ICH9DO) LPC Interface Controller (rev 02) 00:1f.2 IDE interface: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA IDE Controller (rev 02) 00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller (rev 02) 07:04.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02) |
#lspci -v
![]() 00:00.0 Host bridge: Intel Corporation 82Q35 Express DRAM Controller (rev 02) Subsystem: Hewlett-Packard Company Device 2819 Flags: bus master, fast devsel, latency 0 Capabilities: [e0] Vendor Specific Information: Len=0b <?> Kernel driver in use: agpgart-intel 00:02.0 VGA compatible controller: Intel Corporation 82Q35 Express Integrated Graphics Controller (rev 02) (prog-if 00 [VGA controller]) Subsystem: Hewlett-Packard Company Device 2819 Flags: bus master, fast devsel, latency 0, IRQ 43 Memory at f0100000 (32-bit, non-prefetchable) [size=512K] I/O ports at 2230 [size=8] ... Subsystem: Intel Corporation PRO/1000 MT Desktop Adapter Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 20 Memory at f0200000 (32-bit, non-prefetchable) [size=128K] Memory at f0220000 (32-bit, non-prefetchable) [size=128K] I/O ports at 1100 [size=64] [virtual] Expansion ROM at f0300000 [disabled] [size=128K] Capabilities: [dc] Power Management version 2 Capabilities: [e4] PCI-X non-bridge device Capabilities: [f0] MSI: Enable- Count=1/1 Maskable- 64bit+ Kernel driver in use: e1000 |
#lspci -v
00:00.0 Host bridge: Intel Corporation 82Q35 Express DRAM Controller (rev 02) Subsystem: Hewlett-Packard Company Device 2819 Flags: bus master, fast devsel, latency 0 Capabilities: [e0] Vendor Specific Information: Len=0b <?> Kernel driver in use: agpgart-intel 00:02.0 VGA compatible controller: Intel Corporation 82Q35 Express Integrated Graphics Controller (rev 02) (prog-if 00 [VGA controller]) Subsystem: Hewlett-Packard Company Device 2819 Flags: bus master, fast devsel, latency 0, IRQ 43 Memory at f0100000 (32-bit, non-prefetchable) [size=512K] I/O ports at 2230 [size=8] ... Subsystem: Intel Corporation PRO/1000 MT Desktop Adapter Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 20 Memory at f0200000 (32-bit, non-prefetchable) [size=128K] Memory at f0220000 (32-bit, non-prefetchable) [size=128K] I/O ports at 1100 [size=64] [virtual] Expansion ROM at f0300000 [disabled] [size=128K] Capabilities: [dc] Power Management version 2 Capabilities: [e4] PCI-X non-bridge device Capabilities: [f0] MSI: Enable- Count=1/1 Maskable- 64bit+ Kernel driver in use: e1000 |
#lspci -v | less
![]() |
#ls /home/user/
![]() .bash_history .gconf/ .l3rc .ssh/ .bash_logout .gconfd/ .lilalo/ Templates/ .bash_profile .gnash/ .local/ .themes/ .bashrc .gnome2/ .mc/ .thumbnails/ .config/ .gnome2_private/ .mozilla/ .update-notifier/ .dbus/ .gnupg/ Music/ Videos/ Desktop/ .gstreamer-0.10/ .nautilus/ .viminfo Documents/ .gtk-bookmarks Pictures/ .xsession-errors Downloads/ .gvfs/ .profile .xsession-errors.old .esd_auth .ICEauthority Public/ .fontconfig/ .icons/ .recently-used.xbel |
#ls /home/user/D
![]() Desktop/ Documents/ Downloads/ |
#ls /home/user/Downloads/
![]() e1000e-1.9.5.tar.gz |
#ls /home/user/
![]() .bash_history .gconf/ .l3rc .ssh/ .bash_logout .gconfd/ .lilalo/ Templates/ .bash_profile .gnash/ .local/ .themes/ .bashrc .gnome2/ .mc/ .thumbnails/ .config/ .gnome2_private/ .mozilla/ .update-notifier/ .dbus/ .gnupg/ Music/ Videos/ Desktop/ .gstreamer-0.10/ .nautilus/ .viminfo Documents/ .gtk-bookmarks Pictures/ .xsession-errors Downloads/ .gvfs/ .profile .xsession-errors.old .esd_auth .ICEauthority Public/ .fontconfig/ .icons/ .recently-used.xbel |
#ls /home/user/D
![]() Desktop/ Documents/ Downloads/ |
#ls /home/user/Downloads/
e1000e-1.9.5.tar.gz |
#apt-cache search linux image xen
![]() linux-headers-2.6.32-5-xen-686 - Header files for Linux 2.6.32-5-xen-686 linux-image-2.6.32-5-xen-686-dbg - Debugging infos for Linux 2.6.32-5-xen-686 linux-image-2.6.32-5-xen-686 - Linux 2.6.32 for modern PCs, Xen dom0 support xen-linux-system-2.6.32-5-xen-686 - Xen system with Linux 2.6.32 on modern PCs (meta-package) linux-image-2.6-xen-686 - Linux 2.6 for modern PCs (meta-package), Xen dom0 support linux-image-xen-686 - Linux for modern PCs (meta-package), Xen dom0 support |
#apt-cache search linux image xen
linux-headers-2.6.32-5-xen-686 - Header files for Linux 2.6.32-5-xen-686 linux-image-2.6.32-5-xen-686-dbg - Debugging infos for Linux 2.6.32-5-xen-686 linux-image-2.6.32-5-xen-686 - Linux 2.6.32 for modern PCs, Xen dom0 support xen-linux-system-2.6.32-5-xen-686 - Xen system with Linux 2.6.32 on modern PCs (meta-package) linux-image-2.6-xen-686 - Linux 2.6 for modern PCs (meta-package), Xen dom0 support linux-image-xen-686 - Linux for modern PCs (meta-package), Xen dom0 support |
#apt-get install xen-linux-system-2.6.32-5-xen-686
![]() Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: firmware-linux-free gawk libc6-xen libxenstore3.0 linux-image-2.6.32-5-xen-686 python2.5 python2.5-minimal xen-hypervisor-4.0-i386 xen-utils-4.0 xen-utils-common xenstore-utils Suggested packages: linux-doc-2.6.32 grub python2.5-doc python-profiler xen-docs-4.0 Recommended packages: xen-hypervisor-4.0 ... Found initrd image: /boot/initrd.img-2.6.32-5-xen-686 Found Debian GNU/Linux (6.0.4) on /dev/mapper/VG0-vol1 done Setting up xen-linux-system-2.6.32-5-xen-686 (2.6.32-41) ... Setting up xenstore-utils (4.0.1-4) ... Setting up xen-utils-common (4.0.0-1) ... Setting up xen-utils-4.0 (4.0.1-4) ... update-alternatives: using /usr/lib/xen-4.0 to provide /usr/lib/xen-default (xen-default) in auto mode. Processing triggers for python-support ... Processing triggers for menu ... |
#apt-get install xen-linux-system-2.6.32-5-xen-686
Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: firmware-linux-free gawk libc6-xen libxenstore3.0 linux-image-2.6.32-5-xen-686 python2.5 python2.5-minimal xen-hypervisor-4.0-i386 xen-utils-4.0 xen-utils-common xenstore-utils Suggested packages: linux-doc-2.6.32 grub python2.5-doc python-profiler xen-docs-4.0 Recommended packages: xen-hypervisor-4.0 ... Found initrd image: /boot/initrd.img-2.6.32-5-xen-686 Found Debian GNU/Linux (6.0.4) on /dev/mapper/VG0-vol1 done Setting up xen-linux-system-2.6.32-5-xen-686 (2.6.32-41) ... Setting up xenstore-utils (4.0.1-4) ... Setting up xen-utils-common (4.0.0-1) ... Setting up xen-utils-4.0 (4.0.1-4) ... update-alternatives: using /usr/lib/xen-4.0 to provide /usr/lib/xen-default (xen-default) in auto mode. Processing triggers for python-support ... Processing triggers for menu ... |
#apt-cache search linux header
![]() abi-compliance-checker - tool to compare ABI compatibility of shared C/C++ library versions alsa-source - ALSA driver sources libattr1-dev - Extended attribute static libraries and headers libcr-dev - Development files for BLCR libcluster-glue-dev - The reusable cluster components for Linux HA (library dev files) comedi-source - Comedi kernel module source compiz-dev - OpenGL window and compositing manager - development files connman-dev - Development files for connman console-tools-dev - Development files for Linux console and font manipulation libdmraid-dev - Device-Mapper Software RAID support tool - header files ... uboot-mkimage - generate kernel image for U-Boot ulog-acctd - Accounting daemon for Linux 2.4+ netfilter libv4l-dev - Collection of video4linux support libraries (development files) vdr-dev - Video Disk Recorder for DVB cards virtualbox-ose-dkms - x86 virtualization solution - kernel module sources for dkms virtualbox-ose-guest-dkms - x86 virtualization solution - guest addition module source for dkms virtualbox-ose-guest-source - x86 virtualization solution - guest addition module source virtualbox-ose-source - x86 virtualization solution - kernel module source libiw-dev - Wireless tools - development files libxenomai-dev - Headers and static libs for Xenomai |
#apt-cache search linux header
abi-compliance-checker - tool to compare ABI compatibility of shared C/C++ library versions alsa-source - ALSA driver sources libattr1-dev - Extended attribute static libraries and headers libcr-dev - Development files for BLCR libcluster-glue-dev - The reusable cluster components for Linux HA (library dev files) comedi-source - Comedi kernel module source compiz-dev - OpenGL window and compositing manager - development files connman-dev - Development files for connman console-tools-dev - Development files for Linux console and font manipulation libdmraid-dev - Device-Mapper Software RAID support tool - header files ... uboot-mkimage - generate kernel image for U-Boot ulog-acctd - Accounting daemon for Linux 2.4+ netfilter libv4l-dev - Collection of video4linux support libraries (development files) vdr-dev - Video Disk Recorder for DVB cards virtualbox-ose-dkms - x86 virtualization solution - kernel module sources for dkms virtualbox-ose-guest-dkms - x86 virtualization solution - guest addition module source for dkms virtualbox-ose-guest-source - x86 virtualization solution - guest addition module source virtualbox-ose-source - x86 virtualization solution - kernel module source libiw-dev - Wireless tools - development files libxenomai-dev - Headers and static libs for Xenomai |
#apt-cache search linux header xen
![]() linux-headers-2.6.32-5-common-xen - Common header files for Linux 2.6.32-5-xen linux-headers-2.6.32-5-xen-686 - Header files for Linux 2.6.32-5-xen-686 linux-headers-2.6-xen-686 - Header files for Linux 2.6-xen-686 (meta-package) libvirt-dev - development files for the libvirt library libxenomai-dev - Headers and static libs for Xenomai |
#apt-cache search linux header xen
linux-headers-2.6.32-5-common-xen - Common header files for Linux 2.6.32-5-xen linux-headers-2.6.32-5-xen-686 - Header files for Linux 2.6.32-5-xen-686 linux-headers-2.6-xen-686 - Header files for Linux 2.6-xen-686 (meta-package) libvirt-dev - development files for the libvirt library libxenomai-dev - Headers and static libs for Xenomai |
#apt-get install linux-headers-2.6.32-5-xen-686
![]() Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: cpp-4.3 gcc-4.3 gcc-4.3-base linux-headers-2.6.32-5-common-xen linux-kbuild-2.6.32 Suggested packages: gcc-4.3-locales gcc-4.3-multilib libmudflap0-4.3-dev gcc-4.3-doc libgcc1-dbg libgomp1-dbg libmudflap0-dbg The following NEW packages will be installed: cpp-4.3 gcc-4.3 gcc-4.3-base linux-headers-2.6.32-5-common-xen linux-headers-2.6.32-5-xen-686 linux-kbuild-2.6.32 ... Selecting previously deselected package linux-kbuild-2.6.32. Unpacking linux-kbuild-2.6.32 (from .../linux-kbuild-2.6.32_2.6.32-1_i386.deb) ... Selecting previously deselected package linux-headers-2.6.32-5-xen-686. Unpacking linux-headers-2.6.32-5-xen-686 (from .../linux-headers-2.6.32-5-xen-686_2.6.32-41_i386.deb) ... Setting up gcc-4.3-base (4.3.5-4) ... Setting up cpp-4.3 (4.3.5-4) ... Setting up gcc-4.3 (4.3.5-4) ... Setting up linux-headers-2.6.32-5-common-xen (2.6.32-41) ... Setting up linux-kbuild-2.6.32 (2.6.32-1) ... Setting up linux-headers-2.6.32-5-xen-686 (2.6.32-41) ... |
#apt-get install linux-headers-2.6.32-5-xen-686
Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: cpp-4.3 gcc-4.3 gcc-4.3-base linux-headers-2.6.32-5-common-xen linux-kbuild-2.6.32 Suggested packages: gcc-4.3-locales gcc-4.3-multilib libmudflap0-4.3-dev gcc-4.3-doc libgcc1-dbg libgomp1-dbg libmudflap0-dbg The following NEW packages will be installed: cpp-4.3 gcc-4.3 gcc-4.3-base linux-headers-2.6.32-5-common-xen linux-headers-2.6.32-5-xen-686 linux-kbuild-2.6.32 ... Selecting previously deselected package linux-kbuild-2.6.32. Unpacking linux-kbuild-2.6.32 (from .../linux-kbuild-2.6.32_2.6.32-1_i386.deb) ... Selecting previously deselected package linux-headers-2.6.32-5-xen-686. Unpacking linux-headers-2.6.32-5-xen-686 (from .../linux-headers-2.6.32-5-xen-686_2.6.32-41_i386.deb) ... Setting up gcc-4.3-base (4.3.5-4) ... Setting up cpp-4.3 (4.3.5-4) ... Setting up gcc-4.3 (4.3.5-4) ... Setting up linux-headers-2.6.32-5-common-xen (2.6.32-41) ... Setting up linux-kbuild-2.6.32 (2.6.32-1) ... Setting up linux-headers-2.6.32-5-xen-686 (2.6.32-41) ... |
#ssh user@10.0.35.40
![]() ### BEGIN /etc/grub.d/05_debian_theme ### insmod part_msdos insmod ext2 set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set 09b20631-f04e-4893-a30a-7ee4b444e4de insmod png if background_image /usr/share/images/desktop-base/spacefun-grub.png; then set color_normal=light-gray/black set color_highlight=white/black else ... search --no-floppy --fs-uuid --set 09b20631-f04e-4893-a30a-7ee4b444e4de echo 'Loading Linux 2.6.39-bpo.2-686-pae ...' linux /boot/vmlinuz-2.6.39-bpo.2-686-pae root=UUID=09b20631-f04e-4893-a30a-7ee4b444e4de ro single echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.39-bpo.2-686-pae insmod part_msdos } insmod ext2 menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-xen-686' --class debian --class gnu-linux --class gnu --class os { set root='(hd0,msdos1)' |
#ssh user@10.0.35.40
function savedefault { saved_entry="${chosen}" ifsave_env saved_entry ]; then fi } function load_video { insmod vbe insmod vga insmod video_bochs insmod video_cirrus ... set meinsmod ext2rmal=cyan/blue set root='(hd0,msdos1)' set meset root='(hd0,msdos1)'e/blue fi search --no-floppy --fs-uuid --set 09b20631-f04e-4893-a30a-7ee4b444e4de ### END echo/gru'Loading Linux 2.6.39-bpo.2-686-pae ...' linux /boot/vmlinuz-2.6.39-bpo.2-686-pae root=UUID=09b20631-f04e-4893-a30a-7ee4b444e4de ro single ### BEGIechotc/g'Loading initial ramdisk ...' menuentrinitrd /boot/initrd.img-2.6.39-bpo.2-686-pae686-pae' --class debian --class gnu-linux --class gnu --class os { } menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-xen-686' --class debian --class gnu-linux --class gnu --class os { |
#vim /boot/grub/grub.cfg
![]() --- /tmp/l3-saved-2814.14946.13121 2012-02-23 14:47:40.000000000 +0200 +++ /boot/grub/grub.cfg 2012-02-23 14:48:53.000000000 +0200 @@ -9,7 +9,7 @@ if [ -s $prefix/grubenv ]; then load_env fi -set default="0" +set default="4" if [ "${prev_saved_entry}" ]; then set saved_entry="${prev_saved_entry}" save_env saved_entry |
#vim /boot/grub/grub.cfg
![]() --- /tmp/l3-saved-2814.6209.23332 2012-02-23 14:52:00.000000000 +0200 +++ /boot/grub/grub.cfg 2012-02-23 14:56:20.000000000 +0200 @@ -58,7 +58,7 @@ set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set d1d3fe1c-0e10-4948-816a-9c9d9edc4f8b insmod png -if background_image /usr/share/images/desktop-base/spacefun-grub.png; then +if background_image /usr/share/images/desktop-base/nbu.png; then set color_normal=light-gray/black set color_highlight=white/black else |
#ssh user@10.0.35.40
![]() set color_highlight=white/black else set meinsmod part_msdosyan/blue set meinsmod ext2ghlight=white/blue fi set root='(hd0,msdos1)' ### END echoch -'Loading initial ramdisk ...'b20631-f04e-4893-a30a-7ee4b444e4de initrd /boot/initrd.img-2.6.39-bpo.2-686-pae..' }## BEGIlinux /boot/vmlinuz-2.6.39-bpo.2-686-pae root=UUID=09b20631-f04e-4893-a30a-7ee4 menuentry 'Debian GNU/Linux, with Linux 2.6.39-bpo.2-686-pae (recovery mode)' --class deb { ... } module /boot/vmlinuz-2.6.39-bpo.2-686-pae placeholder root=UUID=09b20631-f04e-4893-a30a-7ee4b444e4de ro sin menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-xen-686 and XEN 4.0-i386' --class debian --class gnu-linux --class class xen { insmod part_msdos echood e'Loading initial ramdisk ...' module /boot/initrd.img-2.6.32-5-xen-686 } search --no-floppy --fs-uuid --set 09b20631-f04e-4893-a30a-7ee4b444e4de menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-xen-686 and XEN 4.0-i386 (recovery mode)' --class debian --class gn nu --class os --class xen {ot/xen-4.0-i386.gz placeholder insmod part_msdosinuz-2.6.32-5-xen-686 placeholder root=UUID=09b20631-f04e-4893-a30a-7ee4b444e4de ro quiet |
#ssh user@10.0.35.40
if background_image /usr/share/images/desktop-base/nbu.png; then set color_normal=light-gray/black set color_highlight=white/black else set menu_color_normal=cyan/blue set menu_color_highlight=white/blue insmod part_msdos fi insmod ext2 ### END /etc/grub.d/05_debian_theme ### ... echood e'Loading initial ramdisk ...'b20631-f04e-4893-a30a-7ee4b444e4de module /boot/initrd.img-2.6.32-5-xen-686ae ...' search --no-floppy --fs-uuid --set 09b20631-f04e-4893-a30a-7ee4b444e4de echole 'Loading Linux 2.6.32-5-xen-686 ...'laceholder root=UUID=09b20631-f04e-4893-a30a-7ee4b444e4de ro qu multiboot /boot/xen-4.0-i386.gz placeholder module /boot/vmlinuz-2.6.32-5-xen-686 placeholder root=UUID=09b20631-f04e-4893-a30a-7ee4b444e4de ro quiet } menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-xen-686 and XEN 4.0-i386 (recovery mode)' --class debian --class gn nu --class os --class xen { insmod part_msdos |
#xen
![]() xend xenstore-chmod xenstore-ls xenstore-write xentrace_format xenperf xenstore-exists xenstore-read xentop xentrace_setmask xenpm xenstore-list xenstore-rm xentrace xentrace_setsize |
#xen
![]() xend xenstore-chmod xenstore-ls xenstore-write xentrace_format xenperf xenstore-exists xenstore-read xentop xentrace_setmask xenpm xenstore-list xenstore-rm xentrace xentrace_setsize |
#Mem: 8305976k total, 7298344k used, 1007632k free CPUs: 2 @ 2327MHz
![]() processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz stepping : 11 cpu MHz : 1998.000 cache size : 4096 KB fdiv_bug : no hlt_bug : no ... fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu de tsc msr pae cx8 apic cmov pat clflush acpi mmx fxsr sse sse2 ss ht nx constant_tsc aperfmperf pni est ssse3 hypervisor dts bogomips : 4655.09 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: |
#Mem: 8305976k total, 7298344k used, 1007632k free CPUs: 2 @ 2327MHz
processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz stepping : 11 cpu MHz : 1998.000 cache size : 4096 KB fdiv_bug : no hlt_bug : no ... fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu de tsc msr pae cx8 apic cmov pat clflush acpi mmx fxsr sse sse2 ss ht nx constant_tsc aperfmperf pni est ssse3 hypervisor dts bogomips : 4655.09 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: |
#xm
![]() Usage: xm <subcommand> [args] Control, list, and manipulate Xen guest instances. Common 'xm' commands: console Attach to <Domain>'s console. vncviewer Attach to <Domain>'s VNC server. create Create a domain based on <ConfigFile>. new Adds a domain to Xend domain management delete Remove a domain from Xend domain management. destroy Terminate a domain immediately. dump-core Dump core for a specific domain. ... unpause Unpause a paused domain. uptime Print uptime for all/some domains. usb-add Add the usb device to FV VM. usb-del Delete the usb device to FV VM. vcpu-set Set the number of active VCPUs for allowed for the domain. <Domain> can either be the Domain Name or Id. For more help on 'xm' see the xm(1) man page. For more help on 'xm create' see the xmdomain.cfg(5) man page. For a complete list of subcommands run 'xm help'. |
#xm
![]() Usage: xm <subcommand> [args] Control, list, and manipulate Xen guest instances. Common 'xm' commands: console Attach to <Domain>'s console. vncviewer Attach to <Domain>'s VNC server. create Create a domain based on <ConfigFile>. new Adds a domain to Xend domain management delete Remove a domain from Xend domain management. destroy Terminate a domain immediately. dump-core Dump core for a specific domain. ... unpause Unpause a paused domain. uptime Print uptime for all/some domains. usb-add Add the usb device to FV VM. usb-del Delete the usb device to FV VM. vcpu-set Set the number of active VCPUs for allowed for the domain. <Domain> can either be the Domain Name or Id. For more help on 'xm' see the xm(1) man page. For more help on 'xm create' see the xmdomain.cfg(5) man page. For a complete list of subcommands run 'xm help'. |
#xm info
![]() host : debian3 release : 2.6.39-bpo.2-686-pae version : #1 SMP Thu Aug 4 11:02:22 UTC 2011 machine : i686 nr_cpus : 2 nr_nodes : 1 cores_per_socket : 2 threads_per_core : 1 cpu_mhz : 2327 hw_caps : bfebfbff:20100000:00000000:00000940:0000e3fd:00000000:00000001:00000000 ... xen_scheduler : credit xen_pagesize : 4096 platform_params : virt_start=0xf5800000 xen_changeset : unavailable xen_commandline : placeholder cc_compiler : gcc version 4.4.5 (Debian 4.4.5-8) cc_compile_by : waldi cc_compile_domain : debian.org cc_compile_date : Mon Nov 7 09:18:26 CET 2011 xend_config_format : 4 |
#xm info
host : debian3 release : 2.6.39-bpo.2-686-pae version : #1 SMP Thu Aug 4 11:02:22 UTC 2011 machine : i686 nr_cpus : 2 nr_nodes : 1 cores_per_socket : 2 threads_per_core : 1 cpu_mhz : 2327 hw_caps : bfebfbff:20100000:00000000:00000940:0000e3fd:00000000:00000001:00000000 ... xen_scheduler : credit xen_pagesize : 4096 platform_params : virt_start=0xf5800000 xen_changeset : unavailable xen_commandline : placeholder cc_compiler : gcc version 4.4.5 (Debian 4.4.5-8) cc_compile_by : waldi cc_compile_domain : debian.org cc_compile_date : Mon Nov 7 09:18:26 CET 2011 xend_config_format : 4 |
#cat /proc/cpuinfo
![]() processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz stepping : 11 cpu MHz : 1998.000 cache size : 4096 KB fdiv_bug : no hlt_bug : no ... fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu de tsc msr pae cx8 apic cmov pat clflush acpi mmx fxsr sse sse2 ss ht nx constant_tsc aperfmperf pni est ssse3 hypervisor dts bogomips : 4655.09 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: |
#cat /proc/cpuinfo
processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz stepping : 11 cpu MHz : 1998.000 cache size : 4096 KB fdiv_bug : no hlt_bug : no ... fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu de tsc msr pae cx8 apic cmov pat clflush acpi mmx fxsr sse sse2 ss ht nx constant_tsc aperfmperf pni est ssse3 hypervisor dts bogomips : 4655.09 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: |
#xm info
![]() host : debian3 release : 2.6.39-bpo.2-686-pae version : #1 SMP Thu Aug 4 11:02:22 UTC 2011 machine : i686 nr_cpus : 2 nr_nodes : 1 cores_per_socket : 2 threads_per_core : 1 cpu_mhz : 2327 hw_caps : bfebfbff:20100000:00000000:00000940:0000e3fd:00000000:00000001:00000000 ... xen_scheduler : credit xen_pagesize : 4096 platform_params : virt_start=0xf5800000 xen_changeset : unavailable xen_commandline : placeholder cc_compiler : gcc version 4.4.5 (Debian 4.4.5-8) cc_compile_by : waldi cc_compile_domain : debian.org cc_compile_date : Mon Nov 7 09:18:26 CET 2011 xend_config_format : 4 |
#xm info
host : debian3 release : 2.6.39-bpo.2-686-pae version : #1 SMP Thu Aug 4 11:02:22 UTC 2011 machine : i686 nr_cpus : 2 nr_nodes : 1 cores_per_socket : 2 threads_per_core : 1 cpu_mhz : 2327 hw_caps : bfebfbff:20100000:00000000:00000940:0000e3fd:00000000:00000001:00000000 ... xen_scheduler : credit xen_pagesize : 4096 platform_params : virt_start=0xf5800000 xen_changeset : unavailable xen_commandline : placeholder cc_compiler : gcc version 4.4.5 (Debian 4.4.5-8) cc_compile_by : waldi cc_compile_domain : debian.org cc_compile_date : Mon Nov 7 09:18:26 CET 2011 xend_config_format : 4 |
#brctl show
![]() bridge name bridge id STP enabled interfaces pan0 8000.000000000000 no |
#brctl show
bridge name bridge id STP enabled interfaces pan0 8000.000000000000 no |
#/etc/xen/scripts/
![]() blktap network-bridge vif-bridge vtpm-delete block network-nat vif-nat xen-hotplug-cleanup block-enbd network-route vif-route block-nbd qemu-ifup vscsi external-device-migrate vif2 vtpm |
#/etc/xen/scripts/
![]() blktap network-bridge vif-bridge vtpm-delete block network-nat vif-nat xen-hotplug-cleanup block-enbd network-route vif-route block-nbd qemu-ifup vscsi external-device-migrate vif2 vtpm |
#/etc/xen/scripts/
![]() blktap network-bridge vif-bridge vtpm-delete block network-nat vif-nat xen-hotplug-cleanup block-enbd network-route vif-route block-nbd qemu-ifup vscsi external-device-migrate vif2 vtpm |
#/etc/xen/scripts/
![]() blktap network-bridge vif-bridge vtpm-delete block network-nat vif-nat xen-hotplug-cleanup block-enbd network-route vif-route block-nbd qemu-ifup vscsi external-device-migrate vif2 vtpm |
#vim /etc/xen/xend-config.sxp
--- /tmp/l3-saved-2776.6570.30372 2012-02-23 15:05:13.000000000 +0200 +++ /etc/xen/xend-config.sxp 2012-02-23 15:14:41.000000000 +0200 @@ -146,7 +146,7 @@ # Your default ethernet device is used as the outgoing interface, by default. # To use a different one (e.g. eth1) use # -# (network-script 'network-bridge netdev=eth1') + (network-script 'network-bridge netdev=eth0') # # The bridge is named xenbr0, by default. To rename the bridge, use # |
for i in 1 2 3 4 5 do cat ~/.ssh/id_dsa.pub | ssh debian$i 'cat >> ~/.ssh/authorized_keys' done
processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz stepping : 11 cpu MHz : 1998.000 cache size : 4096 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu de tsc msr pae cx8 apic cmov pat clflush acpi mmx fxsr sse sse2 ss ht nx constant_tsc aperfmperf pni est ssse3 hypervisor dts bogomips : 4655.09 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz stepping : 11 cpu MHz : 1998.000 cache size : 4096 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu de tsc msr pae cx8 apic cmov pat clflush acpi mmx fxsr sse sse2 ss ht nx constant_tsc aperfmperf pni est ssse3 hypervisor dts bogomips : 4655.09 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management:
Время первой команды журнала | 09:51:15 2012- 2-23 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 14:04:23 2012- 2-23 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 1.98 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 5.94 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.92 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 1.83 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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