Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts
Monday, October 10, 2011
pxe boot on KVM
Fedora:
http://forums.fedoraforum.org/archive/index.php/t-198552.html
Debin:
http://box.matto.nl/kvmpxe.html
Ubuntu Lucid:
http://mrpointy.wordpress.com/2010/05/03/pxe-boot-kvm-guests/
Monday, February 16, 2009
Install Xen3.3 on CentOS5 and ubuntu
A more complete version is here:
http://driverentry.spaces.live.com/blog/cns!8F8079B325833D71!867.entry
Ref:
Ubuntu:
http://www.howtoforge.com/ubuntu-8.04-server-install-xen-from-ubuntu-repositories
http://bderzhavets.blogspot.com/2008/05/install-opensolaris-200805-domu-at.html
http://bderzhavets.wordpress.com/2008/11/13/backport-intrepid-xen-33-hypervisor-at-ubuntu-hardy-dom0-2624-21-xen/
CentOS 5
http://robinbowes.com/article.php/20081023014423777
http://bderzhavets.blogspot.com/2008/08/install-xen-3.html
http://book.xen.prgmr.com/mediawiki/index.php/3.3
Comiple xen 3.3 on CenOS 5
Ref: http://www.nikhef.nl/pub/projects/grid/gridwiki/index.php/Xen_on_CentOS_5_-_Notes
1. download two tar files from xen.org
2. Install mercurial src code version manager
wget http://www.selenic.com/mercurial/release/mercurial-0.9.5.tar.gz
tar xvfz mercurial-0.9.5.tar.gz
cd mercurial*
make install
export PYTHONPATH=/usr/local/lib/python2.4/site-packages:${PYTHONPATH}
(if not export that environment variable, you will get an error as this: ImportError: No module named mercurial).
3. Install prerequested packages:
( for i386 version, replace x86_64 with i386)
4. tar xzf xen*, cd xen*, make world
5. cd dist, sh ./install.sh
6. disable tls:
Put this in /etc/ld.so.conf.d/xen.conf:
# This directive teaches ldconfig to search in nosegneg subdirectories
# and cache the DSOs there with extra bit 0 set in their hwcap match
# fields. In Xen guest kernels, the vDSO tells the dynamic linker to
# search in nosegneg subdirectories and to match this extra hwcap bit
# in the ld.so.cache file.
hwcap 0 nosegneg
Note that the file name _must_ end ".conf". When you've done that, run
/sbin/ldconfig and reboot. The problem should go away.
7. reboot
Last updated: 12.8.2009
http://driverentry.spaces.live.com/blog/cns!8F8079B325833D71!867.entry
Ref:
Ubuntu:
http://www.howtoforge.com/ubuntu-8.04-server-install-xen-from-ubuntu-repositories
http://bderzhavets.blogspot.com/2008/05/install-opensolaris-200805-domu-at.html
http://bderzhavets.wordpress.com/2008/11/13/backport-intrepid-xen-33-hypervisor-at-ubuntu-hardy-dom0-2624-21-xen/
CentOS 5
http://robinbowes.com/article.php/20081023014423777
http://bderzhavets.blogspot.com/2008/08/install-xen-3.html
http://book.xen.prgmr.com/mediawiki/index.php/3.3
Comiple xen 3.3 on CenOS 5
Ref: http://www.nikhef.nl/pub/projects/grid/gridwiki/index.php/Xen_on_CentOS_5_-_Notes
1. download two tar files from xen.org
2. Install mercurial src code version manager
wget http://www.selenic.com/mercurial/release/mercurial-0.9.5.tar.gz
tar xvfz mercurial-0.9.5.tar.gz
cd mercurial*
make install
export PYTHONPATH=/usr/local/lib/python2.4/site-packages:${PYTHONPATH}
(if not export that environment variable, you will get an error as this: ImportError: No module named mercurial).
3. Install prerequested packages:
yum install \
gcc make zlib-devel zlib python-devel curses libncurses-devel ncurses-devel openssl openssl-devel \
`yum search xorg-x11|grep dev|grep x86_64|awk -F . '{print $1}'` \
bridge-utils tetex tetex-latex transfig libtool-ltdl dev86 glibc-devel
( for i386 version, replace x86_64 with i386)
4. tar xzf xen*, cd xen*, make world
5. cd dist, sh ./install.sh
6. disable tls:
Put this in /etc/ld.so.conf.d/xen.conf:
# This directive teaches ldconfig to search in nosegneg subdirectories
# and cache the DSOs there with extra bit 0 set in their hwcap match
# fields. In Xen guest kernels, the vDSO tells the dynamic linker to
# search in nosegneg subdirectories and to match this extra hwcap bit
# in the ld.so.cache file.
hwcap 0 nosegneg
Note that the file name _must_ end ".conf". When you've done that, run
/sbin/ldconfig and reboot. The problem should go away.
7. reboot
Last updated: 12.8.2009
Install IE on Ubuntu
http://www.howtoforge.com/how-to-install-internet-explorer-on-ubuntu8.04
http://yourubuntulinux.blogspot.com/2007/12/how-to-install-ie4linux-on-ubuntu-710.html
http://www.linuxine.com/2008/02/guide-for-installing-ie4linux-on-ubuntu.html
http://www.ubuntugeek.com/running-internet-explorer-in-ubuntu-linux.html
http://yourubuntulinux.blogspot.com/2007/12/how-to-install-ie4linux-on-ubuntu-710.html
http://www.linuxine.com/2008/02/guide-for-installing-ie4linux-on-ubuntu.html
http://www.ubuntugeek.com/running-internet-explorer-in-ubuntu-linux.html
Thursday, January 29, 2009
shrink vmware disk file by cloning harddisk
Ref:
shrink disk:
http://kegel.com/linux/jeos-vmware-player/jeos-vmware-player-howto.html
install grub:
http://ubuntuforums.org/showpost.php?p=117829&postcount=2
In summary:
1. install everything on VM1. Then remove unnecessary files.
2. add a second virtual disk.
3. boot from a liveCD,such as Ubuntu desktop 8.0.4
4. partition the second hard disk and copy files to it. (/mnt is the second hard disk)
fdisk /dev/sda (and type 'p' to print the partition table)
fdisk /dev/sdb (and use the n, t, and w commands to recreate the same table)
mkfs.ext3 /dev/sdb1
mount /dev/sdb1 /mnt
cd / (target)
ls egrep -v 'procsyslost.found' > /files.txt
cp -a `cat /files.txt` /mnt
5. Install grub (mbr) to be bootable:
1) Type "grub" in a console
2) Type "root (hd1,0)", or whatever your harddisk + boot partition numbers are (my /boot is at /dev/sdb1, which translates to hd1,0 for grub).
3) Type "setup (hd1)", or whatever your harddisk No. is.
4) Quit grub by typing "quit".
6. shutdown VM. remove the first hard disk.
7. boot.
shrink disk:
http://kegel.com/linux/jeos-vmware-player/jeos-vmware-player-howto.html
install grub:
http://ubuntuforums.org/showpost.php?p=117829&postcount=2
In summary:
1. install everything on VM1. Then remove unnecessary files.
2. add a second virtual disk.
3. boot from a liveCD,such as Ubuntu desktop 8.0.4
4. partition the second hard disk and copy files to it. (/mnt is the second hard disk)
fdisk /dev/sda (and type 'p' to print the partition table)
fdisk /dev/sdb (and use the n, t, and w commands to recreate the same table)
mkfs.ext3 /dev/sdb1
mount /dev/sdb1 /mnt
cd / (target)
ls egrep -v 'procsyslost.found' > /files.txt
cp -a `cat /files.txt` /mnt
5. Install grub (mbr) to be bootable:
1) Type "grub" in a console
2) Type "root (hd1,0)", or whatever your harddisk + boot partition numbers are (my /boot is at /dev/sdb1, which translates to hd1,0 for grub).
3) Type "setup (hd1)", or whatever your harddisk No. is.
4) Quit grub by typing "quit".
6. shutdown VM. remove the first hard disk.
7. boot.
Thursday, January 22, 2009
Wednesday, January 21, 2009
HowTo: Create a list of installed packages for Ubuntu
Ref: http://ubuntuforums.org/showthread.php?t=261366
HowTo: Create a list of installed packages
I found out how to do this recently and thought it might be helpful to some people. To output this information to a file in your home directory you would use,
followed by
HowTo: Create a list of installed packages
I found out how to do this recently and thought it might be helpful to some people. To output this information to a file in your home directory you would use,
dpkg --get-selections > installed-softwareAnd if you wanted to use the list to reinstall this software on a fresh ubuntu setup,
dpkg --set-selections
followed by
dselect
Tuesday, January 20, 2009
Install Flash player on Ubuntu 8.04 server
1. apt-get install libcurl3
2. download xx-flash.deb from adobe website.
3. dpkg -i xx-flash.deb (if not installed libcurl3, this cmd will show the error).
done
2. download xx-flash.deb from adobe website.
3. dpkg -i xx-flash.deb (if not installed libcurl3, this cmd will show the error).
done
Thursday, December 11, 2008
Install acrobat reader plugin for firefox on Ubuntu
1. Enable medibuntu repo.
cmd:
sudo wget http://www.medibuntu.org/sources.list.d/hardy.list --output-document=/etc/apt/sources.list.d/medibuntu.list
link: https://help.ubuntu.com/community/Medibuntu
2.Update the source list using the following command
cmd:
sudo wget http://www.medibuntu.org/sources.list.d/hardy.list --output-document=/etc/apt/sources.list.d/medibuntu.list
link: https://help.ubuntu.com/community/Medibuntu
2.Update the source list using the following command
sudo apt-get update
Install acrobat reader with firefox plugin in Ubuntu
sudo apt-get install acroread mozilla-acroread acroread-plugins
ref: http://www.ubuntugeek.com/how-to-install-adobe-pdf-reader-with-plug-in-for-mozilla-firefox-in-feisty-fawn.html
Monday, December 8, 2008
Install sound driver in Ubuntu Server
1) Need to install alsa related packages:
apt-get install alsa-utils
2) apt-get install aumix
3) reboot the linux
4) use aumix to increase the volume to maximum
apt-get install alsa-utils
2) apt-get install aumix
3) reboot the linux
4) use aumix to increase the volume to maximum
Tuesday, November 4, 2008
build vmware tools for Ubuntu guest
sudo apt-get install build-essential
sudo apt-get install linux-headers-$(uname -r)reference:
http://blogs.tech-recipes.com/johnny/2006/09/05/installing-vmware-tools-for-ubuntu-linux/
Subscribe to:
Posts (Atom)