LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Example script to run and manage a service (tcpdump) with managed logging.

Posted 10-11-2012 at 07:59 PM by konsolebox
Updated 10-12-2012 at 02:20 AM by konsolebox

I made this script as a reply to a question on a thread before. The accidentally simplified complexity of it amazes me so I thought that it would be nice to post this on a blog as well. Original thread: https://www.linuxquestions.org/quest...cpdump-800385/

The script runs and manages a service (tcpdump). It could also automatically delete files older than C days, and reduce the size of a logfile if it's already larger than N bytes....
Senior Member
Posted in Howtos
Views 2086 Comments 0 konsolebox is offline
Old

RHEL – Installing multiple OS versions using Logical Volume Manager

Posted 10-10-2012 at 07:56 AM by iamswift
Updated 10-11-2012 at 01:02 AM by iamswift

Introduction:
Logical Volume Manager is a very good tool available in Linux to play around with disks and its sizes. This tool is very powerful that it virtually eliminates the requirement for fdisk based partition after the initial setup. Nowadays only two main partitions are created. One for “boot” and another for “LVM”. LVM internally has volume groups and logical volumes which act as independent partitions.

This article talks about how a free / available...
LQ Newbie
Posted in Technical
Views 954 Comments 0 iamswift is offline
Old

RHEL – Create new logical volume from root volume

Posted 10-10-2012 at 04:51 AM by iamswift
Updated 10-11-2012 at 01:01 AM by iamswift

Introduction:
We know that modern systems can have multiple hard disks and each hard disk can be divided as partitions. The idea behind partition is that it gives flexibility in managing the disks. Let’s say we have multiple operating systems to be installed in the same machine, partition provides solution for this. Each partition can have its own operating system. Apart from this advantage, partitions also help in grouping the type of files that are stored.
The Linux Logical Volume...
LQ Newbie
Posted in Technical
Views 987 Comments 0 iamswift is offline
Old

Trying to get video capability working under Ubuntu 11.10

Posted 10-09-2012 at 05:12 PM by flshope
Updated 10-09-2012 at 05:15 PM by flshope (Took me until now to figure out how to get out of draft mode)

Problem description: I am struggling to get a working video capability on my Pogo2003 machine, which was recently upgraded to Ubuntu 11.10. My specific problem is that I cannot display the magazines from https://www.zinio.com. The Zinio site requires Adobe Flash Player. I use three browsers: Opera 12, Firefox 15, and Chrome 18; Opera is always my first choice. After accessing Zinio and opening a magazine, Opera reports "Shockwave Flash has crashed"; Firefox puts up a mostly blank screen...
Member
Posted in Uncategorized
Views 2379 Comments 3 flshope is offline
Old

Automated OpenBSD-STABLE build

Posted 10-08-2012 at 04:54 PM by rocket357 (Musings on technology, philosophy, and life in the corporate world)
Updated 10-08-2012 at 05:14 PM by rocket357 (refactoring?)

It's ugly. But it works.

Code:
#!/bin/sh

set -e

export LOGFILE=/var/log/build_stable.log
export ARCH=`machine`

# DEFAULT: BUILD -STABLE (UPGRADE TO LATEST -RELEASE FIRST!!)
export BUILDVER=OPENBSD_`uname -r | tr '.' '_'`

cat > ${LOGFILE} << EOF


STABLE BUILD - `date` - `uname -a`


EOF

echo "Updating Sources for ${BUILDVER}"
...
Member
Posted in Uncategorized
Views 452 Comments 0 rocket357 is offline

  



All times are GMT -5. The time now is 10:05 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration