The objective is to install subversion on my Ubuntu Dapper desktop in order to support version control for day to day projects.
Will use Apache 2 as uniform access control for security reasons, and in order to make this box a subversion server in my home office network.
Installation with Synaptic
- subversion package
- libapache2-svn package
victorkane@mentor:~$ sudo mkdir /var/lib/svn
victorkane@mentor:~$ sudo svnadmin create --fs-type fsfs /var/lib/svn
Create password file
victorkane@mentor:~$ sudo htpasswd2 -cm /etc/apache2/dav_svn.passwd victor
Re-type new password:
Adding password for user victor
Apache 2 HTTP Server configuration
First off, see Viva Vim 7! (installing on Ubuntu Dapper) .
Second off, see Konqueror with Midnight Commander theme on Ubuntu . Now we're all on the same page, with Konqueror (in all its variations) and Vim 7 installed.
Also assumed here is the installation of the ExuberantCtags package, so that ctags can be generated for ruby, php, python, perl, and a host of other languages (see ExuberantCtags) as well as the C language. On my Ubuntu box installation was straightforward with Synaptic.
The main interest here is using (and remembering how to use in between actual programming bouts: different projects hook you on different tool sets) Vim 7 as a lightweight alternative to Eclipse.
That may sound like a mouthful, but we'll see it is not an exaggeration.
To make a favicon in Debian linux or Ubuntu (in my case):
- Install the package xpm2wico with Synaptic or apt-get.
An Xpm to Windows .ico converter
- Using Gimp, Capture and shrink or create/edit a 16x16 graphic.
- Save your image in X PixMap Image (xpm) format.
- Convert from xpm to favicon name and format: "xpm2wico favicon.xpm favicon.ico".
- Copy favicon.ico to convenient place, then add the following to a webpage:
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
1. See following tutorials:
2. Case where drupal is not installed into the apache document root, but rather in a subdirectory, it is necessary to so specify in two places:
# Modify the RewriteBase if you are using Drupal in a subdirectory and
# the rewrite rules are not working properly.
/** * Base URL (optional).
* * If you are experiencing issues with different site domains,
* uncomment the Base URL statement below (remove the leading hash sign)
* and fill in the URL to your Drupal installation.
* * It is not allowed to have a trailing slash; Drupal will add it * for you. */
# $base_url = 'http://www.example.com'; // NO trailing slash!
$base_url = 'http://localhost/drupal';
If you’re running Apache2 on Debian stable, in order to install the rewrite module you simply need to:
Although Synaptic has a drupal, it's very old!
To go with the latest version, I first went with the pre-fork Apache 2, PHP 5 and MySQL 5.
I then downloaded the latest stable drupal version (since I am interested in developing a software engineering platform and personal development environment capable of being moved to a shared hosting environment).
$ wget http://ftp.osuosl.org/pub/drupal/files/projects/drupal-4.7.3.tar.gz
Resolving ftp.osuosl.org... 188.8.131.52, 184.108.40.206
Connecting to ftp.osuosl.org|220.127.116.11|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 484,988 (474K) [application/x-gzip]
484,988 81.56K/s ETA 00:00
17:22:24 (76.13 KB/s) - `drupal-4.7.3.tar.gz' saved [484988/484988]
Installing the files for Apache 2
I then copied everything into (in this case) /var/www/drupal-4.7.3, then made the symbolic link (see Drupal Clean URL's on Ubuntu Dapper ):