Sunday, December 23, 2012

How to setup centos cluster (start to end)


 yum -y install openssh-server openssh-clients

1. Make static IP

Find out the name of your ethernet adapater using ifconfig:
 
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=bee9
GATEWAY=192.168.1.1   (This is needed to get internet on the nodes)

 
 
DEVICE="eth1"
NM_CONTROLLED="yes"
ONBOOT=yes
TYPE=Ethernet
BOOTPROTO=static
NAME="System eth0"
IPADDR=192.168.1.156
NETMASK=255.255.255.0
DNS1=8.8.8.8
DNS2=8.8.4.4
 
2. Turn off network manager (it was overriding at boot)
sudo /sbin/service NetworkManager stop   (This stops it)
sudo /sbin/chkconfig NetworkManager off  (This stops it from starting at bootup)
 
 
 Stream audio through SSH:
 
 http://prupert.wordpress.com/2010/08/02/stream-live-audio-from-a-microphone-in-near-real-time-in-ubuntu/
http://linuxconfig.org/how-to-test-microphone-with-audio-linux-sound-architecture-alsa 

No comments: