Use the following procedure to install JeOS as VM Guest on a prepared VM Host Server:
Download the tar archive of JeOS to your VM Host Server system.
Unpack the archive with the command:
tar xf <archive_name>
Depending on the architecture used, the name can differ.
Create a directory for the virtual machine image. Select a name appropriate for your environment, e.g. jeos-1:
mkdir -p /var/lib/xen/images/jeos-1
Change the name of the directory according to the name of the VM Guest you want to install.
Copy the raw JeOS image to that directory. In the following example, the image name is SLE10-SP3-JeOS-xen.x86_64.raw:
cp SLE10-SP3-JeOS-xen.x86_64.raw /var/lib/xen/images/jeos-1/jeos-1.raw
Copy the Xen configuration file SLE10-SP3-JeOS-xen.x86_64.xenconfig to the standard configuration directory of Xen:
cp SLE10-SP3-JeOS-xen.x86_64.xenconfig /etc/xen/vm/jeos-1
Edit the configuration file /etc/xen/vm/jeos-1 and accomplish the following tasks:
Change the name to jeos-1
Change the path of the raw JeOS image according to the following line (please do not insert linebreaks):
disk=[ "tap:aio:/var/lib/xen/images/jeos-1/jeos-1.raw,xvda,w" ]
Add the following line to gain network access over the bridge br0:
vif=[ 'bridge=br0', ]
Load the configuration file into the Xend to get a managed domain:
xm create -f /etc/xen/vm/jeos-1
Check, that the guest appears in the virtual machine manager with name
jeos-1
and status Shutoff
.
Start the VM Guest for the first time with the command:
xm start -c jeos-1
With this command, you the console of the VM Guest is connected to your local console, which is required during the first boot to accept the license.
When prompted for acceptance of the license, read through the text and
answer with yes
.
After this procedure is finished, the VM Guest is managed by Xend. To start or shutdown the guest, it is sufficient to use the commands:
xm start jeos-1 xm shutdown jeos-1
The JeOS VM Guest can also be managed with the Virtual Machine Manager (VMM). Note, that by default, JeOS does not handle the framebuffer console, and thus you will not be able to get access to a login prompt over VNC.
To log into the system, use the following credentials:
|
Username: |
root |
|
Password: |
linux |
IMPORTANT: The default JeOS installation does not provide remote console access. Before you activate ssh to open remote access, change the default password with the command:
passwd
The only supported keyboard language of a default JeOS is english. Please consider this when selecting a password.
Activate the ssh server with the command:
rcsshd start
To start the ssh service during system startup, run the command:
insserv sshd
In order to get easy access to maintenance updates, the JeOS system must be registered with the Novell Customer Center (NCC). For more details about NCC, see http://www.novell.com/documentation/ncc/.
To register JeOS, you need to prepare your email address as well as the registration code for JeOS. Then run the commands:
suse_register -a email=your_email -a regcode-sles=your_registration_code zypper refresh
During the first refresh you will have to accept the SuSE Package Signing Key.
If you want to remove your registration data from the system, use the command:
cleanupRegistration
By default, JeOS does not provide a lot of functionality. To run arbitrary services on JeOS, more than the default installed software is needed.
To setup a network installation source, follow the desriptions found at http://www.novell.com/documentation/sles10/sles_admin/data/sec_deployment_remoteinst_instserver.html.
This installation source must then be made available to zypper, the command line interface for managing installed software. To add a repository, run:
zypper addrepo URI Alias
To install a package from a registered repository, run the command:
zypper install package_name
This command will also take care for all dependencies and additionally needed packages.
Details about setting up zypper are found at http://www.novell.com/documentation/sles11/book_sle_admin/data/sec_zypper.html.