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

Search results for Enhanced Logging With rsyslog On Debian Etch And phpLogcon For Viewing

Linux

Automatically Scan Uploaded Files For Viruses With php-clamavlib

Post date: January 14, 2007, 21:01 Category: Security Views: 4815 Comments
Tutorial quote: This guide describes how you can automatically scan files uploaded by users through a web form on your server using PHP and ClamAV. That way you can make sure that your upload form will not be abused to distribute malware. To glue PHP and ClamAV, we install the package php5-clamavlib/php4-clamavlib which is rather undocumented at this time. That package is available for Debian Etch and Sid and also for Ubuntu Dapper Drake and Edgy Eft.
Linux

Creating a safe directory with PAM and Encfs

Post date: June 7, 2006, 20:06 Category: Security Views: 3711 Comments
Tutorial quote: Now, in my network (and others) the credentials provided at login could (and should) be used by those programs. How can you retrieve these credentials, providing enough security?
With a the PAM modules pam_script it's possible to store the password in a file, which will be used by fusemb and mount.cifs to read the password from.

To achieve security, one could make the user logging in owner and deny read/write for anybody else. Remove this file when the user ends his/her session.
This is enough, for runtime. But I was wondering, but what if the system crashes, and the file with the credentials remains on the harddrive? Anybody who is able to mount this harddrive with for example a lifecd, can read this file!

That's why I was looking for a way to encrypt this file.

With encfs this is very possible! At run time it gives an interface to encrypted files and directories, which does only exist at runtime! When the system is not running, there are only encrypted files, useless when you do not know the key to it. And this key is exactly the (encrypted) password! That's why I've chosen for a combination of PAM and Encfs.
Debian

OpenVZ On Debian Etch For Webservers

Post date: December 26, 2006, 21:12 Category: System Views: 3682 Comments
Tutorial quote: Virtualization is a good practice for servers, since it makes things more secure, scalable, replacable, and replicable, all this at the cost of little added complexity. This guide was written during an install of a Supermicro machine with two dual-core opterons (64-bit), two identical disks (for RAID) and a load of memory. Why OpenVZ and not XEN or the recent KVM kernel module? Well, XEN is not very stable for 64-bit architectures (yet), and it comes with quite a bit of overhead (every VM runs its own kernel) due to its complexity. KVM is very simple but restricts you to run a kernel as one process, so the VM cannot benefit from multi core systems.
Debian

Creating Encrypted FTP Backups With duplicity And ftplicity On Debian Etch

Post date: December 18, 2007, 12:12 Category: Miscellaneous Views: 3734 Comments
Tutorial quote: When you rent a dedicated server nowadays, almost all providers give you FTP backup space for your server on one of the provider's backup systems. This tutorial shows how you can use duplicity and ftplicity to create encrypted (so that nobody with access to the backup server can read sensitive data in your backups) backups on the provider's remote backup server over FTP. ftplicity is a duplicity wrapper script (provided by the German computer magazine c't) that allows us to use duplicity without interaction (i.e., you do not have to type in any passwords).
Debian

Automating new Debian installations with preseeding

Post date: May 5, 2006, 02:05 Category: Installing Views: 2875 Comments
Tutorial quote: Anyone doing Debian installations regularly might be interested in the preseed method of the Debian installer. This document describes how to use this technique.
Debian

How To Create A Debian Wheezy (Testing) OpenVZ Template

Post date: September 15, 2011, 08:09 Category: Miscellaneous Views: 5166 Comments
Tutorial quote: This tutorial explains how to create an OpenVZ template for Debian Wheezy (Debian Testing) that you can use to create virtual Debian Wheezy machines under OpenVZ. I searched for a Debian Wheezy OpenVZ template, but couldn't find one, that's why I decided to create it myself. This guide can also be used for creating Debian Lenny templates and templates for recent Ubuntu versions.
Debian

How to Install Latest Wine in debian Etch

Post date: December 22, 2008, 07:12 Category: Software Views: 3386 Comments
Tutorial quote: Wine makes it possible to run Windows programs alongside any Unix-like operating system,particularly Linux. At its heart, Wine is an implementation of the Windows Application
Programing Interface (API) library, acting as a bridge between the Windows program and Linux.Think of Wine as a compatibility layer, when a Windows program tries to perform a function that Linux doesn’t normally understand, Wine will translate that program’s instruction into one supported by the system. For example, if a program asks the system to create a Windows pushbutton or text-edit field, Wine will convert that instruction into its Linux equivalent in the form of a command to the window manager using the standard X11 protocol.
Debian

Build Your Own Video Community With Lighttpd And FlowPlayer (Debian Etch)

Post date: August 19, 2007, 23:08 Category: Miscellaneous Views: 3163 Comments
Tutorial quote: This article shows how you can build your own video community using lighttpd with its mod_flv_streaming module (for streaming .flv videos, the format used by most major video communities such as YouTube) and its mod_secdownload module (for preventing hotlinking of the videos). I will use FlowPlayer as the video player, a free Flash video player with support for lighttpd's mod_flv_streaming module. I will also show how you can encode videos (.mp4 .mov .mpg .3gp .mpeg .wmv .avi) to the FLV format supported by Adobe Flash.
Debian

Rolling your own Debian packages (part 1)

Post date: January 21, 2006, 06:01 Category: Software Views: 3136 Comments
Tutorial quote: This two-part article explains how to make a Debian package of simple piece of software, presumably something you have written yourself. Although building a new package is more complex than rebuilding one or having one generated, the idea is that it is actually surprisingly simple to create basic Debian packages. In fact, if you can make software install into a temporary installation tree, you're already 90% done! This text provides a quick alternative to the more comprehensive Debian New Maintainers' Guide. Only knowledge of Makefiles and the basic Debian package tools is assumed.

The first part of this article will continue with some preliminary information about Debian packages. In the second part we walk through a concrete packaging example.
Debian

Install .rpm Files in Debian and Ubuntu

Post date: October 5, 2006, 16:10 Category: Software Views: 7339 Comments
Tutorial quote: Some time you might find some applications are having only .rpm files but you want a .deb package for your debian,Ubuntu and other debian derived ditributions.If you can’t find .deb debian package in any of the debian,ubuntu repositories or elsewhere, you can use the alien package converter to install the .rpm file.
Web-based applications and online marketing solutions - LumoLink