Programming/LINUX14 Ubuntu Server Graphic 환경 설정 1. Gnome sudo apt-get install ubuntu-desktop sudo apt-get install gdm sudo /etc/init.d/gdm start sudo dpkg-reconfigure xserver-xorg 2. Xfce sudo apt-get install xubuntu-desktop logout or reboot 2011. 12. 1. [스크랩] 우분투에 아파치+톰캣 설치하기 1.SSH 설치 -설치 $sudo apt-get install openssh-server -서비스를 재시작한다 $sudo /etc/init.d/ssh restart -서비스 허용 $sudo vi /etc/hosts.allow ---------------------------------------------- 맨 마지막줄에 추가한다. sshd : 192.168.56.1 -virtualBox의 IP이다. ---------------------------------------------- -실행 확인 $ps ax grep ssh 1128 ? Ss 0:00 /usr/sbin/sshd -D 1184 ? Ss 0:00 sshd: jun [priv] 1210 ? S 0:00 sshd: jun@pts/0 1313 pt.. 2011. 11. 23. [Linux]그룹 및 사용자 계정 생성, 디렉토리 생성 및 설정 그룹 및 사용자 계정 생성 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 n.. 2011. 11. 10. [Linux]MySQL DB 생성, 삭제, 조회 1. DB 생성 mysql> create database DB이름; 2. DB 삭제 mysql> drop databse DB이름; 3. DB 조회 mysql> show databases; 4. 사용할 DB 선택하기 - DB를 조작하기 위해서는 반드시 먼저 사용해야 한다. mysql> use my_db; 5. 선택한 DB 설정 확인하기 mysql> status 2011. 11. 9. 이전 1 2 3 4 다음