/l3/users/clint/nt-bsdnet/fbsd1.unix.nt/user :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 |
|
#make install
===> Vulnerability check disabled, database not found ===> Found saved configuration for firefox-1.0.7_1,1 ===> Extracting for firefox-1.0.7_1,1 => Checksum mismatch for firefox-1.0.7-source.tar.bz2. ===> Refetch for 1 more times files: firefox-1.0.7-source.tar.bz2 ===> Vulnerability check disabled, database not found ===> Found saved configuration for firefox-1.0.7_1,1 => firefox-1.0.7-source.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/1.0.7/source/. fetch: http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/1.0.7/source/firefox-1.0.7-source.tar.bz2: Moved Temporarily ... => Attempting to fetch from ftp://ftp.rediris.es/mirror/mozilla/firefox/releases/1.0.7/source/. fetch: ftp://ftp.rediris.es/mirror/mozilla/firefox/releases/1.0.7/source/firefox-1.0.7-source.tar.bz2: File unavailable (e.g., file not found, no access) => Attempting to fetch from ftp://ftp.kaist.ac.kr/pub/mozilla/firefox/releases/1.0.7/source/. fetch: firefox-1.0.7-source.tar.bz2: local modification time does not match remote => Attempting to fetch from ftp://mozilla.mirror.pacific.net.au/mozilla/firefox/releases/1.0.7/source/. fetch: firefox-1.0.7-source.tar.bz2: local modification time does not match remote => Attempting to fetch from ftp://ftp.chg.ru/pub/WWW/mozilla/firefox/releases/1.0.7/source/. fetch: firefox-1.0.7-source.tar.bz2: local modification time does not match remote => Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. ^Cfetch: firefox-1.0.7-source.tar.bz2: local modification time does not match remote |
#sysctl -a | grep forward
net.inet.ip.forwarding: 0 net.inet.ip.fastforwarding: 0 net.inet6.ip6.forwarding: 0 |
#sysctl net.inet.ip.forwarding=1
net.inet.ip.forwarding: 0 -> 1 |
#sysctl -a | grep forward
net.inet.ip.forwarding: 1 net.inet.ip.fastforwarding: 0 net.inet6.ip6.forwarding: 0 |
# grep gateway_enable /etc/defaults/rc.conf
gateway_enable="NO" # Set to YES if this host will be a gateway. ipxgateway_enable="NO" # Set to YES to enable IPX routing. forward_sourceroute="NO" # do source routing (only if gateway_enable is set to "YES") ipv6_gateway_enable="NO" # Set to YES if this host will be a gateway. i /etc/rc.d routing start |
#make install
===> Vulnerability check disabled, database not found ===> Found saved configuration for firefox-1.0.7_1,1 ===> Extracting for firefox-1.0.7_1,1 => Checksum mismatch for firefox-1.0.7-source.tar.bz2. ===> Refetch for 1 more times files: firefox-1.0.7-source.tar.bz2 ===> Vulnerability check disabled, database not found ===> Found saved configuration for firefox-1.0.7_1,1 => firefox-1.0.7-source.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/1.0.7/source/. fetch: http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/1.0.7/source/firefox-1.0.7-source.tar.bz2: Moved Temporarily => Attempting to fetch from http://www.gtlib.cc.gatech.edu/pub/mozilla.org/firefox/releases/1.0.7/source/. fetch: firefox-1.0.7-source.tar.bz2: local modification time does not match remote => Attempting to fetch from http://mozilla.gnusoft.net/firefox/releases/1.0.7/source/. fetch: http://mozilla.gnusoft.net/firefox/releases/1.0.7/source/firefox-1.0.7-source.tar.bz2: No address record => Attempting to fetch from ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/1.0.7/source/. ^Cfetch: firefox-1.0.7-source.tar.bz2: local modification time does not match remote |
#ls-l /tmp/kde-user/
arkekl4I3/ konquerorWLudHG.0-source.tar.bz2 konqueror-crash-MmucAr.log konquerorWLudHG.0-source.tar.bz2.part konqueror-crash-fAOq0v.log ksycoca konqueror-crash-h9RBVD.log |
#ls-l /tmp/kde-user/arkekl4I3/
bash: ls-l: command not found |
#ls l /tmp/kde-user/arkekl4I3/
total 0 |
#ls -l /tmp/kde-user/ksycoca
lrwxr-xr-x 1 user wheel 30 Nov 27 11:02 /tmp/kde-user/ksycoca -> /var/tmp/kdecache-user/ksycoca |
#ls -l file:///tmp/kde-user/konquerorWLudHG.0-source.tar.b
|
#ls -l file:/
|
#ls -l
-rw------- 1 user wheel 0 Nov 27 15:08 /tmp/kde-user/konquerorWLudHG.0-source.tar.bz2 |
#vim /etc/rc.conf
|
#/etc/rc.d/routing restart
default 192.168.15.254 done add net default: gateway 192.168.15.254 Additional routing options:. |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.15.254 UGS 0 316 xl0 10/24 link#2 UC 0 0 xl0 127.0.0.1 127.0.0.1 UH 0 6 lo0 192.168.15 link#2 UC 0 0 xl0 192.168.15.23 00:13:d4:b2:47:35 UHLW 1 193 xl0 980 192.168.15.254 00:0a:01:d4:d1:39 UHLW 2 400 xl0 1169 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UH lo0 fe80::%xl0/64 link#2 UC xl0 fe80::204:76ff:fea1:f25b%xl0 00:04:76:a1:f2:5b UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#4 UHL lo0 ff01::/32 ::1 U lo0 ff02::%xl0/32 link#2 UC xl0 ff02::%lo0/32 ::1 UC lo0 |
#ssh 85.202.133.31
The authenticity of host '85.202.133.31 (85.202.133.31)' can't be established. DSA key fingerprint is 45:5f:d7:96:d2:5b:87:25:66:35:9e:39:41:18:5d:60. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '85.202.133.31' (DSA) to the list of known hosts. root@85.202.133.31's password: Last login: Sun Nov 26 18:33:18 2006 from clinika Linux serzh 2.6.16.13-xen #2 SMP Wed Sep 27 03:23:49 EEST 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. root:Dom0~# logout Connection to 85.202.133.31 closed. |
#ssh 10.0.17.1
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ No modification made debian:~# logout Connection to 10.0.17.1 closed. |
#ssh -f -N -R 2600:127.0.0.1:22 85.202.133.31
root@85.202.133.31's password: |
#vi /etc/rc.conf
|
#vim /etc/rc.conf
|
#!l
ls -l /tmp/kde-user/konquerorWLudHG.0-source.tar.bz2 -rw------- 1 user wheel 36922776 Nov 27 15:22 /tmp/kde-user/konquerorWLudHG.0-source.tar.bz2 |
#cd /usr/src/
|
#tar xvjf firefox.tar.bz2
x mozilla/browser/installer/unix/xpcom.jst x mozilla/browser/installer/Makefile.in x mozilla/browser/installer/removed-files.in x mozilla/browser/installer/windows/ x mozilla/browser/installer/windows/CVS/ x mozilla/browser/installer/windows/CVS/Root x mozilla/browser/installer/windows/CVS/Repository x mozilla/browser/installer/windows/CVS/Entries x mozilla/browser/installer/windows/CVS/Tag x mozilla/browser/installer/windows/msi/ ... x mozilla/browser/locales/en-US/chrome/browser/cookieviewer/CookieExceptions.dtd x mozilla/browser/locales/en-US/chrome/browser/cookieviewer/CookieViewer.dtd x mozilla/browser/locales/en-US/chrome/browser/cookieviewer/CookieViewer.properties x mozilla/browser/locales/en-US/chrome/browser/feeds/ x mozilla/browser/locales/en-US/chrome/browser/feeds/CVS/ x mozilla/browser/locales/en-US/chrome/browser/feeds/CVS/Root x mozilla/browser/locales/en-US/chrome/browser/feeds/CVS/Repository x mozilla/browser/locales/en-US/chrome/browser/feeds/CVS/Entries x mozilla/browser/locales/en-US/chrome/browser/feeds/CVS/Tag x mozilla/browser/locales/en-US/chrome/browser/feeds/addFeedReader.dtd |
#cd mozilla/
|
#ls
.cvsignore caps editor mailnews sun-java CVS chrome embedding makefile.win themes LEGAL client.mak extensions modules toolkit LICENSE client.mk gc netwerk tools Makefile.in config gfx nglayout.mk uriloader README configure intl nsprpub view README.txt configure.in ipc other-licenses webshell accessible content jpeg parser widget aclocal.m4 db js plugin xpcom allmakefiles.sh dbm l10n profile xpfe browser directory layout rdf xpinstall build docshell lib security calendar dom mail storage |
#vi README
|
#vi README.txt
|
#ls
.cvsignore caps editor mailnews sun-java CVS chrome embedding makefile.win themes LEGAL client.mak extensions modules toolkit LICENSE client.mk gc netwerk tools Makefile.in config gfx nglayout.mk uriloader README configure intl nsprpub view README.txt configure.in ipc other-licenses webshell accessible content jpeg parser widget aclocal.m4 db js plugin xpcom allmakefiles.sh dbm l10n profile xpfe browser directory layout rdf xpinstall build docshell lib security calendar dom mail storage |
#./configure
creating cache ./config.cache checking host system type... i386-unknown-freebsd6.0 checking target system type... i386-unknown-freebsd6.0 checking build system type... i386-unknown-freebsd6.0 checking for gawk... no checking for mawk... no checking for nawk... nawk checking for nsinstall... no checking for gcc... gcc checking whether the C compiler (gcc ) works... yes ... checking whether ln -s works... yes checking for perl5... /usr/bin/perl5 checking for minimum required perl version >= 5.004... 5.008007 checking for full perl installation... yes checking for doxygen... : checking for whoami... /usr/bin/whoami checking for autoconf... : checking for unzip... /usr/local/bin/unzip checking for zip... no configure: error: zip not found in $PATH |
#echo &?
[1] 5252 bash: ?: command not found [1]+ Done echo |
#echo &?
[1] 5259 bash: ?: command not found [1]+ Done echo |
#ls
.cvsignore caps docshell mail sun-java CVS chrome dom mailnews themes LEGAL client.mak editor makefile.win toolkit LICENSE client.mk embedding modules tools Makefile.in confdefs.h extensions netwerk uriloader README config gc nglayout.mk view README.txt config.cache gfx nsprpub webshell a.out config.log intl other-licenses widget accessible configure ipc parser xpcom aclocal.m4 configure.in jpeg plugin xpfe allmakefiles.sh content js profile xpinstall browser db l10n rdf build dbm layout security calendar directory lib storage |
#make
make: no target to make. |
#./configure --help
--enable-ctl Enable Thai Complex Script support --disable-view-source Disable view source support --disable-accessibility Disable accessibility support --disable-xpfe-components Disable xpfe components --disable-xpinstall Disable xpinstall support --enable-single-profile Enable single profile support --disable-jsloader Disable xpcom js loader support --disable-printing Disable printing support --enable-native-uconv Enable iconv support ... --disable-profilesharing Disable profile sharing --disable-profilelocking Disable profile locking --enable-necko-protocols[={http,ftp,default,all,none}] Enable/disable specific protocol handlers --disable-necko-disk-cache Disable necko disk cache --enable-necko-small-buffers Minimize size of necko's i/o buffers --disable-cookies Disable cookie support --disable-v1-string-abi Disable binary compatibility layer for strings |
#./configure --help | grep zip
|
#./configure --help | grep zi
--enable-official-branding Enable Official mozilla.org Branding http://www.mozilla.org/foundation/trademarks/ . --with-distribution-id=ID Set distribution-specific id (default=org.mozilla) --enable-jprof Enable jprof profiling tool (needs mozilla/tools/jprof) --with-default-mozilla-five-home --with-user-appdir=DIR Set user-specific appdir (default=.mozilla) |
#cd /usr/ports/
|
#make search key=
Port: dnsmax-perl-1.0.1 Path: /usr/ports/dns/dnsmax-perl Info: DNSMax-perl is a perl DNS update client for the REST DNSMax protocol Maint: dan@algenta.com B-deps: expat-1.95.8_3 p5-Authen-SASL-2.09 p5-Compress-Zlib-1.35 p5-Crypt-SSLeay-0.51 p5-Digest-1.10 p5-Digest-MD5-2.33 p5-HTML-Parser-3.45 p5-HTML-Tagset-3.04 p5-MIME-Base64-3.05 p5-Net-1.19,1 p5-URI-1.35 p5-XML-Parser-2.34_1 p5-XML-Simple-2.13 p5-libwww-5.803 perl-5.8.7 R-deps: perl-5.8.7 WWW: http://www.dynamicdnsclient.com/perl/ Port: abiword-2.2.8 Path: /usr/ports/editors/abiword Info: An open-source, cross-platform WYSIWYG word processor ... Path: /usr/ports/editors/ooodict-en_US Info: English (United States) MySpell dictionary for OpenOffice.org Maint: openoffice@FreeBSD.org B-deps: ORBit-0.5.17_2 expat-1.95.8_3 fontconfig-2.2.3,1 freetype2-2.1.10_1 gettext-0.14.5 glib-1.2.10_11 libiconv-1.9.2_1 openoffice-1.1.5.rc2.1 perl-5.8.7 pkgconfig-0.17.2 xorg-libraries-6.8.2 R-deps: ORBit-0.5.17_2 expat-1.95.8_3 fontconfig-2.2.3,1 freetype2-2.1.10_1 gettext-0.14.5 glib-1.2.10_11 libiconv-1.9.2_1 openoffice-1.1.5.rc2.1 perl-5.8.7 pkgconfig-0.17.2 unzip-5.52_2 xorg-libraries-6.8.2 WWW: http://lingucomponent.openoffice.org/ Port: es-ooodict-ES-1.20050518 Path: /usr/ports/editors/ooodict-es_ES Info: Spanish (Spain) MySpell dictionary for OpenOffice.org Maint: openoffice@FreeBSD.org |
#make search name
Maint: ip@doom.homeunix.org B-deps: gettext-0.14.5 gmake-3.80_2 libiconv-1.9.2_1 R-deps: WWW: http://www.compressconsult.com/szip/ Port: torrentzip-0.2_1 Path: /usr/ports/archivers/torrentzip Info: Efficient way to prepare zipfiles for BitTorrent Maint: swhetzel@gmail.com B-deps: autoconf-2.59_2 automake-1.9.6 m4-1.4.3 perl-5.8.7 R-deps: ... B-deps: apache-1.3.33_2 expat-1.95.8_3 perl-5.8.7 R-deps: apache-1.3.33_2 expat-1.95.8_3 perl-5.8.7 WWW: http://www.oldach.net Port: mod_gzip-1.3.26.1a Path: /usr/ports/www/mod_gzip Info: An Internet Content Acceleration module for Apache Maint: ale@FreeBSD.org B-deps: apache-1.3.33_2 expat-1.95.8_3 perl-5.8.7 R-deps: apache-1.3.33_2 expat-1.95.8_3 perl-5.8.7 WWW: http://sourceforge.net/projects/mod-gzip/ |
#make search name=zip | less
|
#cd /usr/ports/archivers/zip
|
#make install
===> Vulnerability check disabled, database not found => zip23.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from ftp://ftp.uu.net/pub/archiving/zip/src/. zip23.tar.gz 100% of 706 kB 49 kBps 00m00s => zcrypt29-exportable.zip doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from ftp://ftp.uu.net/pub/archiving/zip/src/. zcrypt29-exportable.zip 100% of 19 kB 24 kBps ===> Extracting for zip-2.3_2 => Checksum OK for zip23.tar.gz. => Checksum OK for zcrypt29-exportable.zip. ... ===> Installing for zip-2.3_2 ===> Generating temporary packing list ===> Checking if archivers/zip already installed install -s -o root -g wheel -m 555 /usr/ports/archivers/zip/work/zip-2.3/zip /usr/local/bin install -s -o root -g wheel -m 555 /usr/ports/archivers/zip/work/zip-2.3/zipcloak /usr/local/bin install -s -o root -g wheel -m 555 /usr/ports/archivers/zip/work/zip-2.3/zipnote /usr/local/bin install -s -o root -g wheel -m 555 /usr/ports/archivers/zip/work/zip-2.3/zipsplit /usr/local/bin install -o root -g wheel -m 444 /usr/ports/archivers/zip/work/zip-2.3/man/zip.1 /usr/local/man/man1 ===> Compressing manual pages for zip-2.3_2 ===> Registering installation for zip-2.3_2 |
#cd -
/usr/ports |
#cd /usr/src/mozilla/
|
#./configure
checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for c++... c++ checking whether the C++ compiler (c++ ) works... yes checking whether the C++ compiler (c++ ) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking for ranlib... ranlib checking for as... /usr/bin/as checking for ar... ar ... checking for C++ reinterpret_cast... yes checking for C++ dynamic_cast to void*... yes checking whether C++ requires implementation of unused virtual methods... yes checking for trouble comparing to zero near std::operator!=()... no checking for LC_MESSAGES... yes checking for pkg-config... /usr/local/bin/pkg-config checking for gtk+-2.0 >= 1.3.7... yes checking MOZ_GTK2_CFLAGS... -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/X11R6/include/pango-1.0 -I/usr/local/include/freetype2 -I/usr/local/include checking MOZ_GTK2_LIBS... -L/usr/X11R6/lib -lgtk-x11-2.0 configure: error: --enable-application=APP is required |
#./configure --enable-application=APP
checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for c++... c++ checking whether the C++ compiler (c++ ) works... yes checking whether the C++ compiler (c++ ) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking for ranlib... ranlib checking for as... /usr/bin/as checking for ar... ar ... checking for C++ reinterpret_cast... yes checking for C++ dynamic_cast to void*... yes checking whether C++ requires implementation of unused virtual methods... yes checking for trouble comparing to zero near std::operator!=()... no checking for LC_MESSAGES... yes checking for pkg-config... /usr/local/bin/pkg-config checking for gtk+-2.0 >= 1.3.7... yes checking MOZ_GTK2_CFLAGS... -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/X11R6/include/pango-1.0 -I/usr/local/include/freetype2 -I/usr/local/include checking MOZ_GTK2_LIBS... -L/usr/X11R6/lib -lgtk-x11-2.0 configure: error: --enable-application=APP is required |
#cd /usr/ports/www/firefox
|
#pkg_add -r /usr/ports/www/firefox
^X^CSignal 2 received, cleaning up.. |
#pkg_add -r firefox
Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/Latest/firefox.tbz: File unavailable (e.g., file not found, no access) pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/Latest/firefox.tbz' by URL |
#make install
===> Vulnerability check disabled, database not found ===> Found saved configuration for firefox-1.0.7_1,1 ===> Extracting for firefox-1.0.7_1,1 => Checksum mismatch for firefox-1.0.7-source.tar.bz2. ===> Refetch for 1 more times files: firefox-1.0.7-source.tar.bz2 ===> Vulnerability check disabled, database not found ===> Found saved configuration for firefox-1.0.7_1,1 => firefox-1.0.7-source.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/1.0.7/source/. fetch: http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/1.0.7/source/firefox-1.0.7-source.tar.bz2: Moved Temporarily ... => Attempting to fetch from ftp://ftp.chg.ru/pub/WWW/mozilla/firefox/releases/1.0.7/source/. fetch: firefox-1.0.7-source.tar.bz2: local modification time does not match remote => Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. fetch: firefox-1.0.7-source.tar.bz2: local modification time does not match remote => Couldn't fetch it - please try to retrieve this => port manually into /usr/ports/distfiles/ and try again. *** Error code 1 Stop in /usr/ports/www/firefox. *** Error code 1 Stop in /usr/ports/www/firefox. |
#cd /usr/ports/distfiles/
|
#ls
apache_1.3.33.tar.gz libtool-1.5.18.tar.gz bash wget-1.10.tar.gz ettercap-NG-0.7.3.tar.gz wget4web-1.0.tar.gz firefox-1.0.7-source.tar.bz2 zcrypt29-exportable.zip firefox-remote-20040803.tar.bz2 zip23.tar.gz libnet-1.1.2.1.tar.gz |
#c d-
bash: c: command not found |
#cd -
/usr/ports/www/firefox |
#make install
===> Vulnerability check disabled, database not found ===> Found saved configuration for firefox-1.0.7_1,1 ===> Extracting for firefox-1.0.7_1,1 => Checksum mismatch for firefox-1.0.7-source.tar.bz2. ===> Refetch for 1 more times files: firefox-1.0.7-source.tar.bz2 ===> Vulnerability check disabled, database not found ===> Found saved configuration for firefox-1.0.7_1,1 => firefox-1.0.7-source.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/1.0.7/source/. fetch: http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/1.0.7/source/firefox-1.0.7-source.tar.bz2: Moved Temporarily => Attempting to fetch from http://www.gtlib.cc.gatech.edu/pub/mozilla.org/firefox/releases/1.0.7/source/. fetch: firefox-1.0.7-source.tar.bz2: local modification time does not match remote => Attempting to fetch from http://mozilla.gnusoft.net/firefox/releases/1.0.7/source/. fetch: http://mozilla.gnusoft.net/firefox/releases/1.0.7/source/firefox-1.0.7-source.tar.bz2: No address record => Attempting to fetch from ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/1.0.7/source/. ^Cfetch: firefox-1.0.7-source.tar.bz2: local modification time does not match remote |
#sysinstall
x x Brazil ISO (accent) Brazil ISO keymap (accent keys) x x Brazil ISO Brazil ISO keymap x x Bulgarian BDS Bulgarian BDS keymap x x Bulgarian Phonetic Bulgarian Phonetic keymap x x ^(-)ral European ISO Central European ISO keymap Danish ISO Danish ISO keymap Danish ISO Danish ISO keymap x x Estonian ISO Estonian ISO keymap x x x x Estonian ISO 15 Estonian ISO 8859-15 keymap x x Estonian CP850 Code Page 850 keymap x x Estonian ISO Estonian ISO keymap x x mq qqqqq[ Choose a keyboard map ]qqqqqq |
#vim /etc/rc.conf
|
#grep scrnmap /etc/rc.d/*
/etc/rc.d/syscons: case ${scrnmap} in /etc/rc.d/syscons: echo -n ' scrnmap'; vidcontrol < ${viddev} -l ${scrnmap} |
#/etc/rc.d/sysc
X Window System Version 6.8.2 Release Date: 9 February 2005 X Protocol Version 11, Revision 0, Release 6.8.2 Build Operating System: FreeBSD 6.0 i386 [ELF] Current Operating System: FreeBSD fbsd1.unix.nt 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386 Build Date: 12 October 2005 Before reporting problems, check http://wiki.X.Org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, ... Resource id: 0x1e00010 X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 Minor opcode: 0 Resource id: 0x1e00010 X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 Minor opcode: 0 Resource id: 0x1e00010 syscons sysctl |
#/etc/rc.d/syscons restart
syscons not running? Configuring syscons: keymap keyrate scrnmap font8x16 font8x14 font8x8 blanktime screensaver. |
#vim /etc/rc.conf
|
#vim /etc/rc.conf
|
#cd /usr/ports
|
#make search name=lyc | less
|
#make search name=cyrilli | less
|
#cd /usr/ports/x11-fonts/xorg-fonts-cyrillic ; make install
===> Vulnerability check disabled, database not found => X11R6.8.2-src1.tar.gz doesn't seem to exist in /usr/ports/distfiles/xorg. => Attempting to fetch from ftp://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.8.2/src/. |
$ssh root@192.168.15.23
===> Vulnerability check disabled, database not found => X11R6.8.2-src1.tar.gz doesn't seem to exist in /usr/ports/distfiles/xorg. => Attempting to fetch from ftp://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.8.2/src/. X11R6.8.2-src1.tar.gz 31% of 30 MB 47 kBps 07m37s Password: Last login: Mon Nov 27 13:57:25 2006 from 192.168.15.254 Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.0-RELEASE (GENERIC) #0: Thu Nov 3 09:36:13 UTC 2005 Welcome to FreeBSD! ... along with the mailing lists, can be searched by going to http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. |
$su -
Password: l3-agent is already running: pid=10046; pidfile=/root/.lilalo/l3-agent.pid |
#ssh 192.168.15.25
Password: Last login: Mon Nov 27 16:22:17 2006 Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.0-RELEASE (GENERIC) #0: Thu Nov 3 09:36:13 UTC 2005 Welcome to FreeBSD! Before seeking technical support, please use the following resources: o Security advisories and updated errata information for all releases are at http://www.FreeBSD.org/releases/ - always consult the ERRATA section for your release first as it's updated frequently. o The Handbook and FAQ documents are at http://www.FreeBSD.org/ and, along with the mailing lists, can be searched by going to http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. |
#ifconfig -u
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=9<RXCSUM,VLAN_MTU> inet6 fe80::204:76ff:fea1:f25b%xl0 prefixlen 64 scopeid 0x2 inet 192.168.15.21 netmask 0xffffff00 broadcast 192.168.15.255 inet 10.0.0.21 netmask 0xffffff00 broadcast 10.0.0.255 ether 00:04:76:a1:f2:5b media: Ethernet autoselect (100baseTX <full-duplex>) status: active lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet 127.0.0.1 netmask 0xff000000 |
#ifconfig xl0 192.168.21.1
|
#ifconfig xl0 192.168.21.1
|
#ifconfig xl0 192.168.21.1 -u
ifconfig: -u: bad value |
#ifconfig -u
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=9<RXCSUM,VLAN_MTU> inet6 fe80::204:76ff:fea1:f25b%xl0 prefixlen 64 scopeid 0x2 inet 192.168.21.1 netmask 0xffffff00 broadcast 192.168.21.255 ether 00:04:76:a1:f2:5b media: Ethernet autoselect (100baseTX <full-duplex>) status: active lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet 127.0.0.1 netmask 0xff000000 |
#ifconfig -u
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=9<RXCSUM,VLAN_MTU> inet6 fe80::204:76ff:fea1:f25b%xl0 prefixlen 64 scopeid 0x2 inet 192.168.21.1 netmask 0xffffff00 broadcast 192.168.21.255 ether 00:04:76:a1:f2:5b media: Ethernet autoselect (100baseTX <full-duplex>) status: active lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet 127.0.0.1 netmask 0xff000000 |
#ifconfig -u
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=9<RXCSUM,VLAN_MTU> inet6 fe80::204:76ff:fea1:f25b%xl0 prefixlen 64 scopeid 0x2 inet 192.168.21.1 netmask 0xffffff00 broadcast 192.168.21.255 ether 00:04:76:a1:f2:5b media: Ethernet autoselect (100baseTX <full-duplex>) status: active lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet 127.0.0.1 netmask 0xff000000 |
#route add default 192.168.21.254
add net default: gateway 192.168.21.254 |
#ping 192.168.21.254
PING 192.168.21.254 (192.168.21.254): 56 data bytes ^C --- 192.168.21.254 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.21.254
PING 192.168.21.254 (192.168.21.254): 56 data bytes ^C --- 192.168.21.254 ping statistics --- 14 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.21.254
PING 192.168.21.254 (192.168.21.254): 56 data bytes ^C --- 192.168.21.254 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.21.254
PING 192.168.21.254 (192.168.21.254): 56 data bytes ^C --- 192.168.21.254 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.21.254
PING 192.168.21.254 (192.168.21.254): 56 data bytes ^C --- 192.168.21.254 ping statistics --- 7 packets transmitted, 0 packets received, 100% packet loss |
#ifconfig
em0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=b<RXCSUM,TXCSUM,VLAN_MTU> ether 00:13:d4:b2:47:5c media: Ethernet autoselect status: no carrier xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=9<RXCSUM,VLAN_MTU> inet6 fe80::204:76ff:fea1:f25b%xl0 prefixlen 64 scopeid 0x2 inet 192.168.21.1 netmask 0xffffff00 broadcast 192.168.21.255 ether 00:04:76:a1:f2:5b media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet 127.0.0.1 netmask 0xff000000 |
#route -n
usage: route [-dnqtv] command [[modifiers] args] |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.21.254 UGS 0 175 xl0 127.0.0.1 127.0.0.1 UH 0 8 lo0 192.168.21 link#2 UC 0 0 xl0 192.168.21.254 00:13:d4:b2:47:35 UHLW 2 29 xl0 1085 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UH lo0 fe80::%xl0/64 link#2 UC xl0 fe80::204:76ff:fea1:f25b%xl0 00:04:76:a1:f2:5b UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#4 UHL lo0 ff01::/32 ::1 U lo0 ff02::%xl0/32 link#2 UC xl0 ff02::%lo0/32 ::1 UC lo0 |
#ping 192.168.21.254
PING 192.168.21.254 (192.168.21.254): 56 data bytes ^C --- 192.168.21.254 ping statistics --- 4 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.21.254
PING 192.168.21.254 (192.168.21.254): 56 data bytes ^C --- 192.168.21.254 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.21.254
PING 192.168.21.254 (192.168.21.254): 56 data bytes ^C --- 192.168.21.254 ping statistics --- 17 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.21.254
PING 192.168.21.254 (192.168.21.254): 56 data bytes ^C --- 192.168.21.254 ping statistics --- 8 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.21.254
PING 192.168.21.254 (192.168.21.254): 56 data bytes ^C --- 192.168.21.254 ping statistics --- 19 packets transmitted, 0 packets received, 100% packet loss |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.21.254 UGS 0 211 xl0 127.0.0.1 127.0.0.1 UH 0 8 lo0 192.168.21 link#2 UC 0 0 xl0 192.168.21.254 00:13:d4:b2:47:35 UHLW 2 79 xl0 1107 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UH lo0 fe80::%xl0/64 link#2 UC xl0 fe80::204:76ff:fea1:f25b%xl0 00:04:76:a1:f2:5b UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#4 UHL lo0 ff01::/32 ::1 U lo0 ff02::%xl0/32 link#2 UC xl0 ff02::%lo0/32 ::1 UC lo0 |
#ifconfig -u
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=9<RXCSUM,VLAN_MTU> inet6 fe80::204:76ff:fea1:f25b%xl0 prefixlen 64 scopeid 0x2 inet 192.168.21.1 netmask 0xffffff00 broadcast 192.168.21.255 ether 00:04:76:a1:f2:5b media: Ethernet autoselect (100baseTX <full-duplex>) status: active lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet 127.0.0.1 netmask 0xff000000 |
Время первой команды журнала | 16:28:44 2006-11-27 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 18:50:34 2006-11-27 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 95 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 23.16 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 4.21 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 1.85 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 0.86 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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