Tag: oracle

apache2, tomcat, oracle10g 연동…

OS: solaris10, oracle: oracle 10.2 apache : httpd-2.2.8 tomcat: apache-tomcat-6.0.16 tomcat-connectors-1.2.26 oracle: oracle10gr2를 /oracle에 설치 java: solaris10 설치때 설치된 java를 사용. apache2는 sunstudio12 로 컴파일 했음.(/usr/local/apache2) tomcat은 바이너리를 받아서 설치했음.(/usr/local/apache-tomcat-6.0.16) ln -s /usr/local/apache-tomcat-6.0.16 /usr/local/apache-tomcat chown -R tomcat:tomcat /usr/local/apache-tomcat-6.0.16 tomcat-connector는 apxs로 컴파일.(mod_jk.so 생성)

Continue reading

oracle 데이타 임포트, 익스포트

데이타 덤프 받기  exp userid=poss/poss file=’./poss.dmp’ full=y 덤프받은 데이타 임포트하기 imp file=’./poss.dmp’ ignore=y 또는 imp userid=poss/poss file=’./poss.dmp’ ignore=y 여기에서 오라클 사용자테이블 스페이스는 poss, 사용자아이디 비밀번호는각각 poss로 동일한 경우이며, 저장할 화일은 poss.dmp라는 화일이다.

Oracle 설치관련…

우분투에 오라클 11g 설치 http://www.pythian.com/blogs/654/installing-oracle-11g-on-ubuntu-linux-710-gutsy-gibbon 그대로 따라한 후 sqlplus /nolog SQL> conn / as sysdba ERROR: ORA-12162: TNS:net service name is incorrectly specified 에러… 검색결과 oraenv 실행 ORACLE_SID = [oracle] ? ORACLE_HOME = [/home/oracle] ? The Oracle base for ORACLE_HOME=/home/oracle is /home/oracle 해결안됨… oracle 10g로 재시도중… 참고사이트:  http://www.bywoong.com/blog_v2/1116