yum install zlib* libjpeg* libpng* libxml* krb5* openldap* flex
openssl 소스설치
cd /usr/local/src
wget ftp://ftp.sir.co.kr/pub/etc/openssl-0.9.8a.tar.gz
tar xfz openssl-0.9.8a.tar.gz
cd openssl-0.9.8a
./config;make;make install
curl 소스설치
cd /usr/local/src
wget ftp://ftp.sir.co.kr/pub/etc/curl-7.15.1.tar.bz2
tar xfj curl-7.15.1.tar.bz2
cd curl-7.15.1
./configure;make;make install
iconv 소스설치
cd /usr/local/src
wget ftp://ftp.sir.co.kr/pub/etc/libiconv-1.9.2.tar.gz
tar xfz libiconv-1.9.2.tar.gz
cd libiconv-1.9.2
./configure --prefix=/usr/local
make; make install
mysql 4.1.x 소스설치
rpm -qa | grep mysql
rpm -e mysql-devel mysql --nodeps
rpm -e mysql-server --nodeps
wget ftp://ftp.sir.co.kr/pub/mysql/mysql-4.1.20.tar.gz
./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data --with-mysql-user=mysql --with-charset=euckr
make; make install
/usr/local/mysql/bin/mysql_install_db
echo "/usr/local/mysql/lib/mysql" >> /etc/ld.so.conf
ldconfig
cp /usr/local/mysql/share/mysql/my-medium.cnf /etc/my.cnf
groupadd mysql
useradd -M -c Mysql_server -d /usr/local/mysql -g mysql -s /bin/nologin mysql
chown root.mysql -R /usr/local/mysql
chown mysql.mysql -R /usr/local/mysql/data
# 이전버전과 호환되게 하시려면
echo "/usr/local/mysql/bin/mysqld_safe --old-passwords &" >> /etc/rc.local
# 일반적으로 사용하시려면
echo "/usr/local/mysql/bin/mysqld_safe &" >> /etc/rc.local
Apache 소스설치
cd /usr/local/src
wget ftp://ftp.sir.co.kr/pub/apache/apache_1.3.26.tar.gz
tar xvfz apache_1.3.26.tar.gz
cd apache_1.3.26
./configure --prefix=/usr/local/apache --enable-module=so
make ; make install
echo "/usr/local/apache/lib" >> /etc/ld.so.conf
echo "/usr/local/apache/modules" >> /etc/ld.so.conf
ldconfig
echo "/usr/local/apache/bin/apachectl start" >> /etc/rc.local
PHP 소스설치
cd /usr/local/src
wget ftp://ftp.sir.co.kr/pub/php/php-4.4.4.tar.gz
tar xvfz php-4.4.4.tar.gz
cd php-4.4.4
./configure --with-apxs=/usr/local/apache/bin/apxs --with-config-file-path=/usr/local/apache/conf --with-mysql=/usr/local/mysql --with-zlib-dir=/usr/local --with-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-gif-dir=/usr/local --with-tiff-dir=/usr/local --with-gd --with-openssl --with-gettext --with-kerberos --with-swf-dir=/usr/local/swf --with-mod_charset --with-language=korean --with-charset=euc_kr --with-regex=php --with-dbm --with-gdbm --with-curl --with-ldap --with-xml --with-ttf --enable-module=so --enable-gd-native-ttf --enable-ftp --enable-sockets --disable-debug --enable-sysvsem --enable-sysvshm --enable-shmop --enable-track-vars --enable-freetype-4bit-antialias-hack --enable-calendar --enable-sigchild --enable-magic-quotes --enable-trans-sid --enable-inline-optimization --enable-bcmath --enable-exif --with-iconv
make; make install
cp php.ini-dist /usr/local/lib/php/php.ini
### /usr/local/apache/conf/httpd.conf 에 아래와 같이 추가 및 수정
vi /usr/local/apache/conf/httpd.conf
수정
DirectoryIndex index.html index.htm index.php
추가
AddType application/x-httpd-php .php .php3 .phtml .html .htm .inc
Addtype application/x-httpd-php-source .phps
# Dynamic Share Object (DSO) Support
LoadModule php4_module modules/libphp4.so # 이미 추가되어 있는 경우도 있음
echo "/usr/local/apache/bin/apachectl start" >> /etc/rc.local
댓글 3개
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 1930 | 17년 전 | 2999 | ||
| 1929 | 17년 전 | 1876 | ||
| 1928 | 17년 전 | 3987 | ||
| 1927 | 17년 전 | 1402 | ||
| 1926 |
지엔소프트
|
17년 전 | 1120 | |
| 1925 |
보드타는찌니
|
17년 전 | 1234 | |
| 1924 |
choijinhee
|
17년 전 | 1118 | |
| 1923 | 17년 전 | 1373 | ||
| 1922 | 17년 전 | 1738 | ||
| 1921 | 17년 전 | 2335 | ||
| 1920 | 17년 전 | 2414 | ||
| 1919 | 17년 전 | 1415 | ||
| 1918 | 17년 전 | 1164 | ||
| 1917 | 17년 전 | 2431 | ||
| 1916 | 17년 전 | 2860 | ||
| 1915 |
|
17년 전 | 3226 | |
| 1914 | 17년 전 | 3166 | ||
| 1913 | 17년 전 | 2330 | ||
| 1912 | 17년 전 | 3748 | ||
| 1911 | 17년 전 | 3176 | ||
| 1910 | 17년 전 | 5500 | ||
| 1909 | 17년 전 | 2649 | ||
| 1908 | 17년 전 | 1851 | ||
| 1907 | 17년 전 | 1932 | ||
| 1906 | 17년 전 | 1771 | ||
| 1905 | 17년 전 | 1701 | ||
| 1904 | 17년 전 | 2764 | ||
| 1903 | 17년 전 | 1884 | ||
| 1902 | 17년 전 | 1573 | ||
| 1901 | 17년 전 | 2062 | ||
| 1900 |
stuartkim
|
17년 전 | 1128 | |
| 1899 | 17년 전 | 1659 | ||
| 1898 | 17년 전 | 2877 | ||
| 1897 | 17년 전 | 2116 | ||
| 1896 | 17년 전 | 1811 | ||
| 1895 | 17년 전 | 2024 | ||
| 1894 | 17년 전 | 1313 | ||
| 1893 | 17년 전 | 1710 | ||
| 1892 | 17년 전 | 1210 | ||
| 1891 | 17년 전 | 1769 | ||
| 1890 | 17년 전 | 1797 | ||
| 1889 | 17년 전 | 1036 | ||
| 1888 | 17년 전 | 3134 | ||
| 1887 | 17년 전 | 4310 | ||
| 1886 | 17년 전 | 2455 | ||
| 1885 | 17년 전 | 7464 | ||
| 1884 | 17년 전 | 3827 | ||
| 1883 | 17년 전 | 4159 | ||
| 1882 | 17년 전 | 2419 | ||
| 1881 | 17년 전 | 2880 | ||
| 1880 | 17년 전 | 3627 | ||
| 1879 | 17년 전 | 4002 | ||
| 1878 | 17년 전 | 3160 | ||
| 1877 | 17년 전 | 3144 | ||
| 1876 | 17년 전 | 3291 | ||
| 1875 | 17년 전 | 2459 | ||
| 1874 | 17년 전 | 2055 | ||
| 1873 | 17년 전 | 3104 | ||
| 1872 | 17년 전 | 3250 | ||
| 1871 | 17년 전 | 4605 | ||
| 1870 | 17년 전 | 1583 | ||
| 1869 | 17년 전 | 2613 | ||
| 1868 | 17년 전 | 2686 | ||
| 1867 | 17년 전 | 1896 | ||
| 1866 | 17년 전 | 2214 | ||
| 1865 | 17년 전 | 1828 | ||
| 1864 | 17년 전 | 2364 | ||
| 1863 | 17년 전 | 3769 | ||
| 1862 | 17년 전 | 3884 | ||
| 1861 | 17년 전 | 2077 | ||
| 1860 | 17년 전 | 1353 | ||
| 1859 | 17년 전 | 1492 | ||
| 1858 |
|
17년 전 | 1639 | |
| 1857 | 17년 전 | 1621 | ||
| 1856 |
보드타는찌니
|
17년 전 | 1384 | |
| 1855 | 17년 전 | 1529 | ||
| 1854 |
|
17년 전 | 1355 | |
| 1853 | 17년 전 | 1843 | ||
| 1852 | 17년 전 | 2745 | ||
| 1851 | 17년 전 | 1842 | ||
| 1850 |
|
17년 전 | 1396 | |
| 1849 |
|
17년 전 | 1680 | |
| 1848 |
|
17년 전 | 2321 | |
| 1847 | 17년 전 | 1941 | ||
| 1846 |
은사시나무
|
17년 전 | 1258 | |
| 1845 |
갈색야생마
|
17년 전 | 5899 | |
| 1844 |
갈색야생마
|
17년 전 | 3280 | |
| 1843 |
갈색야생마
|
17년 전 | 3174 | |
| 1842 |
갈색야생마
|
17년 전 | 2589 | |
| 1841 |
갈색야생마
|
17년 전 | 2769 | |
| 1840 |
갈색야생마
|
17년 전 | 2718 | |
| 1839 |
갈색야생마
|
17년 전 | 3222 | |
| 1838 |
갈색야생마
|
17년 전 | 2350 | |
| 1837 |
갈색야생마
|
17년 전 | 2470 | |
| 1836 |
갈색야생마
|
17년 전 | 2530 | |
| 1835 |
갈색야생마
|
17년 전 | 2520 | |
| 1834 |
갈색야생마
|
17년 전 | 2658 | |
| 1833 |
갈색야생마
|
17년 전 | 3182 | |
| 1832 |
갈색야생마
|
17년 전 | 2698 | |
| 1831 |
갈색야생마
|
17년 전 | 1425 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기