分类:
2008-05-12 16:09:35
# pkg uninstall NVDAgraphics # wget # sh NVIDIA-Solaris-x86-96.43.05.run (blah blah...) # init 6 # reboot
# wget # bunzip2 audio-1.8-i86pc.pkg.bz2 # pkgadd -d audio-1.8-i86pc.pkg (blah blah...) # init 6
$ cat .bashrc export PATH=/usr/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin export MANPATH=/usr/gnu/share/man:/usr/share/man:/usr/X11/share/man export PAGER=less export EDITOR=vim PS1='\u@\h \W \$ ' alias ls='ls -F --color=auto' $ cat .bash_profile [ -f "$HOME/.bashrc" ] && . "$HOME/.bashrc"
$ echo 'set bell-style none' > .inputrc
# coreadm -i '%f.core' # coreadm global core file pattern: global core file content: default init core file pattern: %f.core init core file content: default global core dumps: disabled per-process core dumps: enabled global setid core dumps: disabled per-process setid core dumps: disabled global core dump logging: disabled
# mkdir /etc/X11/xinit/xinitrc.d/ # cd /etc/X11/xinit/xinitrc.d/ # echo '#!/bin/sh export LC_CTYPE=zh_CN.UTF-8' > 10env # chmod a+x 10env
case $LANG in *.UTF-8* | *.utf-8* | zh* | ja* | ko* | th* | *_IN*) if [ "x" = "x$GTK_IM_MODULE" ] || [ "iiim" = $GTK_IM_MODULE ]; then start_iiim fi ;; esac
case $LC_CTYPE in *.UTF-8* | *.utf-8* | zh* | ja* | ko* | th* | *_IN*) if [ "x" = "x$GTK_IM_MODULE" ] || [ "iiim" = $GTK_IM_MODULE ]; then start_iiim fi ;; esac
# ls -R ~/.fonts corefonts/ fzhtk.ttf fzy3k.ttf /export/home/jockey/.fonts/corefonts: andalemo.ttf comicbd.ttf georgiai.ttf timesbi.ttf verdanab.ttf arial.ttf cour.ttf georgiaz.ttf timesi.ttf verdanai.ttf arialbd.ttf courbd.ttf impact.ttf trebuc.ttf verdanaz.ttf arialbi.ttf courbi.ttf tahoma.ttf trebucbd.ttf webdings.ttf ariali.ttf couri.ttf tahomabd.ttf trebucbi.ttf ariblk.ttf georgia.ttf times.ttf trebucit.ttf comic.ttf georgiab.ttf timesbd.ttf verdana.ttf
serif Bitstream Vera Serif Lucida Bright DejaVu Serif Times New Roman Thorndale AMT Luxi Serif Nimbus Roman No9 L Times FZHei-B01 sans-serif Bitstream Vera Sans Arial DejaVu Sans EUDC Verdana Arial Albany AMT Luxi Sans Nimbus Sans L Helvetica FZHei-B01 monospace Bitstream Vera Sans Mono DejaVu Sans Mono Andale Mono Courier New Cumberland AMT Luxi Mono Nimbus Mono L Courier FZHei-B01 false serif sans-serif monospace en
# svcs
# svcs -xv xxx
# svcs -d xxx
# svcs -D xxx
# svcadm disable xxx yyy zzz ...
# svcs STATE STIME FMRI legacy_run 18:19:43 lrc:/etc/rc2_d/S20sysetup legacy_run 18:19:44 lrc:/etc/rc2_d/S47pppd legacy_run 18:19:45 lrc:/etc/rc2_d/S72autoinstall legacy_run 18:19:45 lrc:/etc/rc2_d/S73cachefs_daemon legacy_run 18:19:46 lrc:/etc/rc2_d/S81dodatadm_udaplt legacy_run 18:19:46 lrc:/etc/rc2_d/S89PRESERVE legacy_run 18:19:46 lrc:/etc/rc2_d/S98deallocate online 18:19:26 svc:/system/svc/restarter:default online 18:19:27 svc:/network/loopback:default online 18:19:27 svc:/network/datalink-management:default online 18:19:30 svc:/network/physical:nwam online 18:19:31 svc:/milestone/network:default online 18:19:32 svc:/system/identity:node online 18:19:32 svc:/system/metainit:default online 18:19:33 svc:/system/filesystem/root:default online 18:19:33 svc:/system/scheduler:default online 18:19:34 svc:/system/boot-archive:default online 18:19:34 svc:/system/filesystem/usr:default online 18:19:35 svc:/system/device/local:default online 18:19:35 svc:/system/keymap:default online 18:19:35 svc:/system/filesystem/minimal:default online 18:19:36 svc:/system/identity:domain online 18:19:36 svc:/system/resource-mgmt:default online 18:19:36 svc:/system/cryptosvc:default online 18:19:36 svc:/system/name-service-cache:default online 18:19:36 svc:/system/metasync:default online 18:19:36 svc:/system/rmtmpfiles:default online 18:19:37 svc:/system/sysevent:default online 18:19:37 svc:/system/device/fc-fabric:default online 18:19:37 svc:/system/power:default online 18:19:37 svc:/milestone/devices:default online 18:19:37 svc:/system/picl:default online 18:19:37 svc:/system/manifest-import:default online 18:19:38 svc:/network/initial:default online 18:19:38 svc:/milestone/single-user:default online 18:19:38 svc:/network/service:default online 18:19:38 svc:/network/dns/client:default online 18:19:39 svc:/milestone/name-services:default online 18:19:40 svc:/system/filesystem/local:default online 18:19:40 svc:/system/boot-archive-update:default online 18:19:40 svc:/system/sysidtool:net online 18:19:41 svc:/system/dbus:default online 18:19:41 svc:/application/opengl/ogl-select:default online 18:19:41 svc:/system/coreadm:default online 18:19:41 svc:/network/rpc/bind:default online 18:19:41 svc:/system/sysidtool:system online 18:19:41 svc:/milestone/sysconfig:default online 18:19:42 svc:/system/filesystem/autofs:default online 18:19:42 svc:/system/utmp:default online 18:19:42 svc:/system/console-login:default online 18:19:43 svc:/network/inetd:default online 18:19:43 svc:/system/system-log:default online 18:19:43 svc:/application/font/fc-cache:default online 18:19:43 svc:/system/dumpadm:default online 18:19:44 svc:/system/postrun:default online 18:19:46 svc:/application/graphical-login/gdm:default online 18:19:46 svc:/network/rpc/gss:default online 18:19:46 svc:/milestone/multi-user:default online 18:19:46 svc:/network/rpc/smserver:default online 18:19:46 svc:/system/intrd:default online 18:19:46 svc:/system/fmd:default online 18:19:47 svc:/milestone/multi-user-server:default online 18:19:47 svc:/system/zones:default online 18:19:48 svc:/system/hal:default online 18:19:48 svc:/system/filesystem/rmvolmgr:default
title Windows rootnoverify (hd0,0) chainloader +1
title Microsoft Windows XP map (hd0) (hd1) map (hd1) (hd0) rootnoverify (hd1,0) chainloader +1
$ TERM=xtermc vim
[ "x$DISPLAY != "x" ] && alias vim='TERM=xtermc vim'
$ pfexec vim xxx # still no colors
$ pfexec rm -rvf / # your box won't like this
# pkg refresh # pkg image-update -v
# beadm destroy opensolaris
# pkg set-authority -O blastwave.org # pkg set-authority -O sunfreeware.com # pkg refresh
# pkg search xxx
# pkg unset-authority blastwave.org