Randomness

Archive for the ‘linux’ Category

Openfiler quicky

Posted by: Lloyd Puckitt on: June 12, 2008

Using openfiler with vmware infrastructure.

Helpful Ubuntu Commands

Posted by: Lloyd Puckitt on: May 12, 2008

Privileges
sudo command – run command as root
sudo su – open a root shell

Add an IP alias (virtual nic)

Posted by: Lloyd Puckitt on: November 12, 2007

CentOS

Copy your eth0 config file located at /etc/sysconfig/network-scripts/ (you need to be root to do most of these commands) cd /etc/sysconfig/network-scripts/ cp eth0 eth0:1 Now we need to edit this new file. You will need to …escape.. the colon. Neither eth0 or eth0:1 can be set by DHCP, you must setup [...]

Subversion Cheat Sheet

Posted by: Lloyd Puckitt on: November 8, 2007

This was taken from Abby Workshop with the intention of modifying it for both OSX and Ubuntu if needed.
===============================================
This Subversion cheat sheet was created during the initial setup of Subversion on Apache 2.0 on Windows and Mac OS X. A detailed tutorial covering most of the features of Subversion can be found in the online [...]

Access your Linux computer graphically and securely using SSH and VNC

Posted by: Lloyd Puckitt on: November 8, 2007

This was copied from the Johnny Chadda blog.
=================================
 
When you are out traveling or just at work, the need sometimes arises when you have to access your computer at home. This article will show you how to access your computer in a simple and secure way. The article is focused on Ubuntu, but can just as [...]

Turn Vim into a bash IDE

Posted by: Lloyd Puckitt on: November 5, 2007

Linux.com
Everything Linux and Open Source
Turn Vim into a bash IDE
June 11, 2007 [...]

How to create virtual machines using VMware Player

Posted by: Lloyd Puckitt on: October 24, 2007

Orginal post can be found here;
Lorenzo Ferrara’s Blog
==============================================
VMware Player is the new free (as in beer) great tool released a few days ago by VMware.
It can be used to run virtual machines made with VMware Workstation, VMware GSX Server, and VMware ESX Server but it can’t create them.
The 24th October Eliot Phillips wrote about how [...]

Asterisk MusicOnHold

Posted by: Lloyd Puckitt on: October 14, 2007

Original script page;

Asterisk music on hold
This script converts a directory full of MP3s to another directory with the same files in native formats (WAV, GSM and U-Law) – see recipe Music-on-hold without MPG123 for an overview of how this works.
FROMDIR=”/root/mp3s”
TODIR=”/root/transcodes”
for i in $FROMDIR/*.mp3
do
BASEFILE=$(basename $i .mp3)
echo Converting $BASEFILE
mpg123 -s –rate 44100 –mono $FROMDIR/$BASEFILE.mp3 > $TODIR/$BASEFILE.raw
sox -r [...]

Capistrano confusion

Posted by: Lloyd Puckitt on: October 12, 2007

Most howto’s and screencasts about Ruby on Rails deployment using Capistrano are a little confusing now that 2.0 has come out.
Build a Full Rails Server on Ubuntu
To run the old version
cap _1.4.1_ <command>
More to come on this….

File sharing with Ubuntu using Samba

Posted by: Lloyd Puckitt on: October 10, 2007

A video I found to help set up Samba.