$theTitle=wp_title(" - ", false); if($theTitle != "") { ?>
Subversion Configuration
Configuring a Subversion repository was a bit more of a challenge but luckily it is not impossible. First, login to the shared host via SSH and download the latest Subversion source code from their site. I created a local ~/tmp folder under htdocs for this. Note that we will need to get the code for the dependency libraries as well because 1&1 does not have them installed.
wget http://subversion.tigris.org/downloads/subversion-1.4.5.tar.gz wget http://subversion.tigris.org/downloads/subversion-deps-1.4.5.tar.gz tar -xzvf subversion-1.4.5.tar.gz tar -xzvf subversion-deps-1.4.5.tar.gz
At this point we have the folder
~/tmp/subversion-1.4.5
containing all the needed source code. We need to configure the project to install it into the
~/opt/svn
folder, build/compile the code, and install it.
cd ~/tmp/subversion-1.4.5 ./configure --prefix=/homepages/xx/xxxxxxxxxx/htdocs/opt/svn make make install
If all goes well (which it should), the last thing to do is to include the compiled svn binary into our path so that we can issue the
svn
command from any directory. It is best to set the
$PATH
variable in the
.bash_profile
file so that the setting gets applied every time that you log in.
echo 'export PATH=$PATH:$HOME/opt/svn/bin' >> ~/.bash_profile
To test our configuration, just check the version of the SVN binary (remember to log out and back in to make sure the $PATH gets set… or just do it once manually). We should also cleanup the temp files that we created and create a new Subversion repository while we are at it.
svn --version rm ~/tmp/subversion* -r svnadmin create ~/opt/svn/repos
Note that we will only be able to connect to our Subversion repository using the svn+ssh protocol because we will not be able to get an actual Subversion server setup. TortoiseSVN is a great Windows tools for connecting to your repository. However, for this to work, we also need to set the
$PATH
in the
.bashrc
file (we only setup the
.bash_profile
so far). This guide explains why.
The link below explain more things you can do on 1and1 shared hosting.
Credits: lbsharp.com
ColdFusion, Fusebox, Mach-II, ColdSpring, ColdBox, CFWheels, Python, Django, PHP, Web Development, Advertising, Google Adsense, Scripts, Blog, Affiliation, Web Design, Search Engine Optimization [SEO], Business, Krish Manohar, Music, Art, Wallpaper, Company, E-Commerce, CakePHP, CodeIgniter, RoR, Ruby on Rails, etc...
admin
September 29th, 2008 at 4:37 pm
I will be doing this soon on my 1 & 1 shared account.