|
|
Back to Top
- Installing MediaWiki on Debian Sarge
This tutorial is for using the mediawiki packages in Etch on Sarge, using Apache. See Help:Running MediaWiki on Debian GNU/Linux for information on using the latest version of mediawiki. - Nut launches death threats at Debian women
A poll by new project leader Steve McIntyre into whether people are happy on Debian revealed one female coder had been getting the threats as thanks for her hard work. - Install a Brother DCP750CW scanner/printer under Debian amd64
A while ago, I bought a Brother DCP750CW and installed it successfully on my computer, unfortunately, my hard drive crashed
and I had to reinstall my system
Nevermind, this time, Ill take this chance to write a little tutorial ! - Apache2: Logging To A MySQL Database With mod_log_sql (Debian Etch)
This guide shows how you can write the Apache2 access log to a MySQL database instead of a file. To achieve this, I use the Apache2 module mod_log_sql. I'm using a Debian Etch server in this tutorial. - I start to hate Debian
I have used Debian for many years and there were always some minor annoyance like the holy war against everything that is closed source and the slow release cycle. But it never got in my way and just worked. So what changed?
Back to Top
- aiccu: add IPv6 connectivity to your machine
Article submitted by Caspar Clemens Mierau. Guess what? We still need you to submit good articles about software you like!
It’s time: no reason should prevent you from adding IPv6 connectivity to your machine. Of course it’s still an issue, as most ISPs don’t provide native IPv6. So in most cases the easiest way for you [...] - Debian-administration.org on rinetd
Unusual non-article ahead:
Debian-administration.org has a nice article about rinetd entitled “Easily forwarding arbitrary TCP connections with rinetd”, go and check it, it is an interesting package I didn’t know about!
- file: classify unknown files on the console
Article submitted by Caspar Clemens Mierau. Guess what? We still need you to submit good articles about software you like!
Somebody just sent you a mail with attachments that don’t have usable file extensions so you don’t really know how to handle them. Audio file? PDF? What is it? The same problem might occur after a [...] - zsh: a REALLY nice alternative for bash
Article submitted by Danilo Martins. Guess what? We still need you to submit good articles about software you like!
After years using ZSH instead of BASH, I still don’t understand why isn’t everybody using it. ZSH is a complete shell that will certainly make your life easier. Give it a try.
First of all, you need it [...] - Ghextris: tetris clone with a hexagonal makeover
Article submitted by Alex Drachmann. Guess what? We still need you to submit good articles about software you like!
The object of the game is much the same as with tetris, only the frame and the falling objects are hexagons. You have to slot the coloured pieces together making rows, which disappear once they are complete, [...]
Back to Top
- Easily forwarding arbitrary TCP connections with rinetd
In the past we've examined the use of firewall rules for forwarding incoming connections from one machine to another. But there is a simpler approach using the rinetd package. Read on to learn about this tool. - Make your own configuration deployment system, part 1
In this series of articles, I describe the steps to making a flexible configuration deployment system tailored to your needs. It can be as simple or as complete as you care to make it. And since you made it, you can understand it intimately. - Question: Best tool for bare metal restore of Debian servers?
I've been doing a bit of searching through the Debian Administration (http://www.debian-administration.org/) archives and one thing that doesn't seem to have been discussed very much is full system recovery. There are plenty of discussions on different backup (/tags/backups) options, but nothing targeted at what seems to me the simplest possible backup scenario: protecting a single machine (specifically a server) so that if it is compromised it can be rolled back to a previous state. - Calculate network, broadcast, netmask, etc with ipcalc
Ipcalc is a simple tool to calculate network, broadcast, netmask, etc. from an IP address. It also gives the class of the IP. It might facilitate the work of network admins. :-) - Monitoring with Munin
In this article I will describe how to install munin (http://munin.projects.linpro.no/) on 2 computers, but you can add more if you want to, this will allow us to remotely monitor system performance and activity. - Critical security update for openssl
A new security advisory has recently been released relating to the Debian openssl package, and whilst most security updates are not news-worthy this one is. Read on for a brief overview of the problem. - Need a generic iptables tcp proxy?
Do you ever find yourself in need of a generic TCP proxy? Do you wish you could do it with netfilter? Do you want to proxy a connection to a given port on a given IP address to a completely different port on a totally different host or network?
Back to Top
- ssh on multiple servers Using cluster ssh
Cluster SSH opens terminal windows with connections to specified hosts and an administration console. Any text typed into the administration console is replicated to all other connected and active windows. This tool is intended for, but not limited to, cluster administration where the same configuration or commands must be run on each node within the cluster. Performing these commands all at once via this tool ensures all nodes are kept in sync. Full Story
Back to Top
- Runa Sandvik: Like a kid on Christmas Eve
 I can’t stop smiling now. I worked two stations tonight, one was Greg (PE2GRT), and I even have a picture to prove it. I had so much fun. Greg was recording everything, and I got his permission to upload it here so you can all listen. I’m still a bit nervous when I’m on the air, but I’m working on it. - Raphael Geissert: debconf8
 Just received the ticketing notification, so I can finally post it:

:) Many thanks to the person who decided to sponsor my travel to Argentina, without whom I would would stay at home instead of being at Debconf :cheers:
P.S. travel data can be found via penta. - Jeff Bailey: My sister-in-law is in a movie trailer!!!
Holy crap - You know one of those things where life is so surreal? My sister-in-law, Heather, is in a movie trailer with a speaking role!
The Day The Earth Stood Still
About a minute from the end, she passes a message to Kathy Bates.
So yeah, everyone go see the movie. =)
- Ok; this IS bad
You may have heard of it: I’m speaking about DSA-1571-1. Read more about it on the pages “Key Rollover“, or “SSLkeys“.
And no, I don’t put it off lightly, like tuxchick did lately, nor do I blame any Debian people or anyone else - we’re only human, after all. But think about the consequences, like Erich [...] - Cacti on Etch broken fixed
This mornings upgrade of Cacti on Etch wasn’t a very good one - it only displays
Invalid PHP_SELF Path
Get back the old one with:
sudo aptitude install cacti=0.8.6i-3.2
Then things should be back to normal. See also: Bug #479618 with the severity grave.
Update (only one(!) day later…):
As usual, Debian developers are super-fast. Now Cacti 0.8.6i-3.4 is [...]
- WebDAV Configuration With Apache2 On Debian Etch
Web-based Distributed Authoring and Versioning, or WebDAV, is a set of extensions to the Hypertext Transfer Protocol (HTTP) which allows users to collaboratively edit and manage files on remote World Wide Web servers. The group of developers responsible for these extensions was also known by the same name and was a working group of [...] - List of FTP Clients Available in Linux
FTP is a file transfer protocol for exchanging files over any TCP/IP based network to manipulate files on another computer on that network regardless of which operating systems are involved (if the computers permit FTP access). There are many existing FTP client and server programs. FTP servers can be set up anywhere between game [...]
Back to Top
- Debian-administration.org on rinetd
Unusual non-article ahead:
Debian-administration.org has a nice article about rinetd entitled “Easily forwarding arbitrary TCP connections with rinetd”, go and check it, it is an interesting package I didn’t know about!
- file: classify unknown files on the console
Article submitted by Caspar Clemens Mierau. Guess what? We still need you to submit good articles about software you like!
Somebody just sent you a mail with attachments that don’t have usable file extensions so you don’t really know how to handle them. Audio file? PDF? What is it? The same problem might occur after a file recovery, on web pages with upload features, etc.
While you can try to give the file an extension and open it with a software you think might be suitable, the better way is to let your computer find out what is all about. As a GNU/Linux user you probably already think “There is surely a command line tool for this”. Of course there is: the file by Ian Darwin.
It often gets automatically installed by dependencies. In any case, aptitude install file will help you. file depends on libmagic which provides patterns for the so called “magic number” detection.
Let’s assume we have the following directory with unknown files:
$ ls -l
total 2152
-rw-r--r-- 1 ccm ccm 4118 2008-03-30 06:32 unknown.0
-rw-r--r-- 1 ccm ccm 10220 2008-05-06 02:23 unknown.1
-rw-r--r-- 1 ccm ccm 12693 2008-05-06 02:23 unknown.2
-rw-r--r-- 1 ccm ccm 25933 2007-10-26 07:41 unknown.3
-rw-r--r-- 1 ccm ccm 2121 2007-10-26 07:41 unknown.4
-rw-r--r-- 1 ccm ccm 185 2007-10-14 20:14 unknown.5
-rw-r--r-- 1 ccm ccm 1189011 2008-05-17 22:37 unknown.6
-rw-r--r-- 1 ccm ccm 824163 2008-02-02 05:02 unknown.7
-rw-r--r-- 1 ccm ccm 82367 2007-09-20 06:18 unknown.8
-rw-r--r-- 1 ccm ccm 8872 2006-04-24 12:43 unknown.9
Now we want to know what’s inside those black boxes. Therefore we just call file * on the console:
$ file *
unknown.0: XML
unknown.1: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped
unknown.2: ASCII C program text
unknown.3: PDF document, version 1.4
unknown.4: LaTeX 2e document text
unknown.5: perl script text executable
unknown.6: gzip compressed data, from Unix, last modified: Wed Oct 8 16:27:09 2003
unknown.7: Ogg data, Vorbis audio, stereo, 44100 Hz, ~192003 bps, created by: Xiph.Org libVorbis I (1.0)
unknown.8: PNG image data, 492 x 417, 8-bit/color RGBA, non-interlaced
unknown.9: HTML document text
Hey, that’s all. Pretty impressive, isn’t it? file does even not only distinguishes binaries and text files, it even tries to guess what programming language a text file is written in. And the magic is not that much magic: for example, in case of the ZSH script it just sees a shebang pointing to the zsh in the first line of the file, a PDF file typically starts with “%PDF” and so on. It’s all about patterns.
file provides you with some command line options that make it’s usage even more helpful. The most interesting is -i as it prints out MIME-types instead of verbose file types. If you are a web developer and want to know the exact MIME-type for a file download, this can save you a lot of time:
$ file -i *
unknown.0: text/xml
unknown.1: application/x-object, not stripped
unknown.2: text/x-c; charset=us-ascii
unknown.3: application/pdf
unknown.4: text/x-tex
unknown.5: application/x-perl
unknown.6: application/x-gzip
unknown.7: application/ogg
unknown.8: image/png
unknown.9: text/html
Great, isn’t it? The Apache web server also uses libmagic for this purpose. With file you just use a wrapper for the same task.
file is available in Debian and Ubuntu for a long time.
Back to Top
|
|
Contact Us At 610-734-1900 or
sales@LinuxForce.net
|
|