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
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 930 | 19년 전 | 3534 | ||
| 929 |
|
19년 전 | 2692 | |
| 928 |
|
19년 전 | 3442 | |
| 927 |
|
19년 전 | 3439 | |
| 926 |
|
19년 전 | 3145 | |
| 925 | 19년 전 | 5428 | ||
| 924 |
|
19년 전 | 2164 | |
| 923 |
|
19년 전 | 2211 | |
| 922 |
|
19년 전 | 2302 | |
| 921 |
|
19년 전 | 3388 | |
| 920 | 19년 전 | 3700 | ||
| 919 |
|
19년 전 | 3738 | |
| 918 |
|
19년 전 | 2342 | |
| 917 |
|
19년 전 | 2386 | |
| 916 |
|
19년 전 | 2682 | |
| 915 | 19년 전 | 3032 | ||
| 914 | 19년 전 | 2452 | ||
| 913 | 19년 전 | 2621 | ||
| 912 | 19년 전 | 2443 | ||
| 911 | 19년 전 | 2197 | ||
| 910 | 19년 전 | 3227 | ||
| 909 | 19년 전 | 3284 | ||
| 908 | 19년 전 | 3024 | ||
| 907 |
|
19년 전 | 4860 | |
| 906 |
|
19년 전 | 2692 | |
| 905 |
|
19년 전 | 3303 | |
| 904 |
|
19년 전 | 3130 | |
| 903 |
|
19년 전 | 1977 | |
| 902 |
|
19년 전 | 3117 | |
| 901 |
|
19년 전 | 1861 | |
| 900 |
|
19년 전 | 2325 | |
| 899 |
|
19년 전 | 2394 | |
| 898 |
|
19년 전 | 3976 | |
| 897 |
|
19년 전 | 3160 | |
| 896 |
|
19년 전 | 3086 | |
| 895 |
|
19년 전 | 2530 | |
| 894 |
|
19년 전 | 1997 | |
| 893 |
|
19년 전 | 1634 | |
| 892 |
|
19년 전 | 2401 | |
| 891 |
|
19년 전 | 2322 | |
| 890 |
|
19년 전 | 1811 | |
| 889 |
|
19년 전 | 1807 | |
| 888 |
|
19년 전 | 2599 | |
| 887 |
|
19년 전 | 2573 | |
| 886 |
|
19년 전 | 1871 | |
| 885 |
|
19년 전 | 2104 | |
| 884 |
|
19년 전 | 3290 | |
| 883 |
|
19년 전 | 1948 | |
| 882 |
|
19년 전 | 2486 | |
| 881 |
|
19년 전 | 2566 | |
| 880 |
|
19년 전 | 2654 | |
| 879 |
|
19년 전 | 2931 | |
| 878 |
|
19년 전 | 2556 | |
| 877 |
|
19년 전 | 2974 | |
| 876 |
|
19년 전 | 2760 | |
| 875 |
|
19년 전 | 3513 | |
| 874 | 19년 전 | 1866 | ||
| 873 | 19년 전 | 2725 | ||
| 872 |
|
19년 전 | 2363 | |
| 871 |
|
19년 전 | 2011 | |
| 870 |
|
19년 전 | 2419 | |
| 869 |
|
19년 전 | 1864 | |
| 868 |
|
19년 전 | 5436 | |
| 867 |
|
19년 전 | 2253 | |
| 866 |
|
19년 전 | 4235 | |
| 865 |
|
19년 전 | 2288 | |
| 864 | 19년 전 | 1838 | ||
| 863 | 19년 전 | 2582 | ||
| 862 | 19년 전 | 2323 | ||
| 861 | 19년 전 | 2523 | ||
| 860 | 19년 전 | 2155 | ||
| 859 | 19년 전 | 3911 | ||
| 858 | 19년 전 | 3414 | ||
| 857 | 19년 전 | 2194 | ||
| 856 |
Power
|
19년 전 | 2101 | |
| 855 | 19년 전 | 1968 | ||
| 854 | 19년 전 | 1991 | ||
| 853 |
pearly
|
19년 전 | 4369 | |
| 852 |
pearly
|
19년 전 | 3348 | |
| 851 | 19년 전 | 2770 | ||
| 850 |
pearly
|
19년 전 | 3341 | |
| 849 |
pearly
|
19년 전 | 2996 | |
| 848 |
pearly
|
19년 전 | 2836 | |
| 847 | 19년 전 | 2340 | ||
| 846 |
|
19년 전 | 2155 | |
| 845 |
pearly
|
19년 전 | 2480 | |
| 844 | 19년 전 | 3093 | ||
| 843 | 19년 전 | 2118 | ||
| 842 |
pearly
|
19년 전 | 3112 | |
| 841 |
pearly
|
19년 전 | 3239 | |
| 840 | 19년 전 | 2909 | ||
| 839 |
|
19년 전 | 1930 | |
| 838 |
|
19년 전 | 1695 | |
| 837 |
|
19년 전 | 2312 | |
| 836 |
|
19년 전 | 2247 | |
| 835 |
|
19년 전 | 1618 | |
| 834 |
|
19년 전 | 1655 | |
| 833 |
|
19년 전 | 1559 | |
| 832 |
|
19년 전 | 2061 | |
| 831 |
|
19년 전 | 1611 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기