• Home
  • About
  • Tools Section
  • Templates

Sysadmin Help…

General Computing tutorials, including linux cloud computing and virtualization

Ubuntu 10.04 Template Running on Citrix Xenserver 5.5

Posted by Isaac Zarb on May 3rd, 2010

It’s been a while since i updated the Templates, here comes our new friend Ubuntu 10.04 and it’s running in Pv mode on Xenserver Yep :)

As usual there are a few tweaks that had to be done to the vm for it to work, however this time it is easier then 9.10
If you download my template you do not need to do any changes. however if you update the kernel once your vm is running, then you must tell Xenserver where to find this kernel,
since the new ubuntu uses grub2, xen does not know how to handle this, so instead of pygrub reading the grub.cfg file, we need to specify the kernel and ramdisk manually.
Read the rest of this entry »

Linux, Virtualisation 41 Comments »

Forgot root password on ubuntu and ubuntu 9 running on Citrix Xenserver

Posted by Isaac Zarb on December 10th, 2009

If you have forgotten the password for your ubuntu server, the following steps may help you recover it
On a traditional Pc
BOOT PC

Press ESC at the grub prompt.
Press e to edit the kernel parameters.
Select line that starts kernel ………, press e
Go to the end of line, and add the following:  rw init=/bin/bash
press enter, then press b to boot your system.

Your system will boot up in a single user shell.

Now its time to change your password Read the rest of this entry »

Linux, Security, Virtualisation 3 Comments »

Changing Ip Address on Ubuntu / Debian From Dhcp to Static.

Posted by Isaac Zarb on November 20th, 2009

So we start by editing the /etc/network/interfaces file, I will be using vim, however you can use any editor you like

sudo vim /etc/network/interfaces

Let’s assume you want to do the changes for eth0, you will see these lines:

auto eth0
iface eth0 inet dhcp

As you can see, the server is set to use DHCP right now.
We will change over from dhcp to static, Edit your file to the following

auto eth0
iface eth0 inet static
address 192.168.0.10 (Change this you whatever address you want to specify)
netmask 255.255.255.0 (Use your subnet mask)
network 192.168.0.0 (Your network address)
broadcast 192.168.0.255 (your broadcast address)
gateway 192.168.0.1 (Your default gateway, ip of fw or router)

Save the Changes and exit the editor Read the rest of this entry »

Linux No Comments »

Ubuntu 9.10 X64 Template for Xenserver 5.x

Posted by Isaac Zarb on November 7th, 2009

The Template for Ubuntu 9.10 64Bit is avaliable for download.

Image Is an Ubuntu 9.10 Installation excluding Grub2 and The fs is ext3 instead of Ext4 due to xenserver and pygrub incompatabilities, Make sure that if you use the apt-get update or aptitude update and Upgrade and the kernel is updated, double check the grub config before rebooting, to ensure that the ec2 or a xen kernel has been installed, otherwise you will have to use the xenserver tool xe-edit-bootloader to fix your grub conf.

You can download at one of the following Sources
Vm Details.
Username root
password password
Network set to dhcp

Source 1 or Source 2

Linux, Virtualisation 36 Comments »

Ubuntu 9.10 32Bit For Citrix Xenserver 5.x

Posted by Isaac Zarb on November 7th, 2009

Finally, after a long night of frustration, i have managed to get Ubuntu 9.10 working on xenserver, Basically, i had to leave out the update to grub 2, since the pygrub that comes with xenserver does’ not read Grub2 configs, and it also doesn’t read ext4,
So This image uses the ext3 fs, and the normal grub, due to limitations on the xenserver side, or you may say ubuntu are very quick to implement the new features,
Read the rest of this entry »

Linux, Virtualisation 21 Comments »

Installing ubuntu 9.04 PV on Citrix Xenserver

Posted by Isaac Zarb on October 8th, 2009

Installing A Xenserver Ubuntu PV vm from scratch

Step 1

1

If installing a x64 os then select the Currently Selected template, if installing the 32bit version then select the one above,

 2

Enter a Vm Name Read the rest of this entry »

Linux, Virtualisation 3 Comments »

Setting up Django with mod_wsgi and Apache

Posted by Isaac Zarb on September 11th, 2009

Configuring Django to use Apache and mod_wsgi

To install apache look at this post

Step 1, download and install the latest version of mod_wsgi

Wget http://modwsgi.googlecode.com/files/mod_wsgi-2.5.tar.gz

Always try to get the latest version from here

Tar –xzvf  mod_wsgi-2.5.tar.gz
cd mod_wsgi-2.5.tar.gz
./configure –with-apxs=/path/to/apache/bin/apxs
Read the rest of this entry »

Linux 1 Comment »

Installing Postgres 8.3x Latest on Centos 5 with yum

Posted by Isaac Zarb on July 27th, 2009

Install postgresql on centos the quick and easy way

First we download and install the yum package:

rpm -ivh http://yum.pgsqlrpms.org/reporpms/8.3/pgdg-centos-8.3-6.noarch.rpm
yum -y postgresql-libs \
postgresql-devel \
postgresql \
postgresql-server \
postgresql-contrib
Read the rest of this entry »

Linux No Comments »

Mount a windows share on linux

Posted by Isaac Zarb on July 27th, 2009

How can i mount a windows share on my linux box?
this is quite simple

mount -t cifs -o username=yourusername,password=yourpassword
//path/onwindows/server/ /your/linux/mountpoint/

This command lets you mount the network share on the fly,
to unmount use:
umount /your/linux/mountpoint/

To make the mountpoint permanent you have to add the following entry to your /etc/fstab

//path/onwindows/server/ /your/linux/mountpoint/ smbfs defaults,rw,noauto,username=yourusername,password=yourpass 0 0

Read the rest of this entry »

Linux No Comments »

Apache Log Format

Posted by Isaac Zarb on July 22nd, 2009

The LogFormat directive is used to define a log format, and a friendly name refering to that format.

example, in the httpd.conf file, you’ll find:

LogFormat “%h %l %u %t \”%r\” %>s %b” common
This directive creates a log format called “common”, which is in the format specified in quotes. Each one of those letters means a particular piece of information, which is written in the log file in the order indicated.
Read the rest of this entry »

Linux No Comments »
Previous Entries
  • Log In

    • Register
    • Lost your password?
  • Recent Posts

    • Revoking a Citrix License
    • Xendesktop 5.5 Special Folder Access with Xenapp 6.5
    • Xenserver VM Stuck in shutdown (orange icon)
    • Citrix Release Xenserver 5.6 Sp2
    • Citrix Release Xendesktop 5 Sp1
  • Tags

    *nix commands apache bash commands chmod chown citrix citrix xenserver Citrix xenserver ubuntu x64 64bit xen template image compile apache compile php source create your own vm dvd maker no dvd drive find size files linux centos grep httpd install ip address change ubuntu server Karmic Koala Karmic Koala Citrix Karmic Koala Xenserver Linux linux command line programs linux permissions Mount windows cifs linux mount windows share rhel mount windows share ubuntu pgsql on centos php postgres latest install centos postgresq on rhel centos set ip permanent ubuntu ubuntu Ubuntu 9.10 Ubuntu 9.10 64Bit ubuntu 9.10 Citrix xenserver Ubuntu 9.10 password reset Ubuntu 9.10 X64 ubuntu 9.10 xenserver Ubuntu ip static ubuntu pv windows 7 windows 7 dvd maker windows 2008 r2 Windows dvd maker no dvd found xenserver 5.5
  • Categories

    • Firewalls
    • Linux
    • News
    • Security
    • Uncategorized
    • Virtualisation
    • Windows
  • Recent Comments

    • Topidop on Realtek Front Panel Jack not working On windows 7
    • james on Ubuntu 10.04 Template Running on Citrix Xenserver 5.5
    • Prashant Ramhit on Ubuntu 10.04 Template Running on Citrix Xenserver 5.5
    • Sig on Ubuntu 10.04 Template Running on Citrix Xenserver 5.5
    • turitopa on Installing ubuntu 9.04 PV on Citrix Xenserver

  • Recent Posts

    • Revoking a Citrix License
      01-19-2012
    • Xendesktop 5.5 Special Folder Access with Xenapp 6.5
      12-15-2011
    • Xenserver VM Stuck in shutdown (orange icon)
      05-27-2011
    • Citrix Release Xenserver 5.6 Sp2
      05-26-2011
    • Citrix Release Xendesktop 5 Sp1
      05-26-2011

    Recent Comments

    • Topidop: Hi there! what should I do if I don't have the yellow folder...
    • james: It was very easy to import the VM and get it running. But, t...
    • Prashant Ramhit: So as NOT to upgrade grup-py,when doing apt-get upgade, hold...
    • Sig: I can't import your template, it gives an error that its not...
    • turitopa: Looks interesting...can you help me do this with EFW 2.3 com...

    Meta

    • Register
    • Log in
    • Entries RSS
    • Comments RSS
    • Sun Servers
    • WordPress
    • Valid XHTML