王旭舟
2014-11-10 15:17:24 UTC
Hello ,I have trouble about fabric v1.9.1
I¡¯m working for aix operating system,and now when run oracle script to
deploy data
Ex. run(¡°sqlplus¡±), It will show error to me that sqlplus is not found,
I have configuration the .profile where oracle_home is, but it don¡¯t help
as all.
Now I have to set
run("export ORACLE_BASE=/oracle/app && \
export ORACLE_HOME=$ORACLE_BASE/product/11.0.1/db_1
&& \
export PATH=$ORACLE_HOME/bin:$PATH && sqlplus")
But in fact ,It not beautiful for code , and not every environment is the
same, so please help me to solve this problem.
I¡¯m working for aix operating system,and now when run oracle script to
deploy data
Ex. run(¡°sqlplus¡±), It will show error to me that sqlplus is not found,
I have configuration the .profile where oracle_home is, but it don¡¯t help
as all.
Now I have to set
run("export ORACLE_BASE=/oracle/app && \
export ORACLE_HOME=$ORACLE_BASE/product/11.0.1/db_1
&& \
export PATH=$ORACLE_HOME/bin:$PATH && sqlplus")
But in fact ,It not beautiful for code , and not every environment is the
same, so please help me to solve this problem.