feed2list
Suchen und blättern in Linux · Opensource
   Suchtreffer: 145
website Debian/Ubuntu Tips & Tricks
Debuntu provides tutorials for Linux Administration. It is mainly focused on Debian based distributions, but how-tos should apply to other distributions with minor changes.
feed text How-To: Log HAProxy messages only once
Fri, 27 Jan 2012 20:58:01 +0000

When enabling logs with HAProxy on a busy web site, hard disk space can quickly become a scarce resource.

The reason is that, most of the time, HAProxy is set to use local0 facility which tend to write logs to a bunch of files in /var/log such as messages...

Thanks to rsyslog, we will be able to canalize those logs to a more appropriate location and only once, saving a bunch of disk space.

read more


There were some changes in the latest kernel release (2.6.34) that prevent VMware's VMCI Socket module to compile on Ubuntu 10.10 (Maverick Meerkat).

read more


text Debuntu.org running on new server
Mon, 05 Jul 2010 19:30:52 +0000

Last Sunday (2010/07/04) Debuntu server ran into some issues and got offline for some time.
It appears that one of the Raid disk got almost dead and processes were getting stuck in IOwait state.

Anyway, data was safe and everything could be recovered from the disk.

read more


Even though I pretty like OpenVPN, there is still some devices that might not support the TUN/TAP driver needed by OpenVPN.

Take IPhones, Android phones for instance, you need to root them in order to get that feature, assuming somebody has already cooked a ROM for your device.

L2TP is quite and old standard that allow setting up VPNs.

On the other end, it does not provide any kind of encryption mechanism, and as such, it is pretty common to get L2TP running over an IPSec link.

read more


text Terminator is getting a plugin system
Wed, 16 Jun 2010 13:17:06 +0000

I already spoke about Terminator a while back. Since then,, quite some time has passed and lots of features were added...

In the last 7+ months, cmsj as worked a lot on getting the whole architecture re-implemented in a more object-like architecture which makes the different component of Terminator interact together more naturally.

read more


text How-To: Disable pulseaudio and sound in GDM
Mon, 14 Jun 2010 13:35:57 +0000

If like me you use MPD as a service daemon to listen to music, you might be annoyed anytime GDM start a pulseaudio process which prevents MPD from accessing the sound device.

Typically, the output of ps will produce the following output:

$ ps aux | grep pulse
gdm 1371 0.0 0.4 98180 4776 ? S gdm 1411 0.0 0.2 10748 2968 ? S Jun13 0:00 /usr/lib/pulseaudio/pulse/gconf-helper

read more


text How-To: Mounting /dev in a chroot environment
Sat, 08 May 2010 04:37:16 +0000

When working in a chrooted environment, there is a few special file systems that needs to be mounted so all programs behave properly.

For instance, grub will need to access your disk devices....

While most special file systems might be mounted with:

# mount fstype -t fstype /tmp/chroot/mountpoint

Where fstype will be sysfs, proc, /dev is not following this rule.

read more


I was trying network-manager-openvpn plugin today on Lucid, I could import my configuration, DNS was set up correctly upon connection/disconnection, route imported correctly (almost :)).

One issue though is that it was also changing the default route to the VPN tunnel while this should not happen.

read more


text How-To: Rescan a SCSI bus without Rebooting
Sat, 12 Dec 2009 18:51:49 +0000

When you hotplug a hard drive in a virtual machine, the drive do not show in fdisk -l output until you reboot your VM.
In order to get the drive to appear, the SCSI bus need to be rescanned.

read more


text FREE online editon of Linux+ magazine
Wed, 04 Nov 2009 10:33:31 +0000

Hello Guys!

Just so you know the Team of Linux+ is going to release FREE online editon of Linux+ magazine. There will be 6 monthly issues with 60 pages each available for free download. They are looking for your support!
Write to ewa.swierczewska@lpmagazine.org for more details if interested.

Thanks!


text How-To: Changing the default text editor
Wed, 16 Sep 2009 13:21:00 +0000

There is a few software that will use the editor command to find out what text editor to use. Example commands will be dch to add a new .deb changelog entry, revision control softwares when prompting for a commit message ...

read more


text Vmware Workstation: DNS not working with NAT
Wed, 08 Apr 2009 17:02:06 +0000

Lately, I have been experiencing a funny network issue when using VMware Workstation VMs with NAT interface. Roughly, the IP network was working fine, but DNS resolution was not anymore. It happened intermittently, but I could see that this mainly happened when I was suspending my laptop, going to another location and resuming.

Forcing the VM to use a public DNS would solve the issue.

read more


I have been looking around for a while for an autotune effect (pitch correction, or whatever name you care to call it) for linux. Unfortunately everything I have found either cost money or wasn't for linux, or required special setup (wine, or other nasty things). All I could find in terms of linux autotune was people also looking for autotune. However, all the answers were unsatisfactory, either because they required manual pitch recognition (Not so good for the tone-deaf among us), or people confused it with pitch shifting in general. I eventually did find that praat (it's in synaptic), a speech analysis tool, comes surprisingly close to autotune functionality. It will give you a T-pain like effect, but it requires you to manually place the notes (although it will detect the pitch for you). I am not very experienced with praat, although this is what I figured out how to do (some of it from the original mailing list post, other I read from the manual or figured out).

Although it's GUI isn't too nice, and it isn't designed for musical manipulation, it gets the job done.

read more


This tutorial will explain how to run a mail server with virtual domains and users using a MySQL backend to store email informations.
Postfix will be our SMTP server, Dovecot will be handling IMAP (optionally one could configure POP3 also) so that users can retrieve their email.

Another tutorial will cover SPAM fighting using DSPAM based on this implementation (yet to be done).

This tutorial was done on Debian Etch using postfix 2.3.8-2etch4 and 1.0.rc15-2etch4.

read more


this tutorial will explain how to use a MySQL backend in order to authentication users against your Apache website.

To achieve this we will use Apache2 and its auth_mysql module.

read more


While doing a server migration, it happens that some traffic still go to the old machine because the DNS servers are not yet synced or simply because some people are using the IP address instead of the domain name....

By using iptables and its masquerade feature, it is possible to forward all traffic to the old server to the new IP.

This tutorial will show which command lines are required to make this possible.

read more


text How-To: Setting up BGP on Vyatta
Sat, 01 Nov 2008 23:44:41 +0000

Vyatta is a Linux based distro that ease the set up of VPN, Routers, antivirus.... It has a really small footprint on your system as it only requires something like 800M to be installed and is based on Debian. On the top of that, it offers configuration wrappers to facilitate service settings.

This tutorial will explain how to set up 2 Border Gateway Protocol (BGP) boxes to route the traffic from one Autonomous System (AS) to the other using Vyatta.
Vyatta Community Edition 4.1.4 was used during this set up.

read more


text How-To: Bzr over ssh with no bzr server
Thu, 21 Aug 2008 18:10:26 +0000

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.

read more


text How-To: encrypted partitions over LVM with LUKS
Sat, 12 Jul 2008 18:41:09 +0000

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.

read more


text Terminator 0.9 is out
Tue, 08 Jul 2008 15:36:28 +0000

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.

read more


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.

read more


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

read more


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.

read more


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.

read more


text Terminator 0.9 beta 1
Wed, 18 Jun 2008 00:36:41 +0000

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.

read more


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.

read more


text Transmission 1.21 for Ubuntu 8.04 Hardy Heron
Mon, 26 May 2008 00:21:22 +0000

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.

read more


text Subtitleeditor 0.21.1 for Ubuntu Hardy Heron
Fri, 23 May 2008 22:30:08 +0000

Subtitled movie lovers, here it comes, subtitleeditor 0.21.1 is out.

read more


text How-To set up a serial console client
Sat, 03 May 2008 14:46:27 +0000

In the 2 previous articles, I explained how to set up a serial console on Ubuntu and Debian.

This tutorial will now show how to connect to those serial console using another machine using a software called minicom.

read more


text How-To set up a serial console on Debian
Sat, 03 May 2008 14:26:15 +0000

This tutorial will go over the steps to go through in order to set up a serial console on Debian Linux.

Debian uses sysvinit to handle the booting process, amongst the different task, and as such, there is a few differences between most of the tutorial that you might find on the internet regarding how to set up a serial console.

A Serial Console becomes handy when running a headless server (i.e no keyboard and screen) or if you cannot connect a a server because of a network issue.

read more



text Android und iOS beherrschen die Smartphone - Welt Laut IDC wurden im ersten Quartal 2012 weltweit 152 Millionen Smartphones verkauft. Mehr als die Hälfte davon sind mit Android ausgerüstet, ein knappes Viertel iPhones mit iOS. (heise)
Elton John: Ins Krankenhaus eingeliefert
text Elton John Sänger Elton John wurde mit einer schweren Atemwegs erkrankung ins Krankenhaus eingeliefert – der Popstar musste sogar einige Konzerte absagen. Er entschuldigte sich bei den Fans. (bunte)
SpaceX: Dragon dockt an die ISS an
text SpaceX: Dragon dockt an die ISS an Die Nasa hat das Andocken der privaten Raumfähre Dragon an die ISS erlaubt. Das Manöver hat am frühen Freitag morgen begonnen und soll am Nachmittag abgeschlossen sein. (golem IT)