Go back to fronty page View most popular entries View latest additions Submit tutorials to UnixTutorials.info
UnixTutorials logo

Search results for Avoiding slow package updates with package diffs

Debian

Creating .deb-Packages With Checkinstall

Post date: April 12, 2005, 17:04 Category: Miscellaneous Views: 3099 Comments
Tutorial quote: Checkinstall is a nice tool to create simple .deb-packages that you can use in your local network (e.g. if you have to install the same piece of software on multiple computers running Debian). It lets you compile and install software from the sources like before, but with the difference that you end up with a simple Debian package which also means that you can easily uninstall the software you just compiled by running dpkg -r!

I will demonstrate the use of checkinstall by compiling and installing the anti-virus software ClamAV on a Debian system.

This howto is meant as a practical guide; it does not cover the theoretical backgrounds. They are treated in a lot of other documents in the web.
Ubuntu

Flip - Convert text file line endings between Unix and DOS formats

Post date: March 2, 2009, 07:03 Category: System Views: 3457 Comments
Tutorial quote: This program converts line endings of text files between MS-DOS and **IX formats. It detects binary files in a nearly foolproof way and leaves them alone unless you override this. It will also leave files alone that are already in the right format and preserves file timestamps.User interrupts are handled gracefully and no garbage or corrupted files left behind. ‘flip’ does not convert files to a different character set, and it can not handle Apple Macintosh line endings (CR only). For that (and more), you can use the ‘recode’ program (package ‘recode’).

Debian

How To Set Up A Load-Balanced MySQL Cluster

Post date: March 31, 2006, 19:03 Category: Software Views: 4426 Comments
Tutorial quote: This tutorial shows how to configure a MySQL 5 cluster with three nodes: two storage nodes and one management node. This cluster is load-balanced by a high-availability load balancer that in fact has two nodes that use the Ultra Monkey package which provides heartbeat (for checking if the other node is still alive) and ldirectord (to split up the requests to the nodes of the MySQL cluster).

In this document I use Debian Sarge for all nodes. Therefore the setup might differ a bit for other distributions. The MySQL version I use in this setup is 5.0.19. If you do not want to use MySQL 5, you can use MySQL 4.1 as well, although I haven't tested it.

This howto is meant as a practical guide; it does not cover the theoretical backgrounds. They are treated in a lot of other documents in the web.
Debian

Creating a Wiki with kwiki

Post date: December 17, 2005, 22:12 Category: Software Views: 3374 Comments
Tutorial quote: Wikis are simple interactive websites which are extremely easy to use for storing easily updated text content. Using a Wiki you can easily create a lot of content with hyperlinks between them. Debian has packaged several different Wiki systems and here we'll look at installing just one of them: KWiki.

Wikis have become familiar to many people thanks to the popularity of large sites such as Wikipedia and can be very useful for creating collaborative websites.

Whilst there are many Wiki packages included in the Debian GNU/Linux distribution I've always had a soft spot for KWiki due to its simplicity, Perl nature, and low requirements.

Installing the software under Debian is very simple and we will show how to setup a new installation using the Debian Apache2 webserver package.
Debian

Cleaning up a Debian GNU/Linux system

Post date: November 25, 2006, 08:11 Category: System Views: 4119 Comments
Tutorial quote: You arrive at a Debian GNU/Linux server which has some history of neglection. Let's suppose someone else neglected it but if your new-year resolution is to stop neglecting your beloved server, this applies as well.

One form of neglection is to install, install, install and never un-install any package. The common utility to perform installation and un-installation of packages is apt-get which adds to the problem because it doesn't have automatic removal of non-needed dependences.

That means that when phpMyAdmin was installed it also installed Apache, PHP and ton of other packages. phpMyAdmin was removed when it was no longer needed but Apache, PHP and the ton of packages remain there.

Aptitude to the rescue.
Linux

LCD displays easy to use and easy to build

Post date: May 24, 2005, 18:05 Category: Hardware Views: 4102 Comments
Tutorial quote: This article presents now the "basic" model: LCD display and 2 buttons; simple and easy to build for everybody.

Lcdproc used to be at the very beginning a program to display some statistics (cpu load, uptime, time, ...) on an external LCD display. Over time it has however evolved into a much more generic solution. Today the lcdproc package contains LCDd, a generic server and LCD driver, plus many clients. One of those clients is still the actual executable called lcdproc which still shows server statistics however there are also others. This client server architecture has the big advantage that you do not need to write your client in a specific language. You just need to use the simple ascii protocol between client and server.
Debian

Avoiding greedy webclients with mod_bwshare

Post date: November 8, 2006, 04:11 Category: Network Views: 3639 Comments
Tutorial quote: If you're running a popular website you'll most likely notice that some clients are less well-behaved than others. Greedy clients can do anything from make numerous requests, to attempting to spider your entire site. One simple way of preventing these clients from slowing down your server is with the mod_bwshare module for Apache2.

Unfortunately mod_bwshare is not yet packaged for Debian GNU/Linux however installing it from the source code is very straightforward.
SuSe

Correct Multimedia Support in SUSE Linux 9.2

Post date: April 13, 2005, 01:04 Category: Multimedia Views: 4126 Comments
Tutorial quote: SUSE Linux is one of the better desktop Linux distributions on the market today, providing a functional and aesthetically pleasing environment for the new Linux user as well as seasoned veterans. On thing that puzzles many users is the lack of proper multimedia support in SUSE. The developers have basically crippled it from playing virtually all types of multimedia content that's common on the Internet today. This can be a frustrating dilema for new users, so I have written a short HOWTO to help you get everything in order on your new desktop.

It should be noted that you don't necessarily need to install apt to fix the multimedia problem on SUSE, but it's probably the most beneficial way to get it done. You can easily remove the offending packages and install new ones not provided by SUSE, but by using apt, you'll get the benefit of having a much larger package base available to you... something that SUSE has suffered from for a very long time. With or without apt, let's get things going with this HOWTO.
Unix+clones

How to Block Ads With Adzap

Post date: April 15, 2005, 21:04 Category: Network Views: 3733 Comments
Tutorial quote: For some time at my workplace we've been running an ad-zapping service on our web proxy. This page documents how it works, how to use it yourself, how to join the mailing list for updates of the pattern file, and the weirdnesses of our local setup (which you need not duplicate yourself).
Unix+clones

Mastering recursive programming

Post date: June 22, 2005, 09:06 Category: Programming Views: 3778 Comments
Tutorial quote: Recursion is a tool not often used by imperative language developers, because it is thought to be slow and to waste space, but as the author demonstrates, there are several techniques that can be used to minimize or eliminate these problems. He introduces the concept of recursion and tackle recursive programming patterns, examining how they can be used to write provably correct programs. Examples are in Scheme and C.
Web-based applications and online marketing solutions - LumoLink