All posts by celogeek

To handle multiple public ip on one linux router

Let say we have at least 3 connections. One private, one public (default outgoing), and a second public. This is a typical config in your ‘/etc/network/interfaces’ :

And you will need additional route table, edit ‘/etc/iproute2/rt_tables’ and add :

So this config, create a second route table ‘public2’. Any incoming connection that pass … Continue reading To handle multiple public ip on one linux router

How to rename your linux network card (eth0, eth1 …) into a custom name

If you want to give a name to your network card on linux, you can ! By default it’s eth0, then eth1 …

Replace the ATTR{address} by the “mac” address of your card (use ifconfig for this purpose). Then reboot. Now you can do “ifconfig private” instead of “ifconfig eth0”.

Perfect bash PS1 with git repos handling

I want to share my PS1 configuration set :

You got something like this : In case you have nothing pending to commit : ~/Devel/MyGitRepos {MyCurrentBranch} $ YOUR COMMAND If you have something pending to commit : ~/Devel/MyGitRepos {MyCurrentBranch} $ YOUR COMMAND When you are not in a git repository : ~/Devel/MyGitRepos $ YOUR … Continue reading Perfect bash PS1 with git repos handling

Git Redmine Suite – Advanced issues manager with git and redmine

Hi, after almost 3 months of hard development, I’m proud to announce Git Redmine Suite. This suite of tools, is dedicated for task management with redmine and your git repositories. It has been well tested with “gitorious” and “gitolite”. Of course it work with every git system tools. Here the key of the tools : … Continue reading Git Redmine Suite – Advanced issues manager with git and redmine

new RVM with capistrano

To use the latest RVM with capistrano, you need to setup the shell as bash : So in your receipe, add this : capistrano/recipes/Capfile

Celogeek

Vim – Pathogen – Link vim and git plugin repos

I was looking hard a way to have up-to-date plugin, and also an easy way to install and found them. After a while, I have found “pathogen“. This module will change your life. Let’s start a reset of your vim config. First move everything into a backup dir.

Then setup a “pathogen” vim rc … Continue reading Vim – Pathogen – Link vim and git plugin repos