-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.TXT
More file actions
27 lines (25 loc) · 748 Bytes
/
README.TXT
File metadata and controls
27 lines (25 loc) · 748 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
#install cx_Oracle
#install dos2nuix
#配置oracle的环境变量,
#iptables -A INPUT -p tcp --dport 80 -j REJECT 增加默认
#python install setup.py(install python2.7)
#
#install cx_oracle.so
#
#python install setup.py
#
#/usr/lib64/python2.6/site-packages/cx_Oracle.so
#/usr/lib64/python2.6/site-packages/cx_Oracle-6.0rc2-py2.6-linux-x86_64.egg/cx_Oracle.so
#拷贝模块文件。
#python /python_firewall/firewall_mac_while.py &
#
#SET profile
#
#export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/pyrules/oracle11g
#export ORACLE_HOME=/usr/local/pyrules/oracle11g
#
#su - oracle
#unset LD_LIBRARY_PATH
#add crontab
#*/1 * * * * /bin/bash /usr/local/pyrules/bin/trigger_st.sh &> /usr/local/pyrules/logs/pyrules.log