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년 전 | 3005 | ||
| 1929 | 17년 전 | 1879 | ||
| 1928 | 17년 전 | 3992 | ||
| 1927 | 17년 전 | 1410 | ||
| 1926 |
지엔소프트
|
17년 전 | 1127 | |
| 1925 |
보드타는찌니
|
17년 전 | 1243 | |
| 1924 |
choijinhee
|
17년 전 | 1126 | |
| 1923 | 17년 전 | 1389 | ||
| 1922 | 17년 전 | 1746 | ||
| 1921 | 17년 전 | 2340 | ||
| 1920 | 17년 전 | 2415 | ||
| 1919 | 17년 전 | 1420 | ||
| 1918 | 17년 전 | 1168 | ||
| 1917 | 17년 전 | 2439 | ||
| 1916 | 17년 전 | 2870 | ||
| 1915 |
|
17년 전 | 3236 | |
| 1914 | 17년 전 | 3174 | ||
| 1913 | 17년 전 | 2339 | ||
| 1912 | 17년 전 | 3756 | ||
| 1911 | 17년 전 | 3184 | ||
| 1910 | 17년 전 | 5506 | ||
| 1909 | 17년 전 | 2658 | ||
| 1908 | 17년 전 | 1862 | ||
| 1907 | 17년 전 | 1935 | ||
| 1906 | 17년 전 | 1777 | ||
| 1905 | 17년 전 | 1706 | ||
| 1904 | 17년 전 | 2772 | ||
| 1903 | 17년 전 | 1900 | ||
| 1902 | 17년 전 | 1584 | ||
| 1901 | 17년 전 | 2074 | ||
| 1900 |
stuartkim
|
17년 전 | 1140 | |
| 1899 | 17년 전 | 1667 | ||
| 1898 | 17년 전 | 2882 | ||
| 1897 | 17년 전 | 2126 | ||
| 1896 | 17년 전 | 1820 | ||
| 1895 | 17년 전 | 2036 | ||
| 1894 | 17년 전 | 1325 | ||
| 1893 | 17년 전 | 1717 | ||
| 1892 | 17년 전 | 1216 | ||
| 1891 | 17년 전 | 1781 | ||
| 1890 | 17년 전 | 1808 | ||
| 1889 | 17년 전 | 1041 | ||
| 1888 | 17년 전 | 3136 | ||
| 1887 | 17년 전 | 4316 | ||
| 1886 | 17년 전 | 2467 | ||
| 1885 | 17년 전 | 7475 | ||
| 1884 | 17년 전 | 3840 | ||
| 1883 | 17년 전 | 4171 | ||
| 1882 | 17년 전 | 2430 | ||
| 1881 | 17년 전 | 2889 | ||
| 1880 | 17년 전 | 3638 | ||
| 1879 | 17년 전 | 4006 | ||
| 1878 | 17년 전 | 3167 | ||
| 1877 | 17년 전 | 3150 | ||
| 1876 | 17년 전 | 3299 | ||
| 1875 | 17년 전 | 2466 | ||
| 1874 | 17년 전 | 2059 | ||
| 1873 | 17년 전 | 3110 | ||
| 1872 | 17년 전 | 3259 | ||
| 1871 | 17년 전 | 4613 | ||
| 1870 | 17년 전 | 1594 | ||
| 1869 | 17년 전 | 2618 | ||
| 1868 | 17년 전 | 2691 | ||
| 1867 | 17년 전 | 1901 | ||
| 1866 | 17년 전 | 2221 | ||
| 1865 | 17년 전 | 1840 | ||
| 1864 | 17년 전 | 2372 | ||
| 1863 | 17년 전 | 3777 | ||
| 1862 | 17년 전 | 3896 | ||
| 1861 | 17년 전 | 2083 | ||
| 1860 | 17년 전 | 1361 | ||
| 1859 | 17년 전 | 1497 | ||
| 1858 |
|
17년 전 | 1651 | |
| 1857 | 17년 전 | 1634 | ||
| 1856 |
보드타는찌니
|
17년 전 | 1397 | |
| 1855 | 17년 전 | 1544 | ||
| 1854 |
|
17년 전 | 1360 | |
| 1853 | 17년 전 | 1850 | ||
| 1852 | 17년 전 | 2750 | ||
| 1851 | 17년 전 | 1850 | ||
| 1850 |
|
17년 전 | 1404 | |
| 1849 |
|
17년 전 | 1691 | |
| 1848 |
|
17년 전 | 2331 | |
| 1847 | 17년 전 | 1946 | ||
| 1846 |
은사시나무
|
17년 전 | 1265 | |
| 1845 |
갈색야생마
|
17년 전 | 5905 | |
| 1844 |
갈색야생마
|
17년 전 | 3285 | |
| 1843 |
갈색야생마
|
17년 전 | 3178 | |
| 1842 |
갈색야생마
|
17년 전 | 2589 | |
| 1841 |
갈색야생마
|
17년 전 | 2771 | |
| 1840 |
갈색야생마
|
17년 전 | 2719 | |
| 1839 |
갈색야생마
|
17년 전 | 3226 | |
| 1838 |
갈색야생마
|
17년 전 | 2353 | |
| 1837 |
갈색야생마
|
17년 전 | 2471 | |
| 1836 |
갈색야생마
|
17년 전 | 2533 | |
| 1835 |
갈색야생마
|
17년 전 | 2526 | |
| 1834 |
갈색야생마
|
17년 전 | 2669 | |
| 1833 |
갈색야생마
|
17년 전 | 3189 | |
| 1832 |
갈색야생마
|
17년 전 | 2702 | |
| 1831 |
갈색야생마
|
17년 전 | 1427 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기