본문 바로가기

Linux directory structure / - Root directory that forms the base of the file system.All files and directories are logically contained inside the rootdirectory regardless of their physical locations. /bin - Contains the executable programs that are part of theLinux operating system. Many Linux commands, such as cat, cp, ls, more,and tar, are locate in /bin /boot - Contains the Linux kernel and other files needed by LILO a.. 더보기
PHPMyAdmin - blowfish_secret 해결방법 PHPMyAdmin - blowfish_secret 해결방법 http://www.server3.co.kr/phpmyadmin 에 접속했을 경우 아래와 같은 경고 문구가 나타난다. http://www.server3.co.kr/phpmyadmin 에 로그인 했을 경우 아래와 같은 경고 문구가 나타난다. The configuration file now needs a secret passphrase (blowfish_secret). ------------------------------------------------------------------- phpmyadmin 환경설정파일 경로 /usr/local/apache/htdocs/phpmyadmin/libraries/config.default.php 이 파일.. 더보기
PHPMyAdmin - mbstring error 해결방법 PHPMyAdmin 을 설치 후 실행했을 때 아래와 같은 에러 문구가 나타났을 경우 해결하는 방법 The mbstring PHP extension was not found and you seem to be using multibyte charset. Without mbstring extension phpMyAdmin is unable to split strings correctly and it may result in unexpected results. ------------------------------------------------------------------- 1. PHP를 RPM으로 설치한 경우 - YUM 을 이용한 방법 # yum install php-mbstring -----------.. 더보기
PHPMyAdmin - mcrypt 문제 해결 방법 (libmcrypt 설치) PHPMyAdmin 을 설치 후 실행했을 때 아래와 같은 에러 문구가 나타났을 경우 해결하는 방법 mcrypt 확장모듈을 불러올 수 없습니다. PHP 환경설정을 검사하십시오. ------------------------------------------------------------------- libmcrypt-2.5.8.tar.gz (다운로드) ------------------------------------------------------------------- 1. libmcrypt 설치 [root@server3 Desktop]# tar xvfz libmcrypt-2.5.8.tar.gz libmcrypt-2.5.8/ - 중략 libmcrypt-2.5.8/configure.in [root@serve.. 더보기
Neither host 'server1' nor 'localhost' could be looked up with /usr/local/mysql/bin/resolveip mysql source install 시 문제 해결 방법 # /usr/local/mysql/bin/mysql_install_db Neither host 'server1' nor 'localhost' could be looked up with /usr/local/mysql/bin/resolveip Please configure the 'hostname' command to return a correct hostname. If you want to solve this at a later stage, restart this script with the --force option ---> 위 상황은 mysql 을 make install 까지 끝난 상태에서 db를 생성하기 위하여 명령을 내렸는데 문제가 나타난 상.. 더보기
Tomcat 6.0 & Apache Server 연동 중 Servlets 연동 문제 Tomcat 6.0 을 설치 후 브라우저에서 확인 할 때 servlets과의 연동이 안되는 경우 해결 방법 [root@server3 extra]# vi /usr/local/apache/conf/httpd.conf #tomcat setting include conf/extra/tomcat.conf [root@server3 extra]# pwd /usr/local/apache/conf/extra [root@server3 extra]# vi tomcat.conf [root@server3 extra]# cat tomcat.conf #mod_jk setup JkWorkersFile "/usr/local/apache/conf/workers.properties" JkLogFile "/usr/local/apache/l.. 더보기
Shutting Down the Database 데이터베이스 종료 (Shutdown) 1. 데이터베이스를 종료하는 4가지 옵션 Shutdown [ Normal | Transaction | Immediate | Abort ] 1-1. Shutdown Normal - Normal 은 Shutdown 명령의 디폴트 옵션이다. - 현재 사용자가 연결을 끊을 때까지 대기한다. - 데이터베이스 버퍼 캐시와 리두 로그 버퍼의 내용이 디스크에 기록된다. - 백그라운드 프로세스가 종료되고 SGA가 메모리에서 해제된다. - 인스턴스를 종료하기 전에 데이터베이스를 닫는다. - 다음번 데이터베이스 시작시 인스턴스 복구가 불필요하다. SQL> shutdown normal 데이터베이스가 닫혔습니다. 데이터베이스가 마운트 해제되었습니다. ORACLE 인스턴스가 종료되었습니다. .. 더보기
Starting Up a Database 1. 데이타베이스 시작의 3단계 1-1. NOMOUNT - 인스턴스가 메모리에 할당 및 시작되는 단계이다. - 데이터베이스 관리에 있어서 데이터베이스 생성 또는 컨트롤 파일을 생성하는 작업은 NOMOUNT 단계에서만 할 수 있다. 1-2. MOUNT - 컨트롤 파일을 읽고 데이터베이스를 마운트하는 단계이다. - MOUNT 단계에서만 할 수 있는 작업 1) 데이터 파일의 이름 변경 2) 아카이브, 노아카이브 모드 변경 3) 전체 데이터베이스 복구 1-3. OPEN - 데이터베이스를 시작하고 사용자들의 접속을 허용하는 단계이다. - 만약, OPEN 단계에서 데이터 파일 또는 리두 로그 파일이 실제 존재하지 않으면 오라클 서버는 오류를 발생시키고 데이터베이스는 MOUNT 단계에서 멈추게 된다. --------.. 더보기
인스턴스 관리 - PFILE & SPFILE 1. 파라미터 파일의 종류 - 오라클 서버가 운영되려면 인스턴스가 메모리에 할당 되어야 하며, 이를 위해서는 파라미터 파일이 필요하다. 오라클 서버의 파라미터 파일은 과거부터 계속 사용해왔던 PFILE 과 Oracle 9i부터 새롭게 추가된 SPFILE 의 두가지 형식이 있다. - 파라미터 파일에는 다음과 같은 내용이 저장되어 있다. 1) 인스턴스 설정을 위한 파라미터 2) 인스턴스와 연관된 데이터베이스 이름 3) SGA 구성 정보 4) 리두 로그파일의 아카이브 여부 5) 컨트롤 파일의 위치 및 이름 6) 언두 세그먼트 관련 정보 ------------------------------------------------------------------- 2. PFILE - PFILE : 일반적으로 initS.. 더보기
Oracle 9i 설치 Oracle 9i 설치 설치 전에 주의 사항을 먼저 읽어본다. ------------------------------------------------------------------- 설치시 주의 사항 1. 내컴퓨터 -> 속성 -> 컴퓨터 이름 에서 컴퓨터 이름과 설치될 폴더 및 상위폴더명에 한글이 들어가 있으면 안된다. 그리고 Oracle 설치 후에는 컴퓨터의 이름을 수정할 수 없으며, 컴퓨터 이름을 바꿀 시에는 Oracle 이 실행이 안된다. ------------------------------------------------------------------- 2. 테스트 용으로 설치할 경우에는 로컬 드라이브에 설치를 해도 상관이 없지만 실제 Oracle 시스템을 구축시에는 로컬드라이브에는 설치하지.. 더보기