How to install Subversion on hostmonster.com | Tech.It.2.Me-...

How to install Subversion on hostmonster.com | Tech.It.2.Me-...
http://antonperez.com/2010/05/19/how-to-install-subversion-on...
Tech.It.2.Me->{By.Anton.Perez}
Technical satisfaction guaranteed…
RSS Feed
My RSS feed ... please do subscribe via Google Reader or a similar app.
Home
About
Services
Reading
Contact
Sidebar Off
What's On My Mind
Woohoo! It's officially summer!
106 days ago
Recent Posts
Field Test for iPhone Signal Strength Returns in iOS 4.1
Cheapest days to shop online reference
Tamara Lowe does her little motivational rap
Hash class using System.Security.Cryptography
Reference for jsSHA
Avoid poisoned milk made from China or Taiwan
Get file version remotely using PowerShell
Categories
Select Category
19
May
How to install Subversion on hostmonster.com
ReplyGeneral Development, How-toMay 19th, 2010anton
After hours and hours of trying different methods, the steps below are what worked for me. Many thanks to the geeks out
there who wrote up steps like these, these, and these to get it up and running — it was invaluable for me to get it working
on my mine.
Okay, the first thing is you’ll first need SSH access enabled on your account (more info here). Once that’s done, use
PuTTY, login into your account, then run the following commands (worked as of May 14, 2010) on a 32-bit server:
### installation ###
mkdir src
1 of 4
10/5/10 11:02 PM
How to install Subversion on hostmonster.com | Tech.It.2.Me-...
http://antonperez.com/2010/05/19/how-to-install-subversion-on...
cd src
wget http://subversion.tigris.org/downloads/subversion-1.6.11.tar.bz2
wget http://subversion.tigris.org/downloads/subversion-deps-1.6.11.tar.bz2
tar -xjvf subversion-1.6.11.tar.bz2
tar -xjvf subversion-deps-1.6.11.tar.bz2
cd subversion-1.6.11
cd apr
./configure –enable-shared –prefix=$HOME
make
make install
cd ../apr-util
./configure –enable-shared –prefix=$HOME –with-expat=builtin –with-apr=$HOME –without-berkeley-db
make
make install
cd ../neon
./configure –enable-shared –prefix=$HOME –with-libs=$HOME –with-ssl
make
make install
cd ../
./configure –prefix=$HOME –without-berkeley-db –with-apr=$HOME –with-apr-util=$HOME –with-neon=$HOME –without-apxs –without-apache
make
make install
### add PATH of SVN to your user/account ###
cd ~
echo “PATH=\$PATH:\$HOME/bin/” >> .bashrc
echo “export PATH” >> .bashrc
source .bashrc
### create folder structure ###
mkdir svn
cd ~/svn
mkdir tmpdir
cd tmpdir
mkdir trunk
mkdir branches
mkdir tags
### create repository ###
svnadmin create /home/username/svn –fs-type fsfs
svn import . file:///home/username/svn –message ‘Initial repository structure’
rm -rf tmpdir
### grab user creation script ###
cd ~
wget www.sharpstep.com/Articles/HostMonster-svn/create_svn_user.sh
chmod a+x create_svn_user.sh
#### create SVN user ###
./create_svn_user username user_public_key
# clean up source
rm -rf src
That’s it! All you have to do now is setup TortoiseSVN and PuTTY.
This entry was posted on May 19th, 2010 at 11:20 am and is filed under General Development, How-to. You can follow any responses to this entry
through the RSS feed, or leave a response/trackback.
2 Responses to “How to install Subversion on hostmonster.com”
Bl
May 24, 2010 at 4:55 am
2 of 4
10/5/10 11:02 PM
How to install Subversion on hostmonster.com | Tech.It.2.Me-...
http://antonperez.com/2010/05/19/how-to-install-subversion-on...
I’m fighting my way through installing Subversion. Followed many guides. Still getting:
# svn info
svn: ‘.’ is not a working copy
I’m also getting these, when I make subversion:
…
libtool: link: warning: `/lib64/libexpat.la’ seems to be moved
libtool: link: warning: `/lib64/libexpat.la’ seems to be moved
libtool: link: warning: `/lib64/libexpat.la’ seems to be moved
libtool: link: warning: `/lib64/libexpat.la’ seems to be moved
cp .libs/mod_dav_svn.soT /usr/lib64/httpd/modules/mod_dav_svn.so
cp: cannot create regular file `/usr/lib64/httpd/modules/mod_dav_svn.so’: Read-only file system
apxs:Error: Command failed with rc=65536
.
make: *** [install-mods-shared] Error 1
I’m wondering if the problem is the 64-bit issue that keeps appearing in the forums and blogs. My architecture is 64
bit, what about yours? Which architecture is this guide for? Got any tips on the errors I’m getting?
# arch
x86_64
Thanks!
Blake
anton
May 24, 2010 at 11:38 am
Hey Blake,
I installed SVN on a 32-bit server (thanks for helping clear that up; post updated).
Yes, the problem you are encountering definitely seems to be a 64-bit install issue. You might want to try building
apr, apr-util and neon (in that order), per the text here, specifically, under “Build them, use them (64-bit?).”
Hope that helps and good luck!
/Anton
Add reply
Name (*)
Mail (will not be published) (*)
Website
What is 2 + 2?
3 of 4
10/5/10 11:02 PM
How to install Subversion on hostmonster.com | Tech.It.2.Me-...
http://antonperez.com/2010/05/19/how-to-install-subversion-on...
Submit
Search:
Shared Items on Google Reader
Contador wins third Tour de France
As Older Users Join Facebook, Network Grapples With...
What do you say to someone who is suffering?
Drop-side cribs may be banned
Happy 75th, oh parking meter
Swimming Pools Coming to Manhattan for a Few Days
Antennagate: Complaints, Returns, And Call Drops Are...
View all »
Archives
Select Month
© 2010 techit2me.com & antonperez.com. All Rights Reserved.
Privacy Policy
Terms of Use
4 of 4
10/5/10 11:02 PM