Showing posts with label fedora. Show all posts
Showing posts with label fedora. Show all posts

Thursday, December 6, 2012

A picture worth 1000 MB

So many things about this picture make me happy, thanks to http://spot.fedorapeople.org/steam/ for the repo to make steam client installation painless.

Friday, May 21, 2010

Converting kvm guests from lvm to qcow2, base images and snapshots

lvm based kvm guests are fast but you lose some flexibility, playing with fedora/kvm on my laptop I prefer to use file based images. Converting from lvm images to qcow2 isn't hard but the documentation is sparse.

1. use qemu-img to convert from an lvm to qcow2 format:
qemu-img convert -O qcow2 /dev/vg_name/lv_name/ /var/lib/libvirt/images/image_name.qcow2
If you want the image compressed add '-c' right after the word convert.

2. edit the xml for the image
virsh edit image_name
modify the disk stanza, adding a type to the driver line; on the source line change 'dev' to 'file' and modify the path:
driver name='qemu' type='qcow2'
source file='/var/lib/libvirt/images/image_name.qcow2'

Creating images from with a base image allows quick rollouts of many boxes based on an single install - for example I have a 'golden image' of centos, I can stop that VM and create 2 servers using the original VM disk as a base file and writing changes to different files.
qemu-img create -b original_image.qcow2 -f qcow2 clone_image01.qcow2
qemu-img create -b original_image.qcow2 -f qcow2 clone_image02.qcow2

Taking this further I can then snapshot both images so once I start making changes, rolling back to a point in time prior to the changes is very easy:
qemu-img snapshot -c snapshot_name vm_image_name.qcow2

references:
http://www.linux-kvm.com/content/how-you-can-use-qemukvm-base-images-be-more-productive-part-1

Wednesday, March 4, 2009

Lotus Notes 8.5 on Fedora 10 x86_64

32-bit packages required for notes 8.5 to work on Fedora 10 x86_64. Notes will install fine without these but will not run.

libxkbfile-1.0.4-5.fc9.i386
libgnomecanvas-2.20.1.1-4.fc10.i386
libgnomeprint22-2.18.5-1.fc10.i386
libgnomeprintui22-2.18.3-1.fc10.i386
gnome-vfs2-2.24.0-3.fc10.i386
libgnome-2.24.1-9.fc10.i386
libgnomeui-2.24.0-2.fc10.i386
libXScrnSaver-1.1.3-1.fc10.i386
libcanberra-gtk2-0.10-3.fc10.i386
gtk-nodoka-engine-0.7.2-1.fc10.i386

Of course installing these also carries a lot of dependency baggage.

And a handy one liner:
sudo yum -y install libxkbfile-1.0.4-5.fc9.i386 libgnomecanvas-2.20.1.1-4.fc10.i386 libgnomeprint22-2.18.5-1.fc10.i386 libgnomeprintui22-2.18.3-1.fc10.i386 gnome-vfs2-2.24.0-3.fc10.i386 libgnome-2.24.1-9.fc10.i386 libgnomeui-2.24.0-2.fc10.i386 libXScrnSaver-1.1.3-1.fc10.i386 libcanberra-gtk2-0.10-3.fc10.i386

Wednesday, January 28, 2009

ardour vsti support

To enable vsti support in ardour you must compile it from source, this has to do with licensing of the steinberg vst sdk. Here are my basic instructions for doing this on Fedora 10, note that I have already installed the ccrma repository and kernel as well as many packages referenced in my earlier post.

cd ~/Download/ && wget http://releases.ardour.org/ardour-2.7.1.tar.bz2

bunzip2 ardour-2.7.1.tar.bz2 && tar xf ardour-2.7.1.tar && cd ardour-2.7.1

get vst2.3 zip from steinberg, put in ~/Download/ardour-2.7.1/libs/fst

yum install liblrdf-devel libgnomecanvas-devel aubio-devel fftw-devel libsxlt-devel gcc-c++ boost-devel

cd ~/Download/ardour-2.7.1/
scons VST=1
scons install

Monday, July 21, 2008

Fedora Multimedia Workstation

My default Fedora 10 install packages plus ccrma repos and meta package/kernel for low latency audio workstation with windows vsti's. With this setup I can run an alesis trigger io and trigger samples in XLN Audio Addictive Drums without having to run windows, plus I get SUPER low latency with low cost sound cards (even onboard is below 3ms), currently running a turtle beach riviera on an old Pentium 4 and getting 1.6ms

# setup yum repos
sudo rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm \
http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm \
http://rpm.livna.org/livna-release-9.rpm \
http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm

# install apps
sudo yum -y install bash-completion nautilus-open-terminal gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer-ffmpeg k3b-extras-freeworld lame easytag mplayer gnome-mplayer gecko-mediaplayer mencoder libdvdcss flash-plugin AdobeReader_enu clusterssh compat-libstdc++-33 gcc wine wine-devel grip unrar vnc

# 64-bit flash support
yum install flash-plugin nspluginwrapper.x86_64 nspluginwrapper.i386 alsa-plugins-pulseaudio.i386 libcurl.i386

# nvidia driver
sudo yum -y install akmod-nvidia

# ati driver
sudo yum -y install akmod-fglrx

# ccrma repos add extra audio workstation tools and includes the low latency kernel
sudo rpm -Uvh http://ccrma.stanford.edu/planetccrma/mirror/fedora/linux/planetccrma/10/i386/planetccrma-repo-1.1-2.fc10.ccrma.noarch.rpm

# meta package for all major ccrma apps, this is a LARGE compilation and will take a while to download on a slow connection! (in my case 259mb with dependencies)
sudo yum -y install planetccrma-apps

# low latency kernel, first step is to allow Fedora to keep more kernels which can be done by changing the 'installonly_limit=3' line to 'installonly_limit=0', then running the following command
sudo yum -y install planetccrma-core

# get rid of "Could not load Mozilla. HTML rendering will be disabled." when running wine
wine iexplore http://www.winehq.com

Thursday, June 5, 2008

Installing projectM with amarok support on Fedora 8

I wanted projectM to work with amarok on my Fedora 8 box... I had done it before but didn't remember the exact steps...

Dependencies: projectM isn't in the standard fedora or livna repos so we have to compile, because compiling doesn't automagically install requisite software like yum does we need to have some packages pre-installed. This list is probably not complete but it's what I had to add (plus dependencies for these packages which are handled by yum):
pulseaudio-libs-devel amarok-visualisation, qt4-devel, cmake, ftgl-devel, glew-devel and subversion

# sudo yum -y install pulseaudio-libs-devel amarok-visualisation qt4-devel cmake ftgl-devel glew-devel subversion

Next we need to download projectM from sourceforge, I like to install the latest bleeding edge software since it generally causes me more pain so I chose the to go with the latest branch from subversion:

# mkdir ~/Download/projectM && cd ~/Download/projectM
# svn co https://projectm.svn.sf.net/svnroot/projectm/trunk projectM-Trunk
# cd projectM-Trunk/src
# ccmake .
cmake loads. press 'c' to configure: change CMAKE_BUILD_TYPE to 'Release' and CMAKE_INSTALL_PREFIX to /usr/
press 'c' again to configure and g to generate makefile

Time to compile:
# make && sudo make install

Now 'projectM-pulseaudio' should be in your Applications ->Video menu (if your using gnome) and it will bump along to any sounds that are playing through pulse. If you have amarok open just restart it and you can launch it from the visualizations menu!

I can't get it to play nice with compiz on an ati card running dual monitors, but with compiz turned off it's fine.

I ripped off a bunch of this from the ubuntu forum (thanks!):
http://ubuntuforums.org/showthread.php?t=749793
as well as the projectM page itself:
http://projectm.wiki.sourceforge.net/Installation+Instructions

Friday, December 7, 2007

Fedora 8 and Lotus Notes 8 - Java issues!

I finally got around to installing Fedora 8 on my laptop after spending all last week in Dallas at LISA '07 and I am still ironing out some issues (compiz i'm looking in your direction). One thing I have solved is the Lotus 8 installer failing! Essentially the problem boils down to incompatibilities between Sun's Java and F8 - I noticed on the mjmwired page that to use sun java a patch needed to be applied to libmawt.so, and I knew that the lotus installer was using a packaged version of java that was extraced at install time so....
$ cd /home/nate/Desktop/lotus\ 8/
$ sudo ./setup.sh
When the installer runs you will see

Initializing Wizard........
Extracting Bundled JRE.

then

Initializing Wizard........
Installing Bundled JRE.

then

Initializing Wizard........
Verifying JVM.

at this stage (or at Extracing Installation Archive.) press ctrl-z to pause and background the process
$ cd /tmp/istemp{randomnumbershere}/_bundledJRE_/jre
$ for i in `find ./ -name libmawt.so` ; do echo "Found $i, applying patch..." ; \
sudo sed -i 's/XINERAMA/FAKEEXTN/g' $i ; done
$ fg
From this point the installer *should* work correctly and Lotus 8 will install! of course your mileage may vary... let me know if this helps you!

Noticed another possible problem with Notes 8 on Fedora - Incorrect permissions on ~/lotus directory causing lotus to fail to start after a successful installation. To fix that simply remove the folder and start notes again.


Powered by ScribeFire.