Using grep and sed to find and replace

Posted by suvi under Tricks

This article covers two beneficial Linux tools,
grep and sed. If searching for or handling text, grep and sed can
increase your efficiency with Linux bash scripting and configuration
files. We’ll learn how to use these commands and get some helpful tips,
too.

No Comments

Building an LDAP Server on Linux, Part 1

Posted by suvi under Server

Your network is
growing in size and complexity. It’s taking on a life of its own,
spreading and growing and absorbing everything in its path. You’re
tearing your hair out trying to keep track, and your users have somehow
discovered your secret phone number and are pestering you with endless
questions and demands — where do I find this; I don’t want to keep track of a dozen different passwords; nothing works like it should.

No Comments

Howto: Transform a qemu image to a VirtualBox image

Posted by suvi under Virtualization

Virtual Machines are an easy way to provide new applications or
even entire operating systems without the need to install or alter
anything in an existing system. However, often they are provided as a
qemu image while VirtualBox is much more userfriendly.

No Comments

Wireless Setup for Ubuntu Gutsy Gibbon

Posted by suvi under Networking, Ubuntu

There have been a lot of changes in wireless and a great deal of
work has gone into Ubuntu Gutsy Gibbon to aid wireless connections.
This tutorial will help you with a few of the wireless issues with
Ubuntu Gutsy Gibbon. We will attempt to install 3 different network
cards on a Lenovo T60p.

No Comments

Debian 4.0 Server Guide

Posted by suvi under Debian, Server, Webserver

This guide will show you how to install a complete Debian Etch
server. The initial install is specifically for people hosted with linode.com but the other parts of this guide are suitable for everyone.

To create/edit a file, you can use either nano or vi. Remember to SAVE the file after you create or edit it.

 

No Comments

Ubuntu Customization Guide v2

Posted by suvi under Desktop, Ubuntu

Changes are part of Nature so as with Technology.. Though this cannot
be True for Windows and Mac cause the life cycle of a single Version is
too much which is not the case with Linux.. Open Source evolve at very
rapid rate and with evolution comes new & special changes … Today
with a hike in Linux acceptance its pretty hard for competitors to
provide similar solutions at free of cost. Open Source is known for
User Interaction with Operating System which cannot be done with other
OS. Linux user can customize, create, edit, add files according to

No Comments

Dealing with .rpmnew and .rpmsave files

Posted by suvi under Fedora, Tricks

Nobody ever thinks to
mention .rpmnew and .rpmsave extensions to new users of Fedora or Red
Hat derivatives. Instead, most users suddenly discover that these files
are accumulating on their hard drives, or notice a fleeting message on
the screen about them during a version upgrade. Many, I suspect, simply
leave them alone, uncertain what to do about them. Yet dealing with
them is simply a matter of using a few basic commands, and can be a
necessity for ensuring trouble-free upgrades in the future.

No Comments

CLI Magic: Video conversion with mencoder

Posted by suvi under Multimedia

Mencoder is part of the MPlayer media player package. While MPlayer can play audio and video files, mencoder converts and manages multimedia files. The application has a ton of graphical user interfaces, but you can use it from the command line to produce video files in almost any format you want. Here’s how.

Among the file types mencoder can handle are MPEG/VOB, AVI, ASF/WMA/WMV, RM, QT/MOV/MP4, Ogg/OGM, MKV, VIVO, FLI, and FLV. The command syntax is straightforward despite a wealth of options. There’s little mencoder can’t do when it comes to multimedia conversion.

No Comments

Introducing Mercurial, a distributed version control system

Posted by suvi under Programming

According to its developers, "Mercurial
is a fast, lightweight Source Control Management system designed for
efficient handling of very large distributed projects." Dozens of projects already use the software. Here’s how you can get started with some basic version control tasks using Mercurial.

No Comments

Blocking specific network applications with iptables

Posted by suvi under Networking, Security

Many organizations face
a productivity problem with employees who abuse chat programs like MSN
Messenger. Some IT departments are instructed to block this kind of
traffic for users who either abuse or simply don’t require the
software. You can block applications like MSN Messenger in your proxy
server, but some clients may still have access to the applications,
because there are many versions of MSN Messenger in use, making
blocking the application with a proxy server difficult. Instead, block
MSN Messenger traffic more easily with iptables.

No Comments

Supercharging package management with yum plugins and utilities

Posted by suvi under Linux

Fedora’s Pirut is a useful tool for basic software installation and package searches. However, if you really want to take control of package management, you need to get back to basics with yum. Just as, on Debian systems, dpkg is the back end underlying apt-get and graphical tools such as Synaptic, so on RPM systems, yum is the hidden power behind Pirut and the Pup updater. Not only does yum have more options than Pirut, but you can enhance it with additional plugins and utilities, many of which work only with yum.

No Comments

Enabling Compiz Fusion On A Fedora 8 GNOME Desktop (NVIDIA GeForce FX 5200)

Posted by suvi under Desktop, Fedora, Gnome

This tutorial shows how you can enable Compiz Fusion
on a Fedora 8 GNOME desktop (the system must have a 3D-capable graphics
card – I’m using an NVIDIA GeForce FX 5200 here). With Compiz Fusion
you can use beautiful 3D effects like wobbly windows or a desktop cube
on your desktop.

This document comes without warranty of any kind! I do not issue any guarantee that this will work for you!

 

No Comments

Virtual Users And Domains With Postfix, Courier And MySQL (Ubuntu 7.10)

Posted by suvi under Email, MySQL, Server, Ubuntu

This document describes how to install a mail server based on
Postfix that is based on virtual users and domains, i.e. users and
domains that are in a MySQL database. I’ll also demonstrate the
installation and configuration of Courier (Courier-POP3, Courier-IMAP),
so that Courier can authenticate against the same MySQL database
Postfix uses.

No Comments

Installation Guide: Linux Mint 4.0 Daryna (a.k.a. The Perfect Desktop)

Posted by suvi under Desktop

This tutorial shows how you can set up a Linux Mint 4.0 (Daryna)
desktop that is a full-fledged replacement for a Windows desktop, i.e.
that has all the software that people need to do the things they do on
their Windows desktops. The advantages are clear: you get a secure
system without DRM restrictions that works even on old hardware, and
the best thing is: all software comes free of charge. Linux Mint 4.0 is
a Linux distribution based on Ubuntu 7.10 that has lots of packages in

No Comments

Adding And Updating SpamAssassin Rulesets With RulesDuJour

Posted by suvi under Email, Security

This article explains how you can download additional SpamAssassin
rulesets resp. automatically update these rulesets with a shell scripts
called RulesDuJour.
These additional rulesets can increase your spam recognition rate
dramatically. Most of the rulesets that RulesDuJour supports can be
found on the SA Rules Emporium web site.

I do not issue any guarantee that this will work for you!

 

No Comments