Running rsync from a webserver (using sudo)

October 21, 2009

Situation

I want to have ‘rsync’ run when a user presses a button on the webserver. The software stack is as follows (though this was largely a red-herring, see below) :

Fedora – server

lighttpd – webserver

Twiki – intranet setup

perl – plugin language for Twiki

bash – perl launches a script to run the rsync

sudo – to ‘change [...]

Comments Off

lmms with Fedora – compile source

March 29, 2009
Tags: , , ,

lmms has some dependencies that are not so easy to determine for Fedora
Basic setup :yum install cmake gityum install qt qt-devel
Synth extras :yum install libsndfile libsndfile-develyum install fluidsynth fluidsynth-develyum install stk stk-develyum install fftw-devel
Importantly for wine VST(i) :yum install wine wine-develyum install glibc-devel.i386
Hope this helps

2

Gateway GM6543E Linux Installation

October 3, 2008

Initial Boot Problems
Booting kernel on stock Fedora 9 x64 DVD requires the kernel option : ‘intel_iommu=off’ to be appended to the kernel boot line.
Updated kernels (after, say, 2.2.26), no longer need this extra parameter.
USB Keyboard
Unless ‘Legacy USB’ is set in the BIOS (which it is by default), the USB keyboard can’t be used to change [...]

Comments Off

Mount Windows (or Samba) share on Linux

September 7, 2008
Tags: ,

After a suitable mount-point is created (in this example mkdir -p /mnt/fscapital_server/), into /etc/fstab put the following (all on one line) :
# Mount windows Server drive ://192.168.10.120/server /mnt/fscapital_server/ cifs username=andrewsm,password=whatever 0 0
where each of the spaces above is really a cntrl-t (Tab) – just for neatness, really.
Then one can mount /mnt/fscapital_server/ and see the [...]

Comments Off

Linux Screen Capture for YouTube

September 7, 2008

ffmpeg is the command line utility I chose – does enough, but not too much (like mplayer, for instance).
YouTube and Google ideal input video

640×480 @ 30 fps MPEG4

Preparation
Grab the ffmpeg package from ATrpms.# rpm –import http://ATrpms.net/RPM-GPG-KEY.atrpms # scite /etc/yum.repos.d/atrpms.repo# yum install ffmpeg
For speed of capture :# Mount a RAM disk (as su) :mkdir /media/ffmpegmount -t [...]

Comments Off

Extra keys on Belkin MediaPilot (linux)

November 6, 2007

Here are the keycodes that I was able to uncover using showkey -k.
Unfortunately, the kernel logs don’t complain when I hit the unknown keys so there’s probably no point in setting up the extra scancodes (particularly since this Belkin MediaPilot keyboard is not the primary keyboard in the system, and the setkeycodes documentation [...]

1

Verizon USB720 on Fedora

August 30, 2007

The device was initially registered with Verizon using the VZaccess application on Windows. This may be a step that requires their annoy-ware. After that initial stage, the device contains an embedded phone number, that is required to do proper logging-in for National Access / Broadband Access.
Plugging this into a spare USB port on [...]

Comments Off

Air-H Edge Card H407P Setup

July 21, 2007
Tags: , , , , , ,

Situation
Trusting to the power of Linux on my laptop, I blindly ordered an AirH Edge connectivity card from JCR (Air-H (Edge) Data Card for Laptops – No Airtime or Data Charges).
Prior to leaving the US, I downloaded a few things, anticipating that I’d be ‘flying blind’ since I wouldn’t be able to connect until it [...]

Comments Off