Killed the database of my last blog that was doing really well. Time to kill another one. ^_^
Thursday, March 31, 2011
Monday, March 28, 2011
Wednesday, March 16, 2011
cobbler import --name ubuntu10.10 FAIL
preseed/ltsp.seed
654 100% 10.47kB/s 0:00:00 (xfer#1972, to-check=1/3039)
preseed/ubuntu.seed
617 100% 9.88kB/s 0:00:00 (xfer#1973, to-check=0/3039)
sent 720867899 bytes received 41756 bytes 10680143.04 bytes/sec
total size is 720592331 speedup is 1.00
recieved on stderr:
adding distros
avoiding symlink loop
scanning /var/www/cobbler/ks_mirror/ubuntu10.10/install for distro signature
scanning /var/www/cobbler/ks_mirror/ubuntu10.10 for distro signature
found content (breed=ubuntu) at /v
Exception occured:
Exception value: 'Unsupported OS breed ubuntu'
Exception Info:
File "/usr/lib/python2.7/site-packages/cobbler/utils.py", line 123, in die
raise CX(msg)
Exception occured:
Exception value: 'Unsupported OS breed ubuntu'
Exception Info:
File "/usr/lib/python2.7/site-packages/cobbler/remote.py", line 95, in run
rc = self._run(self)
File "/usr/lib/python2.7/site-packages/cobbler/remote.py", line 224, in runner
self.logger
File "/usr/lib/python2.7/site-packages/cobbler/api.py", line 659, in import_tree
return importer.run()
File "/usr/lib/python2.7/site-packages/cobbler/action_import.py", line 215, in run
os.path.walk(self.path, self.distro_adder, distros_added)
File "/usr/lib64/python2.7/posixpath.py", line 233, in walk
walk(name, func, arg)
File "/usr/lib64/python2.7/posixpath.py", line 225, in walk
func(arg, top, names)
File "/usr/lib/python2.7/site-packages/cobbler/action_import.py", line 554, in distro_adder
adtls.append(self.add_entry(dirname,kernel,initrd))
File "/usr/lib/python2.7/site-packages/cobbler/action_import.py", line 580, in add_entry
importer = import_factory(dirname,self.path,self.breed,self.logger)
File "/usr/lib/python2.7/site-packages/cobbler/action_import.py", line 870, in import_factory
utils.die(logger, "Unsupported OS breed %s" % breed)
File "/usr/lib/python2.7/site-packages/cobbler/utils.py", line 131, in die
raise CX(msg)
!!! TASK FAILED !!!
[root@mofo ubuntu]# init 0
[root@mofo ubuntu]# Connection to 10.108.9.164 closed by remote host.
Tuesday, March 8, 2011
subscribed to cobbler mailing list
Getting bored of reading the ducumentation. the man page is quite good though. Joined the mailing list over at the cobbler mailing list
Posted from GScribble.
Posted from GScribble.
Sunday, March 6, 2011
Setting up cobbler server
To generate a password fir cobbler have no fear. For you can run this command just so lon as it is installed..
Now just dump the top line into /etc/cobber/settings with an editor like vim.
Then to get the settings recognised, (yes, you guessed it, I am a Brit).
Posted from GScribble.
I won't bother you with the majority of the output but from this example, the server that I am setting cobbler up on just gives info about the firewall..
... and I can deal with that with iptables
openssl passwd -1 salt 'b00jahyaakakaka' 'blah'
$1$V6lXFJJt$ErF4PU8GwEKHYQlbNE0Kl0
$1$j6HJYcMI$jxgNB4wYd5DG0ttMxk2Vg1
$1$GlxYrcwC$LPzvraBpP.AGi1PLRZTr50
Now just dump the top line into /etc/cobber/settings with an editor like vim.
Then to get the settings recognised, (yes, you guessed it, I am a Brit).
service httpd reload && service cobblerd restart && cobbler sync && cobbler check
Posted from GScribble.
I won't bother you with the majority of the output but from this example, the server that I am setting cobbler up on just gives info about the firewall..
*** TASK COMPLETE ***
The following are potential configuration items that you may want to fix:
1 : since iptables may be running, ensure 69, 80, and 25151 are unblocked
Restart cobblerd and then run 'cobbler sync' to apply changes.
... and I can deal with that with iptables
./convirt-tool --help
[root@mofo scripts]# ./convirt-tool --help
./convirt-tool: unrecognized option '--help'
Provides 2 steps to install dependencies and setup
1) ./convirt-tool install_dependencies
This will install dependencies like ssh,socat,expect etc.
2) ./convirt-tool [switch [switch ..]] setup
Switch option is not mandatory, default is --all.
Switch can be from one of the following:
--detect_only : only detect distribution and virtualization platform,
Do not make changes.
--firewall : configure firewall.
--xen_config : configure xend server.
--xen_ssl : configure xend server in SSL mode.
--bridge : setup bridge for each physical interface.
--nw_service : setup network service during system boot.
--all : all required setup for KVM or Xen.
--skip_firewall : Skip firewall related changes
--skip_bridge : Skip bridge related changes
--skip_nw_service : Skip network service setup during boot
--use_native_bridge : Use OS specific bridge setup (Recommended for Xen on SLES)
--dom0_mem : Sets the memory of Domain-0(in MB)
-h : help
red hat virt guide(pdf)
wget http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/pdf/Virtualization/Red_Hat_Enterprise_Linux-5-Virtualization-en-US.pdf
Saturday, March 5, 2011
virt-install grrism
virt-install c2.xml --extra "ks=http://192.168.122.10/anaconda.ks" \
--name c2-www \
--ram 512 \
--disk path=/home/jayeola/virt/c2.img, size 5G
ERROR --extra-args only work if specified with --location
grrr!
Friday, March 4, 2011
building my kickstart server
building my kickstart server, virtually.
virt-install --name c1 --ram 512 --vcpus 2 --disk path=c1.img,size=5 --cdrom ~/g00/sys/isoImages/rpm/centos/CentOS-5.5-x86_64-bin-DVD-1of2.iso
ruby-libvirt mailing list
I want to download the mailing list archive and read it later
let's see if we can remember to actually read it.
wget --mirror https://www.redhat.com/archives/libvir-list/
let's see if we can remember to actually read it.
Thursday, March 3, 2011
mplayer issues (libglut)
So you think that you have installed mplayer....
... but when you fire it up you get an err like this
All you have to do is install another package. A missing dependency, perhaps?
Just install freeglut.i686 and you are good to go!
which mplayer
/usr/bin/mplayer
... but when you fire it up you get an err like this
mplayer: error while loading shared libraries: libglut.so.3: cannot open shared object file: No such file or directory
All you have to do is install another package. A missing dependency, perhaps?
yum search glut
Not loading "blacklist" plugin, as it is disabled
Not loading "whiteout" plugin, as it is disabled
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Config time: 0.026
Yum Version: 3.2.28
Setting up Package Sacks
pkgsack time: 0.571
rpmdb time: 0.000
tags time: 0.006
================================ Matched: glut =================================
freeglut.i686 : A freely licensed alternative to the GLUT library
freeglut-devel.i686 : Freeglut developmental libraries and header files
mingw32-freeglut.noarch : Fedora MinGW alternative to the OpenGL Utility Toolkit
: (GLUT)
ghc-GLUT.i686 : Haskell GLUT library
ghc-GLUT-devel.i686 : Haskell GLUT library development files
ghc-GLUT-prof.i686 : Profiling libraries for Haskell GLUT library
hugs98-glut.i686 : GLUT package for Hugs98
taoframework-freeglut.i686 : The Tao Framework for Mono, freeglut Bindings
taoframework-freeglut-devel.i686 : The Tao Framework for Mono, freeglut Bindings
: development files
PyOpenGL.noarch : Python bindings for OpenGL
alleggl.i686 : OpenGL support library for Allegro
fltk.i686 : C++ user interface toolkit
perl-OpenGL.i686 : Perl OpenGL bindings
rubygem-ruby-opengl.i686 : OpenGL Interface for Ruby
Just install freeglut.i686 and you are good to go!
Wednesday, March 2, 2011
Fedora 14 - HP Elite 2530p
I got this laptop from some dude on gumtree.
It's small, light and has an extended battery. Golly, I even get five hours of the thing. The ooooooooonly issue was getting the wireless driver to work. Typically it's easy to install the firmware for the wireless thingy.
First off, let's see what wireless thang we have.
it's that last line. This device needs firmware - grrr!
Well there you go. It's all the in one simple line. Just visit the URL and follow the instructions. You don't even need to reboot the laptop once the driver has been installed. Just hit the wifi button along the top of the keyboard and you'll see the network manager icon, swirling around as it detects local wireless networks, if any.
dmidecode | grep -i hp
Product Name: HP EliteBook 2530p
String 3: www.hp.com
It's small, light and has an extended battery. Golly, I even get five hours of the thing. The ooooooooonly issue was getting the wireless driver to work. Typically it's easy to install the firmware for the wireless thingy.
First off, let's see what wireless thang we have.
lspci | grep -i net
00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit Network Connection (rev 03)
02:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)
it's that last line. This device needs firmware - grrr!
dmesg | grep http
[ 18.678999] b43-phy0 ERROR: You must go to http://wireless.kernel.org/en/users/Drivers/b43#devicefirmware and download the correct firmware for this driver version. Please carefully read all instructions on this website.
Well there you go. It's all the in one simple line. Just visit the URL and follow the instructions. You don't even need to reboot the laptop once the driver has been installed. Just hit the wifi button along the top of the keyboard and you'll see the network manager icon, swirling around as it detects local wireless networks, if any.
google-chrome browser fedora 14 64 bit
- visit http://www.google.com/chrome/eula.html
- download the 64-bit rpm for fedora
- yum install redhat-lsb.x86_64 -y
- rpm -U google-chrome-stable_current_x86_64.rpm
check that the rpm has been installed
which google-chrome
if you see anything like the output shown below then you are good to go!
/usr/bin/google-chrome
Subscribe to:
Posts (Atom)