ubuntu

Redmine installation guide

This is a guide to install Redmine (svn trunk) on Ubuntu 9.10.

The assumed location of Redmine is /srv/redmine

Phase 1: Setup Redmine

Step 1 Install required packages.

$ sudo apt-get install ruby rake ruby-dev rubygems libmysqlclient-dev libopenssl-ruby

Step 2 Check out Redmine trunk.

$ cd /srv $ sudo svn co http://redmine.rubyforge.org/svn/trunk redmine

Step 3 Install required ruby gems:

$ sudo gem install rails mongrel mongrel_cluster daemons mysql actionmailer

Note 1: We may ... read more ...

How to hide files in Nautilus

In Linux, files which name start by a dot ‘.’ are hidden by default in most file managers. However, there are cases when we want to hide dot-file from our view. For examples:

Desktop folder in our home folder. Dropbox lost+found directory at the partition root …

In Nautilus (default GNOME file manager) there’s a way. Add a file named

.hidden

with each line is the ... read more ...

How to prevent a package from being updated in Ubuntu

If you want to update all the packages other than one package in your Ubuntu system follow this procedure

There are three ways of holding back packages, with dpkg, aptitude or with dselect.

Using dpkg

Put a package on hold

sudo echo “package hold” | dpkg --set-selections

Example

sudo echo “apache2 hold” | dpkg --set-selections

Remove the hold

sudo echo “package install” | dpkg --set-selections

Example

sudo echo “apache2 install” ... read more ...