solaris备忘

########mount iso###

/usr/sbin/lofiadm -a /absolute_path/file.iso
mount -F hsfs /dev/lofi/1 /mount_point

#############上网设置##########

pfexec ifconfig yukonx0 192.168.138.4 netmask 255.255.255.0 router 192.168.138.1

pfexec vi /etc/resolv.conf

nameserver 119.6.6.6 210.42.224.34

pfexec vi /etc/nsswitch.conf

host files dns

使用dhcp

touch /etc/dhcp.yukonx0[@more@]

#############.tcshrc###########

alias h history 25
alias j jobs -l
alias la ls -a
alias lf ls -FA
alias ll ls -lF
setenv EDITOR vim
setenv PAGER less
set autolist
bindkey "^w" backward-delete-word
bindkey -k up history-search-backward
bindkey -k down history-search-forward
if($?prompt) then
setenv LSCOLOR ExGxFxdxCxegedabagExEx
setenv CLICOLOR yes
set prompt='%B%n@%m%b%B%~%b%# '
#set prompt='[%B%n]%B%~%b%# '
set filec
set path = (/usr/has/bin /opt/csw/bin /usr/local/bin /bin /usr/bin /usr/sbin /sbin /usr/local/samba/bin /usr/X11R6/bin)
set fignore=.o
set showmatch
set history = 100
set savehist = 75
set ignoreeof
set watch=(1 gabor any mike any adrian any pwardrop any)
umask 2
endif
############.Xmodmap############
remove Lock = Caps_Lock
remove Control = Control_L
keysym Control_L = Caps_Lock
keysym Caps_Lock = Control_L
add Lock = Caps_Lock
add Control = Control_L
############vim终端彩色#########
set term=xtermc
############ls 彩色显示##########
gnu ls
alias ls "/usr/gnu/bin/ls --color=yes"
###oracle:Xlib: connection to ":0.0" refused by server
登陆root
xhost local:oracle
或者xhost +
su - oracle

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10896118/viewspace-1044097/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/10896118/viewspace-1044097/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值