Home

Debian/Ubuntu Tips & Tricks

Debuntu.org: .deb packages, Unix/Linux Tutorials and Articles.

sponsors


User login

Poll

Syndicate

Syndicate content

Sponsors




Tips


Google Products


How-To: Bzr over ssh with no bzr server

Bazaar (bzr) is a distributed version control system (VCS) sponsored by Canonical and thus bzr is widely used by the Ubuntu community.

Like any vcs, bzr will let you track the different version of your code locally and let you push the changes to a remote server.

One cool feature of bzr is that you can maintain a remote copy of your code history without having a bzr server running, nor having a copy of bzr on the remote server running and simply by using ssh to transport the data.

This tutorial will not explain how bzr works, but will show the couple few step to create your local repository, add a few files, commit the changes, push them to a remote server and copy the branch newly created to another machine.


How-To: encrypted partitions over LVM with LUKS

Even though new distros installers tend to support filesystem encryption out of the box, most of the time, it might be interesting to actually understand how it works, mainly when it happens that your system fails to boot :).

Most literature found on the Internet tend to cover how to set up LVM over a partition encrypted with LUKS, this tutorial takes another approach and will explain how to create LUKS encrypted partitions over LVM. The reason for this.... I wanted to have unencrypted partitions :D.


Terminator 0.9 is out

In introduced terminator in a previous article as multi-view terminal.

Since then, terminator as quite evolved, with plenty of new features that were highlighted in Terminator 0.9 beta 1 post.


How-To: Remote syslog logging on Debian and Ubuntu

syslogd is the Linux system logging utility that take care of filling up your files in /var/log when it is asked to.

On a standard system, logging is only done on the local drive. But syslog can be configured to receive logging from a remote client, or to send logging to a remote syslog server.

Some of the use cases could be:

  • A machine which filesystem goes read-only
  • Log replication

this tutorial will explain how to set up both the server, to receive message from a remote client, and the client to emit messages to a syslogd server.


How-To: Set up a LAN gateway with DHCP, Dynamic DNS and iptables on Debian Etch

Linux is a perfect platform to act as a router/gateway.

In this tutorial, I will explain how to set up a Linux box to operate as a network router. The box will provide the following services:

  • DHCP server to provide the ip addresses to the machines in the LAN
  • DNS server to resolve domain names
  • Gateway with IP tables to give access to the Internet.
  • Firewall with IP tables.

The resulting machine will have quite a small footprint: about 600M, and except if your network is intensively used, a low spec computer can be recycled to do the job.

As the machine is going to operate as a router/firewall


How-To: copy files over the network and preserve file permissions and informations with ssh and rsync

When copying files over the network, the files informations can be modified.

When using cp, one can avoid this issue by using the -a which will do the copy in archive mode, meaning that it will keep the links, preserve mode, ownership and timestamps and the copy is recursive.

the solution to this over the network is rsync alongside with ssh.


How-To: Intel Wireless 4965 AGN with Ad-Hoc network + WEP

The Intel wireless card 4965 AGN does not work properly on ad-hoc networks since hardy and kernel 2.6.24 or around, network-manager can't get it to use the mode ad-hoc and a standard configuration like:

$ sudo iwconfig wlan0 essid myessid mode ad-hoc channel X key s:mykey13charss
$ sudo dhclient wlan0

will fail to get an ip except a long battle at dhclient'ing around.

I managed to get a process to get things working faster.


Terminator 0.9 beta 1

Terminator 0.9, an application that allow you to have multiple terminal within the same window, is getting close to be released. FeatureFreeze has been started since a couple of weeks.

The bugs opened against terminator milestone 0.9 are being closed.

A big bunch of new features and enhancements come shipped with this new release.

A package is available from Launchpad PPA. You can grab the .deb there. Feedback to terminator bug tracker on launchpad are welcome.


Transmission 1.22 .deb for Ubuntu 8.04 Hardy Heron

transmission, a lightweight bittorrent client version 1.22 was released on the 14th of June 2008.

A .deb package is available for Ubuntu Hardy i386 and amd64 from the debuntu repository.


Transmission 1.21 for Ubuntu 8.04 Hardy Heron

transmission 1.21 is out.

Transmission is a fast, easy, and free multi-platform BitTorrent client with a focus on being lightweight yet feature-filled.