/l3/users/devi/xen-for-zen/xen1.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 :26 :27 :28 :29 :30 :31 :32 :33 :34 :35 :36 :37 :38 :39 :40 :41 :42 :43 :44 :45 :46 |
|
#chroot /mnt
locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory xen1:/# dpkg-reconfigure locales perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory /usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory /usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory /usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory |
#apt-get install openssh-server
![]() Reading package lists... Done Building dependency tree... Done Package openssh-server is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source W: Couldn't stat source package list http://192.168.15.251 etch/main Packages (/var/lib/apt/lists/192.168.15.251:9999_debian_dists_etch_main_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://192.168.15.251 etch/main Packages (/var/lib/apt/lists/192.168.15.251:9999_debian_dists_etch_main_binary-i386_Packages) - stat (2 No such file or directory) W: You may want to run apt-get update to correct these problems E: Package openssh-server has no installation candidate |
#apt-get update
xen1:/# Get:1 http://192.168.15.251 etch Release.gpg [378B] Get:2 http://192.168.15.251 etch Release [74.4kB] Get:3 http://192.168.15.251 etch/main Packages [5671kB] Fetched 5745kB in 9s (577kB/s) Reading package lists... Done |
#apt-get install openssh-server
Reading package lists... Done Building dependency tree... Done Suggested packages: ssh-askpass xbase-clients rssh molly-guard The following NEW packages will be installed: openssh-server 0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded. Need to get 221kB of archives. After unpacking 561kB of additional disk space will be used. Get:1 http://192.168.15.251 etch/main openssh-server 1:4.3p2-8 [221kB] Fetched 221kB in 0s (1941kB/s) Preconfiguring packages ... Selecting previously deselected package openssh-server. (Reading database ... 17662 files and directories currently installed.) Unpacking openssh-server (from .../openssh-server_1%3a4.3p2-8_i386.deb) ... Setting up openssh-server (4.3p2-8) ... Creating SSH2 RSA key; this may take some time ... Creating SSH2 DSA key; this may take some time ... Restarting OpenBSD Secure Shell server: sshd. |
#ifconfig
xen1:/# wget http://xgu.ru/lilalo/install --17:36:13-- http://xgu.ru/lilalo/install => `install' Resolving xgu.ru... 194.150.93.78 Connecting to xgu.ru|194.150.93.78|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 4,219 (4.1K) [text/plain] 100%[=========================================================>] 4,219 --.--K/s 17:36:13 (114.96 MB/s) - `install' saved [4219/4219] xen1:/# ... collisions:0 txqueuelen:1000 RX bytes:6015072 (5.7 MiB) TX bytes:32023 (31.2 KiB) 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:66 errors:0 dropped:0 overruns:0 frame:0 TX packets:66 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:5478 (5.3 KiB) TX bytes:5478 (5.3 KiB) |
#/etc/init.d/openbsd-inetd restartSysRq : HELP : loglevel0-8 reBoot tErm Full kIll saK showMem Nice powerOff showPc unRaw Sync showTasks Unmount
![]() xen1:/# wget http://xgu.ru/lilalo/install --17:36:13-- http://xgu.ru/lilalo/install => `install' Resolving xgu.ru... 194.150.93.78 Connecting to xgu.ru|194.150.93.78|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 4,219 (4.1K) [text/plain] 100%[=========================================================>] 4,219 --.--K/s 17:36:13 (114.96 MB/s) - `install' saved [4219/4219] xen1:/# apt-get install gcc libc6-dev |
#/etc/init.d/openbsd-inetd restart
Restarting internet superserver: inetd. |
#tail /var/log/messages
Jan 21 17:18:41 ltsp0 ltsp: No dsa key found for 192.168.15.244, please configure your ssh server correctly Jan 21 17:18:41 ltsp0 ltsp: No rsa key found for 192.168.15.244, please configure your ssh server correctly Jan 21 17:22:18 ltsp0 ltsp: No dsa key found for ltsp0.unix.nt, please configure your ssh server correctly Jan 21 17:22:18 ltsp0 ltsp: No rsa key found for ltsp0.unix.nt, please configure your ssh server correctly Jan 21 17:22:18 ltsp0 ltsp: No dsa key found for 192.168.15.244, please configure your ssh server correctly Jan 21 17:22:18 ltsp0 ltsp: No rsa key found for 192.168.15.244, please configure your ssh server correctly Jan 21 17:36:04 ltsp0 kernel: NET: Registered protocol family 10 Jan 21 17:36:04 ltsp0 kernel: lo: Disabled Privacy Extensions Jan 21 17:36:04 ltsp0 kernel: IPv6 over IPv4 tunneling driver Jan 21 17:36:17 ltsp0 kernel: SysRq : HELP : loglevel0-8 reBoot tErm Full kIll saK showMem Nice powerOff showPc unRaw Sync showTasks Unmount |
#tail /var/log/daemon.log
Jan 21 11:32:08 xen1 dhcpd: DHCPNAK on 10.0.61.10 to 00:04:75:99:bf:45 via eth0 Jan 21 12:52:56 xen1 dhcpd: DHCPINFORM from 10.0.61.24 Jan 21 12:53:00 xen1 dhcpd: DHCPINFORM from 10.0.61.24 Jan 21 12:54:15 xen1 last message repeated 2 times Jan 21 15:06:54 ltsp0 dhcpd: No subnet declaration for eth0 (10.0.35.8). Jan 21 15:06:54 ltsp0 dhcpd: Please write a subnet declaration in your dhcpd.conf file for the Jan 21 15:06:54 ltsp0 dhcpd: network segment to which interface eth0 is attached. Jan 21 15:06:54 ltsp0 dhcpd: exiting. Jan 21 15:07:07 ltsp0 rpc.statd[1235]: Version 1.0.10 Starting Jan 21 15:07:27 ltsp0 rpc.statd[1235]: gethostbyname error for ltsp0.unix.nt |
#host ltsp0.unix.nt
![]() xen1:/# wget http://xgu.ru/lilalo/install --17:36:13-- http://xgu.ru/lilalo/install => `install' Resolving xgu.ru... 194.150.93.78 Connecting to xgu.ru|194.150.93.78|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 4,219 (4.1K) [text/plain] 100%[=========================================================>] 4,219 --.--K/s 17:36:13 (114.96 MB/s) - `install' saved [4219/4219] xen1:/# apt-get install gcc libc6-dev libmodule-build-perl make bash: host: command not found |
#apt-cache search host
proftpd-pgsql - Versatile, virtual-hosting FTP daemon proxycheck - checks existence of open proxy pslib1 - library to create PostScript files pstotext - Extract text from PostScript and PDF files ptunnel - Tunnel TCP connections over ICMP packets pump - BOOTP and DHCP client for automatic IP configuration puppet - centralised configuration management for networks puppetmaster - centralised configuration manangement control daemon pyroman - Firewall configuration tool for complex networks python-avahi - Python utility package for Avahi ... zope-securemailhost - secure MailHost reimplementation for zope zsh - A shell with lots of features zsh-beta - A shell with lots of features (dev tree) zsh-beta-doc - zsh beta documentation - info/HTML format zsh-dbg - A shell with lots of features (debugging symbols) zsh-doc - zsh documentation - info/HTML format zsh-static - A shell with lots of features (static link) zsh30 - A shell with lots of features zsh30-doc - zsh beta documentation - info/HTML format zsh30-static - A shell with lots of features |
#bld - Black List Daemon, automatically build blacklists
![]() bash: bld: command not found |
#bld-postfix - Postfix tools for the Black List Daemon
![]() bash: bld-postfix: command not found |
#bld-tools - Generic tools for Black List Daemon
![]() bash: bld-tools: command not found |
#bmv - PostScript viewer for SVGAlib
![]() bash: bmv: command not found |
#bogofilter - a fast Bayesian spam filter (dummy package)
![]() bash: syntax error near unexpected token `(' |
#bogofilter-bdb - a fast Bayesian spam filter (Berkeley DB)
![]() bash: syntax error near unexpected token `(' |
#bogofilter-common - a fast Bayesian spam filter (common files)
![]() bash: syntax error near unexpected token `(' |
#bogofilter-qdbm - a fast Bayesian spam filter (QDBM)
![]() bash: syntax error near unexpected token `(' |
#bogofilter-sqlite - a fast Bayesian spam filter (sqlite)
![]() bash: syntax error near unexpected token `(' |
#bozohttpd - Bozotic HTTP server
bash: bozohttpd: command not found |
#btscanner - ncurses-based scanner for Bluetooth devices
![]() bash: btscanner: command not found |
#c3270 - Curses program for telnet sessions to IBM mainframes
![]() bash: c3270: command not found |
#cacti - Frontend to rrdtool for monitoring systems and services
![]() bash: cacti: command not found |
#cacti-cactid - Multi-Threading poller for cacti
![]() bash: cacti-cactid: command not found |
#caspar - Makefile snippets for common tasks
![]() bash: caspar: command not found |
#cfingerd - configurable finger daemon
![]() bash: cfingerd: command not found |
#checkservice - Checks the status of services on (remote) hosts
![]() bash: syntax error near unexpected token `(' |
#cheops-ng - Network swiss army knife
![]() bash: cheops-ng: command not found |
#cl-parenscript - JavaScript embedded in a Common Lisp host
![]() bash: cl-parenscript: command not found |
#clamav-getfiles - Update script for clamav
![]() bash: clamav-getfiles: command not found |
#comixcursors - X11 mouse theme with a comic feeling
![]() bash: comixcursors: command not found |
#coreutils - The GNU core utilities
![]() bash: coreutils: command not found |
#cupsys-driver-gutenprint - printer drivers for CUPS
![]() bash: cupsys-driver-gutenprint: command not found |
#dante-server - SOCKS (v4 and v5) proxy daemon (danted)
![]() bash: syntax error near unexpected token `(' |
#dart-client - a distributed testing and dashboard system client
![]() bash: dart-client: command not found |
#ddclient - Update dynamic IP address at DynDNS.org
![]() bash: ddclient: command not found |
#ddd - The Data Display Debugger, a graphical debugger frontend
![]() bash: ddd: command not found |
#ddskk - efficient Japanese input system for emacsen
![]() bash: ddskk: command not found |
#debian-reference
![]() |
# ddskk - efficient Japanese input system for emacsen
![]() |
#ddd - The Data Display Debugger, a graphical debugger frontend
![]() |
#apt-get install bind9-host
Selecting previously deselected package liblwres9. Unpacking liblwres9 (from .../liblwres9_1%3a9.3.2-P1.0-1_i386.deb) ... Selecting previously deselected package bind9-host. Unpacking bind9-host (from .../bind9-host_1%3a9.3.2-P1.0-1_i386.deb) ... Setting up libisc11 (9.3.2-P1.0-1) ... Setting up libdns21 (9.3.2-P1.0-1) ... Setting up libisccc0 (9.3.2-P1.0-1) ... Setting up libisccfg1 (9.3.2-P1.0-1) ... Setting up libbind9-0 (9.3.2-P1.0-1) ... Setting up liblwres9 (9.3.2-P1.0-1) ... Setting up bind9-host (9.3.2-P1.0-1) ... |
# ddskk - efficient Japanese input system for emacsen
![]() "install" 155 lines, 4219 characters lilalo_rc=.l3rc lilalo_home=.lilalo url_lilalo="http://xgu.ru/lilalo" url_l3bashrc="evi" vnxcSET-YOUR-FIRSTLAB-NAME-HERE" url_l3agent="${url_lilalo}"/l3-agent url_l3config="${url_lilalo}"/l3config.pm url_perl_modules=${url_lilalo}/ perl_modules="Term-VT102 Text-Iconv" lilalo_user="dYOUR-L3BACKEND-USER" wget=wget uname -a | grep -qi bsd && wget=fetch normC='\033[0;39m' whiteC='\033[1;37m' redC='\033[0;31m' greenC='\033[0;32m' |
#dart-client - a distributed testing and dashboard system client
![]() |
#host ltsp0.unix.nt
"install" 155 lines, 4219 characters lilalo_rc=.l3rc lilalo_home=.lilalo url_lilalo="http://xgu.ru/lilalo" url_l3bashrc="evi" vnc-server-installation" url_l3agent="${url_lilalo}"/l3-agent alo_user}/${lab}/vnc0.unix.nt{hostname}" url_l3config="${url_lilalo}"/l3config.pm ltsp0.unix.nt has address 192.168.15.244 url_perl_modules=${url_lilalo}/ perl_modules="Term-VT102 Text-Iconv" lilalo_user="dYOUR-L3BACKEND-USER" wget=wget uname -a | grep -qi bsd && wget=fetch normC='\033[0;39m' whiteC='\033[1;37m' redC='\033[0;31m' greenC='\033[0;32m' |
#host 192.168.15.244
244.15.168.192.in-addr.arpa domain name pointer ltsp0.unix.nt. |
# ddskk - efficient Japanese input system for emacsen
![]() "install" 155 lines, 4201 characters lilalo_rc=.l3rc lilalo_home=.lilalo url_lilalo="http://xgu.ru/lilalo" url_l3bashrc="${url_lilalo}"/l3bashrc url_l3agent=shrc_for_this_users="root" # users who will use l3agent and l3script url_l3config="${url_lilalo}"/l3config.pm url_perl_modules=${url_lilalo}/ perl_modules="Term-VT102 Text-Iconv" lilalo_user= wget=wget uname -a | grep -qi bsd && wget=fetch normC='\033[0;39m' whiteC='\033[1;37m' redC='\033[0;31m' :wq! |
#ddclient - Update dynamic IP address at DynDNS.org
|
#date
| | 17:38:42 (24.23 KB/s) - `Term-VT102.tar.gz' saved [25211/25211] | | --17:38:42-- http://xgu.ru/lilalo//Text-Iconv.tar.gz | => `Text-Iconv.tar.gz' | Resolving xgu.ru... 194.150.93.78 | Connecting to xgu.ru|194.150.93.78|:80... connected. | HTTP request sent, awaiting response... 200 OK | Length: 8,986 (8.8K) [application/x-tar] | | 0K ........ 100% 160.87 KB/s | | 17:38:42 (160.87 KB/s) - `Text-Iconv.tar.gz' saved [8986/8986] | Ok Installing perl modules for l3-agent... Sun Jan 21 17:38:42 UTC 2007 |
#tzconfig
Number: 8 Amsterdam Andorra Athens Belfast Belgrade Berlin Bratislava Brussels Bucharest Budapest Chisinau Copenhagen Dublin Gibraltar Guernsey Helsinki Isle_of_Man Istanbul Jersey Kaliningrad Kiev Lisbon Ljubljana London Luxembourg Madrid Malta Mariehamn Minsk Monaco Moscow Nicosia Oslo Paris Podgorica Prague Riga Rome Samara San_Marino Sarajevo Simferopol Skopje Sofia Stockholm Tallinn Tirane Tiraspol Uzhgorod Vaduz Vatican Vienna Vilnius Volgograd Warsaw Zagreb Zaporozhye Zurich Please enter the name of one of these cities or zones You just need to type enough letters to resolve ambiguities Press Enter to view all of them again Name: [] Kiev Your default time zone is set to 'Europe/Kiev'. Local time is now: Sun Jan 21 19:39:09 EET 2007. Universal Time is now: Sun Jan 21 17:39:09 UTC 2007. |
#date
Get:1 http://192.168.15.251 etch/main locales 2.3.6.ds1-8 [3954kB] Fetched 3954kB in 0s (7244kB/s) perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Preconfiguring packages ... Selecting previously deselected package locales. (Reading database ... 11680 files and directories currently installed.) Unpacking locales (from .../locales_2.3.6.ds1-8_all.deb) ... Sun Jan 21 19:39:12 EET 2007 |
#apt-get install bind9-host
![]() |
#host ltsp0.unix.nt
![]() |
#/etc/init.d/openbsd-inetd restart
locale: Cannot set LC_ALL to default locale: No such file or directory xen1:/# dpkg-reconfigure locales perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory /usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory /usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory /usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory Restarting internet superserver: inetd. |
#tail /var/log/daemon.log
Jan 21 11:32:08 xen1 dhcpd: DHCPNAK on 10.0.61.10 to 00:04:75:99:bf:45 via eth0 Jan 21 12:52:56 xen1 dhcpd: DHCPINFORM from 10.0.61.24 Jan 21 12:53:00 xen1 dhcpd: DHCPINFORM from 10.0.61.24 Jan 21 12:54:15 xen1 last message repeated 2 times Jan 21 15:06:54 ltsp0 dhcpd: No subnet declaration for eth0 (10.0.35.8). Jan 21 15:06:54 ltsp0 dhcpd: Please write a subnet declaration in your dhcpd.conf file for the Jan 21 15:06:54 ltsp0 dhcpd: network segment to which interface eth0 is attached. Jan 21 15:06:54 ltsp0 dhcpd: exiting. Jan 21 15:07:07 ltsp0 rpc.statd[1235]: Version 1.0.10 Starting Jan 21 15:07:27 ltsp0 rpc.statd[1235]: gethostbyname error for ltsp0.unix.nt |
#tail /var/log/messages
perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory /usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory /usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory /usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory Jan 21 17:18:41 ltsp0 ltsp: No dsa key found for 192.168.15.244, please configure your ssh server correctly Jan 21 17:18:41 ltsp0 ltsp: No rsa key found for 192.168.15.244, please configure your ssh server correctly Jan 21 17:22:18 ltsp0 ltsp: No dsa key found for ltsp0.unix.nt, please configure your ssh server correctly Jan 21 17:22:18 ltsp0 ltsp: No rsa key found for ltsp0.unix.nt, please configure your ssh server correctly Jan 21 17:22:18 ltsp0 ltsp: No dsa key found for 192.168.15.244, please configure your ssh server correctly Jan 21 17:22:18 ltsp0 ltsp: No rsa key found for 192.168.15.244, please configure your ssh server correctly Jan 21 17:36:04 ltsp0 kernel: NET: Registered protocol family 10 Jan 21 17:36:04 ltsp0 kernel: lo: Disabled Privacy Extensions Jan 21 17:36:04 ltsp0 kernel: IPv6 over IPv4 tunneling driver Jan 21 17:36:17 ltsp0 kernel: SysRq : HELP : loglevel0-8 reBoot tErm Full kIll saK showMem Nice powerOff showPc unRaw Sync showTasks Unmount |
#netstat -lnp | grep :67
locale: Cannot set LC_ALL to default locale: No such file or directory xen1:/# dpkg-reconfigure locales perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory /usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory /usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory /usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory udp 0 0 0.0.0.0:67 0.0.0.0:* 1521/dhcpd |
#netstat -lnp | grep :69
udp 0 0 0.0.0.0:69 0.0.0.0:* 2411/inetd |
#netstat -lnp | grep :69
locale: Cannot set LC_ALL to default locale: No such file or directory xen1:/# dpkg-reconfigure locales perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory /usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory /usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory /usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory udp 0 0 0.0.0.0:69 0.0.0.0:* 2411/inetd |
#telnet 192.168.15.244 69
![]() locale: Cannot set LC_ALL to default locale: No such file or directory xen1:/# dpkg-reconfigure locales perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory /usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory /usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory /usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory bash: telnet: command not found |
#apt-get install telnet
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory /usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory /usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory Reading package lists... Done Building dependency tree... Done The following NEW packages will be installed: telnet 0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded. Need to get 65.8kB of archives. After unpacking 139kB of additional disk space will be used. Get:1 http://192.168.15.251 etch/main telnet 0.17-34 [65.8kB] Fetched 65.8kB in 0s (739kB/s) Selecting previously deselected package telnet. (Reading database ... 17715 files and directories currently installed.) Unpacking telnet (from .../telnet_0.17-34_i386.deb) ... Setting up telnet (0.17-34) ... |
#telnet 192.168.15.244 69
![]() Trying 192.168.15.244... telnet: Unable to connect to remote host: Connection refused |
#apt-get install nmap
libpcre3 nmap 0 upgraded, 2 newly installed, 0 to remove and 7 not upgraded. Need to get 902kB of archives. After unpacking 2867kB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://192.168.15.251 etch/main libpcre3 6.7-1 [166kB] Get:2 http://192.168.15.251 etch/main nmap 4.11-1 [736kB] Fetched 902kB in 0s (3582kB/s) Selecting previously deselected package libpcre3. (Reading database ... 17726 files and directories currently installed.) Unpacking libpcre3 (from .../libpcre3_6.7-1_i386.deb) ... Selecting previously deselected package nmap. Unpacking nmap (from .../archives/nmap_4.11-1_i386.deb) ... Setting up libpcre3 (6.7-1) ... Setting up nmap (4.11-1) ... |
#namp 192.168.15.244
![]() bash: namp: command not found |
#nmap 192.168.15.244
locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory /usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory /usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory /usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2007-01-21 19:40 EET Interesting ports on ltsp0.unix.nt (192.168.15.244): Not shown: 1676 closed ports PORT STATE SERVICE 22/tcp open ssh 111/tcp open rpcbind 956/tcp open unknown 2049/tcp open nfs Nmap finished: 1 IP address (1 host up) scanned in 0.096 seconds |
#/etc/init.d/dhcp restart
Stopping DHCP server: dhcp. Starting DHCP server: dhcpd. |
#nmap 192.168.15.244
Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2007-01-21 19:41 EET Interesting ports on ltsp0.unix.nt (192.168.15.244): Not shown: 1676 closed ports PORT STATE SERVICE 22/tcp open ssh 111/tcp open rpcbind 956/tcp open unknown 2049/tcp open nfs Nmap finished: 1 IP address (1 host up) scanned in 0.096 seconds |
#netstat -lnp | grep ;69
![]() # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) auto lo eth0 eth1 address 192.168.15.1 # The lonetmask 255.255.255Usage: grep [OPTION]... PATTERN [FILE]... Try `grep --help' for more information. ~ bash: 69: command not found ~ ~ ~ ... ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ |
#vi /mnt/etc/network/interfaces
4c4 < auto lo eth0 eth1 --- > auto lo eth0 10c10 < address 192.168.16.1 --- > address 192.168.15.243 13,18d12 < iface eth1 inet static < address 192.168.15.251 < gateway 192.168.15.254 < netmask 255.255.255.0 < < |
#netstat -lnp | grep :67
udp 0 0 0.0.0.0:67 0.0.0.0:* 2560/dhcpd ~ ~ ~ ~ ~ ~ ~ ~ ~ ... ~ ~ ~ ~ ~ ~ ~ ~ ~ "/mnt/etc/fstab" 1 line, 37 characters |
#vi /mnt/etc/fstab
1c1,2 < # UNCONFIGURED FSTAB FOR BASE SYSTEM --- > /dev/hda1 / ext3 defaults 0 0 > |
#mv default{,.orig}
# The domain build function. Default is 'linux'. #builder='linux' # Initial memory allocation (in megabytes) for the new domain. # # WARNING: Creating a domain with insufficient memory may cause out of # memory errors. The domain needs enough memory to boot kernel # and modules. Allocating less than 32MBs is not recommended. "/etc/xen/vnc0" 150 lines, 5525 characters memory = 256 # A name for your domain. All domains must have different names. name = "ltsp0" # 128-bit UUID for the domain. The default behavior is to generate a new UUID # on each call to 'xm create'. #uuid = "06ed00fe-1162-4fc4-b5d8-11993ee4a8b9" # List of which CPUS this domain is allowed to use, default Xen picks |
#cp /etc/xen
![]() xen/ xen-tools/ |
#cp /etc/xen
![]() xen/ xen-tools/ |
#ls /etc/xen/
create-volumes.sh scripts suseN xend-pci-permissive.sxp ltsp0 suse0 xend-config.sxp xend-pci-quirks.sxp |
#vi /etc/xen/vnc0
29c29 < name = "ltsp0" --- > name = "xen0" 59c59 < vif = [ 'mac=00:16:3e:00:CC:01, bridge=xenbr0' ] --- > vif = [ 'mac=00:16:3e:00:CC:02, bridge=xenbr0' ] 68c68 < disk = [ 'phy:/dev/NAS1/ltsp0,hda1,w' ] --- > disk = [ 'phy:/dev/NAS0/deb1,hda1,w' ] |
#mount /dev/NAS0/deb1 /mnt
|
#cp -pR /lib/modules/2.6.18-3-xen-686 /mnt/lib/modules/
|
#ls
default default.orig |
#ls
System.map-2.6.18-3-486 nbi.img vmlinuz config-2.6.18-3-486 nbi.img-2.6.18-3-486 vmlinuz-2.6.18-3-486 initrd.img pxelinux.0 initrd.img-2.6.18-3-486 pxelinux.cfg |
#vim boot.msg
|
#xm create -c vnc0
vnc0.unix.nt login: root Last login: Sun Jan 21 17:44:40 2007 on tty1 Linux vnc0.unix.nt 2.6.18-3-xen-686 #1 SMP Mon Dec 4 20:48:20 UTC 2006 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. l3-agent is already running: pid=1070; pidfile=/root/.lilalo/l3-agent.pid |
#ls
System.map-2.6.18-3-486 logo.16_1 vmlinuz boot.msg nbi.img vmlinuz-2.4.34.lan config-2.6.18-3-486 nbi.img-2.6.18-3-486 vmlinuz-2.6.18-3-486 initrd.img pxelinux.0 vmlinuz-2.6.19.2 initrd.img-2.6.18-3-486 pxelinux.cfg |
#ps aux | grep l3-agent
root 1070 0.0 2.1 9904 5636 ? Ss 17:44 0:00 l3-agent root 1150 0.0 0.2 3728 688 ttyp0 S+ 17:46 0:00 grep l3-agent |
#cat ~/.l3rc
l3cd=/users/devi/vnc-server-installation/vnc0.unix.nt/root |
#apt-get install vnc gdm xfonts-base
![]() Reading package lists... Done Building dependency tree... Done Package vnc is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: xvncviewer vncserver E: Package vnc has no installation candidate |
#cd i386/lib/modules/
|
#ls
2.6.18-3-486 |
#mkdir 2.4.34/
|
l3cd=/users/devi/vnc-server-installation/vnc0.unix.nt/root
Время первой команды журнала | 19:34:57 2007- 1-21 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 19:46:48 2007- 1-21 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 15.84 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 17.82 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.20 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 8.52 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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