본문 바로가기

전체보기

[oracle] 터미널에서 linesize / pagesize 설정 # su - oracle # sqlplus '/as sysdba' SQL> set linesize [num] SQL> set pagesize [num] 더보기
[oracle] Linux 부팅시 오라클 자동실행 # /etc/oratab orcl:/u01/app/oracle/product/10.2.0/db_1:Y (N 을 Y로 변경) # /etc/rc.local su - oracle -c /u01/app/oracle/product/10.2.0/db_1/bin/"lsnrctl start" ( 리스너 ) su - oracle -c /u01/app/oracle/product/10.2.0/db_1/bin/dbstart ( DB 시작 ) su - oracle -c /u01/app/oracle/product/10.2.0/db_1/bin/"isqlplusctl start" ( isqlplus 시작 ) su - oracle -c /u01/app/oracle/product/10.2.0/db_1/bin/"emctl start db.. 더보기
[oracle] user lock/unlock 하기 SQL> ALTER USER username ACCOUNT LOCK; SQL> ALTER USER username ACCOUNT UNLOCK;ex)SQL> ALTER USER scott ACCOUNT LOCK;SQL> ALTER USER scott ACCOUNT UNLOCK; 더보기
[oracle] 시작과 종료 - oracle 시작 # su - oracle # sqlplus '/as sysdba' sql> startup - listener 시작 # su - oracle # lsnrctl start @ oracle 종료 # su - oracle # sqlplus '/as sysdba' sql> shutdown immediate @ listener 종료 # su - oracle # lsnrctl stop * isqlplus 시작 : isqlplusctl start 종료 : isqlplusctl stop *em 시작 : emctl start dbconsole 종료 : emctl stop dbconfole 더보기
[Linux] 오라클 리스너 실행 오류 TNS-12537: TNS:connection closed TNS-12560: TNS:proto adapter error TNS-00507: Connection closed Linux Error: 29: Illegal seek [출처] 리스너 실행 에러|작성자 전갈자리 이런 에러가 뜬다. 해결 방법 : /etc/hosts 파일을 열어서 127.0.0.1 부분 확인한다 정상 : centos.mac localhost 오류 : centos.mac centos ( 이렇게 바꿔놨더니 에러 떴음 ) * 별칭 부분인데 왜 에러가 뜨지? 수정후 잘된다. 더보기
[Linux] 오라클 설치후 isqlplus & em 에서 한글 ㅁ 으로 깨져서 나올때 ALBAMWTK.TTF 더보기
[Linux] CentOS-5.x 오라클 설치/삭제 CentOS-5.x 에서 오라클 10g 설치하기 본 문서는 centos5에 오라클10g를 설치하고 테스트 할 수 있는 환경을 안내하는데 있다. 1. centos5 설치 가. 오라클은 설치에 xwindow환경을 사용한다. 나. 설치옵션에서 gnome, kde 환경 모두를 선택한다. 다. 설치옵션에서 "virtualisation", "Clustering", "Cluster Storage"는 선택하지 않는다. 다. 필요에 따라 개발 라이브러리를 추가한다. 라. 설치에 필요한 정보는 http://www.howtoforge.org 의 centos카테고리의 centos5 퍼펙트셋업 편을 참고한다. 마. 설치완료 후에 섹션을 KDE로 선택하고 로긴한다.(KDE환경에서 설치 권장) 바. 설치완료 후에 네트워크 환경이 .. 더보기
[Mac] CentOS 에 Parallels Tools Install 하기 Install Parallels Tools in CentOS **Login as root** 1. install gcc and kernel-devel with the following command: yum install gcc kernel-devel 2. copy the contents of the cd into a folder on the desktop. 3. open a terminal and do a chmod 777 on the newly created folder 4. open the newly created folder and type ./install go through the installation instructions 드뎌 된다. 더보기