뽀로

phpMyadmin 웹호스팅 설정

· 2006-05-06 (토) 14:52:18 · 4145 · 1
웹호스팅에서 사용하는 phpMyadmin을 설정 하였습니다
틀리면 리플요 음 다음엔 webmail-imap 다람쥐메일 설치 할까합니다
안녕 1.2
PHP Version 5.0.4AnNyung
Linux ns.rmcobol.co.kr 2.4.31-1 #1 SMP 화 7월 12 13:59:45 KST 2005 i686
mysql-4.0.23-1
apache-1.3.33-4

/etc/my.cnf
vi my.cnf

[mysqld]
port = 3306
socket = /var/lib/mysql/mysql.sock
#skip-show-database <---주석 후 재시작요 /etc/init.d/mysql stop | start
skip-locking
skip-name-resolve
#skip-networking
key_buffer=256M
max_allowed_packet = 1M
table_cache = 256
sort_buffer_size = 1M
read_buffer_size = 1M
myisam_sort_buffer_size = 64M
thread_cache = 8
max_connections = 100
join_buffer_size = 1M


/etc/httpd/conf/httpd.conf
vi httpd.conf
<IfModule mod_alias.c>
#
# Aliases: 필요한 만큼의 별칭을 만들어 사용한다. (제한 없음) 형식은
다음
# 과 같다. 예제) Alias 가짜이름 실제이름
#
# 가짜이름 뒤에 / 를 포함하면 아파치 서버는 URL 에도 / 이 있어야 처리
함을
# 잘 알아두자. 따라서 "/icons" 는 별칭 처리되지 않고 "/icons/"만 별
칭 처
# 리된다.
#
# 아래는 /icons/ 를 FancyIndexed directory 리스트의 별칭으로 정의했
다. 만
# 약에 FancyIndexint 을 사용하지 않는다면, 아래의 설정을 주석 처리 하
도록
# 한다.
#
Alias /icons/ "/home/httpd/icons/"

<Directory "/home/httpd/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

# 엘라이어스 mysql
Alias /mysql "/home/rmcobol/html/mysql/"

<Directory "/home/rmcobol/html/mysql/">
Options Indexes
AllowOverride None
Order allow,deny
Allow from all
</Directory>


# 아래는 apache manual 을 별칭처리 한다.
Alias /ServerManual/ /usr/share/doc/apache-1.3.33/

<Directory "/usr/share/doc/apache-1.3.33/">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
Deny From env=NoAccess
</Directory>
</IfModule>


/home/rmcobol/html/mysql <-- phpMyAdmin-xxx.xx.xx 설치요

vi config.inc.php

$cfg['PmaAbsoluteUri'] = ''; <-아무것도 넣지 마세요
$cfg['PmaAbsoluteUri_DisableWarning'] = TRUE;
$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method
(config, http or
cookie based)?
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = 'xxxxxx'; // MySQL
password (only needed


http://www.rmcobol.co.kr/mysql <-- root 디렉토리에서 phpMyAdmin 설치
http://xxxx.rmcobol.co.kr/mysql <-서브도메인 에서 mysql 얼라이어스 적용
http://test.rmcobol.co.kr/mysql
설정된 도메인 에서 mysql 하시면 해당 계정 로그인 하시면 됩니다
웹호스팅 업체에서 많이 사용하는 것 같아요

vi config.inc.php

$cfg['PmaAbsoluteUri'] = ''; <-아무것도 넣지 마세요
$cfg['PmaAbsoluteUri_DisableWarning'] = TRUE;
$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method
(config, http or
cookie based)?
$cfg['Servers'][$i]['user'] = ''; // MySQL user
$cfg['Servers'][$i]['password'] = ''; // MySQL
password (only needed

<-- user
<-- password 부분은 root,password 보안상 쓰지 마시길 당부 드립니다
쓰지 않으셔도 일반,루트 계정 로그인 됩니다<div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:27:00 MySQL에서 이동 됨]</div>
|

댓글 1개

찾고 있던 자료입니다.감사합니다.
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

8,188건
+
제목 글쓴이 날짜 조회
06-09-11 조회 3,222
06-09-10 조회 3,047
06-09-05 조회 5,385
06-09-02 조회 3,854
06-09-01 조회 3,213
06-09-01 조회 3,523
06-08-27 조회 3,316
06-08-27 조회 3,070
06-08-27 조회 2,822
06-08-27 조회 2,573
06-08-27 조회 2,483
06-08-25 조회 3,990
06-08-25 조회 2,480
06-08-23 조회 4,829
06-08-20 조회 3,565
06-08-19 조회 3,404
06-08-18 조회 2,822
06-08-18 조회 2,942
06-08-11 조회 4,101
06-08-10 조회 2,781
06-08-06 조회 4,460
06-08-05 조회 3,233
06-08-05 조회 2,730
06-07-31 조회 3,379
06-07-30 조회 2,921
06-07-29 조회 3,335
06-07-26 조회 2,853
06-07-26 조회 3,245
06-07-25 조회 3,728
06-07-20 조회 3,397
06-07-20 조회 3,654
06-07-19 조회 3,812
06-07-19 조회 2,876
06-07-19 조회 4,725
06-07-14 조회 3,669
06-07-13 조회 3,971
06-07-11 조회 3,034
06-07-11 조회 2,768
06-07-11 조회 4,705
06-07-11 조회 2,543
06-07-11 조회 2,914
06-06-24 조회 3,962
06-06-24 조회 3,417
06-06-13 조회 4,366
06-06-13 조회 3,269
06-06-11 조회 3,154
06-06-08 조회 3,219
06-06-08 조회 3,375
06-06-08 조회 3,800
06-06-07 조회 3,671
06-06-05 조회 3,888
06-06-02 조회 3,449
06-06-01 조회 4,105
06-05-28 조회 3,766
06-05-26 조회 4,333
06-05-22 조회 3,168
06-05-15 조회 3,625
06-05-14 조회 6,986
06-05-11 조회 3,536
06-05-11 조회 4,130
06-05-11 조회 3,599
06-05-11 조회 2,488
06-05-11 조회 2,761
06-05-11 조회 2,414
06-05-10 조회 3,886
06-05-09 조회 4,766
06-05-07 조회 2,566
06-05-07 조회 2,808
06-05-07 조회 2,510
06-05-06 조회 3,696
06-04-28 조회 3,361
06-04-25 조회 3,727
06-04-25 조회 3,458
06-04-22 조회 3,476
06-04-18 조회 4,486
06-04-14 조회 5,127
06-03-27 조회 3,797
06-03-06 조회 3,798
06-03-05 조회 5,105
06-02-24 조회 3,751
06-02-23 조회 4,166
06-02-22 조회 3,989
06-02-22 조회 3,298
06-01-15 조회 3,626
06-01-10 조회 3,589
06-01-05 조회 4,779
05-12-30 조회 5,493
05-12-23 조회 3,628
05-12-01 조회 3,358
05-09-29 조회 4,475
05-09-27 조회 4,865
05-09-22 조회 6,085
05-09-15 조회 3,010
05-09-08 조회 3,906
05-09-05 조회 5,615
05-09-01 조회 4,699
05-09-01 조회 5,814
05-08-21 조회 3,254
05-08-18 조회 3,596
05-08-17 조회 3,712