그룹 및 사용자 계정 생성
Linux 그룹 및 사용자 계정을 생성.
사용자 계정은 ‘oracle’, 그룹은 ‘oinstall’과 ‘dba'로 명명.
root 계정으로 아래 명령을 실행.
# /usr/sbin/groupadd oinstall
# /usr/sbin/groupadd dba
# /usr/sbin/useradd -c "Oracle software owner" -m -g oinstall -G dba oracle
# id oracle
uid=501(oracle) gid=501(oinstall) groups=501(oinstall),502(dba)
계정의 패스워드를 설정.
# passwd oracle
Changing password for user oracle.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.
디렉토리의 생성 및 설정.
# mkdir -p /u01/app/oracle
# mkdir -p /u02/oradata
# chown -R oracle:oinstall /u01/app/oracle /u02/oradata
# chmod -R 775 /u01/app/oracle /u02/oradata
'Programming > LINUX' 카테고리의 다른 글
Ubuntu Server Graphic 환경 설정 (0) | 2011.12.01 |
---|---|
[스크랩] 우분투에 아파치+톰캣 설치하기 (0) | 2011.11.23 |
[Linux]MySQL DB 생성, 삭제, 조회 (0) | 2011.11.09 |
UBUNTU에 Wordpress 설치하기 (0) | 2011.11.09 |
웹 서버 설정 (0) | 2011.11.09 |