########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
#############.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
阅读(661) | 评论(0) | 转发(0) |