Changes

From Amahi Wiki
Jump to: navigation, search
no edit summary
Create a New VM, then choose <b>Other install Media Template</b>. Name the machine without spaces, choose to install from DVD drive where you have the Amahi 7.1 express disk located. Place on your XenServer and choose CPU and RAM. A recommended minimum would be 1 CPU, 2048 MB RAM. Now add a virtual disk. For better performance you should have a separate drive or drive pool for each VM you create. To start, create a 500 GB or larger VDI and move on to the network setup. Again, for better performance, choose a dedicated NIC for each VM. For this tutorial, you can just choose the defaults which is a shared NIC on your XenServer.
Switch to the console tab on the newly created VM and install Amahi 7.1 as per [http://docs.amahi.org/ instructions ] (ensure you have your code and that you let it reboot twice before initializing in browser).
One suggested change from the default Amahi install is to <b>make the boot partition Ext3</b>. While partitioning the hard drive, choose Ext3 rather than Ext4, because ’pygrub’, the XenServer bootloader for the PV mode, can’t read Ext4. If you wish to benefit from Ext4 advantages you could create a /boot partition in Ext3 and the / partition in Ext4.
|}
<!--{{#tag:syntaxhighlight|{{{1}}}}}-->
 
This script will:
<li>convert VM hard drive
</ul>
 
Once you have the script downloaded and unpacked make it executable and run it.
<h3>Install XenServer Tools for linux</h3>
First Use XenCenter Management console to insert the <i>xs-tools.iso </i> in the DVD drive. Then SSH into the Amahi VM (<b>the console will tab may not work until these tools are installed</b>), and execute the following commands.
If you kept your guest VM in <b>HVM mode</b>:
{|style="width: 95%; margin-left: 10px; border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #aaa"
!style="color:#777; background-color:#dfd;text-align:left"|{{{lang|{{{2|bash}}}}}} code
If you converted your guest VM into <b>PV mode</b>;
{|style="width: 95%; margin-left: 10px; border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #aaa"
!style="color:#777; background-color:#dfd;text-align:left"|{{{lang|{{{2|bash}}}}}} code
Note: if you are having trouble reaching your apps from the dashboard, you may need to run this command on the HDA:
</i>
{|style="width: 95%; margin-left: 10px; border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #aaa"!style="color:#777; background-color:#dfd;text-align:left"|{{{lang|{{{2|bash}}}}}} code|-|{{# tag:syntaxhighlight|​{{{Code|yum -y update openssl}}}​|lang={{{lang|{{{2|bash}}}}}}|enclose=none}}|}<!--{{#tag:syntaxhighlight|{{{1}}}}}-->