오라클 기본 관리자(sys,system) 및 scott 계정 정보

오라클 설치시 자동으로 생성되는 계정

sys,system,scott

sys/change_on_install – DBMS의 데이터 딕셔너리 소유자, 오라클 데이터베이스 관리자(super user)

system/manager – SQL*Forms등의 툴을 위한 데이터 딕셔너리 소유자. 모든 권한이 SYS와 같으나 DB생성 권한은 없음

scott/tiger – sample사용자 계정 (연습용)

 

scott계정이 기본적으로 락이 걸려 잇어서 풀어줘야한다.(윈도우 기준)

cmd

sqlplus “/as sysdba”

show user

select username, account_status from dba_users where username=’SCOTT’;//sql쿼리 락이 걸렸나 확인

alter user scott account unlock;//스코뜨 언락

alter user scott identified by tiger; //scott의 비번을 tiger로

conn scott/tiger//접속해보기접속되면 되는거

 

다른 계정도 마찬가지 암호를 잊어먹으면…

cmd창에서 설정해주면 된다.

sqlplus “/as sysdba” 스퀄플러스로 접속

alter user sys identified by 암호;

alter user system identified by 암호;

 

connect sys/암호 as sysdba

connect system/암호

 

사용자 추가방법

create user  아이디 identified by 암호;

connect 아이디/암호

–이렇게 하면 권한이 업다고 뜸

connect /as sysdba //sys권한으로 접속

grant connect, resource to 아이디;

conn 아이디/암호

Visual Studio에서 SVN클라이언트 설치하고 사용하기

http://ankhsvn.open.collab.net/

이거를 설치한다.

그럼 이제 그냥 쓰면 된다.

프로젝트에 오른쪽 클릭하면 subversion 어쩌고가 뜬다.

view-repository explorer도 열 수 있다.

 

똘똘이svn가지고 연동하는 방법도 있는듯하다.

http://ssogarif.tistory.com/873

추천하지는 않는다. 귀찮은 방법이다.

잣은 갓 따서 원시인처럼 돌맹이로 깨서 먹어야 참 맛이 난다는 사람도 있지만…

언제 링크가 깨질지 모르겠지만 따로 퍼놓지는 않겠다. 그냥 별로 필요없을듯해서…

 

이클립스 윈도우 64비트에서 svn 설치하고 사용하기

이클립스에서 일단 svn을 설치

Help – Install 에서

네임 : Subclipse 1.6

주소 : http://subclipse.tigris.org/update_1.6.x

이렇게 추가해주고 대충 봐서 설치한다.

잘 모르면 다 하면 이런저런거 다 설치된다.  고민할 여유가 없고 용량도 많으니 고민 할 필요도 없다.

 

프로젝트에 우클릭 – Team – Share 클릭하면

다양한 에러메세지와 함께 오류를 토해낸다.

 

이 때 이걸 설치하면 된다능

http://subclipse.tigris.org/wiki/JavaHL

이라고 이클립스가 알려준다.

 

요기가서 64비트 윈도우를 클릭하면

Windows 64-bit

If you are using a 32-bit JVM, then Subclipse should just work. If you use a 64-bit JVM then you need to provide a 64-bit version of JavaHL. One such distribution is SlikSVN which you can get here:

http://www.sliksvn.com/en/download

With that package installed, Subclipse should find JavaHL on PATH and just work.

요렇게 써 있다. 이프유가 32비트 JVM을 쓰고있으면 섭클립스 그냥 일한다. 네가 만약 64비트를 쓰고 있다면 그 때는 64비트 JAVAHL을 내놔야 된다. 그냥 이거 깔어. 링크

OSx에서는 이렇게 하면 된다고 한다.

그 밑에는 리눅스도 있다.

OS X

The easiest thing to do is download and install the OSX package that is provided on openCollabNet. This installs Subversion, including the JavaHL library, into /opt/subversion. It then makes a symlink for the JavaHL library into /Library/Java/Extensions. This is a global location that the OSX JVM looks in when loading libraries via JNI. So basically, if you install this package, there is nothing else you need to do. It is OK to install this after you have installed Subclipse. These binaries are Universal including 32 and 64-bit variants which can be important if you use different JVM’s.

?MacPorts also provides an easy Subversion and JavaHL package, however on Snow Leopard ?MacPorts is still compiling these packages as simple 32-bit binaries. If you use the default Snow Leopard JVM which is 64-bit you will get an error like this when JavaHL is loaded:

 

Failed to load JavaHL Library.
These are the errors that were encountered:
no libsvnjavahl-1 in java.library.path
no svnjavahl-1 in java.library.path
/opt/local/lib/libsvnjavahl-1.0.0.0.dylib:  no suitable image found.  Did find:  /opt/local/lib/libsvnjavahl-1.0.0.0.dylib: mach-o, but wrong architecture

Note the error about wrong architecture. This is because the 64-bit JVM cannot load a 32-bit native library. The ?CollabNet binaries for OSX do not have this problem because they include both 32-bit and 64-bit versions.

 

JAVAHL만 선택해서 설치할수도 있고 뭐 다 깔아도 된다. 용량도 많은데 그냥 티피컬 OKOKNEXT 하면 된다.

 

이렇게 하면 진짜 된다.

2011.09.30 새벽

Eclipse Indigo에서…