• Happy Coding

Posts Tagged ‘ubuntu’

rapidsvn. A multi-platform GUI front-end for the Subversion revision system

rapidsvn_logoWhenever i need to manage my subversion repository, i am using rapidsvn under Ubuntu. Pretty simple interface, but it fullfills its purpose.

apache2-ssl-certificate: command not found

I got the following error when trying to create a ssl-certificate on Ubuntu 8.04:

apache2-ssl-certificate: command not found

The problem was that there is a new command to create such a certificate:

sudo apt-get install ssl-cert
sudo mkdir /etc/apache2/ssl
sudo /usr/sbin/make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/apache2/ssl/apache.pem

manual of the day… install Erlang and Mochiweb under Ubuntu

install Erlang and Mochiweb under Ubuntu

First of all we install necessary components and start with the Erlang installation:

sudo apt-get build-dep erlang
sudo apt-get install java-gcj-compat java-gcj-compat-dev

Then we download the source of Erlang (newest versions are available here: http://erlang.org/download.html). I took the R12B-5 release.

wget http://erlang.org/download/otp_src_R12B-5.tar.gz

Extract

tar xfvz otp_src_R12B-5.tar.gz

Configure (choose your favorite directory for the Erlang installation, here: /usr/local/erlang), build and install it:

cd otp_src_R12B-5
./configure --prefix=/usr/local/erlang
sudo make
sudo make install

Now the Mochiweb part

We checkout the newest Mochiweb source using subversion (if not installed yet. Install subversion using sudo apt-get install subversion).

svn checkout http://mochiweb.googlecode.com/svn/trunk/ mochiweb
cd mochiweb
sudo make

phpize not found

I needed to install phpize on my Ubuntu system

The phpize command is used to prepare the build environment for a PHP extension. [...]

and got the following error:

phpize not found

To solve this problem i needed to install the php5-dev package

sudo apt-get install php5-dev