This will be random.

A rambling dev.

Archive for the ‘shell’ tag

Subversion + Bluehost

without comments

Due to recent projects I’ve fallen in love with source control managers. Their handy, easy to use and have saved me A LOT of time. I set about installing my own SVN repo’s on bluehost and ran into some issues. Luckily I came cross the following which solved my problems and I thought I’d share it for anyone else who would like an SVN repo on a webhost with limited shell access.

cd ~
mkdir src
cd ~/src
wget http://www.gtlib.gatech.edu/pub/apache/apr/apr-util-1.2.12.tar.gz
wget http://www.gtlib.gatech.edu/pub/apache/apr/apr-1.2.12.tar.gz
wget http://subversion.tigris.org/downloads/subversion-1.4.6.tar.gz
wget http://www.webdav.org/neon/neon-0.28.0.tar.gz
tar -xzf apr-util-1.2.12.tar.gz
tar -xzf apr-1.2.12.tar.gz
tar -xzf subversion-1.4.6.tar.gz
tar -xzf neon-0.28.0.tar.gz
cd ~/src/apr-1.2.12
./configure --prefix=$HOME LDFLAGS="-L/lib64"
make
make install
cd ~/src/apr-util-1.2.12
./configure --prefix=$HOME --with-apr=$HOME LDFLAGS="-L/lib64"
make
make install
cd ~/src/neon-0.28.0
./configure --enable-shared --prefix=$HOME LDFLAGS="-L/lib64"
make
make install
cd ~/src/subversion-1.4.6
./configure --prefix=$HOME --without-berkeley-db --with-zlib --with-ssl LDFLAGS="-L/lib64"
make
make install

Written by admin

July 26th, 2010 at 11:15 pm

Syntax highlighting in nano!

without comments

I’ve been using nano for over 2 years as a terminal editor for both local and server side scripting / file editing. I’ve only just figured out how to configure the editor mostly through my own laziness of learning about the program (stuck in my ways :( ). Anyways, I’ve included my nanorc which contains Syntax highlighting and some other useful features smooth scrolling, mouse enabled, auto indent, auto complete quote’s and more for anyone interested. simply replace your existing nanorc in /etc/.

nanorc.tar

Written by admin

July 22nd, 2010 at 11:21 pm