Chinaunix首页 | 论坛 | 博客
  • 博客访问: 43619
  • 博文数量: 13
  • 博客积分: 1956
  • 博客等级: 上尉
  • 技术积分: 155
  • 用 户 组: 普通用户
  • 注册时间: 2008-05-05 23:06
文章分类

全部博文(13)

文章存档

2011年(3)

2010年(5)

2008年(5)

我的朋友

分类: 系统运维

2010-12-31 21:58:48

########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
阅读(695) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~