Tag Archives: linux

Resizing Xen guest parition based filesystems

This post assumes you are running the Xen hypervisor and are using a partitions based filesystems for you Xen guest you would like to re-size. I have previously written on Installing Xen on CentOS 6 from source and another blog … Continue reading

Posted in systems administration | Tagged , | 2 Comments

Creating Debian guests on Xen using parition based filesystem

This guide describes how to create a filesystem and guest for the Xen hypervisor. This assumes you have a working Xen install with Dom U. I have described setting up a Xen hypervisor from source in another posted titled Installing … Continue reading

Posted in systems administration | Tagged , | Leave a comment

Installing Xen on CentOS 6 from source

I recently had a need to install Xen hypervisor on CentOS and most of the guides covered using the package maintainers version. Further, RHEL distributions favor using KVM. I did come across HowTo: Install XEN Dom0 on CentOS 6 from … Continue reading

Posted in systems administration | Tagged , | Leave a comment

How-to setup an Upside-Down-Ternet

In an effort to replicate the amusing idea of a transparent proxy that manipulates traffic in a fun way found here and made even better with some great scripts that you can pull down from here. A Debian box was … Continue reading

Posted in internet | Tagged , , | Leave a comment

Configure YAF on Linux for NetFlow collection from a network tap or SPAN

In a previous post SiLK was setup on a Debian host using NetFlow v5 from a Cisco switch. This worked well but I also have a network tap and said Cisco switch is capable of capturing data via SPAN port(s). … Continue reading

Posted in security | Tagged , , , | Leave a comment

Configure SiLK on Linux for NetFlow collection from a Cisco router

This guide walks through configuring SiLK from a source install on a Debian 6 host in order to collect NetFlow data from a Cisco router. The guides here and here written by CERT NetSA are quite good but lack some … Continue reading

Posted in security | Tagged , , , | 2 Comments

Running NIX Retina and Nessus vulnerability scans with least privileges

When you are running those vulnerability scans of Linux and UNIX hosts I hope that you are following best practices for keeping a host secure during the process. Both Retina and Nessus rely upon SSH in order to connect to … Continue reading

Posted in security | Tagged , | Leave a comment

Debian backup script updated

A quick note that I updated my Debian backup script located here: https://code.google.com/p/debian-update-script/. I have fixed a few bugs that became apparent with the release of Debian 6 “Squeeze” and made a few other tweaks. I have also added the … Continue reading

Posted in systems administration | Tagged , | Leave a comment

Installing Sun Java on Debian Lenny

The Sun Java JDK is available in the Debian Lenny non-free repository, therefore you must modify /etc/apt/sources.list $ sudo vi /etc/apt/sources.list Add non-free to the Debian Lenny repositories: deb http://mirrors.kernel.org/debian/ lenny main non-freedeb-src http://mirrors.kernel.org/debian/ lenny main non-free deb http://security.debian.org/ lenny/updates … Continue reading

Posted in systems administration | Tagged , | 12 Comments

Kicking a user off of a system (linux)

Quick reference would ‘NOT’ recommend using these: last -i1 baduser | awk ‘{print $3;exit}’ | xargs -p –replace iptables -A INPUT -s {} -j drop if [ "`who | grep $1`" != "" ] ; then sid=`ps -jU $1 | … Continue reading

Posted in systems administration | Tagged | Leave a comment