Linux shell下令备忘
Linux shell命令备忘1.设置代理export http_proxyhttp://@192.168.31.2:31282.mount服务端:chkconfig -
Linux shell命令备忘
1.设置代理
export http_proxy='http://@192.168.31.2:3128'
2.mount
服务端:
chkconfig --level 35 nfs on
vi /etc/exports,加入:
/tmp 192.168.1.200(rw,sync,no_root_squash)
/etc/init.d/nfsserver restart
客户端:
mkdir /home/oracle/data
chmod 777 -R /home/oracle/data
mount -t nfs -o rw,bg,hard,nointr,rsize=32768,wsize=32768,timeo=600,actimeo=0 192.168.50.165:/home/oracle/testdb /home/oracle/data
3.误将oracle数据库数据文件删除处理方法
Alter database datafile '/home/oracle/data/oms/portal_search01.dbf' offline drop