본문 바로가기

Linux

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.. 더보기
SAMBA Server Samba Server - 이종간의 운영체제와 자원 공유 프로토콜 - 리눅스 자원을 윈도우에서 공유 - 리눅스 프린터를 윈도우에서 공유 ------------------------------------------------------------------- 1. Samba 설치 & 환경 설정 [root@server3 ~]# rpm -qa | grep samba samba-common-3.0.28-0.el5.8 samba-client-3.0.28-0.el5.8 samba-3.0.28-0.el5.8 system-config-samba-1.2.39-1.el5 [root@server3 ~]# system-config-packages 패키지 관리자 -> 서버 -> windows 파일 서버 -> samba [roo.. 더보기
DHCP Server DHCP Server - DHCP(Dynamic Host Configuration Protocol)는 DHCP서버로 IP주소할당을 요청하는 클라이언트들에게 자동으로 IP주소를 할당해 주는 통신 프로토콜 규약이다. - DHCP서버를 구성하기 위해서는 리눅스 서버와 네트워크 카드 인터페이스 두개를 준비해야 한다. 즉, 외부의 DHCP서버로부터 공인 IP 를 할당받는 이더넷카드와 내부 클라이언트들에게 IP를 할당하는 이더넷카드가 필요하다. ------------------------------------------------------------------- 1. 설치 확인 [root@server3 ~]# rpm -qa | grep dhcp dhcpv6-client-1.0.10-4.el5 [root@serve.. 더보기
Mail Server - aliases & virtusertable & .forward & etc Mail Server 간단 명령어 ------------------------------------------------------------------- 1. /etc/aliases 적용 [root@server3 ~]# vi /etc/aliases 96 #root: marc 97 music: movie - music 사용자에게 오는 메일을 movie 사용자에게 보낸다. [root@server3 ~]# newaliases /etc/aliases: 77 aliases, longest 10 bytes, 775 bytes total [root@server3 ~]# service sendmail restart sm-client을 종료 중: [ OK ] sendmail를 종료 중: [ OK ] sendmail (.. 더보기
Webmail - Squirrelmail Webmail - daum, naver 등 웹브라우저를 통해 메일을 송수신하는 서비스를 말한다. ------------------------------------------------------------------- http://www.squirrelmail.org/ ------------------------------------------------------------------- 1. Squirrelmail 설치 & 환경 설정 Squirrelmail - 오픈 소스용 웹메일 프로그램으로 IMAP서버 기반 php4로 개발되어 졌다. - 구축에 필요한 패키지 : Squirrelmail, php, apache, imap서버가 미리 구동되어 있어야 한다. [root@bban2 ~]# rpm -qa | g.. 더보기
dovecot Dovecot - POP3, IMAP 프로토콜을 지원하는며 TLS/SSL을 지원하는 서비스 데몬이다. 참고 사이트 : http://www.dovecot.org/ ------------------------------------------------------------------- 1. dovecot 설치 [root@bban2 ~]# rpm -qa | grep dovecot [root@bban2 ~]# yum install dovecot - 중략 Installed: dovecot.i386 0:1.0.7-2.el5 Dependency Installed: mysql.i386 0:5.0.45-7.el5 Complete! [root@bban2 ~]# rpm -qa | grep dovecot dovecot-1.0.. 더보기
사설 IP 내에서 메일 전송 사설 IP 내에서 메일 전송 ------------------------------------------------------------------- server3 server2 1. 각각의 컴퓨터에서 hostname 을 일치 시켜주고 시작한다. 예) server3 [root@server3 ~]# vi /etc/hosts 5 10.10.33.3 server3.co.kr [root@server3 ~]# vi /etc/sysconfig/network 3 HOSTNAME=server3.co.kr ------------------------------------------------------------------- 2. 각각의 컴퓨터에서 상대방의 zone 파일을 생성해 준다. 예) server3 [root@s.. 더보기