::: Zany's Homepage ::: Zany Wiki | »çÀÌÆ® ÅëÇÕ °Ë»ö
 
 
 

[CentOS] apache subversion source install

°Ô½ÃÆÇ
Unix/Linux
ÀÛ¼ºÀÚ
helix
ÀÛ¼ºÀÏ
2016-11-23 16:19:36
ÀÐÀº¼ö
2819
ÆòÁ¡
   
Ç¥½Ã¿É¼Ç
HTML»ç¿ë | ÀÚµ¿BRűנ| °ø¹é¹®ÀÚÇã¿ë | °¡¿îµ¥Á¤·Ä | °íÁ¤Æø±Û²Ã | ÀÚµ¿URL¸µÅ© | ¸¶¿ì½º¼±ÅÃ
1. APR - Apache Portable Runtime ¼³Ä¡
¼³Ä¡µÉ µð·ºÅ丮ÀÎ prefix ¸¦ ÁöÁ¤ÇÏÁö ¾ÊÀ¸¸é /usr/local µð·ºÅ丮°¡ ±âº»°ªÀ̹ǷÎ, ±ÇÇÑ ¿¡·¯°¡ ³¯ °ÍÀÌ´Ù.
ÇöÀç »ç¿ëÀÚ¸¸ ¾µ ¼ö ÀÖ°Ô, HOME µð·ºÅ丮 ¹Ø¿¡ ¼³Ä¡ÇÑ´Ù.
ÀÌÈÄ, subversion configure ½Ã apr, apr-util ¼³Ä¡ µð·ºÅ丮¸¦ ÁöÁ¤ÇØÁÖ°Ô µÈ´Ù.
-------------------------------------------------
¡Ü apr-1.6.2.tar.gz (¾ÐÃà ÇØÁ¦µÈ µð·ºÅ丮 ³»¿¡¼­)
-------------------------------------------------

./configure --prefix=$HOME/usr/local
make
make install
-------------------------------------------------
¡Ü apr-util-1.6.0.tar.gz (¾ÐÃà ÇØÁ¦µÈ µð·ºÅ丮 ³»¿¡¼­)
-------------------------------------------------

./configure --prefix=$HOME/usr/local --with-apr=$HOME/usr/local
make
make install
2. apxs ¸¦ À§ÇØ apache-httpd ¼³Ä¡
-------------------------------------------------
¡Ü httpd-2.4.xx.tar.gz
-------------------------------------------------

httpd ¼³Ä¡¹æ¹ý Âü°í...
http://home.zany.kr:9003/board/bView.asp?bCode=11&aCode=14102
3. subversion ¼³Ä¡
-------------------------------------------------
¡Ü subversion-1.9.7.tar.gz (¾ÐÃà ÇØÁ¦µÈ µð·ºÅ丮 ³»¿¡¼­)
-------------------------------------------------
--prefix         subversion ÀÌ ¼³Ä¡µÉ °æ·Î
--with-apr       (À§¿¡¼­ ¼³Ä¡µÊ) apr ÀÌ ¼³Ä¡µÈ °æ·Î
--with-apr-util  (À§¿¡¼­ ¼³Ä¡µÊ) apr-util ÀÌ ¼³Ä¡µÈ °æ·Î
--with-apxs      (À§¿¡¼­ ¼³Ä¡µÊ) apxs (apache extension tool) °¡ ¼³Ä¡µÈ °æ·Î

./configure \
--prefix=$HOME/usr/module/subversion \
--with-apr=$HOME/usr/local \
--with-apr-util=$HOME/usr/local \
--with-apxs=$HOME/usr/module/apache-httpd/bin/apxs

make
make install
-------------------------------------------------
¡Ü subversion configure Áß sqlite ¿À·ù·Î Á¾·áµÇ´Â °æ¿ì
-------------------------------------------------
An appropriate version of sqlite could not be found.  We recommmend
3.7.15.1, but require at least 3.7.12.
Please either install a newer sqlite on this system

or

get the sqlite 3.7.15.1 amalgamation from:
    http://www.sqlite.org/sqlite-amalgamation-3071501.zip
unpack the archive using unzip and rename the resulting
directory to:
/home/zany/tmp/subversion-1.9.7/sqlite-amalgamation

configure: error: Subversion requires SQLite
-------------------------------------------------
¡Ü sqlite °¡ 1.9.7 ºÎÅÍ REQUIRED ÀÇÁ¸¼ºÀ¸·Î º¯°æµÇ¾ú´Ù.
https://svn.apache.org/repos/asf/subversion/trunk/INSTALL
-------------------------------------------------

1. https://www.sqlite.org »çÀÌÆ®¿¡¼­ sqlite ¼Ò½º ÄÚµå ´Ù¿î·ÎµåÇؼ­
2. tar.gz ÆÄÀÏ ´Ù¿î·Îµå ¹Þ¾Æ¼­ ¾ÐÃà ÇØÁ¦ÇÑ ÈÄ, 
3. subversion configure ½Ã ¹ß»ýÇÑ °æ°í ¸Þ½ÃÁöó·³
/home/zany/tmp/subversion-1.9.7/sqlite-amalgamation °æ·Î¸íÀÌ µÇµµ·Ï À§Ä¡½ÃÅ°±â¸¸ ÇÏ¸é µÈ´Ù.

[zany@8393da1e9671 tmp]$ wget https://www.sqlite.org/2017/sqlite-autoconf-3200000.tar.gz
[zany@8393da1e9671 tmp]$ tar zxvf sqlite-autoconf-3200000.tar.gz
[zany@8393da1e9671 tmp]$ mv sqlite-autoconf-3200000 ./subversion-1.9.7
[zany@8393da1e9671 tmp]$ cd subversion-1.9.7
[zany@8393da1e9671 subversion-1.9.7]$ mv sqlite-autoconf-3200000 sqlite-amalgamation
[zany@8393da1e9671 subversion-1.9.7]$ ls
BUGS        LICENSE      aclocal.m4        build.conf   configure.ac   get-deps.sh          win-tests.py
CHANGES     Makefile.in  autogen.sh        config.log   doc            sqlite-amalgamation
COMMITTERS  NOTICE       build             config.nice  gen-make.opts  subversion
INSTALL     README       build-outputs.mk  configure    gen-make.py    tools

ÀÌ·¸°Ô ÇÑ ÈÄ, ´Ù½Ã subversion configure ¸¦ ½ÃµµÇغ¸ÀÚ.
¡Ü ¼³Ä¡ ÈÄ, subversion ½ÇÇà.
cd $SVN_HOME/bin
./svnserve -d --root=$HOME/var/subversion --listen-port=13690
¡Ü ¼³Ä¡ ÈÄ, ·¹Æ÷ÁöÅ丮 »ý¼º ¹× È®ÀÎ.
svnadmin create --fs-type fsfs $HOME/var/subversion/repos
svn list svn://localhost:13690/repos
¡Ü ±âŸ ÆÁ....
----------------------------------
¡Û ½ÃÀÛ ½ºÅ©¸³Æ®
----------------------------------
[king@nabi bin]$ tee start.sh <<-EOF
¾Æ·¡ ½ºÅ©¸³Æ® ÀÔ·Â
EOF
[king@nabi bin]$ chmod 700 start.sh
----------------------------------
¡Û subversion process Á¤º¸ ȹµæ
----------------------------------
[king@nabi bin]$ tee ps.sh <<-EOF
¾Æ·¡ ½ºÅ©¸³Æ® ÀÔ·Â...
EOF
[king@nabi bin]$ chmod 700 ps.sh
----------------------------------
¡Û subversion PID Á¤º¸ ȹµæ
----------------------------------
[king@nabi bin]$ tee pid.sh <<-EOF
¾Æ·¡ ½ºÅ©¸³Æ® ÀÔ·Â...
EOF
[king@nabi bin]$ chmod 700 pid.sh
----------------------------------
¡Û Á¾·á ½ºÅ©¸³Æ®
----------------------------------
[king@nabi bin]$ tee stop.sh <<-EOF
¾Æ·¡ ½ºÅ©¸³Æ® ÀÔ·Â...
EOF
[king@nabi bin]$ chmod 700 stop.sh

 °Ô½ÃÆÇ ±Û ¸ñ·Ï
No Subject Poster Hits Posted
14107 helix 1717 2017-06-20 12:53:52
14103 helix 2169 2017-06-16 16:53:21
14102 helix 3719 2017-06-16 16:08:28
13932 helix 10159 2017-02-10 15:49:55
13879 helix 4816 2016-12-02 20:08:18
helix 2819 2016-11-23 16:19:36
13732 helix 2483 2016-09-27 16:22:05
13731 helix 1972 2016-09-27 13:25:23
13708 helix 3525 2016-09-20 10:58:23
13707 helix 1786 2016-09-20 10:34:52
13678 helix 3212 2016-09-13 14:36:17
ÄÚ¸àÆ®
ÀÛ¼ºÀÚ
                       
 
zany.kr
  Copyright ¨Ï 2002-2010 Zany's Programming Lab. All Rights Not Reserved.
temporary This Page loads on 0.000 Secs