http://www.rootda.org
FC6.txt (6.4 KB), Download : 10
Fedora Core 6
이전 버전들에 비해서 많이 깔끔해보인다.....
Fedora Core 6(x86_32) + DNS + sendmail + dovecot + APM(RPM) + APM(SOURCE COMPILE)
OS 최소 설치가 종료되면 시스템 업데이트
yum -y update
yum install vim-enhanced
터미널 한글입출력 지정
cat /etc/sysconfig/i18n
LANG="ko_KR.eucKR"
SUPPORTED="ko_KR.eucKR:ko_KR:ko"
SYSFONT="latarcyrheb-sun16"
네임서버 설정
yum -y install bind
yum -y install bind-chroot
cat /var/named/chroot/etc/named.conf
options {
version "RHCE.PE.KR";
directory "/var/named";
allow-transfer {
127.0.0.1;
};
allow-query { any; };
notify no;
};
logging {
//category queries { query-log; };
category lame-servers { null; };
category unmatched { null; };
category network { null; };
category notify { null; };
category update { null; };
};
/* a caching only nameserver config */
zone "." IN {
type hint;
file "named.ca";
};
/* local network configuration */
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
/* user level configuration */
zone "rhce.pe.kr" IN {
type master;
file "rhce.pe.kr.zone";
allow-update { none; };
};
zone "196.115.211.in-addr.arpa" IN {
type master;
file "rhce.pe.kr.rev";
allow-update { none; };
};
ln -s /var/named/chroot/etc/named.conf /etc/named.conf
chown root.named /var/named/chroot/etc/named.conf
cat /var/named/chroot/var/named/rhce.pe.kr.zone
$TTL 120
@ IN SOA ns.rhce.pe.kr. admin.rhce.pe.kr. (
2006110723 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
120 ) ; Minimum
IN NS ns.rhce.pe.kr.
IN NS ns2.rhce.pe.kr.
IN MX 10 mail.rhce.pe.kr.
IN TXT "v=spf1 mx ip4:211.115.196.37 -all"
IN A 211.115.196.37
@ IN A 211.115.196.37
ns IN A 211.115.196.37
ns2 IN A 211.115.196.37
mail IN A 211.115.196.37
www IN A 211.115.196.37
* IN A 211.115.196.37
cat /var/named/chroot/var/named/rhce.pe.kr.rev
$TTL 120
@ IN SOA ns.rhce.pe.kr. admin.rhce.pe.kr. (
2006110723 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
120 ) ; Minimum
IN NS ns.rhce.pe.kr.
IN NS ns2.rhce.pe.kr.
IN MX 10 mail.rhce.pe.kr.
IN TXT "v=spf1 mx ip4:211.115.196.37 -all"
37 IN PTR rhce.pe.kr.
/etc/init.d/named start
chkconfig --level 3 named on
센드메일 설정
yum -y install sendmail-cf
yum -y install dovecot
yum -y install cyrus-sasl*
vi /etc/mail/sendmail.mc
TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
DAEMON_OPTIONS(`Port=smtp,Addr=0.0.0.0, Name=MTA')dnl
echo rhce.pe.kr >> /etc/mail/local-host-names
cat /etc/mail/virtusertable
admin@rhce.pe.kr defcon3
webmaster@rhce.pe.kr defcon3
abuse@rhce.pe.kr defcon3
makemap hash /etc/mail/virtusertable < /etc/mail/virtusertable
chkconfig --level 3 sendmail on
dovecot 설정
vi /etc/dovecot.conf 에서는 protocols = imap, default_mail_env 지정
/etc/init.d/dovecot start
chkconfig --level 3 dovecot on
saslauthd 시작
/etc/init.d/saslauthd start
chkconfig --level 3 saslauthd on
APM(RPM) 설치
yum -y install mysql-server
mysql_install_db --user=mysql
/etc/init.d/mysqld start
chkconfig --level 3 mysqld on
yum -y install httpd*
/etc/init.d/httpd start
chkconfig --level 3 httpd on
yum -y install php
yum -y install php-imap php-gd libc-client php-mysql php-pear php-xml php-mbstring php-xmlrpc php-mhash php-mcrypt
이젠 APM(RPM)을 지우고... SOURCE로도 깔아볼까...
기본 라이브러리 설치
yum -y install gd gd-devel freetype freetype libpng libmng* libtiff* libjpeg* libc-client* giflib*
yum -y install ncurses*
yum -y install gcc-c++
yum -y install flex
yum -y install libxml*
yum -y install gdbm-devel
openssl 설치
./config --prefix=/usr/local --openssldir=/usr/local/openssl
make
make test
make install
MySQL 설치
./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data --with-charset=euckr --with-language=korean --with-mysql-user=mysql --with-extra-charsets=all;
make;
make install;
./scripts/mysql_install_db;
groupadd -g 400 mysql;
useradd -u400 -g400 -d /usr/local/mysql -s /sbin/nologin mysql;
chgrp -R mysql /usr/local/mysql;
chown -R mysql /usr/local/mysql/data;
cp support-files/my-huge.cnf /etc/my.cnf;
cp support-files/mysql.server /etc/init.d/mysqld;
chmod 755 /etc/init.d/mysqld;
chkconfig --level 3 mysqld on;
아파치 설치
./configure --prefix=/usr/local/apache --enable-shared=max --enable-rule=SHARED_CORE --enable-module=so --enable-ssl=shared --enable-ssl --with-ssl=/usr/local/openssl
make
make install
php 설치
./configure --prefix=/usr/local/php --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache/bin/apxs --enable-sysvshm=yes --enable-sysvsem=yes --enable-debug=no --enable-track-vars=yes --enable-url-fopen-wrapper=yes --with-ttf --with-png-dir=/usr --with-zlib-dir --with-jpeg-dir=/usr --with-gdbm=/usr --enable-ftp --with-tiff-dir=/usr --enable-memory-limit --enable-mbstring --with-expat-dir=/usr --enable-sockets --enable-wddx --with-freetype-dir=/usr --enable-bcmath --enable-mbstr-enc-trans --enable-mbregex --enable-exif --with-gd --enable-gd-native-ttf --enable-gd-imgstrttf --enable-calendar --with-openssl=/usr/local/openssl
make
make install
openssl genrsa -des3 1024 > /usr/local/apache/conf/localhost.key
openssl req -new -key /usr/local/apache/conf/localhost.key > /usr/local/apache/conf/localhost.csr
openssl req -x509 -days 3650 -key /usr/local/apache/conf/localhost.key -in /usr/local/apache/conf/localhost.csr > /usr/local/apache/conf/localhost.crt
(2007-02-12 19:17:34)
./configure --prefix=/usr/local/apache2 --enable-module=so --enable-mods-shared=all --enable-rewrite --enable-ssl --with-ssl
[출처] http://cafe.naver.com/h4c
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 7530 | 10년 전 | 825 | ||
| 7529 |
파랑새1597
|
10년 전 | 1251 | |
| 7528 |
파랑새1597
|
10년 전 | 1335 | |
| 7527 |
integrity7
|
10년 전 | 1421 | |
| 7526 | 10년 전 | 2443 | ||
| 7525 |
다빈치코드777
|
10년 전 | 1126 | |
| 7524 | 10년 전 | 1594 | ||
| 7523 | 10년 전 | 982 | ||
| 7522 |
|
10년 전 | 1012 | |
| 7521 |
blackkil
|
10년 전 | 1897 | |
| 7520 | 10년 전 | 1315 | ||
| 7519 |
Gaumi
|
10년 전 | 1095 | |
| 7518 | 10년 전 | 1506 | ||
| 7517 | 10년 전 | 843 | ||
| 7516 | 10년 전 | 1312 | ||
| 7515 | 10년 전 | 1430 | ||
| 7514 |
|
10년 전 | 4500 | |
| 7513 |
멋진남자임
|
10년 전 | 1143 | |
| 7512 |
다빈치코드777
|
10년 전 | 898 | |
| 7511 |
|
10년 전 | 3418 | |
| 7510 | 10년 전 | 1383 | ||
| 7509 | 10년 전 | 1163 | ||
| 7508 | 10년 전 | 730 | ||
| 7507 |
senseme
|
10년 전 | 775 | |
| 7506 |
멋진남자임
|
10년 전 | 1668 | |
| 7505 | 10년 전 | 4049 | ||
| 7504 | 10년 전 | 2176 | ||
| 7503 | 10년 전 | 1010 | ||
| 7502 | 10년 전 | 535 | ||
| 7501 | 10년 전 | 1463 | ||
| 7500 | 10년 전 | 1509 | ||
| 7499 | 10년 전 | 3415 | ||
| 7498 | 10년 전 | 1264 | ||
| 7497 |
dethos79
|
10년 전 | 2985 | |
| 7496 | 10년 전 | 2199 | ||
| 7495 | 10년 전 | 926 | ||
| 7494 |
CHAVO
|
10년 전 | 1160 | |
| 7493 | 10년 전 | 2671 | ||
| 7492 | 10년 전 | 1306 | ||
| 7491 | 10년 전 | 1517 | ||
| 7490 | 10년 전 | 2364 | ||
| 7489 | 10년 전 | 2134 | ||
| 7488 |
toptopon
|
10년 전 | 918 | |
| 7487 |
|
10년 전 | 1061 | |
| 7486 | 10년 전 | 3378 | ||
| 7485 | 10년 전 | 1332 | ||
| 7484 | 10년 전 | 1387 | ||
| 7483 | 10년 전 | 1045 | ||
| 7482 | 10년 전 | 677 | ||
| 7481 | 10년 전 | 870 | ||
| 7480 | 10년 전 | 1252 | ||
| 7479 | 10년 전 | 2625 | ||
| 7478 | 10년 전 | 1190 | ||
| 7477 |
멋진남자임
|
10년 전 | 1537 | |
| 7476 |
zeppeto
|
10년 전 | 1151 | |
| 7475 |
200점아빠
|
10년 전 | 935 | |
| 7474 | 10년 전 | 4021 | ||
| 7473 | 10년 전 | 1009 | ||
| 7472 |
나르시스1
|
10년 전 | 1259 | |
| 7471 | 10년 전 | 889 | ||
| 7470 | 10년 전 | 1309 | ||
| 7469 |
플라이SINJI
|
10년 전 | 1020 | |
| 7468 |
|
10년 전 | 581 | |
| 7467 |
|
10년 전 | 701 | |
| 7466 | 10년 전 | 1153 | ||
| 7465 | 10년 전 | 1203 | ||
| 7464 |
|
10년 전 | 1218 | |
| 7463 | 10년 전 | 1280 | ||
| 7462 |
진짜별사탕
|
10년 전 | 881 | |
| 7461 | 10년 전 | 968 | ||
| 7460 | 10년 전 | 3764 | ||
| 7459 |
멋진남자임
|
10년 전 | 1579 | |
| 7458 |
멋진남자임
|
10년 전 | 507 | |
| 7457 | 10년 전 | 936 | ||
| 7456 | 10년 전 | 784 | ||
| 7455 | 11년 전 | 2196 | ||
| 7454 | 11년 전 | 646 | ||
| 7453 | 11년 전 | 855 | ||
| 7452 |
중국어사이트제작
|
11년 전 | 519 | |
| 7451 | 11년 전 | 927 | ||
| 7450 | 11년 전 | 649 | ||
| 7449 |
울라라라우
|
11년 전 | 967 | |
| 7448 | 11년 전 | 1642 | ||
| 7447 |
멋진남자임
|
11년 전 | 528 | |
| 7446 | 11년 전 | 575 | ||
| 7445 |
네이비칼라
|
11년 전 | 1710 | |
| 7444 |
senseme
|
11년 전 | 1427 | |
| 7443 | 11년 전 | 1354 | ||
| 7442 | 11년 전 | 748 | ||
| 7441 |
멋진남자임
|
11년 전 | 1459 | |
| 7440 | 11년 전 | 932 | ||
| 7439 |
|
11년 전 | 787 | |
| 7438 |
|
11년 전 | 957 | |
| 7437 |
basement
|
11년 전 | 1054 | |
| 7436 |
잘살아보자
|
11년 전 | 1148 | |
| 7435 | 11년 전 | 1108 | ||
| 7434 | 11년 전 | 3801 | ||
| 7433 |
|
11년 전 | 2774 | |
| 7432 |
alexkim
|
11년 전 | 880 | |
| 7431 |
이웃집초보
|
11년 전 | 1328 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기