Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linuxÏÂoracleµÄ×Ô¶¯±¸·Ý

linuxÏÂoracleµÄ×Ô¶¯±¸·Ý
http://hohai2002.blog.163.com/blog/static/1628166912010323103227543/
±¸·Ý
ÉÏ´«root_cronµ½rootĿ¼
ʹÓÃcrontab ÅäÖÃÎļþ
crontab -u root /root/root_cron
ʹÓÃcrontab -l ¼ì²é
#Îļþ root_cron
01 00 * * * /etc/root_exp.sh
#Îļþroot_exp.sh
su - oracle -c /oracle/db_exp.sh
#Îļþdb_exp.sh
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export LIBPATH=$ORACLE_HOME/lib
DATE=`date +%y-%m-%d`
datename=${DATE}
exp yjeas59/yjeas59 file=/orabak/${datename}.dmp
½« root_exp.sh ·Åµ½/etc
½« db_exp.sh ·Åµ½ /oracleÏÂ
chmod -R 775 /etc/root_exp.sh
chown -R oracle:dba /oracle/dba_exp.sh
chmod -R 775 /oracle/dba_exp.sh
×Ô¼ºÊÖ¹¤ÐÞ¸Äorabak£¬±¸·ÝÎļþ´æ·ÅµØÖ·¡£
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
rootÓû§ÊäÈëcrontab -e,ĩβ׷¼Ó£¨vi±à¼­Æ÷£©
0 0 * * * su - oracle -c "exp easdata/kingdee
file=/oradata/databackup/eas.dmp"
ÿÌì0µãexpÊý¾Ý£¬Ç°ÃæÓÐ5¸ö²ÎÊý£¨ÆäʵÊÇ6¸ö£¬ÓÐÒ»¸öûÓÐÓã©£¬¾ßÌ庬Òågoogle
×¢ÒâÒª¸ü¸ÄÄ¿±ê·¾¶µÄȨÏÞ
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
crontab -u root /root/orabak1.sh
ʹÓÃcrontab -l ¼ì²é
orabak1.sh(rootÓû§)
su - oracle -c /appscript/orabak2.sh
orabak2.sh(oracleÓû§)
rq=` date +%Y%m%d `
exp oraycerp2/kingdee file=/orabak/$rq.dmp
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
20090716
chmod 775 kingdeebak
#Îļþ kingdeebak
01 00 * * * /scripts/kingdee_exp1.sh
ʹÓÃcrontab  
crontab -u root /root/kingdeebak
ʹÓÃcrontab -l ¼ì²é
kingdee_exp1.sh
su - oracle -c /scripts/kingdee_exp2.sh
kingdee_exp2.sh
rq=` date +%Y%m%d `
exp oraycerp2/kingdee file=/oraback/easback/


Ïà¹ØÎĵµ£º

linuxÕýÔò±í´ïʽ grep egrepÓ÷¨


&&
ÃüÁî1 && ÃüÁî2     Èç¹ûÕâ¸öÃüÁî1Ö´Ðгɹ¦& &ÄÇôִÐÐÕâ¸öÃüÁîÃü2
mv myfile myfile2 && echo "if you are seeing this then mv was success!"
|| 
Èç¹û| |×ó±ßµÄÃüÁÃüÁî1£©Î´Ö´Ðгɹ¦£¬ÄÇô¾ÍÖ´ÐÐ| |ÓұߵÄÃüÁî(ÃüÁî2£©
mv myfile myfile2 & ......

linux ´¥ÃþÆÁÇý¶¯·ÖÎö

http://blog.csdn.net/funy_liu/archive/2010/03/04/5345589.aspx
mini2440Çý¶¯·ÖÎöϵÁÐÖ®
---------------------------------------Mini2440´¥ÃþÆÁ³ÌÐò·ÖÎö
By JeefJiang July£¬8th£¬2009
ÕâÊÇmini2440Çý¶¯·ÖÎöϵÁеĵÚÈýƪÎÄÕ£¬±¾ÎÄ·ÖΪÈý¸ö²¿·Ö£¬µÚÒ»²¿·Ö½²ÐðÓ²¼þ֪ʶ£¬°üÀ¨´¥ÃþÆÁµÄÔ­ÀíÒÔ¼°SCC2440 SOCÉϵĴ¥ÃþÆÁÊ ......

linux ´®¿Ú±à³Ì

ÔÚǶÈëʽLinuxÖУ¬´®¿ÚÊÇÒ»¸ö×ÖÉ豸£¬·ÃÎʾßÌåµÄ´®Ðж˿ڵıà³ÌÓë¶Á£¯Ð´ÎļþµÄ²Ù×÷ÀàËÆ£¬Ö»Ðè´ò¿ªÏàÓ¦µÄÉ豸Îļþ¼´¿É²Ù×÷¡£´®¿Ú±à³ÌÌØÊâÔÚÓÚ´®¿ÚͨÐÅʱÏà¹Ø²ÎÊýÓëÊôÐÔµÄÉèÖá£Ç¶ÈëʽLinuxµÄ´®¿Ú±à³ÌʱӦעÒ⣬ÈôÔÚ¸ùÎļþÖÐûÓд®¿ÚÉ豸Îļþ£¬Ó¦Ê¹ÓÃmknodÃüÁî´´½¨£¬ÕâÕâÀï¼ÙÉè´®¿ÚÉ豸ÊÇ/dev/ttyS0£¬½éÉÜһϴ®¿ÚµÄ±à³Ì¹ý³Ì¡ ......

Ubuntu LinuxÏ嵀 Opera °²×°

ÏêÇéÇë·ÃÎÊ£ºhttp://deb.opera.com/
Opera
¹Ù·½Ô´£º
×îеİ汾:
deb http://deb.opera.com/opera/ unstable non-free
»òÕßÑ¡ÔñÎȶ¨µÄ°æ±¾£º
deb http://deb.opera.com/opera/ stable non-free
£¨ÐÞ¸Äsources.listÎļþÖÐÔ´µÄÁÐ±í£¬Ìí¼ÓOpera Ô´£©ÃüÁ
sudo gedit /etc/apt/sources.list
£¨±¸·Ýµ±Ç°µÄÔ´ÁÐ±í£© ......

LinuxÏÂOracle×Ô¶¯±¸·Ý½Å±¾

LinuxÏÂOracle×Ô¶¯±¸·Ý½Å±¾
http://freeglad.javaeye.com/blog/586444
½Å±¾Îļþ£º
backup.sh
rq=`date '+%Y%m%d%H%M'`
su - oracle -c "exp zjhk/zjhk_123 owner=zjhk file=/home/oracle/zjhk_$rq.dmp"
cronÊÇÒ»¸ölinuxϵĶ¨Ê±Ö´Ðй¤¾ß£¬¿ÉÒÔÔÚÎÞÐèÈ˹¤¸ÉÔ¤µÄÇé¿öÏÂÔËÐÐ×÷Òµ¡£ÓÉÓÚCron ÊÇLinuxµÄÄÚÖ÷þÎñ£¬µ«Ëü²»×Ô¶ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ