Skip to main content

Posts

Showing posts from November, 2011

Maven + (Spring + Hibernate) Annotation + MySql Example

Maven + (Spring + Hibernate) Annotation + MySql Example Published:  March 31, 2010  , Updated:  April 22, 2011  , Author: mkyong Download It –  Spring-Hibernate-Annotation-Example.zip In  last tutorial , you use Maven to create a simple Java project structure, and demonstrate how to use Hibernate in Spring framework to do the data manipulation works(insert, select, update and delete) in MySQL database. In this tutorial, you will learn how to do the same thing in Spring and Hibernate annotation way. Prerequisite requirement - Installed and configured Maven, MySQL, Eclipse IDE. The  javaee.jar  library is required as well, you can get it from j2ee SDK, and include it manually, there is no full version of  javaee.jar  available in any of the Maven repository yet. Final project structure Your final project file structure should look exactly like following, if you get lost in the folder structure creation, please...

Install KVM on Fedora 15

KVM support is pre-built into the Fedora Linux kernel for Fedora release 7 and later. As a result KVM support is already available in the standard kernel negating the need to install and boot from a special kernel. The tools required to setup and maintain virtualized system are not, however,  installed  by default. To fully utilize the KVM support built into the kernel the following packages are required: qemu-kvm virt-manager virt-viewer python-virtinst Check to find out if these packages are already installed on your system by running the following commands: rpm -q qemu-kvm virt-manager virt-viewer python-virtinst If any of these packages are reported as  not installed  they may be installed using the  yum  package manager: su - yum install qemu-kvm virt-manager virt-viewer python-virtinst The packages required to implement virtualization can change from one Fedora release to the next. To avoid the necessity to know the exact packa...

How can I install MS Windows fonts on Fedora 15?

This is slightly modified from the instructions found  here  (and I haven't even checked if they work): Install the  chkfontpath package  from ATrpms (Click on either the i686 or x86_64 package, depending on whether you have a 32-bit or 64-bit machine). As root , install some packages you'll need for the following steps: yum install rpm-build cabextract ttmkfdir wget Download the MS Core Fonts Smart Package File: wget http://corefonts.sourceforge.net/msttcorefonts-2.0-1.spec Build the Core Fonts package: rpmbuild -ba msttcorefonts-2.0-1.spec Install the Core Fonts package: yum install --nogpgcheck /root/rpmbuild/RPMS/noarch/msttcorefonts-2.0-1.noarch.rpm Link: http://unix.stackexchange.com/questions/13720/how-can-i-install-ms-windows-fonts-on-fedora-15