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
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 1230 |
|
18년 전 | 2016 | |
| 1229 |
|
18년 전 | 2953 | |
| 1228 |
|
18년 전 | 2638 | |
| 1227 | 18년 전 | 2935 | ||
| 1226 | 18년 전 | 2366 | ||
| 1225 |
|
18년 전 | 2441 | |
| 1224 | 18년 전 | 2750 | ||
| 1223 |
|
18년 전 | 3999 | |
| 1222 |
mixdesign
|
18년 전 | 2638 | |
| 1221 |
|
18년 전 | 2758 | |
| 1220 | 18년 전 | 3214 | ||
| 1219 | 18년 전 | 2922 | ||
| 1218 | 18년 전 | 2117 | ||
| 1217 |
|
18년 전 | 2561 | |
| 1216 | 18년 전 | 2581 | ||
| 1215 |
mixdesign
|
18년 전 | 4063 | |
| 1214 |
|
18년 전 | 4793 | |
| 1213 | 18년 전 | 2326 | ||
| 1212 |
mixdesign
|
18년 전 | 2510 | |
| 1211 |
|
18년 전 | 2434 | |
| 1210 | 18년 전 | 3763 | ||
| 1209 |
mixdesign
|
18년 전 | 2378 | |
| 1208 |
mixdesign
|
18년 전 | 2381 | |
| 1207 |
mixdesign
|
18년 전 | 1731 | |
| 1206 |
mixdesign
|
18년 전 | 2009 | |
| 1205 |
mixdesign
|
18년 전 | 2705 | |
| 1204 |
mixdesign
|
18년 전 | 3582 | |
| 1203 | 18년 전 | 3102 | ||
| 1202 | 18년 전 | 2984 | ||
| 1201 | 18년 전 | 2037 | ||
| 1200 | 18년 전 | 4134 | ||
| 1199 | 18년 전 | 2176 | ||
| 1198 | 18년 전 | 4198 | ||
| 1197 | 18년 전 | 2512 | ||
| 1196 | 18년 전 | 2372 | ||
| 1195 |
|
18년 전 | 3475 | |
| 1194 | 18년 전 | 2247 | ||
| 1193 | 18년 전 | 2157 | ||
| 1192 | 18년 전 | 3276 | ||
| 1191 | 18년 전 | 3966 | ||
| 1190 | 18년 전 | 2231 | ||
| 1189 |
|
18년 전 | 2370 | |
| 1188 |
|
18년 전 | 3838 | |
| 1187 | 18년 전 | 2720 | ||
| 1186 | 18년 전 | 3386 | ||
| 1185 | 18년 전 | 2791 | ||
| 1184 | 18년 전 | 1671 | ||
| 1183 | 18년 전 | 2145 | ||
| 1182 | 18년 전 | 3713 | ||
| 1181 |
mermaid
|
18년 전 | 2926 | |
| 1180 | 18년 전 | 2987 | ||
| 1179 | 18년 전 | 3615 | ||
| 1178 | 18년 전 | 2179 | ||
| 1177 |
|
18년 전 | 2294 | |
| 1176 | 18년 전 | 3182 | ||
| 1175 | 18년 전 | 1882 | ||
| 1174 |
|
18년 전 | 2240 | |
| 1173 |
|
18년 전 | 2530 | |
| 1172 | 18년 전 | 1777 | ||
| 1171 | 18년 전 | 2112 | ||
| 1170 | 18년 전 | 1995 | ||
| 1169 | 18년 전 | 2509 | ||
| 1168 | 18년 전 | 1935 | ||
| 1167 | 18년 전 | 1731 | ||
| 1166 | 18년 전 | 1755 | ||
| 1165 | 18년 전 | 1733 | ||
| 1164 | 18년 전 | 2803 | ||
| 1163 | 18년 전 | 1562 | ||
| 1162 |
|
18년 전 | 5680 | |
| 1161 |
이걸~어쩌나~
|
18년 전 | 2414 | |
| 1160 | 18년 전 | 1674 | ||
| 1159 | 18년 전 | 4706 | ||
| 1158 | 18년 전 | 2057 | ||
| 1157 | 18년 전 | 4846 | ||
| 1156 | 18년 전 | 3195 | ||
| 1155 | 18년 전 | 2137 | ||
| 1154 | 18년 전 | 1835 | ||
| 1153 |
BEST79
|
18년 전 | 2116 | |
| 1152 | 18년 전 | 1733 | ||
| 1151 | 18년 전 | 1848 | ||
| 1150 | 18년 전 | 1853 | ||
| 1149 |
inniskun
|
18년 전 | 2485 | |
| 1148 |
|
18년 전 | 3507 | |
| 1147 |
|
18년 전 | 5981 | |
| 1146 |
|
18년 전 | 3871 | |
| 1145 | 18년 전 | 3064 | ||
| 1144 | 18년 전 | 2144 | ||
| 1143 | 18년 전 | 2422 | ||
| 1142 | 18년 전 | 2206 | ||
| 1141 |
|
18년 전 | 2310 | |
| 1140 | 18년 전 | 2419 | ||
| 1139 | 18년 전 | 2850 | ||
| 1138 | 18년 전 | 2543 | ||
| 1137 | 18년 전 | 2004 | ||
| 1136 | 18년 전 | 3134 | ||
| 1135 | 18년 전 | 3598 | ||
| 1134 | 18년 전 | 3841 | ||
| 1133 |
자반고등어
|
18년 전 | 3349 | |
| 1132 | 18년 전 | 3400 | ||
| 1131 | 18년 전 | 2579 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기