<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.amahi.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sc4s2cg</id>
	<title>Amahi Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.amahi.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sc4s2cg"/>
	<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php/Special:Contributions/Sc4s2cg"/>
	<updated>2026-04-11T22:13:41Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=62300</id>
		<title>Installing HDA on HP Mediasmart Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=62300"/>
		<updated>2012-10-29T14:31:47Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: /* Modifying Ubuntu for Amahi */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing your HDA on an old [http://en.wikipedia.org/wiki/HP_MediaSmart_Server HP MediaSmart server], previously used for Windows Home Server, will bring all the benefits of Amahi to the small device. This is only recommended for users who are comfortable with the terminal, or are willing to set up a headless server with VNC. Experienced users may also migrate from a PC server to the MediaSmart server, avoiding installation of a new HDA and all the hassle of backing-up files that occurs with it.&lt;br /&gt;
&lt;br /&gt;
The steps for this tutorial are from [http://dagolav.prestegarden.com/installing-ubuntu-on-the-hp-mediasmart-ex490/ here]. To continue you will require:&lt;br /&gt;
&lt;br /&gt;
* An HP MediaSmart server. [http://www.mediasmartserver.net/wiki/index.php/HP_MediaSmart_Server_Specification This] page provides hardware specifications to compare with any preexisting PC setup.&lt;br /&gt;
* An extra PC&lt;br /&gt;
* A spare hard drive&lt;br /&gt;
* An existing network&lt;br /&gt;
* An SSH solution, like [[Key-based SSH Logins With Putty|Putty]]&lt;br /&gt;
* [http://www.ubuntu.com/download/server Ubuntu Server 12.04 LTS], not the desktop version&lt;br /&gt;
&lt;br /&gt;
==Starting From Scratch==&lt;br /&gt;
===Installing Ubuntu===&lt;br /&gt;
1. Connect the hard drive into the spare PC.&lt;br /&gt;
&lt;br /&gt;
2. Install '''Ubuntu 12.04, the server version'''. I was not able to get the GUI version of Ubuntu working on the MediaSmart server. The GUI version is also not recommended since there is no VGA or DVI ports for a monitor, only USB.&lt;br /&gt;
&lt;br /&gt;
3. Do NOT install Amahi yet.&lt;br /&gt;
&lt;br /&gt;
4. Install an ssh server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo apt-get install openssh-server}}&lt;br /&gt;
&lt;br /&gt;
5. Verify that the SSH is working by connecting with [[Key-based SSH Logins With Putty|Putty]]. If the SSH is not enabled, enable it:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo update-rc.d ssh defaults}}&lt;br /&gt;
&lt;br /&gt;
6. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
7. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
8. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
9. Shutdown the PC:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Installing Amahi===&lt;br /&gt;
1. Move the hard drive to the MediaSmart server's slot 1, turn on the server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. [http://docs.amahi.org/ubuntu-12.html Install Amahi]&lt;br /&gt;
&lt;br /&gt;
===Modifying Ubuntu for Amahi===&lt;br /&gt;
1. After rebooting and SSHing into the server, [[Binding Network Devices|change the network card to eth0]] from our previous eth1. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
2. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
3. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
You should now be able to access your HDA as a share and as the http://hda link. You can [[Install VNC server on Ubuntu Server 12.04|install a VNC server]] to connect to the HDA using a graphical interface.&lt;br /&gt;
&lt;br /&gt;
==Transplanting an existing Amahi server==&lt;br /&gt;
Here I will present how I transplanted my current (headless) Amahi server, installed on '''Ubuntu 12.04, the server version''', from a PC to the MediaSmart server. The steps below are mainly a reorganization of the steps above.&lt;br /&gt;
&lt;br /&gt;
===Preparing the HDA===&lt;br /&gt;
1. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
2. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
3. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
4. Note the IP address of your HDA. This can typically be found by connecting to the router and seeing what IP is assigned, or checking your [https://www.amahi.org/users Amahi Control Panel].&lt;br /&gt;
&lt;br /&gt;
5. Shutdown the server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Moving the Hardrive===&lt;br /&gt;
1. Move the OS hardrive to the MediaSmart server, slot 1. If you are using Greyhole, ''make sure to move the rest of your data drives'' as well, and plug these into any slot other than slot 1. Turn on the MediaSmart server.&lt;br /&gt;
&lt;br /&gt;
2. Use [[Key-based SSH Logins With Putty|Putty]] to SSH into the previously noted IP address.&lt;br /&gt;
&lt;br /&gt;
3. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and comment out that whole line. Do not delete incase the server needs to be put back into the old case. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            # SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we commented out the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
4. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
5. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
====Troubleshooting====&lt;br /&gt;
&lt;br /&gt;
Q: ''Only one line shows up in step 3, and the MAC address is that of my old PC.''&lt;br /&gt;
&lt;br /&gt;
A: If there is no second hardware address, we will have to add the MediaSmart server's network drive to eth0. Do the following:&lt;br /&gt;
&lt;br /&gt;
Check what eth1's HWaddr is set to. Copy this information.&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig C}}&lt;br /&gt;
&lt;br /&gt;
​Edit the 70-persistent-net.rules file:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules​}}&lt;br /&gt;
&lt;br /&gt;
Comment out the line with the mac address that was copied down in the previous step, and add the following line (repacing &amp;quot;55:55:55:55:55:55&amp;quot; with the MediaSmart server's address):&lt;br /&gt;
&lt;br /&gt;
          # SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
           SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;55:55:55:55:55:55&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Reconnect the Storage Drives===&lt;br /&gt;
Plug the remaining data drives into the MediaSmart server. If you have Greyhole and are having trouble, check out the [[Reconnect existing Greyhole storage pool]] page. Otherwise, the [[Adding a second hard drive to your HDA]] page may be of service.&lt;br /&gt;
&lt;br /&gt;
== General Troubleshooting==&lt;br /&gt;
Q: ''The MediaSmart server's health light is flashing, it is a bluish color''&lt;br /&gt;
&lt;br /&gt;
A: This is normal if using the guide above. After experimenting, it seems that the health light indicates that the MediaSmart server cannot detect a valid Windows Home Server installation. I came to the conclusion after using the Recovery Disk (comes with the HP WHS server) to reinstall Windows Home Server onto the hard drive. The blinking stopped after a reboot with Windows, but it came back after I reinstalled Ubuntu onto the same hard drive.&lt;br /&gt;
&lt;br /&gt;
Q: ''The MediaSmart server is falshing red and blue when booting''&lt;br /&gt;
&lt;br /&gt;
A: I have not found this to be of any consequence, once fully booted the server will just flash the blue health sign indicating that Windows Home Server is not installed.&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=62294</id>
		<title>Installing HDA on HP Mediasmart Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=62294"/>
		<updated>2012-10-29T14:31:00Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing your HDA on an old [http://en.wikipedia.org/wiki/HP_MediaSmart_Server HP MediaSmart server], previously used for Windows Home Server, will bring all the benefits of Amahi to the small device. This is only recommended for users who are comfortable with the terminal, or are willing to set up a headless server with VNC. Experienced users may also migrate from a PC server to the MediaSmart server, avoiding installation of a new HDA and all the hassle of backing-up files that occurs with it.&lt;br /&gt;
&lt;br /&gt;
The steps for this tutorial are from [http://dagolav.prestegarden.com/installing-ubuntu-on-the-hp-mediasmart-ex490/ here]. To continue you will require:&lt;br /&gt;
&lt;br /&gt;
* An HP MediaSmart server. [http://www.mediasmartserver.net/wiki/index.php/HP_MediaSmart_Server_Specification This] page provides hardware specifications to compare with any preexisting PC setup.&lt;br /&gt;
* An extra PC&lt;br /&gt;
* A spare hard drive&lt;br /&gt;
* An existing network&lt;br /&gt;
* An SSH solution, like [[Key-based SSH Logins With Putty|Putty]]&lt;br /&gt;
* [http://www.ubuntu.com/download/server Ubuntu Server 12.04 LTS], not the desktop version&lt;br /&gt;
&lt;br /&gt;
==Starting From Scratch==&lt;br /&gt;
===Installing Ubuntu===&lt;br /&gt;
1. Connect the hard drive into the spare PC.&lt;br /&gt;
&lt;br /&gt;
2. Install '''Ubuntu 12.04, the server version'''. I was not able to get the GUI version of Ubuntu working on the MediaSmart server. The GUI version is also not recommended since there is no VGA or DVI ports for a monitor, only USB.&lt;br /&gt;
&lt;br /&gt;
3. Do NOT install Amahi yet.&lt;br /&gt;
&lt;br /&gt;
4. Install an ssh server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo apt-get install openssh-server}}&lt;br /&gt;
&lt;br /&gt;
5. Verify that the SSH is working by connecting with [[Key-based SSH Logins With Putty|Putty]]. If the SSH is not enabled, enable it:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo update-rc.d ssh defaults}}&lt;br /&gt;
&lt;br /&gt;
6. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
7. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
8. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
9. Shutdown the PC:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Installing Amahi===&lt;br /&gt;
1. Move the hard drive to the MediaSmart server's slot 1, turn on the server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. [http://docs.amahi.org/ubuntu-12.html Install Amahi]&lt;br /&gt;
&lt;br /&gt;
===Modifying Ubuntu for Amahi===&lt;br /&gt;
1. After rebooting and SSHing into the server, [[Binding Network Devices|change the network card to eth0]] from our previous eth1. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
2. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
3. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
You should now be able to access your HDA as a share and as the http://hda link. You can [Install VNC server on Ubuntu Server 12.04|install a VNC server] to connect to the HDA using a graphical interface.&lt;br /&gt;
&lt;br /&gt;
==Transplanting an existing Amahi server==&lt;br /&gt;
Here I will present how I transplanted my current (headless) Amahi server, installed on '''Ubuntu 12.04, the server version''', from a PC to the MediaSmart server. The steps below are mainly a reorganization of the steps above.&lt;br /&gt;
&lt;br /&gt;
===Preparing the HDA===&lt;br /&gt;
1. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
2. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
3. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
4. Note the IP address of your HDA. This can typically be found by connecting to the router and seeing what IP is assigned, or checking your [https://www.amahi.org/users Amahi Control Panel].&lt;br /&gt;
&lt;br /&gt;
5. Shutdown the server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Moving the Hardrive===&lt;br /&gt;
1. Move the OS hardrive to the MediaSmart server, slot 1. If you are using Greyhole, ''make sure to move the rest of your data drives'' as well, and plug these into any slot other than slot 1. Turn on the MediaSmart server.&lt;br /&gt;
&lt;br /&gt;
2. Use [[Key-based SSH Logins With Putty|Putty]] to SSH into the previously noted IP address.&lt;br /&gt;
&lt;br /&gt;
3. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and comment out that whole line. Do not delete incase the server needs to be put back into the old case. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            # SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we commented out the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
4. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
5. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
====Troubleshooting====&lt;br /&gt;
&lt;br /&gt;
Q: ''Only one line shows up in step 3, and the MAC address is that of my old PC.''&lt;br /&gt;
&lt;br /&gt;
A: If there is no second hardware address, we will have to add the MediaSmart server's network drive to eth0. Do the following:&lt;br /&gt;
&lt;br /&gt;
Check what eth1's HWaddr is set to. Copy this information.&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig C}}&lt;br /&gt;
&lt;br /&gt;
​Edit the 70-persistent-net.rules file:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules​}}&lt;br /&gt;
&lt;br /&gt;
Comment out the line with the mac address that was copied down in the previous step, and add the following line (repacing &amp;quot;55:55:55:55:55:55&amp;quot; with the MediaSmart server's address):&lt;br /&gt;
&lt;br /&gt;
          # SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
           SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;55:55:55:55:55:55&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Reconnect the Storage Drives===&lt;br /&gt;
Plug the remaining data drives into the MediaSmart server. If you have Greyhole and are having trouble, check out the [[Reconnect existing Greyhole storage pool]] page. Otherwise, the [[Adding a second hard drive to your HDA]] page may be of service.&lt;br /&gt;
&lt;br /&gt;
== General Troubleshooting==&lt;br /&gt;
Q: ''The MediaSmart server's health light is flashing, it is a bluish color''&lt;br /&gt;
&lt;br /&gt;
A: This is normal if using the guide above. After experimenting, it seems that the health light indicates that the MediaSmart server cannot detect a valid Windows Home Server installation. I came to the conclusion after using the Recovery Disk (comes with the HP WHS server) to reinstall Windows Home Server onto the hard drive. The blinking stopped after a reboot with Windows, but it came back after I reinstalled Ubuntu onto the same hard drive.&lt;br /&gt;
&lt;br /&gt;
Q: ''The MediaSmart server is falshing red and blue when booting''&lt;br /&gt;
&lt;br /&gt;
A: I have not found this to be of any consequence, once fully booted the server will just flash the blue health sign indicating that Windows Home Server is not installed.&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=62144</id>
		<title>Installing HDA on HP Mediasmart Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=62144"/>
		<updated>2012-10-25T14:36:31Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: /* Installing Ubuntu */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing your HDA on an old [http://en.wikipedia.org/wiki/HP_MediaSmart_Server HP MediaSmart server], previously used for Windows Home Server, will bring all the benefits of Amahi to the small device. This is only recommended for users who are comfortable with the terminal, or are willing to set up a headless server with VNC. Experienced users may also migrate from a PC server to the MediaSmart server, avoiding installation of a new HDA and all the hassle of backing-up files that occurs with it.&lt;br /&gt;
&lt;br /&gt;
The steps for this tutorial are from [http://dagolav.prestegarden.com/installing-ubuntu-on-the-hp-mediasmart-ex490/ here]. To continue you will require:&lt;br /&gt;
&lt;br /&gt;
* An HP MediaSmart server. [http://www.mediasmartserver.net/wiki/index.php/HP_MediaSmart_Server_Specification This] page provides hardware specifications to compare with any preexisting PC setup.&lt;br /&gt;
* An extra PC&lt;br /&gt;
* A spare hard drive&lt;br /&gt;
* An existing network&lt;br /&gt;
* An SSH solution, like [[Key-based SSH Logins With Putty|Putty]]&lt;br /&gt;
* [http://www.ubuntu.com/download/server Ubuntu Server 12.04 LTS], not the desktop version&lt;br /&gt;
&lt;br /&gt;
==Starting From Scratch==&lt;br /&gt;
===Installing Ubuntu===&lt;br /&gt;
1. Connect the hard drive into the spare PC.&lt;br /&gt;
&lt;br /&gt;
2. Install '''Ubuntu 12.04, the server version'''. I was not able to get the GUI version of Ubuntu working on the MediaSmart server. The GUI version is also not recommended since there is no VGA or DVI ports for a monitor, only USB.&lt;br /&gt;
&lt;br /&gt;
3. Do NOT install Amahi yet.&lt;br /&gt;
&lt;br /&gt;
4. Install an ssh server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo apt-get install openssh-server}}&lt;br /&gt;
&lt;br /&gt;
5. Verify that the SSH is working by connecting with [Key-based SSH Logins With Putty|Putty]. If the SSH is not enabled, enable it:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo update-rc.d ssh defaults}}&lt;br /&gt;
&lt;br /&gt;
6. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
7. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
8. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
9. Shutdown the PC:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Installing Amahi===&lt;br /&gt;
1. Move the hard drive to the MediaSmart server's slot 1, turn on the server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. [http://docs.amahi.org/ubuntu-12.html Install Amahi]&lt;br /&gt;
&lt;br /&gt;
===Modifying Ubuntu for Amahi===&lt;br /&gt;
1. After rebooting and SSHing into the server, [[Binding Network Devices|change the network card to eth0]] from our previous eth1. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
2. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
3. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
You should now be able to access your HDA as a share and as the http://hda link. You can [Install VNC server on Ubuntu Server 12.04|install a VNC server] to connect to the HDA using a graphical interface.&lt;br /&gt;
&lt;br /&gt;
==Transplanting an existing Amahi server==&lt;br /&gt;
Here I will present how I transplanted my current (headless) Amahi server, installed on '''Ubuntu 12.04, the server version''', from a PC to the MediaSmart server. The steps below are mainly a reorganization of the steps above.&lt;br /&gt;
&lt;br /&gt;
===Preparing the HDA===&lt;br /&gt;
1. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
2. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
3. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
4. Note the IP address of your HDA. This can typically be found by connecting to the router and seeing what IP is assigned, or checking your [https://www.amahi.org/users Amahi Control Panel].&lt;br /&gt;
&lt;br /&gt;
5. Shutdown the server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Moving the Hardrive===&lt;br /&gt;
1. Move the OS hardrive to the MediaSmart server, slot 1. If you are using Greyhole, ''make sure to move the rest of your data drives'' as well, and plug these into any slot other than slot 1. Turn on the MediaSmart server.&lt;br /&gt;
&lt;br /&gt;
2. Use [[Key-based SSH Logins With Putty|Putty]] to SSH into the previously noted IP address.&lt;br /&gt;
&lt;br /&gt;
3. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and comment out that whole line. Do not delete incase the server needs to be put back into the old case. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            # SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we commented out the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
4. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
5. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
====Troubleshooting====&lt;br /&gt;
&lt;br /&gt;
Q: ''Only one line shows up in step 3, and the MAC address is that of my old PC.''&lt;br /&gt;
&lt;br /&gt;
A: If there is no second hardware address, we will have to add the MediaSmart server's network drive to eth0. Do the following:&lt;br /&gt;
&lt;br /&gt;
Check what eth1's HWaddr is set to. Copy this information.&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig C}}&lt;br /&gt;
&lt;br /&gt;
​Edit the 70-persistent-net.rules file:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules​}}&lt;br /&gt;
&lt;br /&gt;
Comment out the line with the mac address that was copied down in the previous step, and add the following line (repacing &amp;quot;55:55:55:55:55:55&amp;quot; with the MediaSmart server's address):&lt;br /&gt;
&lt;br /&gt;
          # SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
           SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;55:55:55:55:55:55&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Reconnect the Storage Drives===&lt;br /&gt;
Plug the remaining data drives into the MediaSmart server. If you have Greyhole and are having trouble, check out the [[Reconnect existing Greyhole storage pool]] page. Otherwise, the [[Adding a second hard drive to your HDA]] page may be of service.&lt;br /&gt;
&lt;br /&gt;
== General Troubleshooting==&lt;br /&gt;
Q: ''The MediaSmart server's health light is flashing, it is a bluish color''&lt;br /&gt;
&lt;br /&gt;
A: This is normal if using the guide above. After experimenting, it seems that the health light indicates that the MediaSmart server cannot detect a valid Windows Home Server installation. I came to the conclusion after using the Recovery Disk (comes with the HP WHS server) to reinstall Windows Home Server onto the hard drive. The blinking stopped after a reboot with Windows, but it came back after I reinstalled Ubuntu onto the same hard drive.&lt;br /&gt;
&lt;br /&gt;
Q: ''The MediaSmart server is falshing red and blue when booting''&lt;br /&gt;
&lt;br /&gt;
A: I have not found this to be of any consequence, once fully booted the server will just flash the blue health sign indicating that Windows Home Server is not installed.&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=McMyAdmin&amp;diff=62138</id>
		<title>McMyAdmin</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=McMyAdmin&amp;diff=62138"/>
		<updated>2012-10-25T14:33:34Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: /* Installing the Tekkit Server */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: Below instructions are for Ubuntu. Fedora users must replace all &amp;quot;apt-get&amp;quot;s with &amp;quot;yum&amp;quot;s. So:&lt;br /&gt;
&lt;br /&gt;
{{Code|apt-get install mono-basic}}&lt;br /&gt;
&lt;br /&gt;
becomes&lt;br /&gt;
&lt;br /&gt;
{{Code|yum install mono-basic}}&lt;br /&gt;
&lt;br /&gt;
=Installing McMyAdmin=&lt;br /&gt;
&lt;br /&gt;
Minecraft server with web-based front end for server management.&lt;br /&gt;
&lt;br /&gt;
==Install dependencies==&lt;br /&gt;
*Instructions taken from [http://www.youtube.com/watch?feature=player_embedded&amp;amp;v=dtcDTb3XyTY this very helpful YouTube video].&lt;br /&gt;
Mono:&lt;br /&gt;
{{Code|apt-get install libmono-system-web2.0-cil libmono-i18n2.0-cil}}&lt;br /&gt;
&lt;br /&gt;
Java:&lt;br /&gt;
Copy the link to the appropriate Java version from [http://www.oracle.com/technetwork/java/javase/downloads/java-se-jdk-7-download-432154.html here]&lt;br /&gt;
&lt;br /&gt;
{{Code|wget [YOURLINKHERE.tar.gz]&lt;br /&gt;
tar -xvf jdk-7-linux-xxx.tar.gz&lt;br /&gt;
mkdir /usr/lib/jvm/&lt;br /&gt;
mv ./jdk1.7.0 /usr/lib/jvm/jdk1.7.0&lt;br /&gt;
sudo update-alternatives --install &amp;quot;/usr/bin/java&amp;quot; &amp;quot;java&amp;quot; &amp;quot;/usr/lib/jvm/jdk1.7.0/bin/java&amp;quot; 1&lt;br /&gt;
sudo update-alternatives --install &amp;quot;/usr/bin/javac&amp;quot; &amp;quot;javac&amp;quot; &amp;quot;/usr/lib/jvm/jdk1.7.0/bin/javac&amp;quot; 1&lt;br /&gt;
sudo update-alternatives --install &amp;quot;/usr/bin/javaws&amp;quot; &amp;quot;javaws&amp;quot; &amp;quot;/usr/lib/jvm/jdk1.7.0/bin/javaws&amp;quot; 1&lt;br /&gt;
sudo update-alternatives --config java&lt;br /&gt;
sudo update-alternatives --config javac&lt;br /&gt;
sudo update-alternatives --config javaws}}&lt;br /&gt;
&lt;br /&gt;
Check Java version, it should be something like:&lt;br /&gt;
&lt;br /&gt;
{{Code| java -version&lt;br /&gt;
It should Reply&lt;br /&gt;
java version &amp;quot;1.7.0&amp;quot;&lt;br /&gt;
Java(TM) SE Runtime Environment (build 1.7.0-b147)&lt;br /&gt;
Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode)}}&lt;br /&gt;
&lt;br /&gt;
==Get and install McMyAdmin==&lt;br /&gt;
{{Code|mkdir /var/hda/web-apps/mcmyadmin&lt;br /&gt;
wget -P /var/hda/web-apps/mcmyadmin http://www.phonicuk.com/Downloads/McMyAdmin-latest.zip&lt;br /&gt;
unzip /var/hda/web-apps/mcmyadmin/McMyAdmin-latest.zip -d /var/hda/web-apps/mcmyadmin/&lt;br /&gt;
chown -R apache:users /var/hda/web-apps/mcmyadmin&lt;br /&gt;
chmod +x /var/hda/web-apps/mcmyadmin/start.sh}}&lt;br /&gt;
* Start McMyAdmin and Minecraft server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin&lt;br /&gt;
./start.sh}}&lt;br /&gt;
and wait for it to download the latest Minecraft server.  Once done stop it with '''&amp;lt;Ctrl-C&amp;gt;''' and run the following to start McMyAdmin. The nohup command will allow you quit the terminal without stopping McMyAdmin server.&lt;br /&gt;
{{Code|nohup ./start.sh &amp;amp;}}&lt;br /&gt;
&lt;br /&gt;
The web interface runs on port 8080 by default account admin/admin:&lt;br /&gt;
{{Link|http://localhost:8080}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default the web interface can only be accessed from the machine it is running on. To make it available from another machine the entry passwordmd5 in McMyAdmin.conf.default must be changed. This can be done on the localhost:8080 link by changing the default password from &amp;quot;admin&amp;quot; to something else. The McMyAdmin server needs to be rebooted after the password is changed.&lt;br /&gt;
&lt;br /&gt;
==Installing the Minecraft Server==&lt;br /&gt;
&lt;br /&gt;
The Minecraft server is included with McMyAdmin and runs on port 25565 by default. After users have properly forwarded ports to the Amahi server Minecraft players will be able to use the HDA URL to connect to the server.&lt;br /&gt;
&lt;br /&gt;
Cronjob will need to be set for autostart on boot. Amahi may also be able to monitor this server to make sure it is running, similar to other services.&lt;br /&gt;
&lt;br /&gt;
==Installing the Tekkit Server==&lt;br /&gt;
&lt;br /&gt;
'''''To logon to a Tekkit server the user must use the [http://www.technicpack.net/launcher/ Technic Launcher] and not the default MineCraft app.'''''&lt;br /&gt;
&lt;br /&gt;
[http://www.technicpack.net/tekkit/ Tekkit] is a collection of Minecraft mods that allows for more advanced gameplay. The purpose of this tutorial is to illustrate the installation of Tekkit on your HDA. All commands below are for the terminal. Parts of the instructions are taken from [http://www.youtube.com/watch?v=u8-uGqSyaMo this] fine YouTube video.&lt;br /&gt;
*Do not start the Minecraft server upon installation of McMyAdmin.&lt;br /&gt;
*Logon to McMyAdmin, go to Configuration, Server Settings, and select Tekkit as the Server Type.&lt;br /&gt;
*Navigate to the default hda web-apps folder&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin/minecraft}}&lt;br /&gt;
*Download the latest Tekkit server zip file from [http://www.technicpack.net/tekkit/ here]. Replace my link below with your own latest one.&lt;br /&gt;
{{Code|wget http://mirror.technicpack.net/files/Tekkit_Server_3.0.4.zip}}&lt;br /&gt;
*Extract the zip file with unzip. Replace name of file with your own latest one.&lt;br /&gt;
{{Code|apt-get install unzip&lt;br /&gt;
ls&lt;br /&gt;
unzip Tekkit_Server_3.0.4.zip}}&lt;br /&gt;
&lt;br /&gt;
Upon starting of the Minecraft server from the McMyAdmin portal, the Tekkit server will be started instead. Building the world and installing the mods and plugins will take a while (around 5-10 minutes), so make sure to give McMyAdmin sufficient time to finish.&lt;br /&gt;
&lt;br /&gt;
The default port is 25565. This may be edited below.&lt;br /&gt;
&lt;br /&gt;
===Creating a Tekkit Script===&lt;br /&gt;
This is only required if you are striving to have a Vanilla and Tekkit server running side by side. &lt;br /&gt;
&lt;br /&gt;
Note that 1500M stands for the number of megabytes of ram you are letting Tekkit use potentially. The 512M stands for the number of megabytes of ram you let Java use at startup.&lt;br /&gt;
{{Code|nano start.sh}}&lt;br /&gt;
&lt;br /&gt;
{{Text|Text=#!/bin/sh&lt;br /&gt;
java -Xmx1500M -Xms512M -jar Tekkit.jar}}&lt;br /&gt;
*Give permissions to the script.&lt;br /&gt;
{{Code|chmod +x start.sh}}&lt;br /&gt;
*Start Tekkit&lt;br /&gt;
{{Code|nohup ./start.sh}}&lt;br /&gt;
&lt;br /&gt;
=Tekkit with McMyAdmin=&lt;br /&gt;
------------------&lt;br /&gt;
'''Please note that this section was written before McMyAdmin had an option for Tekkit. To make vanilla and TekkiT Minecraft versions run simultaneously, you should also create the Tekkit script from above.'''&lt;br /&gt;
------------------&lt;br /&gt;
&lt;br /&gt;
* Before continuing, you must start Tekkit and stop it after Tekkit has completely loaded. This will create essential files.&lt;br /&gt;
{{Code|cd /var/hda/web-apps/tekkit&lt;br /&gt;
./start.sh&lt;br /&gt;
stop}}&lt;br /&gt;
* You must also do the same thing with McMyAdmin&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin&lt;br /&gt;
mono McMyAdmin.exe&lt;br /&gt;
stop}}&lt;br /&gt;
&lt;br /&gt;
For the purposes of this tutorial, it is assumed that both McMyAdmin and Tekkit have been installed and started/stopped as outlined above. We need to copy the Tekkit files into McMyAdmin. &lt;br /&gt;
&lt;br /&gt;
* Go into the Tekkit folder, rename Tekkit.jar to craftbukkit.jar&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin/tekkit/&lt;br /&gt;
mv Tekkit.jar craftbukkit.jar}}&lt;br /&gt;
&lt;br /&gt;
==Tekkit and Minecraft Vanilla Coexisting in McMyAdmin==&lt;br /&gt;
&lt;br /&gt;
* Follow the McMyAdmin tutorial above, except name the McMyAdmin folder &amp;quot;McMA_Vanilla&amp;quot;. Replace all &amp;quot;McMyAdmin&amp;quot; with &amp;quot;McMA_Vanilla&amp;quot; as needed.&lt;br /&gt;
* Create a folder called MineCraft.&lt;br /&gt;
{{Code|mkdir /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Copy (not move) McMA_Vanilla into the MineCraft folder.&lt;br /&gt;
{{Code|cp -fr /var/hda/web-apps/McMA_Vanilla /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Rename the original McMA_Vanilla to McMA_Tekkit.&lt;br /&gt;
* Move McMA_Tekkit into MineCraft folder.&lt;br /&gt;
{{Code|mv /var/hda/web-apps/McMA_Tekkit /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Follow the Tekkit tutorial above.&lt;br /&gt;
* Rename the Tekkit.jar file to craftbukkit.jar, AFTER having started and stopped the Tekkit and MineCraft servers at least once as outlined above.&lt;br /&gt;
{{Code|cd /var/hda/web-apps/tekkit&lt;br /&gt;
mv Tekkit.jar craftbukkit.jar}}&lt;br /&gt;
* Copy the contents of the tekkit folder into the McMA_Tekkit/Minecraft folder, merge and replace all files as needed.&lt;br /&gt;
* Delete the now empty tekkit directory&lt;br /&gt;
{{Code|rm -fr /var/hda/web-apps/tekkit}}&lt;br /&gt;
* Now we must edit the ports so that both McMyAdmin servers can run at the same time:&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit&lt;br /&gt;
nano /McMyAdmin.conf}}&lt;br /&gt;
Change webserver.port=8080 (line 71) to webserver.port=8081&amp;lt;br /&amp;gt;&lt;br /&gt;
Change server.address=localhost:25565 (line 152) to server.address=localhost:25665&amp;lt;br /&amp;gt;&lt;br /&gt;
To save do ctrl+x, y (to confirm save), and enter&lt;br /&gt;
* And the same must be done with the MineCraft servers&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit/Minecraft&lt;br /&gt;
nano server.properties}}&lt;br /&gt;
Change server-port 25565 (line 8) to server-port 25665&amp;lt;br /&amp;gt;&lt;br /&gt;
To save do ctrl+x, y (to confirm save)&lt;br /&gt;
* Start the Tekkit server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit&lt;br /&gt;
mono McMyAdmin.exe}}&lt;br /&gt;
* In a new terminal, start the Vanilla server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Vanilla&lt;br /&gt;
mono McMyAdmin.exe}}&lt;br /&gt;
&lt;br /&gt;
=Access McMyAdmin=&lt;br /&gt;
* For the Tekkit McMyAdmin:&lt;br /&gt;
{{link|http://hda:8081}}&lt;br /&gt;
* For the Vanilla McMyAdmin:&lt;br /&gt;
{{Link|http://hda:8080}}&lt;br /&gt;
&lt;br /&gt;
=Join MineCraft Server with Client=&lt;br /&gt;
* For the Tekkit server:&lt;br /&gt;
{{Link|http://(hda IP):25665}}&lt;br /&gt;
* For the Vanilla server:&lt;br /&gt;
{{Link|http://(hda IP):25565}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Apps]]&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=McMyAdmin&amp;diff=62126</id>
		<title>McMyAdmin</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=McMyAdmin&amp;diff=62126"/>
		<updated>2012-10-25T07:25:28Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: /* Tekkit with McMyAdmin */  Spelling, formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: Below instructions are for Ubuntu. Fedora users must replace all &amp;quot;apt-get&amp;quot;s with &amp;quot;yum&amp;quot;s. So:&lt;br /&gt;
&lt;br /&gt;
{{Code|apt-get install mono-basic}}&lt;br /&gt;
&lt;br /&gt;
becomes&lt;br /&gt;
&lt;br /&gt;
{{Code|yum install mono-basic}}&lt;br /&gt;
&lt;br /&gt;
=Installing McMyAdmin=&lt;br /&gt;
&lt;br /&gt;
Minecraft server with web-based front end for server management.&lt;br /&gt;
&lt;br /&gt;
==Install dependencies==&lt;br /&gt;
*Instructions taken from [http://www.youtube.com/watch?feature=player_embedded&amp;amp;v=dtcDTb3XyTY this very helpful YouTube video].&lt;br /&gt;
Mono:&lt;br /&gt;
{{Code|apt-get install libmono-system-web2.0-cil libmono-i18n2.0-cil}}&lt;br /&gt;
&lt;br /&gt;
Java:&lt;br /&gt;
Copy the link to the appropriate Java version from [http://www.oracle.com/technetwork/java/javase/downloads/java-se-jdk-7-download-432154.html here]&lt;br /&gt;
&lt;br /&gt;
{{Code| wget [YOURLINKHERE.tar.gz]&lt;br /&gt;
tar -xvf jdk-7-linux-xxx.tar.gz&lt;br /&gt;
mkdir /usr/lib/jvm/&lt;br /&gt;
mv ./jdk1.7.0 /usr/lib/jvm/jdk1.7.0&lt;br /&gt;
sudo update-alternatives --install &amp;quot;/usr/bin/java&amp;quot; &amp;quot;java&amp;quot; &amp;quot;/usr/lib/jvm/jdk1.7.0/bin/java&amp;quot; 1&lt;br /&gt;
sudo update-alternatives --install &amp;quot;/usr/bin/javac&amp;quot; &amp;quot;javac&amp;quot; &amp;quot;/usr/lib/jvm/jdk1.7.0/bin/javac&amp;quot; 1&lt;br /&gt;
sudo update-alternatives --install &amp;quot;/usr/bin/javaws&amp;quot; &amp;quot;javaws&amp;quot; &amp;quot;/usr/lib/jvm/jdk1.7.0/bin/javaws&amp;quot; 1&lt;br /&gt;
sudo update-alternatives --config java&lt;br /&gt;
sudo update-alternatives --config javac&lt;br /&gt;
sudo update-alternatives --config javaws}}&lt;br /&gt;
&lt;br /&gt;
Check Java version, it should be something like:&lt;br /&gt;
&lt;br /&gt;
{{Code| java -version&lt;br /&gt;
It should Reply&lt;br /&gt;
java version &amp;quot;1.7.0&amp;quot;&lt;br /&gt;
Java(TM) SE Runtime Environment (build 1.7.0-b147)&lt;br /&gt;
Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode)}}&lt;br /&gt;
&lt;br /&gt;
==Get and install McMyAdmin==&lt;br /&gt;
{{Code|mkdir /var/hda/web-apps/mcmyadmin&lt;br /&gt;
wget -P /var/hda/web-apps/mcmyadmin http://www.phonicuk.com/Downloads/McMyAdmin-latest.zip&lt;br /&gt;
unzip /var/hda/web-apps/mcmyadmin/McMyAdmin-latest.zip -d /var/hda/web-apps/mcmyadmin/&lt;br /&gt;
chown -R apache:users /var/hda/web-apps/mcmyadmin&lt;br /&gt;
chmod +x /var/hda/web-apps/mcmyadmin/start.sh}}&lt;br /&gt;
* Start McMyAdmin and Minecraft server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin&lt;br /&gt;
./start.sh}}&lt;br /&gt;
and wait for it to download the latest Minecraft server.  Once done stop it with '''&amp;lt;Ctrl-C&amp;gt;''' and run the following to start McMyAdmin. The nohup command will allow you quit the terminal without stopping McMyAdmin server.&lt;br /&gt;
{{Code|nohup ./start.sh &amp;amp;}}&lt;br /&gt;
&lt;br /&gt;
The web interface runs on port 8080 by default account admin/admin:&lt;br /&gt;
{{Link|http://localhost:8080}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default the web interface can only be accessed from the machine it is running on. To make it available from another machine the entry passwordmd5 in McMyAdmin.conf.default must be changed. This can be done on the localhost:8080 link by changing the default password from &amp;quot;admin&amp;quot; to something else. The McMyAdmin server needs to be rebooted after the password is changed.&lt;br /&gt;
&lt;br /&gt;
==Installing the Minecraft Server==&lt;br /&gt;
&lt;br /&gt;
The Minecraft server is included with McMyAdmin and runs on port 25565 by default. After users have properly forwarded ports to the Amahi server Minecraft players will be able to use the HDA URL to connect to the server.&lt;br /&gt;
&lt;br /&gt;
Cronjob will need to be set for autostart on boot. Amahi may also be able to monitor this server to make sure it is running, similar to other services.&lt;br /&gt;
&lt;br /&gt;
==Installing the Tekkit Server==&lt;br /&gt;
&lt;br /&gt;
'''''To logon to a Tekkit server the user must use the [http://www.technicpack.net/launcher/ Technic Launcher] and not the default MineCraft app.'''''&lt;br /&gt;
&lt;br /&gt;
[http://www.technicpack.net/tekkit/ Tekkit] is a collection of Minecraft mods that allows for more advanced gameplay. The purpose of this tutorial is to illustrate the installation of Tekkit on your HDA. All commands below are for the terminal. Parts of the instructions are taken from [http://www.youtube.com/watch?v=u8-uGqSyaMo this] fine YouTube video.&lt;br /&gt;
*Do not start the Minecraft server upon installation of McMyAdmin.&lt;br /&gt;
*Logon to McMyAdmin, go to Configuration, Server Settings, and select Tekkit as the Server Type.&lt;br /&gt;
*Navigate to the default hda web-apps folder&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin}}&lt;br /&gt;
*Download the latest Tekkit server zip file from [http://www.technicpack.net/tekkit/ here]. Replace my link below with your own latest one.&lt;br /&gt;
{{Code|wget http://mirror.technicpack.net/files/Tekkit_Server_3.0.4.zip}}&lt;br /&gt;
*Extract the zip file with unzip. Replace name of file with your own latest one.&lt;br /&gt;
{{Code|apt-get install unzip&lt;br /&gt;
ls&lt;br /&gt;
unzip Tekkit_Server_3.0.4.zip}}&lt;br /&gt;
&lt;br /&gt;
Upon starting of the Minecraft server from the McMyAdmin portal, the Tekkit server will be started instead. Building the world and installing the mods and plugins will take a while (around 5-10 minutes), so make sure to give McMyAdmin sufficient time to finish.&lt;br /&gt;
&lt;br /&gt;
The default port is 25565. This may be edited below.&lt;br /&gt;
&lt;br /&gt;
===Creating a Tekkit Script===&lt;br /&gt;
This is only required if you are striving to have a Vanilla and Tekkit server running side by side. &lt;br /&gt;
&lt;br /&gt;
Note that 1500M stands for the number of megabytes of ram you are letting Tekkit use potentially. The 512M stands for the number of megabytes of ram you let Java use at startup.&lt;br /&gt;
{{Code|nano start.sh}}&lt;br /&gt;
&lt;br /&gt;
{{Text|Text=#!/bin/sh&lt;br /&gt;
java -Xmx1500M -Xms512M -jar Tekkit.jar}}&lt;br /&gt;
*Give permissions to the script.&lt;br /&gt;
{{Code|chmod +x start.sh}}&lt;br /&gt;
*Start Tekkit&lt;br /&gt;
{{Code|nohup ./start.sh}}&lt;br /&gt;
&lt;br /&gt;
=Tekkit with McMyAdmin=&lt;br /&gt;
------------------&lt;br /&gt;
'''Please note that this section was written before McMyAdmin had an option for Tekkit. To make vanilla and TekkiT Minecraft versions run simultaneously, you should also create the Tekkit script from above.'''&lt;br /&gt;
------------------&lt;br /&gt;
&lt;br /&gt;
* Before continuing, you must start Tekkit and stop it after Tekkit has completely loaded. This will create essential files.&lt;br /&gt;
{{Code|cd /var/hda/web-apps/tekkit&lt;br /&gt;
./start.sh&lt;br /&gt;
stop}}&lt;br /&gt;
* You must also do the same thing with McMyAdmin&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin&lt;br /&gt;
mono McMyAdmin.exe&lt;br /&gt;
stop}}&lt;br /&gt;
&lt;br /&gt;
For the purposes of this tutorial, it is assumed that both McMyAdmin and Tekkit have been installed and started/stopped as outlined above. We need to copy the Tekkit files into McMyAdmin. &lt;br /&gt;
&lt;br /&gt;
* Go into the Tekkit folder, rename Tekkit.jar to craftbukkit.jar&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin/tekkit/&lt;br /&gt;
mv Tekkit.jar craftbukkit.jar}}&lt;br /&gt;
&lt;br /&gt;
==Tekkit and Minecraft Vanilla Coexisting in McMyAdmin==&lt;br /&gt;
&lt;br /&gt;
* Follow the McMyAdmin tutorial above, except name the McMyAdmin folder &amp;quot;McMA_Vanilla&amp;quot;. Replace all &amp;quot;McMyAdmin&amp;quot; with &amp;quot;McMA_Vanilla&amp;quot; as needed.&lt;br /&gt;
* Create a folder called MineCraft.&lt;br /&gt;
{{Code|mkdir /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Copy (not move) McMA_Vanilla into the MineCraft folder.&lt;br /&gt;
{{Code|cp -fr /var/hda/web-apps/McMA_Vanilla /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Rename the original McMA_Vanilla to McMA_Tekkit.&lt;br /&gt;
* Move McMA_Tekkit into MineCraft folder.&lt;br /&gt;
{{Code|mv /var/hda/web-apps/McMA_Tekkit /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Follow the Tekkit tutorial above.&lt;br /&gt;
* Rename the Tekkit.jar file to craftbukkit.jar, AFTER having started and stopped the Tekkit and MineCraft servers at least once as outlined above.&lt;br /&gt;
{{Code|cd /var/hda/web-apps/tekkit&lt;br /&gt;
mv Tekkit.jar craftbukkit.jar}}&lt;br /&gt;
* Copy the contents of the tekkit folder into the McMA_Tekkit/Minecraft folder, merge and replace all files as needed.&lt;br /&gt;
* Delete the now empty tekkit directory&lt;br /&gt;
{{Code|rm -fr /var/hda/web-apps/tekkit}}&lt;br /&gt;
* Now we must edit the ports so that both McMyAdmin servers can run at the same time:&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit&lt;br /&gt;
nano /McMyAdmin.conf}}&lt;br /&gt;
Change webserver.port=8080 (line 71) to webserver.port=8081&amp;lt;br /&amp;gt;&lt;br /&gt;
Change server.address=localhost:25565 (line 152) to server.address=localhost:25665&amp;lt;br /&amp;gt;&lt;br /&gt;
To save do ctrl+x, y (to confirm save), and enter&lt;br /&gt;
* And the same must be done with the MineCraft servers&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit/Minecraft&lt;br /&gt;
nano server.properties}}&lt;br /&gt;
Change server-port 25565 (line 8) to server-port 25665&amp;lt;br /&amp;gt;&lt;br /&gt;
To save do ctrl+x, y (to confirm save)&lt;br /&gt;
* Start the Tekkit server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit&lt;br /&gt;
mono McMyAdmin.exe}}&lt;br /&gt;
* In a new terminal, start the Vanilla server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Vanilla&lt;br /&gt;
mono McMyAdmin.exe}}&lt;br /&gt;
&lt;br /&gt;
=Access McMyAdmin=&lt;br /&gt;
* For the Tekkit McMyAdmin:&lt;br /&gt;
{{link|http://hda:8081}}&lt;br /&gt;
* For the Vanilla McMyAdmin:&lt;br /&gt;
{{Link|http://hda:8080}}&lt;br /&gt;
&lt;br /&gt;
=Join MineCraft Server with Client=&lt;br /&gt;
* For the Tekkit server:&lt;br /&gt;
{{Link|http://(hda IP):25665}}&lt;br /&gt;
* For the Vanilla server:&lt;br /&gt;
{{Link|http://(hda IP):25565}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Apps]]&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=McMyAdmin&amp;diff=62120</id>
		<title>McMyAdmin</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=McMyAdmin&amp;diff=62120"/>
		<updated>2012-10-25T07:24:24Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: /* Creating a Tekkit Script */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: Below instructions are for Ubuntu. Fedora users must replace all &amp;quot;apt-get&amp;quot;s with &amp;quot;yum&amp;quot;s. So:&lt;br /&gt;
&lt;br /&gt;
{{Code|apt-get install mono-basic}}&lt;br /&gt;
&lt;br /&gt;
becomes&lt;br /&gt;
&lt;br /&gt;
{{Code|yum install mono-basic}}&lt;br /&gt;
&lt;br /&gt;
=Installing McMyAdmin=&lt;br /&gt;
&lt;br /&gt;
Minecraft server with web-based front end for server management.&lt;br /&gt;
&lt;br /&gt;
==Install dependencies==&lt;br /&gt;
*Instructions taken from [http://www.youtube.com/watch?feature=player_embedded&amp;amp;v=dtcDTb3XyTY this very helpful YouTube video].&lt;br /&gt;
Mono:&lt;br /&gt;
{{Code|apt-get install libmono-system-web2.0-cil libmono-i18n2.0-cil}}&lt;br /&gt;
&lt;br /&gt;
Java:&lt;br /&gt;
Copy the link to the appropriate Java version from [http://www.oracle.com/technetwork/java/javase/downloads/java-se-jdk-7-download-432154.html here]&lt;br /&gt;
&lt;br /&gt;
{{Code| wget [YOURLINKHERE.tar.gz]&lt;br /&gt;
tar -xvf jdk-7-linux-xxx.tar.gz&lt;br /&gt;
mkdir /usr/lib/jvm/&lt;br /&gt;
mv ./jdk1.7.0 /usr/lib/jvm/jdk1.7.0&lt;br /&gt;
sudo update-alternatives --install &amp;quot;/usr/bin/java&amp;quot; &amp;quot;java&amp;quot; &amp;quot;/usr/lib/jvm/jdk1.7.0/bin/java&amp;quot; 1&lt;br /&gt;
sudo update-alternatives --install &amp;quot;/usr/bin/javac&amp;quot; &amp;quot;javac&amp;quot; &amp;quot;/usr/lib/jvm/jdk1.7.0/bin/javac&amp;quot; 1&lt;br /&gt;
sudo update-alternatives --install &amp;quot;/usr/bin/javaws&amp;quot; &amp;quot;javaws&amp;quot; &amp;quot;/usr/lib/jvm/jdk1.7.0/bin/javaws&amp;quot; 1&lt;br /&gt;
sudo update-alternatives --config java&lt;br /&gt;
sudo update-alternatives --config javac&lt;br /&gt;
sudo update-alternatives --config javaws}}&lt;br /&gt;
&lt;br /&gt;
Check Java version, it should be something like:&lt;br /&gt;
&lt;br /&gt;
{{Code| java -version&lt;br /&gt;
It should Reply&lt;br /&gt;
java version &amp;quot;1.7.0&amp;quot;&lt;br /&gt;
Java(TM) SE Runtime Environment (build 1.7.0-b147)&lt;br /&gt;
Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode)}}&lt;br /&gt;
&lt;br /&gt;
==Get and install McMyAdmin==&lt;br /&gt;
{{Code|mkdir /var/hda/web-apps/mcmyadmin&lt;br /&gt;
wget -P /var/hda/web-apps/mcmyadmin http://www.phonicuk.com/Downloads/McMyAdmin-latest.zip&lt;br /&gt;
unzip /var/hda/web-apps/mcmyadmin/McMyAdmin-latest.zip -d /var/hda/web-apps/mcmyadmin/&lt;br /&gt;
chown -R apache:users /var/hda/web-apps/mcmyadmin&lt;br /&gt;
chmod +x /var/hda/web-apps/mcmyadmin/start.sh}}&lt;br /&gt;
* Start McMyAdmin and Minecraft server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin&lt;br /&gt;
./start.sh}}&lt;br /&gt;
and wait for it to download the latest Minecraft server.  Once done stop it with '''&amp;lt;Ctrl-C&amp;gt;''' and run the following to start McMyAdmin. The nohup command will allow you quit the terminal without stopping McMyAdmin server.&lt;br /&gt;
{{Code|nohup ./start.sh &amp;amp;}}&lt;br /&gt;
&lt;br /&gt;
The web interface runs on port 8080 by default account admin/admin:&lt;br /&gt;
{{Link|http://localhost:8080}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default the web interface can only be accessed from the machine it is running on. To make it available from another machine the entry passwordmd5 in McMyAdmin.conf.default must be changed. This can be done on the localhost:8080 link by changing the default password from &amp;quot;admin&amp;quot; to something else. The McMyAdmin server needs to be rebooted after the password is changed.&lt;br /&gt;
&lt;br /&gt;
==Installing the Minecraft Server==&lt;br /&gt;
&lt;br /&gt;
The Minecraft server is included with McMyAdmin and runs on port 25565 by default. After users have properly forwarded ports to the Amahi server Minecraft players will be able to use the HDA URL to connect to the server.&lt;br /&gt;
&lt;br /&gt;
Cronjob will need to be set for autostart on boot. Amahi may also be able to monitor this server to make sure it is running, similar to other services.&lt;br /&gt;
&lt;br /&gt;
==Installing the Tekkit Server==&lt;br /&gt;
&lt;br /&gt;
'''''To logon to a Tekkit server the user must use the [http://www.technicpack.net/launcher/ Technic Launcher] and not the default MineCraft app.'''''&lt;br /&gt;
&lt;br /&gt;
[http://www.technicpack.net/tekkit/ Tekkit] is a collection of Minecraft mods that allows for more advanced gameplay. The purpose of this tutorial is to illustrate the installation of Tekkit on your HDA. All commands below are for the terminal. Parts of the instructions are taken from [http://www.youtube.com/watch?v=u8-uGqSyaMo this] fine YouTube video.&lt;br /&gt;
*Do not start the Minecraft server upon installation of McMyAdmin.&lt;br /&gt;
*Logon to McMyAdmin, go to Configuration, Server Settings, and select Tekkit as the Server Type.&lt;br /&gt;
*Navigate to the default hda web-apps folder&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin}}&lt;br /&gt;
*Download the latest Tekkit server zip file from [http://www.technicpack.net/tekkit/ here]. Replace my link below with your own latest one.&lt;br /&gt;
{{Code|wget http://mirror.technicpack.net/files/Tekkit_Server_3.0.4.zip}}&lt;br /&gt;
*Extract the zip file with unzip. Replace name of file with your own latest one.&lt;br /&gt;
{{Code|apt-get install unzip&lt;br /&gt;
ls&lt;br /&gt;
unzip Tekkit_Server_3.0.4.zip}}&lt;br /&gt;
&lt;br /&gt;
Upon starting of the Minecraft server from the McMyAdmin portal, the Tekkit server will be started instead. Building the world and installing the mods and plugins will take a while (around 5-10 minutes), so make sure to give McMyAdmin sufficient time to finish.&lt;br /&gt;
&lt;br /&gt;
The default port is 25565. This may be edited below.&lt;br /&gt;
&lt;br /&gt;
===Creating a Tekkit Script===&lt;br /&gt;
This is only required if you are striving to have a Vanilla and Tekkit server running side by side. &lt;br /&gt;
&lt;br /&gt;
Note that 1500M stands for the number of megabytes of ram you are letting Tekkit use potentially. The 512M stands for the number of megabytes of ram you let Java use at startup.&lt;br /&gt;
{{Code|nano start.sh}}&lt;br /&gt;
&lt;br /&gt;
{{Text|Text=#!/bin/sh&lt;br /&gt;
java -Xmx1500M -Xms512M -jar Tekkit.jar}}&lt;br /&gt;
*Give permissions to the script.&lt;br /&gt;
{{Code|chmod +x start.sh}}&lt;br /&gt;
*Start Tekkit&lt;br /&gt;
{{Code|nohup ./start.sh}}&lt;br /&gt;
&lt;br /&gt;
=Tekkit with McMyAdmin=&lt;br /&gt;
------------------&lt;br /&gt;
Please note that this section was written before McMyAdmin had an option for Tekkit. To make vanilla and Tekki Minecraft versions run simultaneously, you should also create the Tekkit script from above.&lt;br /&gt;
------------------&lt;br /&gt;
&lt;br /&gt;
* Before continuing, you must start Tekkit and stop it after Tekkit has completely loaded. This will create essential files.&lt;br /&gt;
{{Code|cd /var/hda/web-apps/tekkit&lt;br /&gt;
./start.sh&lt;br /&gt;
stop}}&lt;br /&gt;
* You must also do the same thing with McMyAdmin&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin&lt;br /&gt;
mono McMyAdmin.exe&lt;br /&gt;
stop}}&lt;br /&gt;
&lt;br /&gt;
For the purposes of this tutorial, it is assumed that both McMyAdmin and Tekkit have been installed and started/stopped as outlined above. We need to copy the Tekkit files into McMyAdmin. &lt;br /&gt;
&lt;br /&gt;
* Go into the Tekkit folder, rename Tekkit.jar to craftbukkit.jar&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin/tekkit/&lt;br /&gt;
mv Tekkit.jar craftbukkit.jar}}&lt;br /&gt;
&lt;br /&gt;
==Tekkit and Minecraft Vanilla Coexisting in McMyAdmin==&lt;br /&gt;
&lt;br /&gt;
* Follow the McMyAdmin tutorial above, except name the McMyAdmin folder &amp;quot;McMA_Vanilla&amp;quot;. Replace all &amp;quot;McMyAdmin&amp;quot; with &amp;quot;McMA_Vanilla&amp;quot; as needed.&lt;br /&gt;
* Create a folder called MineCraft.&lt;br /&gt;
{{Code|mkdir /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Copy (not move) McMA_Vanilla into the MineCraft folder.&lt;br /&gt;
{{Code|cp -fr /var/hda/web-apps/McMA_Vanilla /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Rename the original McMA_Vanilla to McMA_Tekkit.&lt;br /&gt;
* Move McMA_Tekkit into MineCraft folder.&lt;br /&gt;
{{Code|mv /var/hda/web-apps/McMA_Tekkit /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Follow the Tekkit tutorial above.&lt;br /&gt;
* Rename the Tekkit.jar file to craftbukkit.jar, AFTER having started and stopped the Tekkit and MineCraft servers at least once as outlined above.&lt;br /&gt;
{{Code|cd /var/hda/web-apps/tekkit&lt;br /&gt;
mv Tekkit.jar craftbukkit.jar}}&lt;br /&gt;
* Copy the contents of the tekkit folder into the McMA_Tekkit/Minecraft folder, merge and replace all files as needed.&lt;br /&gt;
* Delete the now empty tekkit directory&lt;br /&gt;
{{Code|rm -fr /var/hda/web-apps/tekkit}}&lt;br /&gt;
* Now we must edit the ports so that both McMyAdmin servers can run at the same time:&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit&lt;br /&gt;
nano /McMyAdmin.conf}}&lt;br /&gt;
Change webserver.port=8080 (line 71) to webserver.port=8081&amp;lt;br /&amp;gt;&lt;br /&gt;
Change server.address=localhost:25565 (line 152) to server.address=localhost:25665&amp;lt;br /&amp;gt;&lt;br /&gt;
To save do ctrl+x, y (to confirm save), and enter&lt;br /&gt;
* And the same must be done with the MineCraft servers&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit/Minecraft&lt;br /&gt;
nano server.properties}}&lt;br /&gt;
Change server-port 25565 (line 8) to server-port 25665&amp;lt;br /&amp;gt;&lt;br /&gt;
To save do ctrl+x, y (to confirm save)&lt;br /&gt;
* Start the Tekkit server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit&lt;br /&gt;
mono McMyAdmin.exe}}&lt;br /&gt;
* In a new terminal, start the Vanilla server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Vanilla&lt;br /&gt;
mono McMyAdmin.exe}}&lt;br /&gt;
&lt;br /&gt;
=Access McMyAdmin=&lt;br /&gt;
* For the Tekkit McMyAdmin:&lt;br /&gt;
{{link|http://hda:8081}}&lt;br /&gt;
* For the Vanilla McMyAdmin:&lt;br /&gt;
{{Link|http://hda:8080}}&lt;br /&gt;
&lt;br /&gt;
=Join MineCraft Server with Client=&lt;br /&gt;
* For the Tekkit server:&lt;br /&gt;
{{Link|http://(hda IP):25665}}&lt;br /&gt;
* For the Vanilla server:&lt;br /&gt;
{{Link|http://(hda IP):25565}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Apps]]&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=McMyAdmin&amp;diff=62114</id>
		<title>McMyAdmin</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=McMyAdmin&amp;diff=62114"/>
		<updated>2012-10-25T07:23:08Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: /* Installing the Tekkit Server */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: Below instructions are for Ubuntu. Fedora users must replace all &amp;quot;apt-get&amp;quot;s with &amp;quot;yum&amp;quot;s. So:&lt;br /&gt;
&lt;br /&gt;
{{Code|apt-get install mono-basic}}&lt;br /&gt;
&lt;br /&gt;
becomes&lt;br /&gt;
&lt;br /&gt;
{{Code|yum install mono-basic}}&lt;br /&gt;
&lt;br /&gt;
=Installing McMyAdmin=&lt;br /&gt;
&lt;br /&gt;
Minecraft server with web-based front end for server management.&lt;br /&gt;
&lt;br /&gt;
==Install dependencies==&lt;br /&gt;
*Instructions taken from [http://www.youtube.com/watch?feature=player_embedded&amp;amp;v=dtcDTb3XyTY this very helpful YouTube video].&lt;br /&gt;
Mono:&lt;br /&gt;
{{Code|apt-get install libmono-system-web2.0-cil libmono-i18n2.0-cil}}&lt;br /&gt;
&lt;br /&gt;
Java:&lt;br /&gt;
Copy the link to the appropriate Java version from [http://www.oracle.com/technetwork/java/javase/downloads/java-se-jdk-7-download-432154.html here]&lt;br /&gt;
&lt;br /&gt;
{{Code| wget [YOURLINKHERE.tar.gz]&lt;br /&gt;
tar -xvf jdk-7-linux-xxx.tar.gz&lt;br /&gt;
mkdir /usr/lib/jvm/&lt;br /&gt;
mv ./jdk1.7.0 /usr/lib/jvm/jdk1.7.0&lt;br /&gt;
sudo update-alternatives --install &amp;quot;/usr/bin/java&amp;quot; &amp;quot;java&amp;quot; &amp;quot;/usr/lib/jvm/jdk1.7.0/bin/java&amp;quot; 1&lt;br /&gt;
sudo update-alternatives --install &amp;quot;/usr/bin/javac&amp;quot; &amp;quot;javac&amp;quot; &amp;quot;/usr/lib/jvm/jdk1.7.0/bin/javac&amp;quot; 1&lt;br /&gt;
sudo update-alternatives --install &amp;quot;/usr/bin/javaws&amp;quot; &amp;quot;javaws&amp;quot; &amp;quot;/usr/lib/jvm/jdk1.7.0/bin/javaws&amp;quot; 1&lt;br /&gt;
sudo update-alternatives --config java&lt;br /&gt;
sudo update-alternatives --config javac&lt;br /&gt;
sudo update-alternatives --config javaws}}&lt;br /&gt;
&lt;br /&gt;
Check Java version, it should be something like:&lt;br /&gt;
&lt;br /&gt;
{{Code| java -version&lt;br /&gt;
It should Reply&lt;br /&gt;
java version &amp;quot;1.7.0&amp;quot;&lt;br /&gt;
Java(TM) SE Runtime Environment (build 1.7.0-b147)&lt;br /&gt;
Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode)}}&lt;br /&gt;
&lt;br /&gt;
==Get and install McMyAdmin==&lt;br /&gt;
{{Code|mkdir /var/hda/web-apps/mcmyadmin&lt;br /&gt;
wget -P /var/hda/web-apps/mcmyadmin http://www.phonicuk.com/Downloads/McMyAdmin-latest.zip&lt;br /&gt;
unzip /var/hda/web-apps/mcmyadmin/McMyAdmin-latest.zip -d /var/hda/web-apps/mcmyadmin/&lt;br /&gt;
chown -R apache:users /var/hda/web-apps/mcmyadmin&lt;br /&gt;
chmod +x /var/hda/web-apps/mcmyadmin/start.sh}}&lt;br /&gt;
* Start McMyAdmin and Minecraft server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin&lt;br /&gt;
./start.sh}}&lt;br /&gt;
and wait for it to download the latest Minecraft server.  Once done stop it with '''&amp;lt;Ctrl-C&amp;gt;''' and run the following to start McMyAdmin. The nohup command will allow you quit the terminal without stopping McMyAdmin server.&lt;br /&gt;
{{Code|nohup ./start.sh &amp;amp;}}&lt;br /&gt;
&lt;br /&gt;
The web interface runs on port 8080 by default account admin/admin:&lt;br /&gt;
{{Link|http://localhost:8080}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default the web interface can only be accessed from the machine it is running on. To make it available from another machine the entry passwordmd5 in McMyAdmin.conf.default must be changed. This can be done on the localhost:8080 link by changing the default password from &amp;quot;admin&amp;quot; to something else. The McMyAdmin server needs to be rebooted after the password is changed.&lt;br /&gt;
&lt;br /&gt;
==Installing the Minecraft Server==&lt;br /&gt;
&lt;br /&gt;
The Minecraft server is included with McMyAdmin and runs on port 25565 by default. After users have properly forwarded ports to the Amahi server Minecraft players will be able to use the HDA URL to connect to the server.&lt;br /&gt;
&lt;br /&gt;
Cronjob will need to be set for autostart on boot. Amahi may also be able to monitor this server to make sure it is running, similar to other services.&lt;br /&gt;
&lt;br /&gt;
==Installing the Tekkit Server==&lt;br /&gt;
&lt;br /&gt;
'''''To logon to a Tekkit server the user must use the [http://www.technicpack.net/launcher/ Technic Launcher] and not the default MineCraft app.'''''&lt;br /&gt;
&lt;br /&gt;
[http://www.technicpack.net/tekkit/ Tekkit] is a collection of Minecraft mods that allows for more advanced gameplay. The purpose of this tutorial is to illustrate the installation of Tekkit on your HDA. All commands below are for the terminal. Parts of the instructions are taken from [http://www.youtube.com/watch?v=u8-uGqSyaMo this] fine YouTube video.&lt;br /&gt;
*Do not start the Minecraft server upon installation of McMyAdmin.&lt;br /&gt;
*Logon to McMyAdmin, go to Configuration, Server Settings, and select Tekkit as the Server Type.&lt;br /&gt;
*Navigate to the default hda web-apps folder&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin}}&lt;br /&gt;
*Download the latest Tekkit server zip file from [http://www.technicpack.net/tekkit/ here]. Replace my link below with your own latest one.&lt;br /&gt;
{{Code|wget http://mirror.technicpack.net/files/Tekkit_Server_3.0.4.zip}}&lt;br /&gt;
*Extract the zip file with unzip. Replace name of file with your own latest one.&lt;br /&gt;
{{Code|apt-get install unzip&lt;br /&gt;
ls&lt;br /&gt;
unzip Tekkit_Server_3.0.4.zip}}&lt;br /&gt;
&lt;br /&gt;
Upon starting of the Minecraft server from the McMyAdmin portal, the Tekkit server will be started instead. Building the world and installing the mods and plugins will take a while (around 5-10 minutes), so make sure to give McMyAdmin sufficient time to finish.&lt;br /&gt;
&lt;br /&gt;
The default port is 25565. This may be edited below.&lt;br /&gt;
&lt;br /&gt;
===Creating a Tekkit Script===&lt;br /&gt;
*Create startup script for Tekkit. Note that 1500M stands for the number of megabytes of ram you are letting Tekkit use potentially. The 512M stands for the number of megabytes of ram you let Java use at startup.&lt;br /&gt;
{{Code|nano start.sh}}&lt;br /&gt;
&lt;br /&gt;
{{Text|Text=#!/bin/sh&lt;br /&gt;
java -Xmx1500M -Xms512M -jar Tekkit.jar}}&lt;br /&gt;
*Give permissions to the script.&lt;br /&gt;
{{Code|chmod +x start.sh}}&lt;br /&gt;
*Start Tekkit&lt;br /&gt;
{{Code|nohup ./start.sh}}&lt;br /&gt;
&lt;br /&gt;
=Tekkit with McMyAdmin=&lt;br /&gt;
------------------&lt;br /&gt;
Please note that this section was written before McMyAdmin had an option for Tekkit. To make vanilla and Tekki Minecraft versions run simultaneously, you should also create the Tekkit script from above.&lt;br /&gt;
------------------&lt;br /&gt;
&lt;br /&gt;
* Before continuing, you must start Tekkit and stop it after Tekkit has completely loaded. This will create essential files.&lt;br /&gt;
{{Code|cd /var/hda/web-apps/tekkit&lt;br /&gt;
./start.sh&lt;br /&gt;
stop}}&lt;br /&gt;
* You must also do the same thing with McMyAdmin&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin&lt;br /&gt;
mono McMyAdmin.exe&lt;br /&gt;
stop}}&lt;br /&gt;
&lt;br /&gt;
For the purposes of this tutorial, it is assumed that both McMyAdmin and Tekkit have been installed and started/stopped as outlined above. We need to copy the Tekkit files into McMyAdmin. &lt;br /&gt;
&lt;br /&gt;
* Go into the Tekkit folder, rename Tekkit.jar to craftbukkit.jar&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin/tekkit/&lt;br /&gt;
mv Tekkit.jar craftbukkit.jar}}&lt;br /&gt;
&lt;br /&gt;
==Tekkit and Minecraft Vanilla Coexisting in McMyAdmin==&lt;br /&gt;
&lt;br /&gt;
* Follow the McMyAdmin tutorial above, except name the McMyAdmin folder &amp;quot;McMA_Vanilla&amp;quot;. Replace all &amp;quot;McMyAdmin&amp;quot; with &amp;quot;McMA_Vanilla&amp;quot; as needed.&lt;br /&gt;
* Create a folder called MineCraft.&lt;br /&gt;
{{Code|mkdir /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Copy (not move) McMA_Vanilla into the MineCraft folder.&lt;br /&gt;
{{Code|cp -fr /var/hda/web-apps/McMA_Vanilla /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Rename the original McMA_Vanilla to McMA_Tekkit.&lt;br /&gt;
* Move McMA_Tekkit into MineCraft folder.&lt;br /&gt;
{{Code|mv /var/hda/web-apps/McMA_Tekkit /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Follow the Tekkit tutorial above.&lt;br /&gt;
* Rename the Tekkit.jar file to craftbukkit.jar, AFTER having started and stopped the Tekkit and MineCraft servers at least once as outlined above.&lt;br /&gt;
{{Code|cd /var/hda/web-apps/tekkit&lt;br /&gt;
mv Tekkit.jar craftbukkit.jar}}&lt;br /&gt;
* Copy the contents of the tekkit folder into the McMA_Tekkit/Minecraft folder, merge and replace all files as needed.&lt;br /&gt;
* Delete the now empty tekkit directory&lt;br /&gt;
{{Code|rm -fr /var/hda/web-apps/tekkit}}&lt;br /&gt;
* Now we must edit the ports so that both McMyAdmin servers can run at the same time:&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit&lt;br /&gt;
nano /McMyAdmin.conf}}&lt;br /&gt;
Change webserver.port=8080 (line 71) to webserver.port=8081&amp;lt;br /&amp;gt;&lt;br /&gt;
Change server.address=localhost:25565 (line 152) to server.address=localhost:25665&amp;lt;br /&amp;gt;&lt;br /&gt;
To save do ctrl+x, y (to confirm save), and enter&lt;br /&gt;
* And the same must be done with the MineCraft servers&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit/Minecraft&lt;br /&gt;
nano server.properties}}&lt;br /&gt;
Change server-port 25565 (line 8) to server-port 25665&amp;lt;br /&amp;gt;&lt;br /&gt;
To save do ctrl+x, y (to confirm save)&lt;br /&gt;
* Start the Tekkit server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit&lt;br /&gt;
mono McMyAdmin.exe}}&lt;br /&gt;
* In a new terminal, start the Vanilla server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Vanilla&lt;br /&gt;
mono McMyAdmin.exe}}&lt;br /&gt;
&lt;br /&gt;
=Access McMyAdmin=&lt;br /&gt;
* For the Tekkit McMyAdmin:&lt;br /&gt;
{{link|http://hda:8081}}&lt;br /&gt;
* For the Vanilla McMyAdmin:&lt;br /&gt;
{{Link|http://hda:8080}}&lt;br /&gt;
&lt;br /&gt;
=Join MineCraft Server with Client=&lt;br /&gt;
* For the Tekkit server:&lt;br /&gt;
{{Link|http://(hda IP):25665}}&lt;br /&gt;
* For the Vanilla server:&lt;br /&gt;
{{Link|http://(hda IP):25565}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Apps]]&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=McMyAdmin&amp;diff=62108</id>
		<title>McMyAdmin</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=McMyAdmin&amp;diff=62108"/>
		<updated>2012-10-25T07:22:56Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: /* Tekkit with McMyAdmin */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: Below instructions are for Ubuntu. Fedora users must replace all &amp;quot;apt-get&amp;quot;s with &amp;quot;yum&amp;quot;s. So:&lt;br /&gt;
&lt;br /&gt;
{{Code|apt-get install mono-basic}}&lt;br /&gt;
&lt;br /&gt;
becomes&lt;br /&gt;
&lt;br /&gt;
{{Code|yum install mono-basic}}&lt;br /&gt;
&lt;br /&gt;
=Installing McMyAdmin=&lt;br /&gt;
&lt;br /&gt;
Minecraft server with web-based front end for server management.&lt;br /&gt;
&lt;br /&gt;
==Install dependencies==&lt;br /&gt;
*Instructions taken from [http://www.youtube.com/watch?feature=player_embedded&amp;amp;v=dtcDTb3XyTY this very helpful YouTube video].&lt;br /&gt;
Mono:&lt;br /&gt;
{{Code|apt-get install libmono-system-web2.0-cil libmono-i18n2.0-cil}}&lt;br /&gt;
&lt;br /&gt;
Java:&lt;br /&gt;
Copy the link to the appropriate Java version from [http://www.oracle.com/technetwork/java/javase/downloads/java-se-jdk-7-download-432154.html here]&lt;br /&gt;
&lt;br /&gt;
{{Code| wget [YOURLINKHERE.tar.gz]&lt;br /&gt;
tar -xvf jdk-7-linux-xxx.tar.gz&lt;br /&gt;
mkdir /usr/lib/jvm/&lt;br /&gt;
mv ./jdk1.7.0 /usr/lib/jvm/jdk1.7.0&lt;br /&gt;
sudo update-alternatives --install &amp;quot;/usr/bin/java&amp;quot; &amp;quot;java&amp;quot; &amp;quot;/usr/lib/jvm/jdk1.7.0/bin/java&amp;quot; 1&lt;br /&gt;
sudo update-alternatives --install &amp;quot;/usr/bin/javac&amp;quot; &amp;quot;javac&amp;quot; &amp;quot;/usr/lib/jvm/jdk1.7.0/bin/javac&amp;quot; 1&lt;br /&gt;
sudo update-alternatives --install &amp;quot;/usr/bin/javaws&amp;quot; &amp;quot;javaws&amp;quot; &amp;quot;/usr/lib/jvm/jdk1.7.0/bin/javaws&amp;quot; 1&lt;br /&gt;
sudo update-alternatives --config java&lt;br /&gt;
sudo update-alternatives --config javac&lt;br /&gt;
sudo update-alternatives --config javaws}}&lt;br /&gt;
&lt;br /&gt;
Check Java version, it should be something like:&lt;br /&gt;
&lt;br /&gt;
{{Code| java -version&lt;br /&gt;
It should Reply&lt;br /&gt;
java version &amp;quot;1.7.0&amp;quot;&lt;br /&gt;
Java(TM) SE Runtime Environment (build 1.7.0-b147)&lt;br /&gt;
Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode)}}&lt;br /&gt;
&lt;br /&gt;
==Get and install McMyAdmin==&lt;br /&gt;
{{Code|mkdir /var/hda/web-apps/mcmyadmin&lt;br /&gt;
wget -P /var/hda/web-apps/mcmyadmin http://www.phonicuk.com/Downloads/McMyAdmin-latest.zip&lt;br /&gt;
unzip /var/hda/web-apps/mcmyadmin/McMyAdmin-latest.zip -d /var/hda/web-apps/mcmyadmin/&lt;br /&gt;
chown -R apache:users /var/hda/web-apps/mcmyadmin&lt;br /&gt;
chmod +x /var/hda/web-apps/mcmyadmin/start.sh}}&lt;br /&gt;
* Start McMyAdmin and Minecraft server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin&lt;br /&gt;
./start.sh}}&lt;br /&gt;
and wait for it to download the latest Minecraft server.  Once done stop it with '''&amp;lt;Ctrl-C&amp;gt;''' and run the following to start McMyAdmin. The nohup command will allow you quit the terminal without stopping McMyAdmin server.&lt;br /&gt;
{{Code|nohup ./start.sh &amp;amp;}}&lt;br /&gt;
&lt;br /&gt;
The web interface runs on port 8080 by default account admin/admin:&lt;br /&gt;
{{Link|http://localhost:8080}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default the web interface can only be accessed from the machine it is running on. To make it available from another machine the entry passwordmd5 in McMyAdmin.conf.default must be changed. This can be done on the localhost:8080 link by changing the default password from &amp;quot;admin&amp;quot; to something else. The McMyAdmin server needs to be rebooted after the password is changed.&lt;br /&gt;
&lt;br /&gt;
==Installing the Minecraft Server==&lt;br /&gt;
&lt;br /&gt;
The Minecraft server is included with McMyAdmin and runs on port 25565 by default. After users have properly forwarded ports to the Amahi server Minecraft players will be able to use the HDA URL to connect to the server.&lt;br /&gt;
&lt;br /&gt;
Cronjob will need to be set for autostart on boot. Amahi may also be able to monitor this server to make sure it is running, similar to other services.&lt;br /&gt;
&lt;br /&gt;
==Installing the Tekkit Server==&lt;br /&gt;
&lt;br /&gt;
'''''To logon to a Tekkit server the user must use the [http://www.technicpack.net/launcher/ Technic Launcher] and not the default MineCraft app.'''''&lt;br /&gt;
&lt;br /&gt;
[http://www.technicpack.net/tekkit/ Tekkit] is a collection of Minecraft mods that allows for more advanced gameplay. The purpose of this tutorial is to illustrate the installation of Tekkit on your HDA. All commands below are for the terminal. Parts of the instructions are taken from [http://www.youtube.com/watch?v=u8-uGqSyaMo this] fine YouTube video.&lt;br /&gt;
*Do not start the Minecraft server upon installation of McMyAdmin.&lt;br /&gt;
*Logon to McMyAdmin, go to Configuration, Server Settings, and select Tekkit as the Server Type.&lt;br /&gt;
*Navigate to the default hda web-apps folder&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin}}&lt;br /&gt;
*Download the latest Tekkit server zip file from [http://www.technicpack.net/tekkit/ here]. Replace my link below with your own latest one.&lt;br /&gt;
{{Code|wget http://mirror.technicpack.net/files/Tekkit_Server_3.0.4.zip}}&lt;br /&gt;
*Extract the zip file with unzip. Replace name of file with your own latest one.&lt;br /&gt;
{{Code|apt-get install unzip&lt;br /&gt;
ls&lt;br /&gt;
unzip Tekkit_Server_3.0.4.zip}}&lt;br /&gt;
&lt;br /&gt;
Upon starting of the Minecraft server from the McMyAdmin portal, the Tekkit server will be started instead. Building the world and installing the mods and plugins will take a while (around 5-10 minutes), so make sure to give McMyAdmin sufficient time to finish.&lt;br /&gt;
&lt;br /&gt;
The default port is 25565. This may be edited below.&lt;br /&gt;
&lt;br /&gt;
=Tekkit with McMyAdmin=&lt;br /&gt;
------------------&lt;br /&gt;
Please note that this section was written before McMyAdmin had an option for Tekkit. To make vanilla and Tekki Minecraft versions run simultaneously, you should also create the Tekkit script from above.&lt;br /&gt;
------------------&lt;br /&gt;
&lt;br /&gt;
* Before continuing, you must start Tekkit and stop it after Tekkit has completely loaded. This will create essential files.&lt;br /&gt;
{{Code|cd /var/hda/web-apps/tekkit&lt;br /&gt;
./start.sh&lt;br /&gt;
stop}}&lt;br /&gt;
* You must also do the same thing with McMyAdmin&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin&lt;br /&gt;
mono McMyAdmin.exe&lt;br /&gt;
stop}}&lt;br /&gt;
&lt;br /&gt;
For the purposes of this tutorial, it is assumed that both McMyAdmin and Tekkit have been installed and started/stopped as outlined above. We need to copy the Tekkit files into McMyAdmin. &lt;br /&gt;
&lt;br /&gt;
* Go into the Tekkit folder, rename Tekkit.jar to craftbukkit.jar&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin/tekkit/&lt;br /&gt;
mv Tekkit.jar craftbukkit.jar}}&lt;br /&gt;
&lt;br /&gt;
==Tekkit and Minecraft Vanilla Coexisting in McMyAdmin==&lt;br /&gt;
&lt;br /&gt;
* Follow the McMyAdmin tutorial above, except name the McMyAdmin folder &amp;quot;McMA_Vanilla&amp;quot;. Replace all &amp;quot;McMyAdmin&amp;quot; with &amp;quot;McMA_Vanilla&amp;quot; as needed.&lt;br /&gt;
* Create a folder called MineCraft.&lt;br /&gt;
{{Code|mkdir /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Copy (not move) McMA_Vanilla into the MineCraft folder.&lt;br /&gt;
{{Code|cp -fr /var/hda/web-apps/McMA_Vanilla /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Rename the original McMA_Vanilla to McMA_Tekkit.&lt;br /&gt;
* Move McMA_Tekkit into MineCraft folder.&lt;br /&gt;
{{Code|mv /var/hda/web-apps/McMA_Tekkit /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Follow the Tekkit tutorial above.&lt;br /&gt;
* Rename the Tekkit.jar file to craftbukkit.jar, AFTER having started and stopped the Tekkit and MineCraft servers at least once as outlined above.&lt;br /&gt;
{{Code|cd /var/hda/web-apps/tekkit&lt;br /&gt;
mv Tekkit.jar craftbukkit.jar}}&lt;br /&gt;
* Copy the contents of the tekkit folder into the McMA_Tekkit/Minecraft folder, merge and replace all files as needed.&lt;br /&gt;
* Delete the now empty tekkit directory&lt;br /&gt;
{{Code|rm -fr /var/hda/web-apps/tekkit}}&lt;br /&gt;
* Now we must edit the ports so that both McMyAdmin servers can run at the same time:&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit&lt;br /&gt;
nano /McMyAdmin.conf}}&lt;br /&gt;
Change webserver.port=8080 (line 71) to webserver.port=8081&amp;lt;br /&amp;gt;&lt;br /&gt;
Change server.address=localhost:25565 (line 152) to server.address=localhost:25665&amp;lt;br /&amp;gt;&lt;br /&gt;
To save do ctrl+x, y (to confirm save), and enter&lt;br /&gt;
* And the same must be done with the MineCraft servers&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit/Minecraft&lt;br /&gt;
nano server.properties}}&lt;br /&gt;
Change server-port 25565 (line 8) to server-port 25665&amp;lt;br /&amp;gt;&lt;br /&gt;
To save do ctrl+x, y (to confirm save)&lt;br /&gt;
* Start the Tekkit server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit&lt;br /&gt;
mono McMyAdmin.exe}}&lt;br /&gt;
* In a new terminal, start the Vanilla server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Vanilla&lt;br /&gt;
mono McMyAdmin.exe}}&lt;br /&gt;
&lt;br /&gt;
=Access McMyAdmin=&lt;br /&gt;
* For the Tekkit McMyAdmin:&lt;br /&gt;
{{link|http://hda:8081}}&lt;br /&gt;
* For the Vanilla McMyAdmin:&lt;br /&gt;
{{Link|http://hda:8080}}&lt;br /&gt;
&lt;br /&gt;
=Join MineCraft Server with Client=&lt;br /&gt;
* For the Tekkit server:&lt;br /&gt;
{{Link|http://(hda IP):25665}}&lt;br /&gt;
* For the Vanilla server:&lt;br /&gt;
{{Link|http://(hda IP):25565}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Apps]]&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=McMyAdmin&amp;diff=62102</id>
		<title>McMyAdmin</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=McMyAdmin&amp;diff=62102"/>
		<updated>2012-10-25T07:21:24Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: /* Tekkit with McMyAdmin */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: Below instructions are for Ubuntu. Fedora users must replace all &amp;quot;apt-get&amp;quot;s with &amp;quot;yum&amp;quot;s. So:&lt;br /&gt;
&lt;br /&gt;
{{Code|apt-get install mono-basic}}&lt;br /&gt;
&lt;br /&gt;
becomes&lt;br /&gt;
&lt;br /&gt;
{{Code|yum install mono-basic}}&lt;br /&gt;
&lt;br /&gt;
=Installing McMyAdmin=&lt;br /&gt;
&lt;br /&gt;
Minecraft server with web-based front end for server management.&lt;br /&gt;
&lt;br /&gt;
==Install dependencies==&lt;br /&gt;
*Instructions taken from [http://www.youtube.com/watch?feature=player_embedded&amp;amp;v=dtcDTb3XyTY this very helpful YouTube video].&lt;br /&gt;
Mono:&lt;br /&gt;
{{Code|apt-get install libmono-system-web2.0-cil libmono-i18n2.0-cil}}&lt;br /&gt;
&lt;br /&gt;
Java:&lt;br /&gt;
Copy the link to the appropriate Java version from [http://www.oracle.com/technetwork/java/javase/downloads/java-se-jdk-7-download-432154.html here]&lt;br /&gt;
&lt;br /&gt;
{{Code| wget [YOURLINKHERE.tar.gz]&lt;br /&gt;
tar -xvf jdk-7-linux-xxx.tar.gz&lt;br /&gt;
mkdir /usr/lib/jvm/&lt;br /&gt;
mv ./jdk1.7.0 /usr/lib/jvm/jdk1.7.0&lt;br /&gt;
sudo update-alternatives --install &amp;quot;/usr/bin/java&amp;quot; &amp;quot;java&amp;quot; &amp;quot;/usr/lib/jvm/jdk1.7.0/bin/java&amp;quot; 1&lt;br /&gt;
sudo update-alternatives --install &amp;quot;/usr/bin/javac&amp;quot; &amp;quot;javac&amp;quot; &amp;quot;/usr/lib/jvm/jdk1.7.0/bin/javac&amp;quot; 1&lt;br /&gt;
sudo update-alternatives --install &amp;quot;/usr/bin/javaws&amp;quot; &amp;quot;javaws&amp;quot; &amp;quot;/usr/lib/jvm/jdk1.7.0/bin/javaws&amp;quot; 1&lt;br /&gt;
sudo update-alternatives --config java&lt;br /&gt;
sudo update-alternatives --config javac&lt;br /&gt;
sudo update-alternatives --config javaws}}&lt;br /&gt;
&lt;br /&gt;
Check Java version, it should be something like:&lt;br /&gt;
&lt;br /&gt;
{{Code| java -version&lt;br /&gt;
It should Reply&lt;br /&gt;
java version &amp;quot;1.7.0&amp;quot;&lt;br /&gt;
Java(TM) SE Runtime Environment (build 1.7.0-b147)&lt;br /&gt;
Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode)}}&lt;br /&gt;
&lt;br /&gt;
==Get and install McMyAdmin==&lt;br /&gt;
{{Code|mkdir /var/hda/web-apps/mcmyadmin&lt;br /&gt;
wget -P /var/hda/web-apps/mcmyadmin http://www.phonicuk.com/Downloads/McMyAdmin-latest.zip&lt;br /&gt;
unzip /var/hda/web-apps/mcmyadmin/McMyAdmin-latest.zip -d /var/hda/web-apps/mcmyadmin/&lt;br /&gt;
chown -R apache:users /var/hda/web-apps/mcmyadmin&lt;br /&gt;
chmod +x /var/hda/web-apps/mcmyadmin/start.sh}}&lt;br /&gt;
* Start McMyAdmin and Minecraft server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin&lt;br /&gt;
./start.sh}}&lt;br /&gt;
and wait for it to download the latest Minecraft server.  Once done stop it with '''&amp;lt;Ctrl-C&amp;gt;''' and run the following to start McMyAdmin. The nohup command will allow you quit the terminal without stopping McMyAdmin server.&lt;br /&gt;
{{Code|nohup ./start.sh &amp;amp;}}&lt;br /&gt;
&lt;br /&gt;
The web interface runs on port 8080 by default account admin/admin:&lt;br /&gt;
{{Link|http://localhost:8080}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default the web interface can only be accessed from the machine it is running on. To make it available from another machine the entry passwordmd5 in McMyAdmin.conf.default must be changed. This can be done on the localhost:8080 link by changing the default password from &amp;quot;admin&amp;quot; to something else. The McMyAdmin server needs to be rebooted after the password is changed.&lt;br /&gt;
&lt;br /&gt;
==Installing the Minecraft Server==&lt;br /&gt;
&lt;br /&gt;
The Minecraft server is included with McMyAdmin and runs on port 25565 by default. After users have properly forwarded ports to the Amahi server Minecraft players will be able to use the HDA URL to connect to the server.&lt;br /&gt;
&lt;br /&gt;
Cronjob will need to be set for autostart on boot. Amahi may also be able to monitor this server to make sure it is running, similar to other services.&lt;br /&gt;
&lt;br /&gt;
==Installing the Tekkit Server==&lt;br /&gt;
&lt;br /&gt;
'''''To logon to a Tekkit server the user must use the [http://www.technicpack.net/launcher/ Technic Launcher] and not the default MineCraft app.'''''&lt;br /&gt;
&lt;br /&gt;
[http://www.technicpack.net/tekkit/ Tekkit] is a collection of Minecraft mods that allows for more advanced gameplay. The purpose of this tutorial is to illustrate the installation of Tekkit on your HDA. All commands below are for the terminal. Parts of the instructions are taken from [http://www.youtube.com/watch?v=u8-uGqSyaMo this] fine YouTube video.&lt;br /&gt;
*Do not start the Minecraft server upon installation of McMyAdmin.&lt;br /&gt;
*Logon to McMyAdmin, go to Configuration, Server Settings, and select Tekkit as the Server Type.&lt;br /&gt;
*Navigate to the default hda web-apps folder&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin}}&lt;br /&gt;
*Download the latest Tekkit server zip file from [http://www.technicpack.net/tekkit/ here]. Replace my link below with your own latest one.&lt;br /&gt;
{{Code|wget http://mirror.technicpack.net/files/Tekkit_Server_3.0.4.zip}}&lt;br /&gt;
*Extract the zip file with unzip. Replace name of file with your own latest one.&lt;br /&gt;
{{Code|apt-get install unzip&lt;br /&gt;
ls&lt;br /&gt;
unzip Tekkit_Server_3.0.4.zip}}&lt;br /&gt;
&lt;br /&gt;
Upon starting of the Minecraft server from the McMyAdmin portal, the Tekkit server will be started instead. Building the world and installing the mods and plugins will take a while (around 5-10 minutes), so make sure to give McMyAdmin sufficient time to finish.&lt;br /&gt;
&lt;br /&gt;
The default port is 25565. This may be edited below.&lt;br /&gt;
&lt;br /&gt;
=Tekkit with McMyAdmin=&lt;br /&gt;
------------------&lt;br /&gt;
Please note that this section was written before McMyAdmin had an option for Tekkit. To make vanilla and Tekki Minecraft versions run simultaneously, you should install Tekkit in the following manner:&lt;br /&gt;
&lt;br /&gt;
*Create startup script for Tekkit. Note that 1500M stands for the number of megabytes of ram you are letting Tekkit use potentially. The 512M stands for the number of megabytes of ram you let Java use at startup.&lt;br /&gt;
{{Code|nano start.sh}}&lt;br /&gt;
&lt;br /&gt;
{{Text|Text=#!/bin/sh&lt;br /&gt;
java -Xmx1500M -Xms512M -jar Tekkit.jar}}&lt;br /&gt;
*Give permissions to the script.&lt;br /&gt;
{{Code|chmod +x start.sh}}&lt;br /&gt;
*Start Tekkit&lt;br /&gt;
{{Code|nohup ./start.sh}}&lt;br /&gt;
------------------&lt;br /&gt;
&lt;br /&gt;
* Before continuing, you must start Tekkit and stop it after Tekkit has completely loaded. This will create essential files.&lt;br /&gt;
{{Code|cd /var/hda/web-apps/tekkit&lt;br /&gt;
./start.sh&lt;br /&gt;
stop}}&lt;br /&gt;
* You must also do the same thing with McMyAdmin&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin&lt;br /&gt;
mono McMyAdmin.exe&lt;br /&gt;
stop}}&lt;br /&gt;
&lt;br /&gt;
For the purposes of this tutorial, it is assumed that both McMyAdmin and Tekkit have been installed and started/stopped as outlined above. We need to copy the Tekkit files into McMyAdmin. &lt;br /&gt;
&lt;br /&gt;
* Go into the Tekkit folder, rename Tekkit.jar to craftbukkit.jar&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin/tekkit/&lt;br /&gt;
mv Tekkit.jar craftbukkit.jar}}&lt;br /&gt;
&lt;br /&gt;
==Tekkit and Minecraft Vanilla Coexisting in McMyAdmin==&lt;br /&gt;
&lt;br /&gt;
* Follow the McMyAdmin tutorial above, except name the McMyAdmin folder &amp;quot;McMA_Vanilla&amp;quot;. Replace all &amp;quot;McMyAdmin&amp;quot; with &amp;quot;McMA_Vanilla&amp;quot; as needed.&lt;br /&gt;
* Create a folder called MineCraft.&lt;br /&gt;
{{Code|mkdir /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Copy (not move) McMA_Vanilla into the MineCraft folder.&lt;br /&gt;
{{Code|cp -fr /var/hda/web-apps/McMA_Vanilla /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Rename the original McMA_Vanilla to McMA_Tekkit.&lt;br /&gt;
* Move McMA_Tekkit into MineCraft folder.&lt;br /&gt;
{{Code|mv /var/hda/web-apps/McMA_Tekkit /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Follow the Tekkit tutorial above.&lt;br /&gt;
* Rename the Tekkit.jar file to craftbukkit.jar, AFTER having started and stopped the Tekkit and MineCraft servers at least once as outlined above.&lt;br /&gt;
{{Code|cd /var/hda/web-apps/tekkit&lt;br /&gt;
mv Tekkit.jar craftbukkit.jar}}&lt;br /&gt;
* Copy the contents of the tekkit folder into the McMA_Tekkit/Minecraft folder, merge and replace all files as needed.&lt;br /&gt;
* Delete the now empty tekkit directory&lt;br /&gt;
{{Code|rm -fr /var/hda/web-apps/tekkit}}&lt;br /&gt;
* Now we must edit the ports so that both McMyAdmin servers can run at the same time:&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit&lt;br /&gt;
nano /McMyAdmin.conf}}&lt;br /&gt;
Change webserver.port=8080 (line 71) to webserver.port=8081&amp;lt;br /&amp;gt;&lt;br /&gt;
Change server.address=localhost:25565 (line 152) to server.address=localhost:25665&amp;lt;br /&amp;gt;&lt;br /&gt;
To save do ctrl+x, y (to confirm save), and enter&lt;br /&gt;
* And the same must be done with the MineCraft servers&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit/Minecraft&lt;br /&gt;
nano server.properties}}&lt;br /&gt;
Change server-port 25565 (line 8) to server-port 25665&amp;lt;br /&amp;gt;&lt;br /&gt;
To save do ctrl+x, y (to confirm save)&lt;br /&gt;
* Start the Tekkit server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit&lt;br /&gt;
mono McMyAdmin.exe}}&lt;br /&gt;
* In a new terminal, start the Vanilla server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Vanilla&lt;br /&gt;
mono McMyAdmin.exe}}&lt;br /&gt;
&lt;br /&gt;
=Access McMyAdmin=&lt;br /&gt;
* For the Tekkit McMyAdmin:&lt;br /&gt;
{{link|http://hda:8081}}&lt;br /&gt;
* For the Vanilla McMyAdmin:&lt;br /&gt;
{{Link|http://hda:8080}}&lt;br /&gt;
&lt;br /&gt;
=Join MineCraft Server with Client=&lt;br /&gt;
* For the Tekkit server:&lt;br /&gt;
{{Link|http://(hda IP):25665}}&lt;br /&gt;
* For the Vanilla server:&lt;br /&gt;
{{Link|http://(hda IP):25565}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Apps]]&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=McMyAdmin&amp;diff=62096</id>
		<title>McMyAdmin</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=McMyAdmin&amp;diff=62096"/>
		<updated>2012-10-25T07:17:29Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: /* Installing the Tekkit Server */  Revised instructions to reflect latest McMyAdmin feature&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: Below instructions are for Ubuntu. Fedora users must replace all &amp;quot;apt-get&amp;quot;s with &amp;quot;yum&amp;quot;s. So:&lt;br /&gt;
&lt;br /&gt;
{{Code|apt-get install mono-basic}}&lt;br /&gt;
&lt;br /&gt;
becomes&lt;br /&gt;
&lt;br /&gt;
{{Code|yum install mono-basic}}&lt;br /&gt;
&lt;br /&gt;
=Installing McMyAdmin=&lt;br /&gt;
&lt;br /&gt;
Minecraft server with web-based front end for server management.&lt;br /&gt;
&lt;br /&gt;
==Install dependencies==&lt;br /&gt;
*Instructions taken from [http://www.youtube.com/watch?feature=player_embedded&amp;amp;v=dtcDTb3XyTY this very helpful YouTube video].&lt;br /&gt;
Mono:&lt;br /&gt;
{{Code|apt-get install libmono-system-web2.0-cil libmono-i18n2.0-cil}}&lt;br /&gt;
&lt;br /&gt;
Java:&lt;br /&gt;
Copy the link to the appropriate Java version from [http://www.oracle.com/technetwork/java/javase/downloads/java-se-jdk-7-download-432154.html here]&lt;br /&gt;
&lt;br /&gt;
{{Code| wget [YOURLINKHERE.tar.gz]&lt;br /&gt;
tar -xvf jdk-7-linux-xxx.tar.gz&lt;br /&gt;
mkdir /usr/lib/jvm/&lt;br /&gt;
mv ./jdk1.7.0 /usr/lib/jvm/jdk1.7.0&lt;br /&gt;
sudo update-alternatives --install &amp;quot;/usr/bin/java&amp;quot; &amp;quot;java&amp;quot; &amp;quot;/usr/lib/jvm/jdk1.7.0/bin/java&amp;quot; 1&lt;br /&gt;
sudo update-alternatives --install &amp;quot;/usr/bin/javac&amp;quot; &amp;quot;javac&amp;quot; &amp;quot;/usr/lib/jvm/jdk1.7.0/bin/javac&amp;quot; 1&lt;br /&gt;
sudo update-alternatives --install &amp;quot;/usr/bin/javaws&amp;quot; &amp;quot;javaws&amp;quot; &amp;quot;/usr/lib/jvm/jdk1.7.0/bin/javaws&amp;quot; 1&lt;br /&gt;
sudo update-alternatives --config java&lt;br /&gt;
sudo update-alternatives --config javac&lt;br /&gt;
sudo update-alternatives --config javaws}}&lt;br /&gt;
&lt;br /&gt;
Check Java version, it should be something like:&lt;br /&gt;
&lt;br /&gt;
{{Code| java -version&lt;br /&gt;
It should Reply&lt;br /&gt;
java version &amp;quot;1.7.0&amp;quot;&lt;br /&gt;
Java(TM) SE Runtime Environment (build 1.7.0-b147)&lt;br /&gt;
Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode)}}&lt;br /&gt;
&lt;br /&gt;
==Get and install McMyAdmin==&lt;br /&gt;
{{Code|mkdir /var/hda/web-apps/mcmyadmin&lt;br /&gt;
wget -P /var/hda/web-apps/mcmyadmin http://www.phonicuk.com/Downloads/McMyAdmin-latest.zip&lt;br /&gt;
unzip /var/hda/web-apps/mcmyadmin/McMyAdmin-latest.zip -d /var/hda/web-apps/mcmyadmin/&lt;br /&gt;
chown -R apache:users /var/hda/web-apps/mcmyadmin&lt;br /&gt;
chmod +x /var/hda/web-apps/mcmyadmin/start.sh}}&lt;br /&gt;
* Start McMyAdmin and Minecraft server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin&lt;br /&gt;
./start.sh}}&lt;br /&gt;
and wait for it to download the latest Minecraft server.  Once done stop it with '''&amp;lt;Ctrl-C&amp;gt;''' and run the following to start McMyAdmin. The nohup command will allow you quit the terminal without stopping McMyAdmin server.&lt;br /&gt;
{{Code|nohup ./start.sh &amp;amp;}}&lt;br /&gt;
&lt;br /&gt;
The web interface runs on port 8080 by default account admin/admin:&lt;br /&gt;
{{Link|http://localhost:8080}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default the web interface can only be accessed from the machine it is running on. To make it available from another machine the entry passwordmd5 in McMyAdmin.conf.default must be changed. This can be done on the localhost:8080 link by changing the default password from &amp;quot;admin&amp;quot; to something else. The McMyAdmin server needs to be rebooted after the password is changed.&lt;br /&gt;
&lt;br /&gt;
==Installing the Minecraft Server==&lt;br /&gt;
&lt;br /&gt;
The Minecraft server is included with McMyAdmin and runs on port 25565 by default. After users have properly forwarded ports to the Amahi server Minecraft players will be able to use the HDA URL to connect to the server.&lt;br /&gt;
&lt;br /&gt;
Cronjob will need to be set for autostart on boot. Amahi may also be able to monitor this server to make sure it is running, similar to other services.&lt;br /&gt;
&lt;br /&gt;
==Installing the Tekkit Server==&lt;br /&gt;
&lt;br /&gt;
'''''To logon to a Tekkit server the user must use the [http://www.technicpack.net/launcher/ Technic Launcher] and not the default MineCraft app.'''''&lt;br /&gt;
&lt;br /&gt;
[http://www.technicpack.net/tekkit/ Tekkit] is a collection of Minecraft mods that allows for more advanced gameplay. The purpose of this tutorial is to illustrate the installation of Tekkit on your HDA. All commands below are for the terminal. Parts of the instructions are taken from [http://www.youtube.com/watch?v=u8-uGqSyaMo this] fine YouTube video.&lt;br /&gt;
*Do not start the Minecraft server upon installation of McMyAdmin.&lt;br /&gt;
*Logon to McMyAdmin, go to Configuration, Server Settings, and select Tekkit as the Server Type.&lt;br /&gt;
*Navigate to the default hda web-apps folder&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin}}&lt;br /&gt;
*Download the latest Tekkit server zip file from [http://www.technicpack.net/tekkit/ here]. Replace my link below with your own latest one.&lt;br /&gt;
{{Code|wget http://mirror.technicpack.net/files/Tekkit_Server_3.0.4.zip}}&lt;br /&gt;
*Extract the zip file with unzip. Replace name of file with your own latest one.&lt;br /&gt;
{{Code|apt-get install unzip&lt;br /&gt;
ls&lt;br /&gt;
unzip Tekkit_Server_3.0.4.zip}}&lt;br /&gt;
&lt;br /&gt;
Upon starting of the Minecraft server from the McMyAdmin portal, the Tekkit server will be started instead. Building the world and installing the mods and plugins will take a while (around 5-10 minutes), so make sure to give McMyAdmin sufficient time to finish.&lt;br /&gt;
&lt;br /&gt;
The default port is 25565. This may be edited below.&lt;br /&gt;
&lt;br /&gt;
=Tekkit with McMyAdmin=&lt;br /&gt;
&lt;br /&gt;
* Before continuing, you must start Tekkit and stop it after Tekkit has completely loaded. This will create essential files.&lt;br /&gt;
{{Code|cd /var/hda/web-apps/tekkit&lt;br /&gt;
./start.sh&lt;br /&gt;
stop}}&lt;br /&gt;
* You must also do the same thing with McMyAdmin&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin&lt;br /&gt;
mono McMyAdmin.exe&lt;br /&gt;
stop}}&lt;br /&gt;
&lt;br /&gt;
For the purposes of this tutorial, it is assumed that both McMyAdmin and Tekkit have been installed and started/stopped as outlined above. We need to copy the Tekkit files into McMyAdmin. &lt;br /&gt;
&lt;br /&gt;
* Go into the Tekkit folder, rename Tekkit.jar to craftbukkit.jar&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin/tekkit/&lt;br /&gt;
mv Tekkit.jar craftbukkit.jar}}&lt;br /&gt;
&lt;br /&gt;
==Tekkit and Minecraft Vanilla Coexisting in McMyAdmin==&lt;br /&gt;
&lt;br /&gt;
* Follow the McMyAdmin tutorial above, except name the McMyAdmin folder &amp;quot;McMA_Vanilla&amp;quot;. Replace all &amp;quot;McMyAdmin&amp;quot; with &amp;quot;McMA_Vanilla&amp;quot; as needed.&lt;br /&gt;
* Create a folder called MineCraft.&lt;br /&gt;
{{Code|mkdir /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Copy (not move) McMA_Vanilla into the MineCraft folder.&lt;br /&gt;
{{Code|cp -fr /var/hda/web-apps/McMA_Vanilla /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Rename the original McMA_Vanilla to McMA_Tekkit.&lt;br /&gt;
* Move McMA_Tekkit into MineCraft folder.&lt;br /&gt;
{{Code|mv /var/hda/web-apps/McMA_Tekkit /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Follow the Tekkit tutorial above.&lt;br /&gt;
* Rename the Tekkit.jar file to craftbukkit.jar, AFTER having started and stopped the Tekkit and MineCraft servers at least once as outlined above.&lt;br /&gt;
{{Code|cd /var/hda/web-apps/tekkit&lt;br /&gt;
mv Tekkit.jar craftbukkit.jar}}&lt;br /&gt;
* Copy the contents of the tekkit folder into the McMA_Tekkit/Minecraft folder, merge and replace all files as needed.&lt;br /&gt;
* Delete the now empty tekkit directory&lt;br /&gt;
{{Code|rm -fr /var/hda/web-apps/tekkit}}&lt;br /&gt;
* Now we must edit the ports so that both McMyAdmin servers can run at the same time:&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit&lt;br /&gt;
nano /McMyAdmin.conf}}&lt;br /&gt;
Change webserver.port=8080 (line 71) to webserver.port=8081&amp;lt;br /&amp;gt;&lt;br /&gt;
Change server.address=localhost:25565 (line 152) to server.address=localhost:25665&amp;lt;br /&amp;gt;&lt;br /&gt;
To save do ctrl+x, y (to confirm save), and enter&lt;br /&gt;
* And the same must be done with the MineCraft servers&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit/Minecraft&lt;br /&gt;
nano server.properties}}&lt;br /&gt;
Change server-port 25565 (line 8) to server-port 25665&amp;lt;br /&amp;gt;&lt;br /&gt;
To save do ctrl+x, y (to confirm save)&lt;br /&gt;
* Start the Tekkit server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit&lt;br /&gt;
mono McMyAdmin.exe}}&lt;br /&gt;
* In a new terminal, start the Vanilla server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Vanilla&lt;br /&gt;
mono McMyAdmin.exe}}&lt;br /&gt;
&lt;br /&gt;
=Access McMyAdmin=&lt;br /&gt;
* For the Tekkit McMyAdmin:&lt;br /&gt;
{{link|http://hda:8081}}&lt;br /&gt;
* For the Vanilla McMyAdmin:&lt;br /&gt;
{{Link|http://hda:8080}}&lt;br /&gt;
&lt;br /&gt;
=Join MineCraft Server with Client=&lt;br /&gt;
* For the Tekkit server:&lt;br /&gt;
{{Link|http://(hda IP):25665}}&lt;br /&gt;
* For the Vanilla server:&lt;br /&gt;
{{Link|http://(hda IP):25565}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Apps]]&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=McMyAdmin&amp;diff=62090</id>
		<title>McMyAdmin</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=McMyAdmin&amp;diff=62090"/>
		<updated>2012-10-25T07:11:33Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: /* Get and install McMyAdmin */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: Below instructions are for Ubuntu. Fedora users must replace all &amp;quot;apt-get&amp;quot;s with &amp;quot;yum&amp;quot;s. So:&lt;br /&gt;
&lt;br /&gt;
{{Code|apt-get install mono-basic}}&lt;br /&gt;
&lt;br /&gt;
becomes&lt;br /&gt;
&lt;br /&gt;
{{Code|yum install mono-basic}}&lt;br /&gt;
&lt;br /&gt;
=Installing McMyAdmin=&lt;br /&gt;
&lt;br /&gt;
Minecraft server with web-based front end for server management.&lt;br /&gt;
&lt;br /&gt;
==Install dependencies==&lt;br /&gt;
*Instructions taken from [http://www.youtube.com/watch?feature=player_embedded&amp;amp;v=dtcDTb3XyTY this very helpful YouTube video].&lt;br /&gt;
Mono:&lt;br /&gt;
{{Code|apt-get install libmono-system-web2.0-cil libmono-i18n2.0-cil}}&lt;br /&gt;
&lt;br /&gt;
Java:&lt;br /&gt;
Copy the link to the appropriate Java version from [http://www.oracle.com/technetwork/java/javase/downloads/java-se-jdk-7-download-432154.html here]&lt;br /&gt;
&lt;br /&gt;
{{Code| wget [YOURLINKHERE.tar.gz]&lt;br /&gt;
tar -xvf jdk-7-linux-xxx.tar.gz&lt;br /&gt;
mkdir /usr/lib/jvm/&lt;br /&gt;
mv ./jdk1.7.0 /usr/lib/jvm/jdk1.7.0&lt;br /&gt;
sudo update-alternatives --install &amp;quot;/usr/bin/java&amp;quot; &amp;quot;java&amp;quot; &amp;quot;/usr/lib/jvm/jdk1.7.0/bin/java&amp;quot; 1&lt;br /&gt;
sudo update-alternatives --install &amp;quot;/usr/bin/javac&amp;quot; &amp;quot;javac&amp;quot; &amp;quot;/usr/lib/jvm/jdk1.7.0/bin/javac&amp;quot; 1&lt;br /&gt;
sudo update-alternatives --install &amp;quot;/usr/bin/javaws&amp;quot; &amp;quot;javaws&amp;quot; &amp;quot;/usr/lib/jvm/jdk1.7.0/bin/javaws&amp;quot; 1&lt;br /&gt;
sudo update-alternatives --config java&lt;br /&gt;
sudo update-alternatives --config javac&lt;br /&gt;
sudo update-alternatives --config javaws}}&lt;br /&gt;
&lt;br /&gt;
Check Java version, it should be something like:&lt;br /&gt;
&lt;br /&gt;
{{Code| java -version&lt;br /&gt;
It should Reply&lt;br /&gt;
java version &amp;quot;1.7.0&amp;quot;&lt;br /&gt;
Java(TM) SE Runtime Environment (build 1.7.0-b147)&lt;br /&gt;
Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode)}}&lt;br /&gt;
&lt;br /&gt;
==Get and install McMyAdmin==&lt;br /&gt;
{{Code|mkdir /var/hda/web-apps/mcmyadmin&lt;br /&gt;
wget -P /var/hda/web-apps/mcmyadmin http://www.phonicuk.com/Downloads/McMyAdmin-latest.zip&lt;br /&gt;
unzip /var/hda/web-apps/mcmyadmin/McMyAdmin-latest.zip -d /var/hda/web-apps/mcmyadmin/&lt;br /&gt;
chown -R apache:users /var/hda/web-apps/mcmyadmin&lt;br /&gt;
chmod +x /var/hda/web-apps/mcmyadmin/start.sh}}&lt;br /&gt;
* Start McMyAdmin and Minecraft server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin&lt;br /&gt;
./start.sh}}&lt;br /&gt;
and wait for it to download the latest Minecraft server.  Once done stop it with '''&amp;lt;Ctrl-C&amp;gt;''' and run the following to start McMyAdmin. The nohup command will allow you quit the terminal without stopping McMyAdmin server.&lt;br /&gt;
{{Code|nohup ./start.sh &amp;amp;}}&lt;br /&gt;
&lt;br /&gt;
The web interface runs on port 8080 by default account admin/admin:&lt;br /&gt;
{{Link|http://localhost:8080}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default the web interface can only be accessed from the machine it is running on. To make it available from another machine the entry passwordmd5 in McMyAdmin.conf.default must be changed. This can be done on the localhost:8080 link by changing the default password from &amp;quot;admin&amp;quot; to something else. The McMyAdmin server needs to be rebooted after the password is changed.&lt;br /&gt;
&lt;br /&gt;
==Installing the Minecraft Server==&lt;br /&gt;
&lt;br /&gt;
The Minecraft server is included with McMyAdmin and runs on port 25565 by default. After users have properly forwarded ports to the Amahi server Minecraft players will be able to use the HDA URL to connect to the server.&lt;br /&gt;
&lt;br /&gt;
Cronjob will need to be set for autostart on boot. Amahi may also be able to monitor this server to make sure it is running, similar to other services.&lt;br /&gt;
&lt;br /&gt;
==Installing the Tekkit Server==&lt;br /&gt;
&lt;br /&gt;
'''''To logon to a Tekkit server the user must use the [http://www.technicpack.net/launcher/ Technic Launcher] and not the default MineCraft app.'''''&lt;br /&gt;
&lt;br /&gt;
[http://www.technicpack.net/tekkit/ Tekkit] is a collection of Minecraft mods that allows for more advanced gameplay. The purpose of this tutorial is to illustrate the installation of Tekkit on your HDA. All commands below are for the terminal. The instructions are taken from [http://www.youtube.com/watch?v=u8-uGqSyaMo this] fine YouTube video.&lt;br /&gt;
*Navigate to the default hda web-apps folder&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin}}&lt;br /&gt;
*Create a folder for Tekkit and get in the folder:&lt;br /&gt;
{{Code|mkdir tekkit&lt;br /&gt;
cd tekkit}}&lt;br /&gt;
*Download the latest Tekkit server zip file from [http://www.technicpack.net/tekkit/ here]. Replace my link below with your own latest one.&lt;br /&gt;
{{Code|wget http://mirror.technicpack.net/files/Tekkit_Server_3.0.4.zip}}&lt;br /&gt;
*Extract the zip file with unzip. Replace name of file with your own latest one.&lt;br /&gt;
{{Code|yum install unzip&lt;br /&gt;
ls&lt;br /&gt;
unzip Tekkit_Server_3.0.4.zip}}&lt;br /&gt;
*Create startup script for Tekkit. Note that 1500M stands for the number of megabytes of ram you are letting Tekkit use potentially. The 512M stands for the number of megabytes of ram you let Java use at startup.&lt;br /&gt;
{{Code|nano start.sh}}&lt;br /&gt;
&lt;br /&gt;
{{Text|Text=#!/bin/sh&lt;br /&gt;
java -Xmx1500M -Xms512M -jar Tekkit.jar}}&lt;br /&gt;
*Give permissions to the script.&lt;br /&gt;
{{Code|chmod +x start.sh}}&lt;br /&gt;
*Start Tekkit&lt;br /&gt;
{{Code|./start.sh}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The default port is 25565. This will be edited below.&lt;br /&gt;
&lt;br /&gt;
=Tekkit with McMyAdmin=&lt;br /&gt;
&lt;br /&gt;
* Before continuing, you must start Tekkit and stop it after Tekkit has completely loaded. This will create essential files.&lt;br /&gt;
{{Code|cd /var/hda/web-apps/tekkit&lt;br /&gt;
./start.sh&lt;br /&gt;
stop}}&lt;br /&gt;
* You must also do the same thing with McMyAdmin&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin&lt;br /&gt;
mono McMyAdmin.exe&lt;br /&gt;
stop}}&lt;br /&gt;
&lt;br /&gt;
For the purposes of this tutorial, it is assumed that both McMyAdmin and Tekkit have been installed and started/stopped as outlined above. We need to copy the Tekkit files into McMyAdmin. &lt;br /&gt;
&lt;br /&gt;
* Go into the Tekkit folder, rename Tekkit.jar to craftbukkit.jar&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin/tekkit/&lt;br /&gt;
mv Tekkit.jar craftbukkit.jar}}&lt;br /&gt;
&lt;br /&gt;
==Tekkit and Minecraft Vanilla Coexisting in McMyAdmin==&lt;br /&gt;
&lt;br /&gt;
* Follow the McMyAdmin tutorial above, except name the McMyAdmin folder &amp;quot;McMA_Vanilla&amp;quot;. Replace all &amp;quot;McMyAdmin&amp;quot; with &amp;quot;McMA_Vanilla&amp;quot; as needed.&lt;br /&gt;
* Create a folder called MineCraft.&lt;br /&gt;
{{Code|mkdir /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Copy (not move) McMA_Vanilla into the MineCraft folder.&lt;br /&gt;
{{Code|cp -fr /var/hda/web-apps/McMA_Vanilla /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Rename the original McMA_Vanilla to McMA_Tekkit.&lt;br /&gt;
* Move McMA_Tekkit into MineCraft folder.&lt;br /&gt;
{{Code|mv /var/hda/web-apps/McMA_Tekkit /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Follow the Tekkit tutorial above.&lt;br /&gt;
* Rename the Tekkit.jar file to craftbukkit.jar, AFTER having started and stopped the Tekkit and MineCraft servers at least once as outlined above.&lt;br /&gt;
{{Code|cd /var/hda/web-apps/tekkit&lt;br /&gt;
mv Tekkit.jar craftbukkit.jar}}&lt;br /&gt;
* Copy the contents of the tekkit folder into the McMA_Tekkit/Minecraft folder, merge and replace all files as needed.&lt;br /&gt;
* Delete the now empty tekkit directory&lt;br /&gt;
{{Code|rm -fr /var/hda/web-apps/tekkit}}&lt;br /&gt;
* Now we must edit the ports so that both McMyAdmin servers can run at the same time:&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit&lt;br /&gt;
nano /McMyAdmin.conf}}&lt;br /&gt;
Change webserver.port=8080 (line 71) to webserver.port=8081&amp;lt;br /&amp;gt;&lt;br /&gt;
Change server.address=localhost:25565 (line 152) to server.address=localhost:25665&amp;lt;br /&amp;gt;&lt;br /&gt;
To save do ctrl+x, y (to confirm save), and enter&lt;br /&gt;
* And the same must be done with the MineCraft servers&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit/Minecraft&lt;br /&gt;
nano server.properties}}&lt;br /&gt;
Change server-port 25565 (line 8) to server-port 25665&amp;lt;br /&amp;gt;&lt;br /&gt;
To save do ctrl+x, y (to confirm save)&lt;br /&gt;
* Start the Tekkit server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit&lt;br /&gt;
mono McMyAdmin.exe}}&lt;br /&gt;
* In a new terminal, start the Vanilla server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Vanilla&lt;br /&gt;
mono McMyAdmin.exe}}&lt;br /&gt;
&lt;br /&gt;
=Access McMyAdmin=&lt;br /&gt;
* For the Tekkit McMyAdmin:&lt;br /&gt;
{{link|http://hda:8081}}&lt;br /&gt;
* For the Vanilla McMyAdmin:&lt;br /&gt;
{{Link|http://hda:8080}}&lt;br /&gt;
&lt;br /&gt;
=Join MineCraft Server with Client=&lt;br /&gt;
* For the Tekkit server:&lt;br /&gt;
{{Link|http://(hda IP):25665}}&lt;br /&gt;
* For the Vanilla server:&lt;br /&gt;
{{Link|http://(hda IP):25565}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Apps]]&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=McMyAdmin&amp;diff=62084</id>
		<title>McMyAdmin</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=McMyAdmin&amp;diff=62084"/>
		<updated>2012-10-25T07:04:49Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: /* Install dependencies */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: Below instructions are for Ubuntu. Fedora users must replace all &amp;quot;apt-get&amp;quot;s with &amp;quot;yum&amp;quot;s. So:&lt;br /&gt;
&lt;br /&gt;
{{Code|apt-get install mono-basic}}&lt;br /&gt;
&lt;br /&gt;
becomes&lt;br /&gt;
&lt;br /&gt;
{{Code|yum install mono-basic}}&lt;br /&gt;
&lt;br /&gt;
=Installing McMyAdmin=&lt;br /&gt;
&lt;br /&gt;
Minecraft server with web-based front end for server management.&lt;br /&gt;
&lt;br /&gt;
==Install dependencies==&lt;br /&gt;
*Instructions taken from [http://www.youtube.com/watch?feature=player_embedded&amp;amp;v=dtcDTb3XyTY this very helpful YouTube video].&lt;br /&gt;
Mono:&lt;br /&gt;
{{Code|apt-get install libmono-system-web2.0-cil libmono-i18n2.0-cil}}&lt;br /&gt;
&lt;br /&gt;
Java:&lt;br /&gt;
Copy the link to the appropriate Java version from [http://www.oracle.com/technetwork/java/javase/downloads/java-se-jdk-7-download-432154.html here]&lt;br /&gt;
&lt;br /&gt;
{{Code| wget [YOURLINKHERE.tar.gz]&lt;br /&gt;
tar -xvf jdk-7-linux-xxx.tar.gz&lt;br /&gt;
mkdir /usr/lib/jvm/&lt;br /&gt;
mv ./jdk1.7.0 /usr/lib/jvm/jdk1.7.0&lt;br /&gt;
sudo update-alternatives --install &amp;quot;/usr/bin/java&amp;quot; &amp;quot;java&amp;quot; &amp;quot;/usr/lib/jvm/jdk1.7.0/bin/java&amp;quot; 1&lt;br /&gt;
sudo update-alternatives --install &amp;quot;/usr/bin/javac&amp;quot; &amp;quot;javac&amp;quot; &amp;quot;/usr/lib/jvm/jdk1.7.0/bin/javac&amp;quot; 1&lt;br /&gt;
sudo update-alternatives --install &amp;quot;/usr/bin/javaws&amp;quot; &amp;quot;javaws&amp;quot; &amp;quot;/usr/lib/jvm/jdk1.7.0/bin/javaws&amp;quot; 1&lt;br /&gt;
sudo update-alternatives --config java&lt;br /&gt;
sudo update-alternatives --config javac&lt;br /&gt;
sudo update-alternatives --config javaws}}&lt;br /&gt;
&lt;br /&gt;
Check Java version, it should be something like:&lt;br /&gt;
&lt;br /&gt;
{{Code| java -version&lt;br /&gt;
It should Reply&lt;br /&gt;
java version &amp;quot;1.7.0&amp;quot;&lt;br /&gt;
Java(TM) SE Runtime Environment (build 1.7.0-b147)&lt;br /&gt;
Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode)}}&lt;br /&gt;
&lt;br /&gt;
==Get and install McMyAdmin==&lt;br /&gt;
{{Code|mkdir /var/hda/web-apps/mcmyadmin&lt;br /&gt;
wget -P /var/hda/web-apps/mcmyadmin http://www.phonicuk.com/Downloads/McMyAdmin-latest.zip&lt;br /&gt;
unzip /var/hda/web-apps/mcmyadmin/McMyAdmin-latest.zip -d /var/hda/web-apps/mcmyadmin/&lt;br /&gt;
chown -R apache:users /var/hda/web-apps/mcmyadmin&lt;br /&gt;
chmod +x /var/hda/web-apps/mcmyadmin/start.sh}}&lt;br /&gt;
* Start McMyAdmin and Minecraft server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin&lt;br /&gt;
./start.sh}}&lt;br /&gt;
and wait for it to download the latest Minecraft server.  Once done stop it with '''&amp;lt;Ctrl-C&amp;gt;''' and run the following.&lt;br /&gt;
{{Code|nohup ./start.sh &amp;amp;}}&lt;br /&gt;
&lt;br /&gt;
The web interface runs on port 8080 by default account admin/admin:&lt;br /&gt;
{{Link|http://localhost:8080}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default the web interface can only be accessed from the machine it is running on. To make it available from another machine the entry passwordmd5 in McMyAdmin.conf.default must be changed. This can be done on the localhost:8080 link by changing the default password from &amp;quot;admin&amp;quot; to something else.&lt;br /&gt;
&lt;br /&gt;
==Installing the Minecraft Server==&lt;br /&gt;
&lt;br /&gt;
The Minecraft server is included with McMyAdmin and runs on port 25565 by default. After users have properly forwarded ports to the Amahi server Minecraft players will be able to use the HDA URL to connect to the server.&lt;br /&gt;
&lt;br /&gt;
Cronjob will need to be set for autostart on boot. Amahi may also be able to monitor this server to make sure it is running, similar to other services.&lt;br /&gt;
&lt;br /&gt;
==Installing the Tekkit Server==&lt;br /&gt;
&lt;br /&gt;
'''''To logon to a Tekkit server the user must use the [http://www.technicpack.net/launcher/ Technic Launcher] and not the default MineCraft app.'''''&lt;br /&gt;
&lt;br /&gt;
[http://www.technicpack.net/tekkit/ Tekkit] is a collection of Minecraft mods that allows for more advanced gameplay. The purpose of this tutorial is to illustrate the installation of Tekkit on your HDA. All commands below are for the terminal. The instructions are taken from [http://www.youtube.com/watch?v=u8-uGqSyaMo this] fine YouTube video.&lt;br /&gt;
*Navigate to the default hda web-apps folder&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin}}&lt;br /&gt;
*Create a folder for Tekkit and get in the folder:&lt;br /&gt;
{{Code|mkdir tekkit&lt;br /&gt;
cd tekkit}}&lt;br /&gt;
*Download the latest Tekkit server zip file from [http://www.technicpack.net/tekkit/ here]. Replace my link below with your own latest one.&lt;br /&gt;
{{Code|wget http://mirror.technicpack.net/files/Tekkit_Server_3.0.4.zip}}&lt;br /&gt;
*Extract the zip file with unzip. Replace name of file with your own latest one.&lt;br /&gt;
{{Code|yum install unzip&lt;br /&gt;
ls&lt;br /&gt;
unzip Tekkit_Server_3.0.4.zip}}&lt;br /&gt;
*Create startup script for Tekkit. Note that 1500M stands for the number of megabytes of ram you are letting Tekkit use potentially. The 512M stands for the number of megabytes of ram you let Java use at startup.&lt;br /&gt;
{{Code|nano start.sh}}&lt;br /&gt;
&lt;br /&gt;
{{Text|Text=#!/bin/sh&lt;br /&gt;
java -Xmx1500M -Xms512M -jar Tekkit.jar}}&lt;br /&gt;
*Give permissions to the script.&lt;br /&gt;
{{Code|chmod +x start.sh}}&lt;br /&gt;
*Start Tekkit&lt;br /&gt;
{{Code|./start.sh}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The default port is 25565. This will be edited below.&lt;br /&gt;
&lt;br /&gt;
=Tekkit with McMyAdmin=&lt;br /&gt;
&lt;br /&gt;
* Before continuing, you must start Tekkit and stop it after Tekkit has completely loaded. This will create essential files.&lt;br /&gt;
{{Code|cd /var/hda/web-apps/tekkit&lt;br /&gt;
./start.sh&lt;br /&gt;
stop}}&lt;br /&gt;
* You must also do the same thing with McMyAdmin&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin&lt;br /&gt;
mono McMyAdmin.exe&lt;br /&gt;
stop}}&lt;br /&gt;
&lt;br /&gt;
For the purposes of this tutorial, it is assumed that both McMyAdmin and Tekkit have been installed and started/stopped as outlined above. We need to copy the Tekkit files into McMyAdmin. &lt;br /&gt;
&lt;br /&gt;
* Go into the Tekkit folder, rename Tekkit.jar to craftbukkit.jar&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin/tekkit/&lt;br /&gt;
mv Tekkit.jar craftbukkit.jar}}&lt;br /&gt;
&lt;br /&gt;
==Tekkit and Minecraft Vanilla Coexisting in McMyAdmin==&lt;br /&gt;
&lt;br /&gt;
* Follow the McMyAdmin tutorial above, except name the McMyAdmin folder &amp;quot;McMA_Vanilla&amp;quot;. Replace all &amp;quot;McMyAdmin&amp;quot; with &amp;quot;McMA_Vanilla&amp;quot; as needed.&lt;br /&gt;
* Create a folder called MineCraft.&lt;br /&gt;
{{Code|mkdir /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Copy (not move) McMA_Vanilla into the MineCraft folder.&lt;br /&gt;
{{Code|cp -fr /var/hda/web-apps/McMA_Vanilla /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Rename the original McMA_Vanilla to McMA_Tekkit.&lt;br /&gt;
* Move McMA_Tekkit into MineCraft folder.&lt;br /&gt;
{{Code|mv /var/hda/web-apps/McMA_Tekkit /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Follow the Tekkit tutorial above.&lt;br /&gt;
* Rename the Tekkit.jar file to craftbukkit.jar, AFTER having started and stopped the Tekkit and MineCraft servers at least once as outlined above.&lt;br /&gt;
{{Code|cd /var/hda/web-apps/tekkit&lt;br /&gt;
mv Tekkit.jar craftbukkit.jar}}&lt;br /&gt;
* Copy the contents of the tekkit folder into the McMA_Tekkit/Minecraft folder, merge and replace all files as needed.&lt;br /&gt;
* Delete the now empty tekkit directory&lt;br /&gt;
{{Code|rm -fr /var/hda/web-apps/tekkit}}&lt;br /&gt;
* Now we must edit the ports so that both McMyAdmin servers can run at the same time:&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit&lt;br /&gt;
nano /McMyAdmin.conf}}&lt;br /&gt;
Change webserver.port=8080 (line 71) to webserver.port=8081&amp;lt;br /&amp;gt;&lt;br /&gt;
Change server.address=localhost:25565 (line 152) to server.address=localhost:25665&amp;lt;br /&amp;gt;&lt;br /&gt;
To save do ctrl+x, y (to confirm save), and enter&lt;br /&gt;
* And the same must be done with the MineCraft servers&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit/Minecraft&lt;br /&gt;
nano server.properties}}&lt;br /&gt;
Change server-port 25565 (line 8) to server-port 25665&amp;lt;br /&amp;gt;&lt;br /&gt;
To save do ctrl+x, y (to confirm save)&lt;br /&gt;
* Start the Tekkit server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit&lt;br /&gt;
mono McMyAdmin.exe}}&lt;br /&gt;
* In a new terminal, start the Vanilla server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Vanilla&lt;br /&gt;
mono McMyAdmin.exe}}&lt;br /&gt;
&lt;br /&gt;
=Access McMyAdmin=&lt;br /&gt;
* For the Tekkit McMyAdmin:&lt;br /&gt;
{{link|http://hda:8081}}&lt;br /&gt;
* For the Vanilla McMyAdmin:&lt;br /&gt;
{{Link|http://hda:8080}}&lt;br /&gt;
&lt;br /&gt;
=Join MineCraft Server with Client=&lt;br /&gt;
* For the Tekkit server:&lt;br /&gt;
{{Link|http://(hda IP):25665}}&lt;br /&gt;
* For the Vanilla server:&lt;br /&gt;
{{Link|http://(hda IP):25565}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Apps]]&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=McMyAdmin&amp;diff=62078</id>
		<title>McMyAdmin</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=McMyAdmin&amp;diff=62078"/>
		<updated>2012-10-25T07:04:21Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: /* Installing McMyAdmin */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: Below instructions are for Ubuntu. Fedora users must replace all &amp;quot;apt-get&amp;quot;s with &amp;quot;yum&amp;quot;s. So:&lt;br /&gt;
&lt;br /&gt;
{{Code|apt-get install mono-basic}}&lt;br /&gt;
&lt;br /&gt;
becomes&lt;br /&gt;
&lt;br /&gt;
{{Code|yum install mono-basic}}&lt;br /&gt;
&lt;br /&gt;
=Installing McMyAdmin=&lt;br /&gt;
&lt;br /&gt;
Minecraft server with web-based front end for server management.&lt;br /&gt;
&lt;br /&gt;
==Install dependencies==&lt;br /&gt;
*Instructions taken from [http://www.youtube.com/watch?feature=player_embedded&amp;amp;v=dtcDTb3XyTY this very helpful YouTube video].&lt;br /&gt;
Mono:&lt;br /&gt;
{{Code|apt-get install libmono-system-web2.0-cil libmono-i18n2.0-cil}}&lt;br /&gt;
&lt;br /&gt;
Java:&lt;br /&gt;
Copy the link to the appropriate Java version from [http://www.oracle.com/technetwork/java/javase/downloads/java-se-jdk-7-download-432154.html here]&lt;br /&gt;
&lt;br /&gt;
{{Code| wget [YOURLINKHERE.tar.gz]&lt;br /&gt;
tar -xvf jdk-7-linux-xxx.tar.gz&lt;br /&gt;
mkdir /usr/lib/jvm/&lt;br /&gt;
mv ./jdk1.7.0 /usr/lib/jvm/jdk1.7.0&lt;br /&gt;
sudo update-alternatives --install &amp;quot;/usr/bin/java&amp;quot; &amp;quot;java&amp;quot; &amp;quot;/usr/lib/jvm/jdk1.7.0/bin/java&amp;quot; 1&lt;br /&gt;
sudo update-alternatives --install &amp;quot;/usr/bin/javac&amp;quot; &amp;quot;javac&amp;quot; &amp;quot;/usr/lib/jvm/jdk1.7.0/bin/javac&amp;quot; 1&lt;br /&gt;
sudo update-alternatives --install &amp;quot;/usr/bin/javaws&amp;quot; &amp;quot;javaws&amp;quot; &amp;quot;/usr/lib/jvm/jdk1.7.0/bin/javaws&amp;quot; 1&lt;br /&gt;
sudo update-alternatives --config java&lt;br /&gt;
sudo update-alternatives --config javac&lt;br /&gt;
sudo update-alternatives --config javaws}}&lt;br /&gt;
&lt;br /&gt;
Check Java version, it should be something like:&lt;br /&gt;
&lt;br /&gt;
{{Code| java -version&lt;br /&gt;
It should Reply&lt;br /&gt;
java version &amp;quot;1.7.0&amp;quot;&lt;br /&gt;
Java(TM) SE Runtime Environment (build 1.7.0-b147)&lt;br /&gt;
Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode)}}&lt;br /&gt;
&lt;br /&gt;
* Get and install McMyAdmin&lt;br /&gt;
{{Code|mkdir /var/hda/web-apps/mcmyadmin&lt;br /&gt;
wget -P /var/hda/web-apps/mcmyadmin http://www.phonicuk.com/Downloads/McMyAdmin-latest.zip&lt;br /&gt;
unzip /var/hda/web-apps/mcmyadmin/McMyAdmin-latest.zip -d /var/hda/web-apps/mcmyadmin/&lt;br /&gt;
chown -R apache:users /var/hda/web-apps/mcmyadmin&lt;br /&gt;
chmod +x /var/hda/web-apps/mcmyadmin/start.sh}}&lt;br /&gt;
* Start McMyAdmin and Minecraft server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin&lt;br /&gt;
./start.sh}}&lt;br /&gt;
and wait for it to download the latest Minecraft server.  Once done stop it with '''&amp;lt;Ctrl-C&amp;gt;''' and run the following.&lt;br /&gt;
{{Code|nohup ./start.sh &amp;amp;}}&lt;br /&gt;
&lt;br /&gt;
The web interface runs on port 8080 by default account admin/admin:&lt;br /&gt;
{{Link|http://localhost:8080}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default the web interface can only be accessed from the machine it is running on. To make it available from another machine the entry passwordmd5 in McMyAdmin.conf.default must be changed. This can be done on the localhost:8080 link by changing the default password from &amp;quot;admin&amp;quot; to something else.&lt;br /&gt;
&lt;br /&gt;
==Installing the Minecraft Server==&lt;br /&gt;
&lt;br /&gt;
The Minecraft server is included with McMyAdmin and runs on port 25565 by default. After users have properly forwarded ports to the Amahi server Minecraft players will be able to use the HDA URL to connect to the server.&lt;br /&gt;
&lt;br /&gt;
Cronjob will need to be set for autostart on boot. Amahi may also be able to monitor this server to make sure it is running, similar to other services.&lt;br /&gt;
&lt;br /&gt;
==Installing the Tekkit Server==&lt;br /&gt;
&lt;br /&gt;
'''''To logon to a Tekkit server the user must use the [http://www.technicpack.net/launcher/ Technic Launcher] and not the default MineCraft app.'''''&lt;br /&gt;
&lt;br /&gt;
[http://www.technicpack.net/tekkit/ Tekkit] is a collection of Minecraft mods that allows for more advanced gameplay. The purpose of this tutorial is to illustrate the installation of Tekkit on your HDA. All commands below are for the terminal. The instructions are taken from [http://www.youtube.com/watch?v=u8-uGqSyaMo this] fine YouTube video.&lt;br /&gt;
*Navigate to the default hda web-apps folder&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin}}&lt;br /&gt;
*Create a folder for Tekkit and get in the folder:&lt;br /&gt;
{{Code|mkdir tekkit&lt;br /&gt;
cd tekkit}}&lt;br /&gt;
*Download the latest Tekkit server zip file from [http://www.technicpack.net/tekkit/ here]. Replace my link below with your own latest one.&lt;br /&gt;
{{Code|wget http://mirror.technicpack.net/files/Tekkit_Server_3.0.4.zip}}&lt;br /&gt;
*Extract the zip file with unzip. Replace name of file with your own latest one.&lt;br /&gt;
{{Code|yum install unzip&lt;br /&gt;
ls&lt;br /&gt;
unzip Tekkit_Server_3.0.4.zip}}&lt;br /&gt;
*Create startup script for Tekkit. Note that 1500M stands for the number of megabytes of ram you are letting Tekkit use potentially. The 512M stands for the number of megabytes of ram you let Java use at startup.&lt;br /&gt;
{{Code|nano start.sh}}&lt;br /&gt;
&lt;br /&gt;
{{Text|Text=#!/bin/sh&lt;br /&gt;
java -Xmx1500M -Xms512M -jar Tekkit.jar}}&lt;br /&gt;
*Give permissions to the script.&lt;br /&gt;
{{Code|chmod +x start.sh}}&lt;br /&gt;
*Start Tekkit&lt;br /&gt;
{{Code|./start.sh}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The default port is 25565. This will be edited below.&lt;br /&gt;
&lt;br /&gt;
=Tekkit with McMyAdmin=&lt;br /&gt;
&lt;br /&gt;
* Before continuing, you must start Tekkit and stop it after Tekkit has completely loaded. This will create essential files.&lt;br /&gt;
{{Code|cd /var/hda/web-apps/tekkit&lt;br /&gt;
./start.sh&lt;br /&gt;
stop}}&lt;br /&gt;
* You must also do the same thing with McMyAdmin&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin&lt;br /&gt;
mono McMyAdmin.exe&lt;br /&gt;
stop}}&lt;br /&gt;
&lt;br /&gt;
For the purposes of this tutorial, it is assumed that both McMyAdmin and Tekkit have been installed and started/stopped as outlined above. We need to copy the Tekkit files into McMyAdmin. &lt;br /&gt;
&lt;br /&gt;
* Go into the Tekkit folder, rename Tekkit.jar to craftbukkit.jar&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin/tekkit/&lt;br /&gt;
mv Tekkit.jar craftbukkit.jar}}&lt;br /&gt;
&lt;br /&gt;
==Tekkit and Minecraft Vanilla Coexisting in McMyAdmin==&lt;br /&gt;
&lt;br /&gt;
* Follow the McMyAdmin tutorial above, except name the McMyAdmin folder &amp;quot;McMA_Vanilla&amp;quot;. Replace all &amp;quot;McMyAdmin&amp;quot; with &amp;quot;McMA_Vanilla&amp;quot; as needed.&lt;br /&gt;
* Create a folder called MineCraft.&lt;br /&gt;
{{Code|mkdir /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Copy (not move) McMA_Vanilla into the MineCraft folder.&lt;br /&gt;
{{Code|cp -fr /var/hda/web-apps/McMA_Vanilla /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Rename the original McMA_Vanilla to McMA_Tekkit.&lt;br /&gt;
* Move McMA_Tekkit into MineCraft folder.&lt;br /&gt;
{{Code|mv /var/hda/web-apps/McMA_Tekkit /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Follow the Tekkit tutorial above.&lt;br /&gt;
* Rename the Tekkit.jar file to craftbukkit.jar, AFTER having started and stopped the Tekkit and MineCraft servers at least once as outlined above.&lt;br /&gt;
{{Code|cd /var/hda/web-apps/tekkit&lt;br /&gt;
mv Tekkit.jar craftbukkit.jar}}&lt;br /&gt;
* Copy the contents of the tekkit folder into the McMA_Tekkit/Minecraft folder, merge and replace all files as needed.&lt;br /&gt;
* Delete the now empty tekkit directory&lt;br /&gt;
{{Code|rm -fr /var/hda/web-apps/tekkit}}&lt;br /&gt;
* Now we must edit the ports so that both McMyAdmin servers can run at the same time:&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit&lt;br /&gt;
nano /McMyAdmin.conf}}&lt;br /&gt;
Change webserver.port=8080 (line 71) to webserver.port=8081&amp;lt;br /&amp;gt;&lt;br /&gt;
Change server.address=localhost:25565 (line 152) to server.address=localhost:25665&amp;lt;br /&amp;gt;&lt;br /&gt;
To save do ctrl+x, y (to confirm save), and enter&lt;br /&gt;
* And the same must be done with the MineCraft servers&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit/Minecraft&lt;br /&gt;
nano server.properties}}&lt;br /&gt;
Change server-port 25565 (line 8) to server-port 25665&amp;lt;br /&amp;gt;&lt;br /&gt;
To save do ctrl+x, y (to confirm save)&lt;br /&gt;
* Start the Tekkit server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit&lt;br /&gt;
mono McMyAdmin.exe}}&lt;br /&gt;
* In a new terminal, start the Vanilla server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Vanilla&lt;br /&gt;
mono McMyAdmin.exe}}&lt;br /&gt;
&lt;br /&gt;
=Access McMyAdmin=&lt;br /&gt;
* For the Tekkit McMyAdmin:&lt;br /&gt;
{{link|http://hda:8081}}&lt;br /&gt;
* For the Vanilla McMyAdmin:&lt;br /&gt;
{{Link|http://hda:8080}}&lt;br /&gt;
&lt;br /&gt;
=Join MineCraft Server with Client=&lt;br /&gt;
* For the Tekkit server:&lt;br /&gt;
{{Link|http://(hda IP):25665}}&lt;br /&gt;
* For the Vanilla server:&lt;br /&gt;
{{Link|http://(hda IP):25565}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Apps]]&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=McMyAdmin&amp;diff=62072</id>
		<title>McMyAdmin</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=McMyAdmin&amp;diff=62072"/>
		<updated>2012-10-25T07:03:58Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: Updated instructions, previous links did not work&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: Below instructions are for Ubuntu. Fedora users must replace all &amp;quot;apt-get&amp;quot;s with &amp;quot;yum&amp;quot;s. So:&lt;br /&gt;
&lt;br /&gt;
{{Code|apt-get install mono-basic}}&lt;br /&gt;
&lt;br /&gt;
becomes&lt;br /&gt;
&lt;br /&gt;
{{Code|yum install mono-basic}}&lt;br /&gt;
&lt;br /&gt;
=Installing McMyAdmin=&lt;br /&gt;
&lt;br /&gt;
Minecraft server with web-based front end for server management.&lt;br /&gt;
&lt;br /&gt;
* Install dependencies&lt;br /&gt;
**Instructions taken from [http://www.youtube.com/watch?feature=player_embedded&amp;amp;v=dtcDTb3XyTY this very helpful YouTube video].&lt;br /&gt;
Mono:&lt;br /&gt;
{{Code|apt-get install libmono-system-web2.0-cil libmono-i18n2.0-cil}}&lt;br /&gt;
&lt;br /&gt;
Java:&lt;br /&gt;
Copy the link to the appropriate Java version from [http://www.oracle.com/technetwork/java/javase/downloads/java-se-jdk-7-download-432154.html here]&lt;br /&gt;
&lt;br /&gt;
{{Code| wget [YOURLINKHERE.tar.gz]&lt;br /&gt;
tar -xvf jdk-7-linux-xxx.tar.gz&lt;br /&gt;
mkdir /usr/lib/jvm/&lt;br /&gt;
mv ./jdk1.7.0 /usr/lib/jvm/jdk1.7.0&lt;br /&gt;
sudo update-alternatives --install &amp;quot;/usr/bin/java&amp;quot; &amp;quot;java&amp;quot; &amp;quot;/usr/lib/jvm/jdk1.7.0/bin/java&amp;quot; 1&lt;br /&gt;
sudo update-alternatives --install &amp;quot;/usr/bin/javac&amp;quot; &amp;quot;javac&amp;quot; &amp;quot;/usr/lib/jvm/jdk1.7.0/bin/javac&amp;quot; 1&lt;br /&gt;
sudo update-alternatives --install &amp;quot;/usr/bin/javaws&amp;quot; &amp;quot;javaws&amp;quot; &amp;quot;/usr/lib/jvm/jdk1.7.0/bin/javaws&amp;quot; 1&lt;br /&gt;
sudo update-alternatives --config java&lt;br /&gt;
sudo update-alternatives --config javac&lt;br /&gt;
sudo update-alternatives --config javaws}}&lt;br /&gt;
&lt;br /&gt;
Check Java version, it should be something like:&lt;br /&gt;
&lt;br /&gt;
{{Code| java -version&lt;br /&gt;
It should Reply&lt;br /&gt;
java version &amp;quot;1.7.0&amp;quot;&lt;br /&gt;
Java(TM) SE Runtime Environment (build 1.7.0-b147)&lt;br /&gt;
Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode)}}&lt;br /&gt;
&lt;br /&gt;
* Get and install McMyAdmin&lt;br /&gt;
{{Code|mkdir /var/hda/web-apps/mcmyadmin&lt;br /&gt;
wget -P /var/hda/web-apps/mcmyadmin http://www.phonicuk.com/Downloads/McMyAdmin-latest.zip&lt;br /&gt;
unzip /var/hda/web-apps/mcmyadmin/McMyAdmin-latest.zip -d /var/hda/web-apps/mcmyadmin/&lt;br /&gt;
chown -R apache:users /var/hda/web-apps/mcmyadmin&lt;br /&gt;
chmod +x /var/hda/web-apps/mcmyadmin/start.sh}}&lt;br /&gt;
* Start McMyAdmin and Minecraft server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin&lt;br /&gt;
./start.sh}}&lt;br /&gt;
and wait for it to download the latest Minecraft server.  Once done stop it with '''&amp;lt;Ctrl-C&amp;gt;''' and run the following.&lt;br /&gt;
{{Code|nohup ./start.sh &amp;amp;}}&lt;br /&gt;
&lt;br /&gt;
The web interface runs on port 8080 by default account admin/admin:&lt;br /&gt;
{{Link|http://localhost:8080}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default the web interface can only be accessed from the machine it is running on. To make it available from another machine the entry passwordmd5 in McMyAdmin.conf.default must be changed. This can be done on the localhost:8080 link by changing the default password from &amp;quot;admin&amp;quot; to something else.&lt;br /&gt;
&lt;br /&gt;
==Installing the Minecraft Server==&lt;br /&gt;
&lt;br /&gt;
The Minecraft server is included with McMyAdmin and runs on port 25565 by default. After users have properly forwarded ports to the Amahi server Minecraft players will be able to use the HDA URL to connect to the server.&lt;br /&gt;
&lt;br /&gt;
Cronjob will need to be set for autostart on boot. Amahi may also be able to monitor this server to make sure it is running, similar to other services.&lt;br /&gt;
&lt;br /&gt;
==Installing the Tekkit Server==&lt;br /&gt;
&lt;br /&gt;
'''''To logon to a Tekkit server the user must use the [http://www.technicpack.net/launcher/ Technic Launcher] and not the default MineCraft app.'''''&lt;br /&gt;
&lt;br /&gt;
[http://www.technicpack.net/tekkit/ Tekkit] is a collection of Minecraft mods that allows for more advanced gameplay. The purpose of this tutorial is to illustrate the installation of Tekkit on your HDA. All commands below are for the terminal. The instructions are taken from [http://www.youtube.com/watch?v=u8-uGqSyaMo this] fine YouTube video.&lt;br /&gt;
*Navigate to the default hda web-apps folder&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin}}&lt;br /&gt;
*Create a folder for Tekkit and get in the folder:&lt;br /&gt;
{{Code|mkdir tekkit&lt;br /&gt;
cd tekkit}}&lt;br /&gt;
*Download the latest Tekkit server zip file from [http://www.technicpack.net/tekkit/ here]. Replace my link below with your own latest one.&lt;br /&gt;
{{Code|wget http://mirror.technicpack.net/files/Tekkit_Server_3.0.4.zip}}&lt;br /&gt;
*Extract the zip file with unzip. Replace name of file with your own latest one.&lt;br /&gt;
{{Code|yum install unzip&lt;br /&gt;
ls&lt;br /&gt;
unzip Tekkit_Server_3.0.4.zip}}&lt;br /&gt;
*Create startup script for Tekkit. Note that 1500M stands for the number of megabytes of ram you are letting Tekkit use potentially. The 512M stands for the number of megabytes of ram you let Java use at startup.&lt;br /&gt;
{{Code|nano start.sh}}&lt;br /&gt;
&lt;br /&gt;
{{Text|Text=#!/bin/sh&lt;br /&gt;
java -Xmx1500M -Xms512M -jar Tekkit.jar}}&lt;br /&gt;
*Give permissions to the script.&lt;br /&gt;
{{Code|chmod +x start.sh}}&lt;br /&gt;
*Start Tekkit&lt;br /&gt;
{{Code|./start.sh}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The default port is 25565. This will be edited below.&lt;br /&gt;
&lt;br /&gt;
=Tekkit with McMyAdmin=&lt;br /&gt;
&lt;br /&gt;
* Before continuing, you must start Tekkit and stop it after Tekkit has completely loaded. This will create essential files.&lt;br /&gt;
{{Code|cd /var/hda/web-apps/tekkit&lt;br /&gt;
./start.sh&lt;br /&gt;
stop}}&lt;br /&gt;
* You must also do the same thing with McMyAdmin&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin&lt;br /&gt;
mono McMyAdmin.exe&lt;br /&gt;
stop}}&lt;br /&gt;
&lt;br /&gt;
For the purposes of this tutorial, it is assumed that both McMyAdmin and Tekkit have been installed and started/stopped as outlined above. We need to copy the Tekkit files into McMyAdmin. &lt;br /&gt;
&lt;br /&gt;
* Go into the Tekkit folder, rename Tekkit.jar to craftbukkit.jar&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin/tekkit/&lt;br /&gt;
mv Tekkit.jar craftbukkit.jar}}&lt;br /&gt;
&lt;br /&gt;
==Tekkit and Minecraft Vanilla Coexisting in McMyAdmin==&lt;br /&gt;
&lt;br /&gt;
* Follow the McMyAdmin tutorial above, except name the McMyAdmin folder &amp;quot;McMA_Vanilla&amp;quot;. Replace all &amp;quot;McMyAdmin&amp;quot; with &amp;quot;McMA_Vanilla&amp;quot; as needed.&lt;br /&gt;
* Create a folder called MineCraft.&lt;br /&gt;
{{Code|mkdir /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Copy (not move) McMA_Vanilla into the MineCraft folder.&lt;br /&gt;
{{Code|cp -fr /var/hda/web-apps/McMA_Vanilla /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Rename the original McMA_Vanilla to McMA_Tekkit.&lt;br /&gt;
* Move McMA_Tekkit into MineCraft folder.&lt;br /&gt;
{{Code|mv /var/hda/web-apps/McMA_Tekkit /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Follow the Tekkit tutorial above.&lt;br /&gt;
* Rename the Tekkit.jar file to craftbukkit.jar, AFTER having started and stopped the Tekkit and MineCraft servers at least once as outlined above.&lt;br /&gt;
{{Code|cd /var/hda/web-apps/tekkit&lt;br /&gt;
mv Tekkit.jar craftbukkit.jar}}&lt;br /&gt;
* Copy the contents of the tekkit folder into the McMA_Tekkit/Minecraft folder, merge and replace all files as needed.&lt;br /&gt;
* Delete the now empty tekkit directory&lt;br /&gt;
{{Code|rm -fr /var/hda/web-apps/tekkit}}&lt;br /&gt;
* Now we must edit the ports so that both McMyAdmin servers can run at the same time:&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit&lt;br /&gt;
nano /McMyAdmin.conf}}&lt;br /&gt;
Change webserver.port=8080 (line 71) to webserver.port=8081&amp;lt;br /&amp;gt;&lt;br /&gt;
Change server.address=localhost:25565 (line 152) to server.address=localhost:25665&amp;lt;br /&amp;gt;&lt;br /&gt;
To save do ctrl+x, y (to confirm save), and enter&lt;br /&gt;
* And the same must be done with the MineCraft servers&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit/Minecraft&lt;br /&gt;
nano server.properties}}&lt;br /&gt;
Change server-port 25565 (line 8) to server-port 25665&amp;lt;br /&amp;gt;&lt;br /&gt;
To save do ctrl+x, y (to confirm save)&lt;br /&gt;
* Start the Tekkit server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit&lt;br /&gt;
mono McMyAdmin.exe}}&lt;br /&gt;
* In a new terminal, start the Vanilla server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Vanilla&lt;br /&gt;
mono McMyAdmin.exe}}&lt;br /&gt;
&lt;br /&gt;
=Access McMyAdmin=&lt;br /&gt;
* For the Tekkit McMyAdmin:&lt;br /&gt;
{{link|http://hda:8081}}&lt;br /&gt;
* For the Vanilla McMyAdmin:&lt;br /&gt;
{{Link|http://hda:8080}}&lt;br /&gt;
&lt;br /&gt;
=Join MineCraft Server with Client=&lt;br /&gt;
* For the Tekkit server:&lt;br /&gt;
{{Link|http://(hda IP):25665}}&lt;br /&gt;
* For the Vanilla server:&lt;br /&gt;
{{Link|http://(hda IP):25565}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Apps]]&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=62066</id>
		<title>Installing HDA on HP Mediasmart Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=62066"/>
		<updated>2012-10-25T05:49:11Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: Added link to MediaSmart server wiki page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing your HDA on an old [http://en.wikipedia.org/wiki/HP_MediaSmart_Server HP MediaSmart server], previously used for Windows Home Server, will bring all the benefits of Amahi to the small device. This is only recommended for users who are comfortable with the terminal, or are willing to set up a headless server with VNC. Experienced users may also migrate from a PC server to the MediaSmart server, avoiding installation of a new HDA and all the hassle of backing-up files that occurs with it.&lt;br /&gt;
&lt;br /&gt;
The steps for this tutorial are from [http://dagolav.prestegarden.com/installing-ubuntu-on-the-hp-mediasmart-ex490/ here]. To continue you will require:&lt;br /&gt;
&lt;br /&gt;
* An HP MediaSmart server. [http://www.mediasmartserver.net/wiki/index.php/HP_MediaSmart_Server_Specification This] page provides hardware specifications to compare with any preexisting PC setup.&lt;br /&gt;
* An extra PC&lt;br /&gt;
* A spare hard drive&lt;br /&gt;
* An existing network&lt;br /&gt;
* An SSH solution, like [[Key-based SSH Logins With Putty|Putty]]&lt;br /&gt;
* [http://www.ubuntu.com/download/server Ubuntu Server 12.04 LTS], not the desktop version&lt;br /&gt;
&lt;br /&gt;
==Starting From Scratch==&lt;br /&gt;
===Installing Ubuntu===&lt;br /&gt;
1. Connect the hard drive into the spare PC.&lt;br /&gt;
2. Install '''Ubuntu 12.04, the server version'''. I was not able to get the GUI version of Ubuntu working on the MediaSmart server. The GUI version is also not recommended since there is no VGA or DVI ports for a monitor, only USB.&lt;br /&gt;
3. Do NOT install Amahi yet.&lt;br /&gt;
4. Install an ssh server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo apt-get install openssh-server}}&lt;br /&gt;
&lt;br /&gt;
5. Verify that the SSH is working by connecting with [Key-based SSH Logins With Putty|Putty]. If the SSH is not enabled, enable it:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo update-rc.d ssh defaults}}&lt;br /&gt;
&lt;br /&gt;
6. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
7. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
8. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
9. Shutdown the PC:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Installing Amahi===&lt;br /&gt;
1. Move the hard drive to the MediaSmart server's slot 1, turn on the server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. [http://docs.amahi.org/ubuntu-12.html Install Amahi]&lt;br /&gt;
&lt;br /&gt;
===Modifying Ubuntu for Amahi===&lt;br /&gt;
1. After rebooting and SSHing into the server, [[Binding Network Devices|change the network card to eth0]] from our previous eth1. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
2. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
3. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
You should now be able to access your HDA as a share and as the http://hda link. You can [Install VNC server on Ubuntu Server 12.04|install a VNC server] to connect to the HDA using a graphical interface.&lt;br /&gt;
&lt;br /&gt;
==Transplanting an existing Amahi server==&lt;br /&gt;
Here I will present how I transplanted my current (headless) Amahi server, installed on '''Ubuntu 12.04, the server version''', from a PC to the MediaSmart server. The steps below are mainly a reorganization of the steps above.&lt;br /&gt;
&lt;br /&gt;
===Preparing the HDA===&lt;br /&gt;
1. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
2. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
3. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
4. Note the IP address of your HDA. This can typically be found by connecting to the router and seeing what IP is assigned, or checking your [https://www.amahi.org/users Amahi Control Panel].&lt;br /&gt;
&lt;br /&gt;
5. Shutdown the server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Moving the Hardrive===&lt;br /&gt;
1. Move the OS hardrive to the MediaSmart server, slot 1. If you are using Greyhole, ''make sure to move the rest of your data drives'' as well, and plug these into any slot other than slot 1. Turn on the MediaSmart server.&lt;br /&gt;
&lt;br /&gt;
2. Use [[Key-based SSH Logins With Putty|Putty]] to SSH into the previously noted IP address.&lt;br /&gt;
&lt;br /&gt;
3. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and comment out that whole line. Do not delete incase the server needs to be put back into the old case. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            # SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we commented out the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
4. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
5. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
====Troubleshooting====&lt;br /&gt;
&lt;br /&gt;
Q: ''Only one line shows up in step 3, and the MAC address is that of my old PC.''&lt;br /&gt;
&lt;br /&gt;
A: If there is no second hardware address, we will have to add the MediaSmart server's network drive to eth0. Do the following:&lt;br /&gt;
&lt;br /&gt;
Check what eth1's HWaddr is set to. Copy this information.&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig C}}&lt;br /&gt;
&lt;br /&gt;
​Edit the 70-persistent-net.rules file:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules​}}&lt;br /&gt;
&lt;br /&gt;
Comment out the line with the mac address that was copied down in the previous step, and add the following line (repacing &amp;quot;55:55:55:55:55:55&amp;quot; with the MediaSmart server's address):&lt;br /&gt;
&lt;br /&gt;
          # SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
           SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;55:55:55:55:55:55&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Reconnect the Storage Drives===&lt;br /&gt;
Plug the remaining data drives into the MediaSmart server. If you have Greyhole and are having trouble, check out the [[Reconnect existing Greyhole storage pool]] page. Otherwise, the [[Adding a second hard drive to your HDA]] page may be of service.&lt;br /&gt;
&lt;br /&gt;
== General Troubleshooting==&lt;br /&gt;
Q: ''The MediaSmart server's health light is flashing, it is a bluish color''&lt;br /&gt;
&lt;br /&gt;
A: This is normal if using the guide above. After experimenting, it seems that the health light indicates that the MediaSmart server cannot detect a valid Windows Home Server installation. I came to the conclusion after using the Recovery Disk (comes with the HP WHS server) to reinstall Windows Home Server onto the hard drive. The blinking stopped after a reboot with Windows, but it came back after I reinstalled Ubuntu onto the same hard drive.&lt;br /&gt;
&lt;br /&gt;
Q: ''The MediaSmart server is falshing red and blue when booting''&lt;br /&gt;
&lt;br /&gt;
A: I have not found this to be of any consequence, once fully booted the server will just flash the blue health sign indicating that Windows Home Server is not installed.&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=62060</id>
		<title>Installing HDA on HP Mediasmart Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=62060"/>
		<updated>2012-10-25T05:41:02Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing your HDA on an old MediaSmart server, previously used for Windows Home Server, will bring all the benefits of Amahi to the small device. This is only recommended for users who are comfortable with the terminal, or are willing to set up a headless server with VNC. Experienced users may also migrate from a PC server to the MediaSmart server, avoiding installation of a new HDA and all the hassle of backing-up files that occurs with it.&lt;br /&gt;
&lt;br /&gt;
The steps for this tutorial are from [http://dagolav.prestegarden.com/installing-ubuntu-on-the-hp-mediasmart-ex490/ here]. To continue you will require:&lt;br /&gt;
&lt;br /&gt;
* An HP MediaSmart server. [http://www.mediasmartserver.net/wiki/index.php/HP_MediaSmart_Server_Specification This] page provides hardware specifications to compare with any preexisting PC setup.&lt;br /&gt;
* An extra PC&lt;br /&gt;
* A spare hard drive&lt;br /&gt;
* An existing network&lt;br /&gt;
* An SSH solution, like [[Key-based SSH Logins With Putty|Putty]]&lt;br /&gt;
* [http://www.ubuntu.com/download/server Ubuntu Server 12.04 LTS], not the desktop version&lt;br /&gt;
&lt;br /&gt;
==Starting From Scratch==&lt;br /&gt;
===Installing Ubuntu===&lt;br /&gt;
1. Connect the hard drive into the spare PC.&lt;br /&gt;
2. Install '''Ubuntu 12.04, the server version'''. I was not able to get the GUI version of Ubuntu working on the MediaSmart server. The GUI version is also not recommended since there is no VGA or DVI ports for a monitor, only USB.&lt;br /&gt;
3. Do NOT install Amahi yet.&lt;br /&gt;
4. Install an ssh server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo apt-get install openssh-server}}&lt;br /&gt;
&lt;br /&gt;
5. Verify that the SSH is working by connecting with [Key-based SSH Logins With Putty|Putty]. If the SSH is not enabled, enable it:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo update-rc.d ssh defaults}}&lt;br /&gt;
&lt;br /&gt;
6. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
7. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
8. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
9. Shutdown the PC:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Installing Amahi===&lt;br /&gt;
1. Move the hard drive to the MediaSmart server's slot 1, turn on the server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. [http://docs.amahi.org/ubuntu-12.html Install Amahi]&lt;br /&gt;
&lt;br /&gt;
===Modifying Ubuntu for Amahi===&lt;br /&gt;
1. After rebooting and SSHing into the server, [[Binding Network Devices|change the network card to eth0]] from our previous eth1. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
2. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
3. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
You should now be able to access your HDA as a share and as the http://hda link. You can [Install VNC server on Ubuntu Server 12.04|install a VNC server] to connect to the HDA using a graphical interface.&lt;br /&gt;
&lt;br /&gt;
==Transplanting an existing Amahi server==&lt;br /&gt;
Here I will present how I transplanted my current (headless) Amahi server, installed on '''Ubuntu 12.04, the server version''', from a PC to the MediaSmart server. The steps below are mainly a reorganization of the steps above.&lt;br /&gt;
&lt;br /&gt;
===Preparing the HDA===&lt;br /&gt;
1. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
2. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
3. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
4. Note the IP address of your HDA. This can typically be found by connecting to the router and seeing what IP is assigned, or checking your [https://www.amahi.org/users Amahi Control Panel].&lt;br /&gt;
&lt;br /&gt;
5. Shutdown the server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Moving the Hardrive===&lt;br /&gt;
1. Move the OS hardrive to the MediaSmart server, slot 1. If you are using Greyhole, ''make sure to move the rest of your data drives'' as well, and plug these into any slot other than slot 1. Turn on the MediaSmart server.&lt;br /&gt;
&lt;br /&gt;
2. Use [[Key-based SSH Logins With Putty|Putty]] to SSH into the previously noted IP address.&lt;br /&gt;
&lt;br /&gt;
3. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and comment out that whole line. Do not delete incase the server needs to be put back into the old case. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            # SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we commented out the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
4. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
5. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
====Troubleshooting====&lt;br /&gt;
&lt;br /&gt;
Q: ''Only one line shows up in step 3, and the MAC address is that of my old PC.''&lt;br /&gt;
&lt;br /&gt;
A: If there is no second hardware address, we will have to add the MediaSmart server's network drive to eth0. Do the following:&lt;br /&gt;
&lt;br /&gt;
Check what eth1's HWaddr is set to. Copy this information.&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig C}}&lt;br /&gt;
&lt;br /&gt;
​Edit the 70-persistent-net.rules file:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules​}}&lt;br /&gt;
&lt;br /&gt;
Comment out the line with the mac address that was copied down in the previous step, and add the following line (repacing &amp;quot;55:55:55:55:55:55&amp;quot; with the MediaSmart server's address):&lt;br /&gt;
&lt;br /&gt;
          # SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
           SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;55:55:55:55:55:55&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Reconnect the Storage Drives===&lt;br /&gt;
Plug the remaining data drives into the MediaSmart server. If you have Greyhole and are having trouble, check out the [[Reconnect existing Greyhole storage pool]] page. Otherwise, the [[Adding a second hard drive to your HDA]] page may be of service.&lt;br /&gt;
&lt;br /&gt;
== General Troubleshooting==&lt;br /&gt;
Q: ''The MediaSmart server's health light is flashing, it is a bluish color''&lt;br /&gt;
&lt;br /&gt;
A: This is normal if using the guide above. After experimenting, it seems that the health light indicates that the MediaSmart server cannot detect a valid Windows Home Server installation. I came to the conclusion after using the Recovery Disk (comes with the HP WHS server) to reinstall Windows Home Server onto the hard drive. The blinking stopped after a reboot with Windows, but it came back after I reinstalled Ubuntu onto the same hard drive.&lt;br /&gt;
&lt;br /&gt;
Q: ''The MediaSmart server is falshing red and blue when booting''&lt;br /&gt;
&lt;br /&gt;
A: I have not found this to be of any consequence, once fully booted the server will just flash the blue health sign indicating that Windows Home Server is not installed.&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=62054</id>
		<title>Installing HDA on HP Mediasmart Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=62054"/>
		<updated>2012-10-25T05:39:39Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing your HDA on an old MediaSmart server, previously used for Windows Home Server, will bring all the benefits of Amahi to the small device. This is only recommended for users who are comfortable with the terminal, or are willing to set up a headless server with VNC. Experienced users may also migrate from a PC server to the MediaSmart server, avoiding installation of a new HDA and all the hassle of backing-up files that occurs with it.&lt;br /&gt;
&lt;br /&gt;
The steps for this tutorial are from [http://dagolav.prestegarden.com/installing-ubuntu-on-the-hp-mediasmart-ex490/ here]. To continue you will require:&lt;br /&gt;
&lt;br /&gt;
* An HP MediaSmart server. [http://www.mediasmartserver.net/wiki/index.php/HP_MediaSmart_Server_Specification This] page provides hardware specifications to compare with any preexisting PC setup.&lt;br /&gt;
* An extra PC&lt;br /&gt;
* A spare hard drive&lt;br /&gt;
* An existing network&lt;br /&gt;
* An SSH solution, like [[Key-based SSH Logins With Putty|Putty]]&lt;br /&gt;
* Ubuntu 12.04, the server version&lt;br /&gt;
&lt;br /&gt;
==Starting From Scratch==&lt;br /&gt;
===Installing Ubuntu===&lt;br /&gt;
1. Connect the hard drive into the spare PC.&lt;br /&gt;
2. Install '''Ubuntu 12.04, the server version'''. I was not able to get the GUI version of Ubuntu working on the MediaSmart server. The GUI version is also not recommended since there is no VGA or DVI ports for a monitor, only USB.&lt;br /&gt;
3. Do NOT install Amahi yet.&lt;br /&gt;
4. Install an ssh server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo apt-get install openssh-server}}&lt;br /&gt;
&lt;br /&gt;
5. Verify that the SSH is working by connecting with [Key-based SSH Logins With Putty|Putty]. If the SSH is not enabled, enable it:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo update-rc.d ssh defaults}}&lt;br /&gt;
&lt;br /&gt;
6. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
7. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
8. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
9. Shutdown the PC:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Installing Amahi===&lt;br /&gt;
1. Move the hard drive to the MediaSmart server's slot 1, turn on the server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. [http://docs.amahi.org/ubuntu-12.html Install Amahi]&lt;br /&gt;
&lt;br /&gt;
===Modifying Ubuntu for Amahi===&lt;br /&gt;
1. After rebooting and SSHing into the server, [[Binding Network Devices|change the network card to eth0]] from our previous eth1. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
2. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
3. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
You should now be able to access your HDA as a share and as the http://hda link. You can [Install VNC server on Ubuntu Server 12.04|install a VNC server] to connect to the HDA using a graphical interface.&lt;br /&gt;
&lt;br /&gt;
==Transplanting an existing Amahi server==&lt;br /&gt;
Here I will present how I transplanted my current (headless) Amahi server, installed on '''Ubuntu 12.04, the server version''', from a PC to the MediaSmart server. The steps below are mainly a reorganization of the steps above.&lt;br /&gt;
&lt;br /&gt;
===Preparing the HDA===&lt;br /&gt;
1. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
2. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
3. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
4. Note the IP address of your HDA. This can typically be found by connecting to the router and seeing what IP is assigned, or checking your [https://www.amahi.org/users Amahi Control Panel].&lt;br /&gt;
&lt;br /&gt;
5. Shutdown the server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Moving the Hardrive===&lt;br /&gt;
1. Move the OS hardrive to the MediaSmart server, slot 1. If you are using Greyhole, ''make sure to move the rest of your data drives'' as well, and plug these into any slot other than slot 1. Turn on the MediaSmart server.&lt;br /&gt;
&lt;br /&gt;
2. Use [[Key-based SSH Logins With Putty|Putty]] to SSH into the previously noted IP address.&lt;br /&gt;
&lt;br /&gt;
3. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and comment out that whole line. Do not delete incase the server needs to be put back into the old case. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            # SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we commented out the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
4. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
5. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
====Troubleshooting====&lt;br /&gt;
&lt;br /&gt;
Q: ''Only one line shows up in step 3, and the MAC address is that of my old PC.''&lt;br /&gt;
&lt;br /&gt;
A: If there is no second hardware address, we will have to add the MediaSmart server's network drive to eth0. Do the following:&lt;br /&gt;
&lt;br /&gt;
Check what eth1's HWaddr is set to. Copy this information.&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig C}}&lt;br /&gt;
&lt;br /&gt;
​Edit the 70-persistent-net.rules file:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules​}}&lt;br /&gt;
&lt;br /&gt;
Comment out the line with the mac address that was copied down in the previous step, and add the following line (repacing &amp;quot;55:55:55:55:55:55&amp;quot; with the MediaSmart server's address):&lt;br /&gt;
&lt;br /&gt;
          # SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
           SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;55:55:55:55:55:55&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Reconnect the Storage Drives===&lt;br /&gt;
Plug the remaining data drives into the MediaSmart server. If you have Greyhole and are having trouble, check out the [[Reconnect existing Greyhole storage pool]] page. Otherwise, the [[Adding a second hard drive to your HDA]] page may be of service.&lt;br /&gt;
&lt;br /&gt;
== General Troubleshooting==&lt;br /&gt;
Q: ''The MediaSmart server's health light is flashing, it is a bluish color''&lt;br /&gt;
&lt;br /&gt;
A: This is normal if using the guide above. After experimenting, it seems that the health light indicates that the MediaSmart server cannot detect a valid Windows Home Server installation. I came to the conclusion after using the Recovery Disk (comes with the HP WHS server) to reinstall Windows Home Server onto the hard drive. The blinking stopped after a reboot with Windows, but it came back after I reinstalled Ubuntu onto the same hard drive.&lt;br /&gt;
&lt;br /&gt;
Q: ''The MediaSmart server is falshing red and blue when booting''&lt;br /&gt;
&lt;br /&gt;
A: I have not found this to be of any consequence, once fully booted the server will just flash the blue health sign indicating that Windows Home Server is not installed.&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=62048</id>
		<title>Installing HDA on HP Mediasmart Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=62048"/>
		<updated>2012-10-25T05:32:17Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing your HDA on an old MediaSmart server, previously used for Windows Home Server, will bring all the benefits of Amahi to the small device. This is only recommended for users who are comfortable with the terminal, or are willing to set up a headless server with VNC.&lt;br /&gt;
&lt;br /&gt;
The steps for this tutorial are from [http://dagolav.prestegarden.com/installing-ubuntu-on-the-hp-mediasmart-ex490/ here]. To continue you will require:&lt;br /&gt;
&lt;br /&gt;
* An HP MediaSmart server. [http://www.mediasmartserver.net/wiki/index.php/HP_MediaSmart_Server_Specification This] page provides hardware specifications to compare with any preexisting PC setup.&lt;br /&gt;
* An extra PC&lt;br /&gt;
* A spare hard drive&lt;br /&gt;
* An existing network&lt;br /&gt;
* An SSH solution, like [[Key-based SSH Logins With Putty|Putty]]&lt;br /&gt;
* Ubuntu 12.04, the server version&lt;br /&gt;
&lt;br /&gt;
==Starting From Scratch==&lt;br /&gt;
===Installing Ubuntu===&lt;br /&gt;
1. Connect the hard drive into the spare PC.&lt;br /&gt;
2. Install '''Ubuntu 12.04, the server version'''. I was not able to get the GUI version of Ubuntu working on the MediaSmart server. The GUI version is also not recommended since there is no VGA or DVI ports for a monitor, only USB.&lt;br /&gt;
3. Do NOT install Amahi yet.&lt;br /&gt;
4. Install an ssh server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo apt-get install openssh-server}}&lt;br /&gt;
&lt;br /&gt;
5. Verify that the SSH is working by connecting with [Key-based SSH Logins With Putty|Putty]. If the SSH is not enabled, enable it:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo update-rc.d ssh defaults}}&lt;br /&gt;
&lt;br /&gt;
6. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
7. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
8. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
9. Shutdown the PC:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Installing Amahi===&lt;br /&gt;
1. Move the hard drive to the MediaSmart server's slot 1, turn on the server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. [http://docs.amahi.org/ubuntu-12.html Install Amahi]&lt;br /&gt;
&lt;br /&gt;
===Modifying Ubuntu for Amahi===&lt;br /&gt;
1. After rebooting and SSHing into the server, [[Binding Network Devices|change the network card to eth0]] from our previous eth1. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
2. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
3. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
You should now be able to access your HDA as a share and as the http://hda link. You can [Install VNC server on Ubuntu Server 12.04|install a VNC server] to connect to the HDA using a graphical interface.&lt;br /&gt;
&lt;br /&gt;
==Transplanting an existing Amahi server==&lt;br /&gt;
Here I will present how I transplanted my current (headless) Amahi server, installed on '''Ubuntu 12.04, the server version''', from a PC to the MediaSmart server. The steps below are mainly a reorganization of the steps above.&lt;br /&gt;
&lt;br /&gt;
===Preparing the HDA===&lt;br /&gt;
1. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
2. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
3. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
4. Note the IP address of your HDA. This can typically be found by connecting to the router and seeing what IP is assigned, or checking your [https://www.amahi.org/users Amahi Control Panel].&lt;br /&gt;
&lt;br /&gt;
5. Shutdown the server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Moving the Hardrive===&lt;br /&gt;
1. Move the OS hardrive to the MediaSmart server, slot 1. If you are using Greyhole, ''make sure to move the rest of your data drives'' as well, and plug these into any slot other than slot 1. Turn on the MediaSmart server.&lt;br /&gt;
&lt;br /&gt;
2. Use [[Key-based SSH Logins With Putty|Putty]] to SSH into the previously noted IP address.&lt;br /&gt;
&lt;br /&gt;
3. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and comment out that whole line. Do not delete incase the server needs to be put back into the old case. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            # SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we commented out the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
4. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
5. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
====Troubleshooting====&lt;br /&gt;
&lt;br /&gt;
Q: ''Only one line shows up in step 3, and the MAC address is that of my old PC.''&lt;br /&gt;
&lt;br /&gt;
A: If there is no second hardware address, we will have to add the MediaSmart server's network drive to eth0. Do the following:&lt;br /&gt;
&lt;br /&gt;
Check what eth1's HWaddr is set to. Copy this information.&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig C}}&lt;br /&gt;
&lt;br /&gt;
​Edit the 70-persistent-net.rules file:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules​}}&lt;br /&gt;
&lt;br /&gt;
Comment out the line with the mac address that was copied down in the previous step, and add the following line (repacing &amp;quot;55:55:55:55:55:55&amp;quot; with the MediaSmart server's address):&lt;br /&gt;
&lt;br /&gt;
          # SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
           SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;55:55:55:55:55:55&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Reconnect the Storage Drives===&lt;br /&gt;
Plug the remaining data drives into the MediaSmart server. If you have Greyhole and are having trouble, check out the [[Reconnect existing Greyhole storage pool]] page. Otherwise, the [[Adding a second hard drive to your HDA]] page may be of service.&lt;br /&gt;
&lt;br /&gt;
== General Troubleshooting==&lt;br /&gt;
Q: ''The MediaSmart server's health light is flashing, it is a bluish color''&lt;br /&gt;
&lt;br /&gt;
A: This is normal if using the guide above. After experimenting, it seems that the health light indicates that the MediaSmart server cannot detect a valid Windows Home Server installation. I came to the conclusion after using the Recovery Disk (comes with the HP WHS server) to reinstall Windows Home Server onto the hard drive. The blinking stopped after a reboot with Windows, but it came back after I reinstalled Ubuntu onto the same hard drive.&lt;br /&gt;
&lt;br /&gt;
Q: ''The MediaSmart server is falshing red and blue when booting''&lt;br /&gt;
&lt;br /&gt;
A: I have not found this to be of any consequence, once fully booted the server will just flash the blue health sign indicating that Windows Home Server is not installed.&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=62042</id>
		<title>Installing HDA on HP Mediasmart Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=62042"/>
		<updated>2012-10-25T05:28:41Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: /* General Troubleshooting */  Added new question&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing your HDA on an old MediaSmart server, previously used for Windows Home Server, will bring all the benefits of Amahi to the small device. This is only recommended for users who are comfortable with the terminal, or are willing to set up a headless server with VNC.&lt;br /&gt;
&lt;br /&gt;
The steps for this tutorial are from [http://dagolav.prestegarden.com/installing-ubuntu-on-the-hp-mediasmart-ex490/ here]. To continue you will require:&lt;br /&gt;
&lt;br /&gt;
* An HP MediaSmart server&lt;br /&gt;
* An extra PC&lt;br /&gt;
* A spare hard drive&lt;br /&gt;
* An existing network&lt;br /&gt;
* An SSH solution, like [[Key-based SSH Logins With Putty|Putty]]&lt;br /&gt;
* Ubuntu 12.04, the server version&lt;br /&gt;
&lt;br /&gt;
==Starting From Scratch==&lt;br /&gt;
===Installing Ubuntu===&lt;br /&gt;
1. Connect the hard drive into the spare PC.&lt;br /&gt;
2. Install '''Ubuntu 12.04, the server version'''. I was not able to get the GUI version of Ubuntu working on the MediaSmart server. The GUI version is also not recommended since there is no VGA or DVI ports for a monitor, only USB.&lt;br /&gt;
3. Do NOT install Amahi yet.&lt;br /&gt;
4. Install an ssh server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo apt-get install openssh-server}}&lt;br /&gt;
&lt;br /&gt;
5. Verify that the SSH is working by connecting with [Key-based SSH Logins With Putty|Putty]. If the SSH is not enabled, enable it:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo update-rc.d ssh defaults}}&lt;br /&gt;
&lt;br /&gt;
6. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
7. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
8. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
9. Shutdown the PC:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Installing Amahi===&lt;br /&gt;
1. Move the hard drive to the MediaSmart server's slot 1, turn on the server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. [http://docs.amahi.org/ubuntu-12.html Install Amahi]&lt;br /&gt;
&lt;br /&gt;
===Modifying Ubuntu for Amahi===&lt;br /&gt;
1. After rebooting and SSHing into the server, [[Binding Network Devices|change the network card to eth0]] from our previous eth1. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
2. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
3. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
You should now be able to access your HDA as a share and as the http://hda link. You can [Install VNC server on Ubuntu Server 12.04|install a VNC server] to connect to the HDA using a graphical interface.&lt;br /&gt;
&lt;br /&gt;
==Transplanting an existing Amahi server==&lt;br /&gt;
Here I will present how I transplanted my current (headless) Amahi server, installed on '''Ubuntu 12.04, the server version''', from a PC to the MediaSmart server. The steps below are mainly a reorganization of the steps above.&lt;br /&gt;
&lt;br /&gt;
===Preparing the HDA===&lt;br /&gt;
1. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
2. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
3. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
4. Note the IP address of your HDA. This can typically be found by connecting to the router and seeing what IP is assigned, or checking your [https://www.amahi.org/users Amahi Control Panel].&lt;br /&gt;
&lt;br /&gt;
5. Shutdown the server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Moving the Hardrive===&lt;br /&gt;
1. Move the OS hardrive to the MediaSmart server, slot 1. If you are using Greyhole, ''make sure to move the rest of your data drives'' as well, and plug these into any slot other than slot 1. Turn on the MediaSmart server.&lt;br /&gt;
&lt;br /&gt;
2. Use [[Key-based SSH Logins With Putty|Putty]] to SSH into the previously noted IP address.&lt;br /&gt;
&lt;br /&gt;
3. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and comment out that whole line. Do not delete incase the server needs to be put back into the old case. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            # SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we commented out the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
4. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
5. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
====Troubleshooting====&lt;br /&gt;
&lt;br /&gt;
Q: ''Only one line shows up in step 3, and the MAC address is that of my old PC.''&lt;br /&gt;
&lt;br /&gt;
A: If there is no second hardware address, we will have to add the MediaSmart server's network drive to eth0. Do the following:&lt;br /&gt;
&lt;br /&gt;
Check what eth1's HWaddr is set to. Copy this information.&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig C}}&lt;br /&gt;
&lt;br /&gt;
​Edit the 70-persistent-net.rules file:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules​}}&lt;br /&gt;
&lt;br /&gt;
Comment out the line with the mac address that was copied down in the previous step, and add the following line (repacing &amp;quot;55:55:55:55:55:55&amp;quot; with the MediaSmart server's address):&lt;br /&gt;
&lt;br /&gt;
          # SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
           SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;55:55:55:55:55:55&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Reconnect the Storage Drives===&lt;br /&gt;
Plug the remaining data drives into the MediaSmart server. If you have Greyhole and are having trouble, check out the [[Reconnect existing Greyhole storage pool]] page. Otherwise, the [[Adding a second hard drive to your HDA]] page may be of service.&lt;br /&gt;
&lt;br /&gt;
== General Troubleshooting==&lt;br /&gt;
Q: ''The MediaSmart server's health light is flashing, it is a bluish color''&lt;br /&gt;
&lt;br /&gt;
A: This is normal if using the guide above. After experimenting, it seems that the health light indicates that the MediaSmart server cannot detect a valid Windows Home Server installation. I came to the conclusion after using the Recovery Disk (comes with the HP WHS server) to reinstall Windows Home Server onto the hard drive. The blinking stopped after a reboot with Windows, but it came back after I reinstalled Ubuntu onto the same hard drive.&lt;br /&gt;
&lt;br /&gt;
Q: ''The MediaSmart server is falshing red and blue when booting''&lt;br /&gt;
&lt;br /&gt;
A: I have not found this to be of any consequence, once fully booted the server will just flash the blue health sign indicating that Windows Home Server is not installed.&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=62036</id>
		<title>Installing HDA on HP Mediasmart Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=62036"/>
		<updated>2012-10-25T05:13:51Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: Formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing your HDA on an old MediaSmart server, previously used for Windows Home Server, will bring all the benefits of Amahi to the small device. This is only recommended for users who are comfortable with the terminal, or are willing to set up a headless server with VNC.&lt;br /&gt;
&lt;br /&gt;
The steps for this tutorial are from [http://dagolav.prestegarden.com/installing-ubuntu-on-the-hp-mediasmart-ex490/ here]. To continue you will require:&lt;br /&gt;
&lt;br /&gt;
* An HP MediaSmart server&lt;br /&gt;
* An extra PC&lt;br /&gt;
* A spare hard drive&lt;br /&gt;
* An existing network&lt;br /&gt;
* An SSH solution, like [[Key-based SSH Logins With Putty|Putty]]&lt;br /&gt;
* Ubuntu 12.04, the server version&lt;br /&gt;
&lt;br /&gt;
==Starting From Scratch==&lt;br /&gt;
===Installing Ubuntu===&lt;br /&gt;
1. Connect the hard drive into the spare PC.&lt;br /&gt;
2. Install '''Ubuntu 12.04, the server version'''. I was not able to get the GUI version of Ubuntu working on the MediaSmart server. The GUI version is also not recommended since there is no VGA or DVI ports for a monitor, only USB.&lt;br /&gt;
3. Do NOT install Amahi yet.&lt;br /&gt;
4. Install an ssh server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo apt-get install openssh-server}}&lt;br /&gt;
&lt;br /&gt;
5. Verify that the SSH is working by connecting with [Key-based SSH Logins With Putty|Putty]. If the SSH is not enabled, enable it:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo update-rc.d ssh defaults}}&lt;br /&gt;
&lt;br /&gt;
6. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
7. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
8. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
9. Shutdown the PC:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Installing Amahi===&lt;br /&gt;
1. Move the hard drive to the MediaSmart server's slot 1, turn on the server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. [http://docs.amahi.org/ubuntu-12.html Install Amahi]&lt;br /&gt;
&lt;br /&gt;
===Modifying Ubuntu for Amahi===&lt;br /&gt;
1. After rebooting and SSHing into the server, [[Binding Network Devices|change the network card to eth0]] from our previous eth1. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
2. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
3. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
You should now be able to access your HDA as a share and as the http://hda link. You can [Install VNC server on Ubuntu Server 12.04|install a VNC server] to connect to the HDA using a graphical interface.&lt;br /&gt;
&lt;br /&gt;
==Transplanting an existing Amahi server==&lt;br /&gt;
Here I will present how I transplanted my current (headless) Amahi server, installed on '''Ubuntu 12.04, the server version''', from a PC to the MediaSmart server. The steps below are mainly a reorganization of the steps above.&lt;br /&gt;
&lt;br /&gt;
===Preparing the HDA===&lt;br /&gt;
1. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
2. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
3. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
4. Note the IP address of your HDA. This can typically be found by connecting to the router and seeing what IP is assigned, or checking your [https://www.amahi.org/users Amahi Control Panel].&lt;br /&gt;
&lt;br /&gt;
5. Shutdown the server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Moving the Hardrive===&lt;br /&gt;
1. Move the OS hardrive to the MediaSmart server, slot 1. If you are using Greyhole, ''make sure to move the rest of your data drives'' as well, and plug these into any slot other than slot 1. Turn on the MediaSmart server.&lt;br /&gt;
&lt;br /&gt;
2. Use [[Key-based SSH Logins With Putty|Putty]] to SSH into the previously noted IP address.&lt;br /&gt;
&lt;br /&gt;
3. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and comment out that whole line. Do not delete incase the server needs to be put back into the old case. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            # SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we commented out the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
4. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
5. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
====Troubleshooting====&lt;br /&gt;
&lt;br /&gt;
Q: ''Only one line shows up in step 3, and the MAC address is that of my old PC.''&lt;br /&gt;
&lt;br /&gt;
A: If there is no second hardware address, we will have to add the MediaSmart server's network drive to eth0. Do the following:&lt;br /&gt;
&lt;br /&gt;
Check what eth1's HWaddr is set to. Copy this information.&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig C}}&lt;br /&gt;
&lt;br /&gt;
​Edit the 70-persistent-net.rules file:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules​}}&lt;br /&gt;
&lt;br /&gt;
Comment out the line with the mac address that was copied down in the previous step, and add the following line (repacing &amp;quot;55:55:55:55:55:55&amp;quot; with the MediaSmart server's address):&lt;br /&gt;
&lt;br /&gt;
          # SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
           SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;55:55:55:55:55:55&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Reconnect the Storage Drives===&lt;br /&gt;
Plug the remaining data drives into the MediaSmart server. If you have Greyhole and are having trouble, check out the [[Reconnect existing Greyhole storage pool]] page. Otherwise, the [[Adding a second hard drive to your HDA]] page may be of service.&lt;br /&gt;
&lt;br /&gt;
== General Troubleshooting==&lt;br /&gt;
Q: ''The MediaSmart server's health light is flashing, it is a bluish color''&lt;br /&gt;
&lt;br /&gt;
A: This is normal if using the guide above. After experimenting, it seems that the health light indicates that the MediaSmart server cannot detect a valid Windows Home Server installation. I came to the conclusion after using the Recovery Disk (comes with the HP WHS server) to reinstall Windows Home Server onto the hard drive. The blinking stopped after a reboot with Windows, but it came back after I reinstalled Ubuntu onto the same hard drive.&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=62030</id>
		<title>Installing HDA on HP Mediasmart Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=62030"/>
		<updated>2012-10-25T05:11:38Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: /* Moving the Hardrive */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing your HDA on an old MediaSmart server, previously used for Windows Home Server, will bring all the benefits of Amahi to the small device. This is only recommended for users who are comfortable with the terminal, or are willing to set up a headless server with VNC.&lt;br /&gt;
&lt;br /&gt;
The steps for this tutorial are from [http://dagolav.prestegarden.com/installing-ubuntu-on-the-hp-mediasmart-ex490/ here]. To continue you will require:&lt;br /&gt;
&lt;br /&gt;
- An HP MediaSmart server&lt;br /&gt;
&lt;br /&gt;
- An extra PC&lt;br /&gt;
&lt;br /&gt;
- A spare hard drive&lt;br /&gt;
&lt;br /&gt;
- An existing network&lt;br /&gt;
&lt;br /&gt;
- An SSH solution, like [[Key-based SSH Logins With Putty|Putty]]&lt;br /&gt;
&lt;br /&gt;
- Ubuntu 12.04, the server version&lt;br /&gt;
&lt;br /&gt;
==Starting From Scratch==&lt;br /&gt;
===Installing Ubuntu===&lt;br /&gt;
1. Connect the hard drive into the spare PC.&lt;br /&gt;
2. Install '''Ubuntu 12.04, the server version'''. I was not able to get the GUI version of Ubuntu working on the MediaSmart server. The GUI version is also not recommended since there is no VGA or DVI ports for a monitor, only USB.&lt;br /&gt;
3. Do NOT install Amahi yet.&lt;br /&gt;
4. Install an ssh server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo apt-get install openssh-server}}&lt;br /&gt;
&lt;br /&gt;
5. Verify that the SSH is working by connecting with [Key-based SSH Logins With Putty|Putty]. If the SSH is not enabled, enable it:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo update-rc.d ssh defaults}}&lt;br /&gt;
&lt;br /&gt;
6. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
7. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
8. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
9. Shutdown the PC:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Installing Amahi===&lt;br /&gt;
1. Move the hard drive to the MediaSmart server's slot 1, turn on the server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. [http://docs.amahi.org/ubuntu-12.html Install Amahi]&lt;br /&gt;
&lt;br /&gt;
===Modifying Ubuntu for Amahi===&lt;br /&gt;
1. After rebooting and SSHing into the server, [[Binding Network Devices|change the network card to eth0]] from our previous eth1. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
12. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
13. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
You should now be able to access your HDA as a share and as the http://hda link. You can [Install VNC server on Ubuntu Server 12.04|install a VNC server] to connect to the HDA using a graphical interface.&lt;br /&gt;
&lt;br /&gt;
==Transplanting an existing Amahi server==&lt;br /&gt;
Here I will present how I transplanted my current (headless) Amahi server, installed on '''Ubuntu 12.04, the server version''', from a PC to the MediaSmart server. The steps below are mainly a reorganization of the steps above.&lt;br /&gt;
&lt;br /&gt;
===Preparing the HDA===&lt;br /&gt;
1. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
2. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
3. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
4. Note the IP address of your HDA. This can typically be found by connecting to the router and seeing what IP is assigned, or checking your [https://www.amahi.org/users Amahi Control Panel].&lt;br /&gt;
&lt;br /&gt;
5. Shutdown the server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Moving the Hardrive===&lt;br /&gt;
1. Move the OS hardrive to the MediaSmart server, slot 1. If you are using Greyhole, ''make sure to move the rest of your data drives'' as well, and plug these into any slot other than slot 1. Turn on the MediaSmart server.&lt;br /&gt;
&lt;br /&gt;
2. Use [[Key-based SSH Logins With Putty|Putty]] to SSH into the previously noted IP address.&lt;br /&gt;
&lt;br /&gt;
3. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and comment out that whole line. Do not delete incase the server needs to be put back into the old case. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            # SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we commented out the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
4. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
5. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
====Troubleshooting====&lt;br /&gt;
&lt;br /&gt;
Q: ''Only one line shows up in step 3, and the MAC address is that of my old PC.''&lt;br /&gt;
&lt;br /&gt;
A: If there is no second hardware address, we will have to add the MediaSmart server's network drive to eth0. Do the following:&lt;br /&gt;
&lt;br /&gt;
Check what eth1's HWaddr is set to. Copy this information.&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig C}}&lt;br /&gt;
&lt;br /&gt;
​Edit the 70-persistent-net.rules file:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules​}}&lt;br /&gt;
&lt;br /&gt;
Comment out the line with the mac address that was copied down in the previous step, and add the following line (repacing &amp;quot;55:55:55:55:55:55&amp;quot; with the MediaSmart server's address):&lt;br /&gt;
&lt;br /&gt;
          # SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
           SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;55:55:55:55:55:55&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Reconnect the Storage Drives===&lt;br /&gt;
Plug the remaining data drives into the MediaSmart server. If you have Greyhole and are having trouble, check out the [[Reconnect existing Greyhole storage pool]] page. Otherwise, the [[Adding a second hard drive to your HDA]] page may be of service.&lt;br /&gt;
&lt;br /&gt;
== General Troubleshooting==&lt;br /&gt;
Q: ''The MediaSmart server's health light is flashing, it is a bluish color''&lt;br /&gt;
&lt;br /&gt;
A: This is normal if using the guide above. After experimenting, it seems that the health light indicates that the MediaSmart server cannot detect a valid Windows Home Server installation. I came to the conclusion after using the Recovery Disk (comes with the HP WHS server) to reinstall Windows Home Server onto the hard drive. The blinking stopped after a reboot with Windows, but it came back after I reinstalled Ubuntu onto the same hard drive.&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=62024</id>
		<title>Installing HDA on HP Mediasmart Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=62024"/>
		<updated>2012-10-25T05:07:50Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: /* Troubleshooting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing your HDA on an old MediaSmart server, previously used for Windows Home Server, will bring all the benefits of Amahi to the small device. This is only recommended for users who are comfortable with the terminal, or are willing to set up a headless server with VNC.&lt;br /&gt;
&lt;br /&gt;
The steps for this tutorial are from [http://dagolav.prestegarden.com/installing-ubuntu-on-the-hp-mediasmart-ex490/ here]. To continue you will require:&lt;br /&gt;
&lt;br /&gt;
- An HP MediaSmart server&lt;br /&gt;
&lt;br /&gt;
- An extra PC&lt;br /&gt;
&lt;br /&gt;
- A spare hard drive&lt;br /&gt;
&lt;br /&gt;
- An existing network&lt;br /&gt;
&lt;br /&gt;
- An SSH solution, like [[Key-based SSH Logins With Putty|Putty]]&lt;br /&gt;
&lt;br /&gt;
- Ubuntu 12.04, the server version&lt;br /&gt;
&lt;br /&gt;
==Starting From Scratch==&lt;br /&gt;
===Installing Ubuntu===&lt;br /&gt;
1. Connect the hard drive into the spare PC.&lt;br /&gt;
2. Install '''Ubuntu 12.04, the server version'''. I was not able to get the GUI version of Ubuntu working on the MediaSmart server. The GUI version is also not recommended since there is no VGA or DVI ports for a monitor, only USB.&lt;br /&gt;
3. Do NOT install Amahi yet.&lt;br /&gt;
4. Install an ssh server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo apt-get install openssh-server}}&lt;br /&gt;
&lt;br /&gt;
5. Verify that the SSH is working by connecting with [Key-based SSH Logins With Putty|Putty]. If the SSH is not enabled, enable it:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo update-rc.d ssh defaults}}&lt;br /&gt;
&lt;br /&gt;
6. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
7. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
8. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
9. Shutdown the PC:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Installing Amahi===&lt;br /&gt;
1. Move the hard drive to the MediaSmart server's slot 1, turn on the server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. [http://docs.amahi.org/ubuntu-12.html Install Amahi]&lt;br /&gt;
&lt;br /&gt;
===Modifying Ubuntu for Amahi===&lt;br /&gt;
1. After rebooting and SSHing into the server, [[Binding Network Devices|change the network card to eth0]] from our previous eth1. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
12. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
13. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
You should now be able to access your HDA as a share and as the http://hda link. You can [Install VNC server on Ubuntu Server 12.04|install a VNC server] to connect to the HDA using a graphical interface.&lt;br /&gt;
&lt;br /&gt;
==Transplanting an existing Amahi server==&lt;br /&gt;
Here I will present how I transplanted my current (headless) Amahi server, installed on '''Ubuntu 12.04, the server version''', from a PC to the MediaSmart server. The steps below are mainly a reorganization of the steps above.&lt;br /&gt;
&lt;br /&gt;
===Preparing the HDA===&lt;br /&gt;
1. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
2. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
3. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
4. Note the IP address of your HDA. This can typically be found by connecting to the router and seeing what IP is assigned, or checking your [https://www.amahi.org/users Amahi Control Panel].&lt;br /&gt;
&lt;br /&gt;
5. Shutdown the server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Moving the Hardrive===&lt;br /&gt;
1. Move the OS hardrive to the MediaSmart server, slot 1. If you are using Greyhole, ''make sure to move the rest of your data drives'' as well, and plug these into any slot other than slot 1. Turn on the MediaSmart server.&lt;br /&gt;
&lt;br /&gt;
2. Use [[Key-based SSH Logins With Putty|Putty]] to SSH into the previously noted IP address.&lt;br /&gt;
&lt;br /&gt;
3. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and comment out that whole line. Do not delete incase the server needs to be put back into the old case. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            # SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we commented out the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
4. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
5. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
===Reconnect the Storage Drives===&lt;br /&gt;
Plug the remaining data drives into the MediaSmart server. If you have Greyhole and are having trouble, check out the [[Reconnect existing Greyhole storage pool]] page. Otherwise, the [[Adding a second hard drive to your HDA]] page may be of service.&lt;br /&gt;
&lt;br /&gt;
== General Troubleshooting==&lt;br /&gt;
Q: ''The MediaSmart server's health light is flashing, it is a bluish color''&lt;br /&gt;
&lt;br /&gt;
A: This is normal if using the guide above. After experimenting, it seems that the health light indicates that the MediaSmart server cannot detect a valid Windows Home Server installation. I came to the conclusion after using the Recovery Disk (comes with the HP WHS server) to reinstall Windows Home Server onto the hard drive. The blinking stopped after a reboot with Windows, but it came back after I reinstalled Ubuntu onto the same hard drive.&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=62018</id>
		<title>Installing HDA on HP Mediasmart Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=62018"/>
		<updated>2012-10-25T05:06:55Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: /* Transplanting an existing Amahi server */  Added details after I followed through the steps on my own server&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing your HDA on an old MediaSmart server, previously used for Windows Home Server, will bring all the benefits of Amahi to the small device. This is only recommended for users who are comfortable with the terminal, or are willing to set up a headless server with VNC.&lt;br /&gt;
&lt;br /&gt;
The steps for this tutorial are from [http://dagolav.prestegarden.com/installing-ubuntu-on-the-hp-mediasmart-ex490/ here]. To continue you will require:&lt;br /&gt;
&lt;br /&gt;
- An HP MediaSmart server&lt;br /&gt;
&lt;br /&gt;
- An extra PC&lt;br /&gt;
&lt;br /&gt;
- A spare hard drive&lt;br /&gt;
&lt;br /&gt;
- An existing network&lt;br /&gt;
&lt;br /&gt;
- An SSH solution, like [[Key-based SSH Logins With Putty|Putty]]&lt;br /&gt;
&lt;br /&gt;
- Ubuntu 12.04, the server version&lt;br /&gt;
&lt;br /&gt;
==Starting From Scratch==&lt;br /&gt;
===Installing Ubuntu===&lt;br /&gt;
1. Connect the hard drive into the spare PC.&lt;br /&gt;
2. Install '''Ubuntu 12.04, the server version'''. I was not able to get the GUI version of Ubuntu working on the MediaSmart server. The GUI version is also not recommended since there is no VGA or DVI ports for a monitor, only USB.&lt;br /&gt;
3. Do NOT install Amahi yet.&lt;br /&gt;
4. Install an ssh server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo apt-get install openssh-server}}&lt;br /&gt;
&lt;br /&gt;
5. Verify that the SSH is working by connecting with [Key-based SSH Logins With Putty|Putty]. If the SSH is not enabled, enable it:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo update-rc.d ssh defaults}}&lt;br /&gt;
&lt;br /&gt;
6. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
7. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
8. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
9. Shutdown the PC:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Installing Amahi===&lt;br /&gt;
1. Move the hard drive to the MediaSmart server's slot 1, turn on the server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. [http://docs.amahi.org/ubuntu-12.html Install Amahi]&lt;br /&gt;
&lt;br /&gt;
===Modifying Ubuntu for Amahi===&lt;br /&gt;
1. After rebooting and SSHing into the server, [[Binding Network Devices|change the network card to eth0]] from our previous eth1. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
12. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
13. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
You should now be able to access your HDA as a share and as the http://hda link. You can [Install VNC server on Ubuntu Server 12.04|install a VNC server] to connect to the HDA using a graphical interface.&lt;br /&gt;
&lt;br /&gt;
==Transplanting an existing Amahi server==&lt;br /&gt;
Here I will present how I transplanted my current (headless) Amahi server, installed on '''Ubuntu 12.04, the server version''', from a PC to the MediaSmart server. The steps below are mainly a reorganization of the steps above.&lt;br /&gt;
&lt;br /&gt;
===Preparing the HDA===&lt;br /&gt;
1. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
2. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
3. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
4. Note the IP address of your HDA. This can typically be found by connecting to the router and seeing what IP is assigned, or checking your [https://www.amahi.org/users Amahi Control Panel].&lt;br /&gt;
&lt;br /&gt;
5. Shutdown the server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Moving the Hardrive===&lt;br /&gt;
1. Move the OS hardrive to the MediaSmart server, slot 1. If you are using Greyhole, ''make sure to move the rest of your data drives'' as well, and plug these into any slot other than slot 1. Turn on the MediaSmart server.&lt;br /&gt;
&lt;br /&gt;
2. Use [[Key-based SSH Logins With Putty|Putty]] to SSH into the previously noted IP address.&lt;br /&gt;
&lt;br /&gt;
3. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and comment out that whole line. Do not delete incase the server needs to be put back into the old case. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            # SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we commented out the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
4. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
5. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
===Reconnect the Storage Drives===&lt;br /&gt;
Plug the remaining data drives into the MediaSmart server. If you have Greyhole and are having trouble, check out the [[Reconnect existing Greyhole storage pool]] page. Otherwise, the [[Adding a second hard drive to your HDA]] page may be of service.&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;br /&gt;
Q: ''The MediaSmart server's health light is flashing, it is a bluish color''&lt;br /&gt;
&lt;br /&gt;
A: This is normal if using the guide above. After experimenting, it seems that the health light indicates that the MediaSmart server cannot detect a valid Windows Home Server installation. I came to the conclusion after using the Recovery Disk (comes with the HP WHS server) to reinstall Windows Home Server onto the hard drive. The blinking stopped after a reboot with Windows, but it came back after I reinstalled Ubuntu onto the same hard drive.&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=62012</id>
		<title>Installing HDA on HP Mediasmart Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=62012"/>
		<updated>2012-10-25T04:39:30Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: /* Moving the Hardrive */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing your HDA on an old MediaSmart server, previously used for Windows Home Server, will bring all the benefits of Amahi to the small device. This is only recommended for users who are comfortable with the terminal, or are willing to set up a headless server with VNC.&lt;br /&gt;
&lt;br /&gt;
The steps for this tutorial are from [http://dagolav.prestegarden.com/installing-ubuntu-on-the-hp-mediasmart-ex490/ here]. To continue you will require:&lt;br /&gt;
&lt;br /&gt;
- An HP MediaSmart server&lt;br /&gt;
&lt;br /&gt;
- An extra PC&lt;br /&gt;
&lt;br /&gt;
- A spare hard drive&lt;br /&gt;
&lt;br /&gt;
- An existing network&lt;br /&gt;
&lt;br /&gt;
- An SSH solution, like [[Key-based SSH Logins With Putty|Putty]]&lt;br /&gt;
&lt;br /&gt;
- Ubuntu 12.04, the server version&lt;br /&gt;
&lt;br /&gt;
==Starting From Scratch==&lt;br /&gt;
===Installing Ubuntu===&lt;br /&gt;
1. Connect the hard drive into the spare PC.&lt;br /&gt;
2. Install '''Ubuntu 12.04, the server version'''. I was not able to get the GUI version of Ubuntu working on the MediaSmart server. The GUI version is also not recommended since there is no VGA or DVI ports for a monitor, only USB.&lt;br /&gt;
3. Do NOT install Amahi yet.&lt;br /&gt;
4. Install an ssh server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo apt-get install openssh-server}}&lt;br /&gt;
&lt;br /&gt;
5. Verify that the SSH is working by connecting with [Key-based SSH Logins With Putty|Putty]. If the SSH is not enabled, enable it:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo update-rc.d ssh defaults}}&lt;br /&gt;
&lt;br /&gt;
6. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
7. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
8. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
9. Shutdown the PC:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Installing Amahi===&lt;br /&gt;
1. Move the hard drive to the MediaSmart server's slot 1, turn on the server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. [http://docs.amahi.org/ubuntu-12.html Install Amahi]&lt;br /&gt;
&lt;br /&gt;
===Modifying Ubuntu for Amahi===&lt;br /&gt;
1. After rebooting and SSHing into the server, [[Binding Network Devices|change the network card to eth0]] from our previous eth1. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
12. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
13. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
You should now be able to access your HDA as a share and as the http://hda link. You can [Install VNC server on Ubuntu Server 12.04|install a VNC server] to connect to the HDA using a graphical interface.&lt;br /&gt;
&lt;br /&gt;
==Transplanting an existing Amahi server==&lt;br /&gt;
Here I will present how I transplanted my current (headless) Amahi server, installed on '''Ubuntu 12.04, the server version''', from a PC to the MediaSmart server. The steps below are mainly a reorganization of the steps above.&lt;br /&gt;
&lt;br /&gt;
===Preparing the HDA===&lt;br /&gt;
1. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
2. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
3. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
4. Shutdown the server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Moving the Hardrive===&lt;br /&gt;
1. Move the OS hardrive to the MediaSmart server, slot 1. If you are using Greyhole, ''make sure to move the rest of your data drives'' as well. Plug them in to any slot, except for slot 1. Turn on the MediaSmart server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
4. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
5. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
===Reconnect the Storage Drives===&lt;br /&gt;
Plug the remaining data drives into the MediaSmart server. If you have Greyhole and are having trouble, check out the [[Reconnect existing Greyhole storage pool]] page. Otherwise, the [[Adding a second hard drive to your HDA]] page may be of service.&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;br /&gt;
Q: ''The MediaSmart server's health light is flashing, it is a bluish color''&lt;br /&gt;
&lt;br /&gt;
A: This is normal if using the guide above. After experimenting, it seems that the health light indicates that the MediaSmart server cannot detect a valid Windows Home Server installation. I came to the conclusion after using the Recovery Disk (comes with the HP WHS server) to reinstall Windows Home Server onto the hard drive. The blinking stopped after a reboot with Windows, but it came back after I reinstalled Ubuntu onto the same hard drive.&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=62006</id>
		<title>Installing HDA on HP Mediasmart Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=62006"/>
		<updated>2012-10-25T04:38:39Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: /* Preparing the HDA */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing your HDA on an old MediaSmart server, previously used for Windows Home Server, will bring all the benefits of Amahi to the small device. This is only recommended for users who are comfortable with the terminal, or are willing to set up a headless server with VNC.&lt;br /&gt;
&lt;br /&gt;
The steps for this tutorial are from [http://dagolav.prestegarden.com/installing-ubuntu-on-the-hp-mediasmart-ex490/ here]. To continue you will require:&lt;br /&gt;
&lt;br /&gt;
- An HP MediaSmart server&lt;br /&gt;
&lt;br /&gt;
- An extra PC&lt;br /&gt;
&lt;br /&gt;
- A spare hard drive&lt;br /&gt;
&lt;br /&gt;
- An existing network&lt;br /&gt;
&lt;br /&gt;
- An SSH solution, like [[Key-based SSH Logins With Putty|Putty]]&lt;br /&gt;
&lt;br /&gt;
- Ubuntu 12.04, the server version&lt;br /&gt;
&lt;br /&gt;
==Starting From Scratch==&lt;br /&gt;
===Installing Ubuntu===&lt;br /&gt;
1. Connect the hard drive into the spare PC.&lt;br /&gt;
2. Install '''Ubuntu 12.04, the server version'''. I was not able to get the GUI version of Ubuntu working on the MediaSmart server. The GUI version is also not recommended since there is no VGA or DVI ports for a monitor, only USB.&lt;br /&gt;
3. Do NOT install Amahi yet.&lt;br /&gt;
4. Install an ssh server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo apt-get install openssh-server}}&lt;br /&gt;
&lt;br /&gt;
5. Verify that the SSH is working by connecting with [Key-based SSH Logins With Putty|Putty]. If the SSH is not enabled, enable it:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo update-rc.d ssh defaults}}&lt;br /&gt;
&lt;br /&gt;
6. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
7. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
8. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
9. Shutdown the PC:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Installing Amahi===&lt;br /&gt;
1. Move the hard drive to the MediaSmart server's slot 1, turn on the server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. [http://docs.amahi.org/ubuntu-12.html Install Amahi]&lt;br /&gt;
&lt;br /&gt;
===Modifying Ubuntu for Amahi===&lt;br /&gt;
1. After rebooting and SSHing into the server, [[Binding Network Devices|change the network card to eth0]] from our previous eth1. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
12. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
13. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
You should now be able to access your HDA as a share and as the http://hda link. You can [Install VNC server on Ubuntu Server 12.04|install a VNC server] to connect to the HDA using a graphical interface.&lt;br /&gt;
&lt;br /&gt;
==Transplanting an existing Amahi server==&lt;br /&gt;
Here I will present how I transplanted my current (headless) Amahi server, installed on '''Ubuntu 12.04, the server version''', from a PC to the MediaSmart server. The steps below are mainly a reorganization of the steps above.&lt;br /&gt;
&lt;br /&gt;
===Preparing the HDA===&lt;br /&gt;
1. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
2. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
3. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
4. Shutdown the server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Moving the Hardrive===&lt;br /&gt;
1. Move the OS hardrive to the MediaSmart server, slot 1. Turn on the MediaSmart server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
4. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
5. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
===Reconnect the Storage Drives===&lt;br /&gt;
Plug the remaining data drives into the MediaSmart server. If you have Greyhole and are having trouble, check out the [[Reconnect existing Greyhole storage pool]] page. Otherwise, the [[Adding a second hard drive to your HDA]] page may be of service.&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;br /&gt;
Q: ''The MediaSmart server's health light is flashing, it is a bluish color''&lt;br /&gt;
&lt;br /&gt;
A: This is normal if using the guide above. After experimenting, it seems that the health light indicates that the MediaSmart server cannot detect a valid Windows Home Server installation. I came to the conclusion after using the Recovery Disk (comes with the HP WHS server) to reinstall Windows Home Server onto the hard drive. The blinking stopped after a reboot with Windows, but it came back after I reinstalled Ubuntu onto the same hard drive.&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=62000</id>
		<title>Installing HDA on HP Mediasmart Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=62000"/>
		<updated>2012-10-25T04:36:18Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: /* Preparing the HDA */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing your HDA on an old MediaSmart server, previously used for Windows Home Server, will bring all the benefits of Amahi to the small device. This is only recommended for users who are comfortable with the terminal, or are willing to set up a headless server with VNC.&lt;br /&gt;
&lt;br /&gt;
The steps for this tutorial are from [http://dagolav.prestegarden.com/installing-ubuntu-on-the-hp-mediasmart-ex490/ here]. To continue you will require:&lt;br /&gt;
&lt;br /&gt;
- An HP MediaSmart server&lt;br /&gt;
&lt;br /&gt;
- An extra PC&lt;br /&gt;
&lt;br /&gt;
- A spare hard drive&lt;br /&gt;
&lt;br /&gt;
- An existing network&lt;br /&gt;
&lt;br /&gt;
- An SSH solution, like [[Key-based SSH Logins With Putty|Putty]]&lt;br /&gt;
&lt;br /&gt;
- Ubuntu 12.04, the server version&lt;br /&gt;
&lt;br /&gt;
==Starting From Scratch==&lt;br /&gt;
===Installing Ubuntu===&lt;br /&gt;
1. Connect the hard drive into the spare PC.&lt;br /&gt;
2. Install '''Ubuntu 12.04, the server version'''. I was not able to get the GUI version of Ubuntu working on the MediaSmart server. The GUI version is also not recommended since there is no VGA or DVI ports for a monitor, only USB.&lt;br /&gt;
3. Do NOT install Amahi yet.&lt;br /&gt;
4. Install an ssh server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo apt-get install openssh-server}}&lt;br /&gt;
&lt;br /&gt;
5. Verify that the SSH is working by connecting with [Key-based SSH Logins With Putty|Putty]. If the SSH is not enabled, enable it:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo update-rc.d ssh defaults}}&lt;br /&gt;
&lt;br /&gt;
6. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
7. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
8. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
9. Shutdown the PC:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Installing Amahi===&lt;br /&gt;
1. Move the hard drive to the MediaSmart server's slot 1, turn on the server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. [http://docs.amahi.org/ubuntu-12.html Install Amahi]&lt;br /&gt;
&lt;br /&gt;
===Modifying Ubuntu for Amahi===&lt;br /&gt;
1. After rebooting and SSHing into the server, [[Binding Network Devices|change the network card to eth0]] from our previous eth1. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
12. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
13. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
You should now be able to access your HDA as a share and as the http://hda link. You can [Install VNC server on Ubuntu Server 12.04|install a VNC server] to connect to the HDA using a graphical interface.&lt;br /&gt;
&lt;br /&gt;
==Transplanting an existing Amahi server==&lt;br /&gt;
Here I will present how I transplanted my current (headless) Amahi server, installed on '''Ubuntu 12.04, the server version''', from a PC to the MediaSmart server. The steps below are mainly a reorganization of the steps above.&lt;br /&gt;
&lt;br /&gt;
===Preparing the HDA===&lt;br /&gt;
1. Unmount and then, after turning off the server, physically disconnect all drives. If you are using Greyhole, check out the [[Reconnect existing Greyhole storage pool]] page. This will allow you to disconnect the data drives, and only risk the OS drive. Turn the server back on again.&lt;br /&gt;
&lt;br /&gt;
{{Code|umount -a}&lt;br /&gt;
&lt;br /&gt;
2. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
3. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
4. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
5. Shutdown the server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Moving the Hardrive===&lt;br /&gt;
1. Move the OS hardrive to the MediaSmart server, slot 1. Turn on the MediaSmart server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
4. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
5. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
===Reconnect the Storage Drives===&lt;br /&gt;
Plug the remaining data drives into the MediaSmart server. If you have Greyhole and are having trouble, check out the [[Reconnect existing Greyhole storage pool]] page. Otherwise, the [[Adding a second hard drive to your HDA]] page may be of service.&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;br /&gt;
Q: ''The MediaSmart server's health light is flashing, it is a bluish color''&lt;br /&gt;
&lt;br /&gt;
A: This is normal if using the guide above. After experimenting, it seems that the health light indicates that the MediaSmart server cannot detect a valid Windows Home Server installation. I came to the conclusion after using the Recovery Disk (comes with the HP WHS server) to reinstall Windows Home Server onto the hard drive. The blinking stopped after a reboot with Windows, but it came back after I reinstalled Ubuntu onto the same hard drive.&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=61994</id>
		<title>Installing HDA on HP Mediasmart Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=61994"/>
		<updated>2012-10-25T04:31:57Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: /* Preparing the HDA */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing your HDA on an old MediaSmart server, previously used for Windows Home Server, will bring all the benefits of Amahi to the small device. This is only recommended for users who are comfortable with the terminal, or are willing to set up a headless server with VNC.&lt;br /&gt;
&lt;br /&gt;
The steps for this tutorial are from [http://dagolav.prestegarden.com/installing-ubuntu-on-the-hp-mediasmart-ex490/ here]. To continue you will require:&lt;br /&gt;
&lt;br /&gt;
- An HP MediaSmart server&lt;br /&gt;
&lt;br /&gt;
- An extra PC&lt;br /&gt;
&lt;br /&gt;
- A spare hard drive&lt;br /&gt;
&lt;br /&gt;
- An existing network&lt;br /&gt;
&lt;br /&gt;
- An SSH solution, like [[Key-based SSH Logins With Putty|Putty]]&lt;br /&gt;
&lt;br /&gt;
- Ubuntu 12.04, the server version&lt;br /&gt;
&lt;br /&gt;
==Starting From Scratch==&lt;br /&gt;
===Installing Ubuntu===&lt;br /&gt;
1. Connect the hard drive into the spare PC.&lt;br /&gt;
2. Install '''Ubuntu 12.04, the server version'''. I was not able to get the GUI version of Ubuntu working on the MediaSmart server. The GUI version is also not recommended since there is no VGA or DVI ports for a monitor, only USB.&lt;br /&gt;
3. Do NOT install Amahi yet.&lt;br /&gt;
4. Install an ssh server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo apt-get install openssh-server}}&lt;br /&gt;
&lt;br /&gt;
5. Verify that the SSH is working by connecting with [Key-based SSH Logins With Putty|Putty]. If the SSH is not enabled, enable it:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo update-rc.d ssh defaults}}&lt;br /&gt;
&lt;br /&gt;
6. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
7. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
8. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
9. Shutdown the PC:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Installing Amahi===&lt;br /&gt;
1. Move the hard drive to the MediaSmart server's slot 1, turn on the server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. [http://docs.amahi.org/ubuntu-12.html Install Amahi]&lt;br /&gt;
&lt;br /&gt;
===Modifying Ubuntu for Amahi===&lt;br /&gt;
1. After rebooting and SSHing into the server, [[Binding Network Devices|change the network card to eth0]] from our previous eth1. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
12. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
13. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
You should now be able to access your HDA as a share and as the http://hda link. You can [Install VNC server on Ubuntu Server 12.04|install a VNC server] to connect to the HDA using a graphical interface.&lt;br /&gt;
&lt;br /&gt;
==Transplanting an existing Amahi server==&lt;br /&gt;
Here I will present how I transplanted my current (headless) Amahi server, installed on '''Ubuntu 12.04, the server version''', from a PC to the MediaSmart server. The steps below are mainly a reorganization of the steps above.&lt;br /&gt;
&lt;br /&gt;
===Preparing the HDA===&lt;br /&gt;
1. Unmount and then, after turning off the server, physically disconnect all drives. If you are using Greyhole, check out the [[Reconnect existing Greyhole storage pool]] page. This will allow you to disconnect the data drives, and only risk the OS drive. Turn the server back on again.&lt;br /&gt;
&lt;br /&gt;
{{Code|umount /var/hda/files/drives/sdb1/}}&lt;br /&gt;
&lt;br /&gt;
2. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
3. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
4. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
5. Shutdown the server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Moving the Hardrive===&lt;br /&gt;
1. Move the OS hardrive to the MediaSmart server, slot 1. Turn on the MediaSmart server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
4. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
5. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
===Reconnect the Storage Drives===&lt;br /&gt;
Plug the remaining data drives into the MediaSmart server. If you have Greyhole and are having trouble, check out the [[Reconnect existing Greyhole storage pool]] page. Otherwise, the [[Adding a second hard drive to your HDA]] page may be of service.&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;br /&gt;
Q: ''The MediaSmart server's health light is flashing, it is a bluish color''&lt;br /&gt;
&lt;br /&gt;
A: This is normal if using the guide above. After experimenting, it seems that the health light indicates that the MediaSmart server cannot detect a valid Windows Home Server installation. I came to the conclusion after using the Recovery Disk (comes with the HP WHS server) to reinstall Windows Home Server onto the hard drive. The blinking stopped after a reboot with Windows, but it came back after I reinstalled Ubuntu onto the same hard drive.&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=61988</id>
		<title>Installing HDA on HP Mediasmart Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=61988"/>
		<updated>2012-10-25T04:29:47Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing your HDA on an old MediaSmart server, previously used for Windows Home Server, will bring all the benefits of Amahi to the small device. This is only recommended for users who are comfortable with the terminal, or are willing to set up a headless server with VNC.&lt;br /&gt;
&lt;br /&gt;
The steps for this tutorial are from [http://dagolav.prestegarden.com/installing-ubuntu-on-the-hp-mediasmart-ex490/ here]. To continue you will require:&lt;br /&gt;
&lt;br /&gt;
- An HP MediaSmart server&lt;br /&gt;
&lt;br /&gt;
- An extra PC&lt;br /&gt;
&lt;br /&gt;
- A spare hard drive&lt;br /&gt;
&lt;br /&gt;
- An existing network&lt;br /&gt;
&lt;br /&gt;
- An SSH solution, like [[Key-based SSH Logins With Putty|Putty]]&lt;br /&gt;
&lt;br /&gt;
- Ubuntu 12.04, the server version&lt;br /&gt;
&lt;br /&gt;
==Starting From Scratch==&lt;br /&gt;
===Installing Ubuntu===&lt;br /&gt;
1. Connect the hard drive into the spare PC.&lt;br /&gt;
2. Install '''Ubuntu 12.04, the server version'''. I was not able to get the GUI version of Ubuntu working on the MediaSmart server. The GUI version is also not recommended since there is no VGA or DVI ports for a monitor, only USB.&lt;br /&gt;
3. Do NOT install Amahi yet.&lt;br /&gt;
4. Install an ssh server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo apt-get install openssh-server}}&lt;br /&gt;
&lt;br /&gt;
5. Verify that the SSH is working by connecting with [Key-based SSH Logins With Putty|Putty]. If the SSH is not enabled, enable it:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo update-rc.d ssh defaults}}&lt;br /&gt;
&lt;br /&gt;
6. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
7. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
8. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
9. Shutdown the PC:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Installing Amahi===&lt;br /&gt;
1. Move the hard drive to the MediaSmart server's slot 1, turn on the server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. [http://docs.amahi.org/ubuntu-12.html Install Amahi]&lt;br /&gt;
&lt;br /&gt;
===Modifying Ubuntu for Amahi===&lt;br /&gt;
1. After rebooting and SSHing into the server, [[Binding Network Devices|change the network card to eth0]] from our previous eth1. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
12. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
13. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
You should now be able to access your HDA as a share and as the http://hda link. You can [Install VNC server on Ubuntu Server 12.04|install a VNC server] to connect to the HDA using a graphical interface.&lt;br /&gt;
&lt;br /&gt;
==Transplanting an existing Amahi server==&lt;br /&gt;
Here I will present how I transplanted my current (headless) Amahi server, installed on '''Ubuntu 12.04, the server version''', from a PC to the MediaSmart server. The steps below are mainly a reorganization of the steps above.&lt;br /&gt;
&lt;br /&gt;
===Preparing the HDA===&lt;br /&gt;
1. Disconnect all drives. If you are using Greyhole, check out the [[Reconnect existing Greyhole storage pool]] page. This will allow you to disconnect the data drives, and only risk the OS drive.&lt;br /&gt;
&lt;br /&gt;
2. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
3. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
4. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
5. Shutdown the server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Moving the Hardrive===&lt;br /&gt;
1. Move the OS hardrive to the MediaSmart server, slot 1. Turn on the MediaSmart server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
4. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
5. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
===Reconnect the Storage Drives===&lt;br /&gt;
Plug the remaining data drives into the MediaSmart server. If you have Greyhole and are having trouble, check out the [[Reconnect existing Greyhole storage pool]] page. Otherwise, the [[Adding a second hard drive to your HDA]] page may be of service.&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;br /&gt;
Q: ''The MediaSmart server's health light is flashing, it is a bluish color''&lt;br /&gt;
&lt;br /&gt;
A: This is normal if using the guide above. After experimenting, it seems that the health light indicates that the MediaSmart server cannot detect a valid Windows Home Server installation. I came to the conclusion after using the Recovery Disk (comes with the HP WHS server) to reinstall Windows Home Server onto the hard drive. The blinking stopped after a reboot with Windows, but it came back after I reinstalled Ubuntu onto the same hard drive.&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=61982</id>
		<title>Installing HDA on HP Mediasmart Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=61982"/>
		<updated>2012-10-25T04:27:56Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: /* Troubleshooting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing your HDA on an old MediaSmart server, previously used for Windows Home Server, will bring all the benefits of Amahi to the small device. This is only recommended for users who are comfortable with the terminal, or are willing to set up a headless server with VNC.&lt;br /&gt;
&lt;br /&gt;
The steps for this tutorial are from [http://dagolav.prestegarden.com/installing-ubuntu-on-the-hp-mediasmart-ex490/ here]. To continue you will require:&lt;br /&gt;
&lt;br /&gt;
- An HP MediaSmart server&lt;br /&gt;
- An extra PC&lt;br /&gt;
- A spare hard drive&lt;br /&gt;
- An existing network&lt;br /&gt;
- An SSH solution, like [[Key-based SSH Logins With Putty|Putty]]&lt;br /&gt;
- Ubuntu 12.04, the server version&lt;br /&gt;
&lt;br /&gt;
==Starting From Scratch==&lt;br /&gt;
===Installing Ubuntu===&lt;br /&gt;
1. Connect the hard drive into the spare PC.&lt;br /&gt;
2. Install '''Ubuntu 12.04, the server version'''. I was not able to get the GUI version of Ubuntu working on the MediaSmart server. The GUI version is also not recommended since there is no VGA or DVI ports for a monitor, only USB.&lt;br /&gt;
3. Do NOT install Amahi yet.&lt;br /&gt;
4. Install an ssh server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo apt-get install openssh-server}}&lt;br /&gt;
&lt;br /&gt;
5. Verify that the SSH is working by connecting with [Key-based SSH Logins With Putty|Putty]. If the SSH is not enabled, enable it:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo update-rc.d ssh defaults}}&lt;br /&gt;
&lt;br /&gt;
6. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
7. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
8. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
9. Shutdown the PC:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Installing Amahi===&lt;br /&gt;
1. Move the hard drive to the MediaSmart server's slot 1, turn on the server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. [http://docs.amahi.org/ubuntu-12.html Install Amahi]&lt;br /&gt;
&lt;br /&gt;
===Modifying Ubuntu for Amahi===&lt;br /&gt;
1. After rebooting and SSHing into the server, [[Binding Network Devices|change the network card to eth0]] from our previous eth1. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
12. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
13. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
You should now be able to access your HDA as a share and as the http://hda link. You can [Install VNC server on Ubuntu Server 12.04|install a VNC server] to connect to the HDA using a graphical interface.&lt;br /&gt;
&lt;br /&gt;
==Transplanting an existing Amahi server==&lt;br /&gt;
Here I will present how I transplanted my current (headless) Amahi server, installed on '''Ubuntu 12.04, the server version''', from a PC to the MediaSmart server. The steps below are mainly a reorganization of the steps above.&lt;br /&gt;
&lt;br /&gt;
===Preparing the HDA===&lt;br /&gt;
1. Disconnect all drives. If you are using Greyhole, check out the [[Reconnect existing Greyhole storage pool]] page. This will allow you to disconnect the data drives, and only risk the OS drive.&lt;br /&gt;
&lt;br /&gt;
2. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
3. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
4. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
5. Shutdown the server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Moving the Hardrive===&lt;br /&gt;
1. Move the OS hardrive to the MediaSmart server, slot 1. Turn on the MediaSmart server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
4. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
5. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
===Reconnect the Storage Drives===&lt;br /&gt;
Plug the remaining data drives into the MediaSmart server. If you have Greyhole and are having trouble, check out the [[Reconnect existing Greyhole storage pool]] page. Otherwise, the [[Adding a second hard drive to your HDA]] page may be of service.&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;br /&gt;
Q: ''The MediaSmart server's health light is flashing, it is a bluish color''&lt;br /&gt;
&lt;br /&gt;
A: This is normal if using the guide above. After experimenting, it seems that the health light indicates that the MediaSmart server cannot detect a valid Windows Home Server installation. I came to the conclusion after using the Recovery Disk (comes with the HP WHS server) to reinstall Windows Home Server onto the hard drive. The blinking stopped after a reboot with Windows, but it came back after I reinstalled Ubuntu onto the same hard drive.&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=61976</id>
		<title>Installing HDA on HP Mediasmart Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=61976"/>
		<updated>2012-10-25T04:27:35Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing your HDA on an old MediaSmart server, previously used for Windows Home Server, will bring all the benefits of Amahi to the small device. This is only recommended for users who are comfortable with the terminal, or are willing to set up a headless server with VNC.&lt;br /&gt;
&lt;br /&gt;
The steps for this tutorial are from [http://dagolav.prestegarden.com/installing-ubuntu-on-the-hp-mediasmart-ex490/ here]. To continue you will require:&lt;br /&gt;
&lt;br /&gt;
- An HP MediaSmart server&lt;br /&gt;
- An extra PC&lt;br /&gt;
- A spare hard drive&lt;br /&gt;
- An existing network&lt;br /&gt;
- An SSH solution, like [[Key-based SSH Logins With Putty|Putty]]&lt;br /&gt;
- Ubuntu 12.04, the server version&lt;br /&gt;
&lt;br /&gt;
==Starting From Scratch==&lt;br /&gt;
===Installing Ubuntu===&lt;br /&gt;
1. Connect the hard drive into the spare PC.&lt;br /&gt;
2. Install '''Ubuntu 12.04, the server version'''. I was not able to get the GUI version of Ubuntu working on the MediaSmart server. The GUI version is also not recommended since there is no VGA or DVI ports for a monitor, only USB.&lt;br /&gt;
3. Do NOT install Amahi yet.&lt;br /&gt;
4. Install an ssh server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo apt-get install openssh-server}}&lt;br /&gt;
&lt;br /&gt;
5. Verify that the SSH is working by connecting with [Key-based SSH Logins With Putty|Putty]. If the SSH is not enabled, enable it:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo update-rc.d ssh defaults}}&lt;br /&gt;
&lt;br /&gt;
6. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
7. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
8. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
9. Shutdown the PC:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Installing Amahi===&lt;br /&gt;
1. Move the hard drive to the MediaSmart server's slot 1, turn on the server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. [http://docs.amahi.org/ubuntu-12.html Install Amahi]&lt;br /&gt;
&lt;br /&gt;
===Modifying Ubuntu for Amahi===&lt;br /&gt;
1. After rebooting and SSHing into the server, [[Binding Network Devices|change the network card to eth0]] from our previous eth1. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
12. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
13. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
You should now be able to access your HDA as a share and as the http://hda link. You can [Install VNC server on Ubuntu Server 12.04|install a VNC server] to connect to the HDA using a graphical interface.&lt;br /&gt;
&lt;br /&gt;
==Transplanting an existing Amahi server==&lt;br /&gt;
Here I will present how I transplanted my current (headless) Amahi server, installed on '''Ubuntu 12.04, the server version''', from a PC to the MediaSmart server. The steps below are mainly a reorganization of the steps above.&lt;br /&gt;
&lt;br /&gt;
===Preparing the HDA===&lt;br /&gt;
1. Disconnect all drives. If you are using Greyhole, check out the [[Reconnect existing Greyhole storage pool]] page. This will allow you to disconnect the data drives, and only risk the OS drive.&lt;br /&gt;
&lt;br /&gt;
2. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
3. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
4. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
5. Shutdown the server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Moving the Hardrive===&lt;br /&gt;
1. Move the OS hardrive to the MediaSmart server, slot 1. Turn on the MediaSmart server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
4. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
5. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
===Reconnect the Storage Drives===&lt;br /&gt;
Plug the remaining data drives into the MediaSmart server. If you have Greyhole and are having trouble, check out the [[Reconnect existing Greyhole storage pool]] page. Otherwise, the [[Adding a second hard drive to your HDA]] page may be of service.&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;br /&gt;
Q: ''The MediaSmart server's health light is flashing, it is a bluish color''&lt;br /&gt;
A: This is normal if using the guide above. After experimenting, it seems that the health light indicates that the MediaSmart server cannot detect a valid Windows Home Server installation. I came to the conclusion after using the Recovery Disk (comes with the HP WHS server) to reinstall Windows Home Server onto the hard drive. The blinking stopped after a reboot with Windows, but it came back after I reinstalled Ubuntu onto the same hard drive.&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=61970</id>
		<title>Installing HDA on HP Mediasmart Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=61970"/>
		<updated>2012-10-25T04:26:36Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: Added troubleshooting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing your HDA on an old MediaSmart server, previously used for Windows Home Server, will bring all the benefits of Amahi to the small device. This is only recommended for users who are comfortable with the terminal, or are willing to set up a headless server with VNC.&lt;br /&gt;
&lt;br /&gt;
The steps for this tutorial are from [http://dagolav.prestegarden.com/installing-ubuntu-on-the-hp-mediasmart-ex490/ here]. To continue you will require:&lt;br /&gt;
&lt;br /&gt;
- An HP MediaSmart server&lt;br /&gt;
- An extra PC&lt;br /&gt;
- A spare hard drive&lt;br /&gt;
- An existing network&lt;br /&gt;
- An SSH solution, like [[Key-based SSH Logins With Putty|Putty]]&lt;br /&gt;
- Ubuntu 12.04, the server version&lt;br /&gt;
&lt;br /&gt;
==Starting From Scratch==&lt;br /&gt;
===Installing Ubuntu===&lt;br /&gt;
1. Connect the hard drive into the spare PC.&lt;br /&gt;
2. Install '''Ubuntu 12.04, the server version'''. I was not able to get the GUI version of Ubuntu working on the MediaSmart server. The GUI version is also not recommended since there is no VGA or DVI ports for a monitor, only USB.&lt;br /&gt;
3. Do NOT install Amahi yet.&lt;br /&gt;
4. Install an ssh server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo apt-get install openssh-server}}&lt;br /&gt;
&lt;br /&gt;
5. Verify that the SSH is working by connecting with [Key-based SSH Logins With Putty|Putty]. If the SSH is not enabled, enable it:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo update-rc.d ssh defaults}}&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;br /&gt;
&lt;br /&gt;
Q: ''The MediaSmart server's health light is flashing, it is a bluish color''&lt;br /&gt;
A: This is normal if using the guide above. After experimenting, it seems that the health light indicates that the MediaSmart server cannot detect a valid Windows Home Server installation. I came to the conclusion after using the Recovery Disk (comes with the HP WHS server) to reinstall Windows Home Server onto the hard drive. The blinking stopped after a reboot with Windows, but it came back after I reinstalled Ubuntu onto the same hard drive.&lt;br /&gt;
&lt;br /&gt;
6. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
7. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
8. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
9. Shutdown the PC:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Installing Amahi===&lt;br /&gt;
1. Move the hard drive to the MediaSmart server's slot 1, turn on the server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. [http://docs.amahi.org/ubuntu-12.html Install Amahi]&lt;br /&gt;
&lt;br /&gt;
===Modifying Ubuntu for Amahi===&lt;br /&gt;
1. After rebooting and SSHing into the server, [[Binding Network Devices|change the network card to eth0]] from our previous eth1. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
12. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
13. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
You should now be able to access your HDA as a share and as the http://hda link. You can [Install VNC server on Ubuntu Server 12.04|install a VNC server] to connect to the HDA using a graphical interface.&lt;br /&gt;
&lt;br /&gt;
==Transplanting an existing Amahi server==&lt;br /&gt;
Here I will present how I transplanted my current (headless) Amahi server, installed on '''Ubuntu 12.04, the server version''', from a PC to the MediaSmart server. The steps below are mainly a reorganization of the steps above.&lt;br /&gt;
&lt;br /&gt;
===Preparing the HDA===&lt;br /&gt;
1. Disconnect all drives. If you are using Greyhole, check out the [[Reconnect existing Greyhole storage pool]] page. This will allow you to disconnect the data drives, and only risk the OS drive.&lt;br /&gt;
&lt;br /&gt;
2. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
3. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
4. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
5. Shutdown the server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Moving the Hardrive===&lt;br /&gt;
1. Move the OS hardrive to the MediaSmart server, slot 1. Turn on the MediaSmart server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
4. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
5. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
===Reconnect the Storage Drives===&lt;br /&gt;
Plug the remaining data drives into the MediaSmart server. If you have Greyhole and are having trouble, check out the [[Reconnect existing Greyhole storage pool]] page. Otherwise, the [[Adding a second hard drive to your HDA]] page may be of service.&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=61964</id>
		<title>Installing HDA on HP Mediasmart Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=61964"/>
		<updated>2012-10-25T04:21:19Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: /* Transplanting an existing Amahi server */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing your HDA on an old MediaSmart server, previously used for Windows Home Server, will bring all the benefits of Amahi to the small device. This is only recommended for users who are comfortable with the terminal, or are willing to set up a headless server with VNC.&lt;br /&gt;
&lt;br /&gt;
The steps for this tutorial are from [http://dagolav.prestegarden.com/installing-ubuntu-on-the-hp-mediasmart-ex490/ here]. To continue you will require:&lt;br /&gt;
&lt;br /&gt;
- An HP MediaSmart server&lt;br /&gt;
- An extra PC&lt;br /&gt;
- A spare hard drive&lt;br /&gt;
- An existing network&lt;br /&gt;
- An SSH solution, like [[Key-based SSH Logins With Putty|Putty]]&lt;br /&gt;
- Ubuntu 12.04, the server version&lt;br /&gt;
&lt;br /&gt;
==Starting From Scratch==&lt;br /&gt;
===Installing Ubuntu===&lt;br /&gt;
1. Connect the hard drive into the spare PC.&lt;br /&gt;
2. Install '''Ubuntu 12.04, the server version'''. I was not able to get the GUI version of Ubuntu working on the MediaSmart server. The GUI version is also not recommended since there is no VGA or DVI ports for a monitor, only USB.&lt;br /&gt;
3. Do NOT install Amahi yet.&lt;br /&gt;
4. Install an ssh server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo apt-get install openssh-server}}&lt;br /&gt;
&lt;br /&gt;
5. Verify that the SSH is working by connecting with [Key-based SSH Logins With Putty|Putty]. If the SSH is not enabled, enable it:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo update-rc.d ssh defaults}}&lt;br /&gt;
&lt;br /&gt;
6. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
7. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
8. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
9. Shutdown the PC:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Installing Amahi===&lt;br /&gt;
1. Move the hard drive to the MediaSmart server's slot 1, turn on the server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. [http://docs.amahi.org/ubuntu-12.html Install Amahi]&lt;br /&gt;
&lt;br /&gt;
===Modifying Ubuntu for Amahi===&lt;br /&gt;
1. After rebooting and SSHing into the server, [[Binding Network Devices|change the network card to eth0]] from our previous eth1. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
12. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
13. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
You should now be able to access your HDA as a share and as the http://hda link. You can [Install VNC server on Ubuntu Server 12.04|install a VNC server] to connect to the HDA using a graphical interface.&lt;br /&gt;
&lt;br /&gt;
==Transplanting an existing Amahi server==&lt;br /&gt;
Here I will present how I transplanted my current (headless) Amahi server, installed on '''Ubuntu 12.04, the server version''', from a PC to the MediaSmart server. The steps below are mainly a reorganization of the steps above.&lt;br /&gt;
&lt;br /&gt;
===Preparing the HDA===&lt;br /&gt;
1. Disconnect all drives. If you are using Greyhole, check out the [[Reconnect existing Greyhole storage pool]] page. This will allow you to disconnect the data drives, and only risk the OS drive.&lt;br /&gt;
&lt;br /&gt;
2. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
3. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
4. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
5. Shutdown the server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Moving the Hardrive===&lt;br /&gt;
1. Move the OS hardrive to the MediaSmart server, slot 1. Turn on the MediaSmart server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
4. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
5. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
===Reconnect the Storage Drives===&lt;br /&gt;
Plug the remaining data drives into the MediaSmart server. If you have Greyhole and are having trouble, check out the [[Reconnect existing Greyhole storage pool]] page. Otherwise, the [[Adding a second hard drive to your HDA]] page may be of service.&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=61958</id>
		<title>Installing HDA on HP Mediasmart Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=61958"/>
		<updated>2012-10-25T04:20:07Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: /* Installing Ubuntu */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing your HDA on an old MediaSmart server, previously used for Windows Home Server, will bring all the benefits of Amahi to the small device. This is only recommended for users who are comfortable with the terminal, or are willing to set up a headless server with VNC.&lt;br /&gt;
&lt;br /&gt;
The steps for this tutorial are from [http://dagolav.prestegarden.com/installing-ubuntu-on-the-hp-mediasmart-ex490/ here]. To continue you will require:&lt;br /&gt;
&lt;br /&gt;
- An HP MediaSmart server&lt;br /&gt;
- An extra PC&lt;br /&gt;
- A spare hard drive&lt;br /&gt;
- An existing network&lt;br /&gt;
- An SSH solution, like [[Key-based SSH Logins With Putty|Putty]]&lt;br /&gt;
- Ubuntu 12.04, the server version&lt;br /&gt;
&lt;br /&gt;
==Starting From Scratch==&lt;br /&gt;
===Installing Ubuntu===&lt;br /&gt;
1. Connect the hard drive into the spare PC.&lt;br /&gt;
2. Install '''Ubuntu 12.04, the server version'''. I was not able to get the GUI version of Ubuntu working on the MediaSmart server. The GUI version is also not recommended since there is no VGA or DVI ports for a monitor, only USB.&lt;br /&gt;
3. Do NOT install Amahi yet.&lt;br /&gt;
4. Install an ssh server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo apt-get install openssh-server}}&lt;br /&gt;
&lt;br /&gt;
5. Verify that the SSH is working by connecting with [Key-based SSH Logins With Putty|Putty]. If the SSH is not enabled, enable it:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo update-rc.d ssh defaults}}&lt;br /&gt;
&lt;br /&gt;
6. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
7. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
8. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
9. Shutdown the PC:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Installing Amahi===&lt;br /&gt;
1. Move the hard drive to the MediaSmart server's slot 1, turn on the server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. [http://docs.amahi.org/ubuntu-12.html Install Amahi]&lt;br /&gt;
&lt;br /&gt;
===Modifying Ubuntu for Amahi===&lt;br /&gt;
1. After rebooting and SSHing into the server, [[Binding Network Devices|change the network card to eth0]] from our previous eth1. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
12. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
13. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
You should now be able to access your HDA as a share and as the http://hda link. You can [Install VNC server on Ubuntu Server 12.04|install a VNC server] to connect to the HDA using a graphical interface.&lt;br /&gt;
&lt;br /&gt;
==Transplanting an existing Amahi server==&lt;br /&gt;
Here I will present how I transplanted my current Amahi server from a PC to the MediaSmart server. The steps below are mainly a reorganization of the steps above.&lt;br /&gt;
&lt;br /&gt;
===Preparing the HDA===&lt;br /&gt;
1. Disconnect all drives. If you are using Greyhole, check out the [[Reconnect existing Greyhole storage pool]] page. This will allow you to disconnect the data drives, and only risk the OS drive.&lt;br /&gt;
&lt;br /&gt;
2. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
3. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
4. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
5. Shutdown the server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Moving the Hardrive===&lt;br /&gt;
1. Move the OS hardrive to the MediaSmart server, slot 1. Turn on the MediaSmart server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
4. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
5. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
===Reconnect the Storage Drives===&lt;br /&gt;
Plug the remaining data drives into the MediaSmart server. If you have Greyhole and are having trouble, check out the [[Reconnect existing Greyhole storage pool]] page. Otherwise, the [[Adding a second hard drive to your HDA]] page may be of service.&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=61952</id>
		<title>Installing HDA on HP Mediasmart Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=61952"/>
		<updated>2012-10-25T04:19:54Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: /* Installing Ubuntu */  formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing your HDA on an old MediaSmart server, previously used for Windows Home Server, will bring all the benefits of Amahi to the small device. This is only recommended for users who are comfortable with the terminal, or are willing to set up a headless server with VNC.&lt;br /&gt;
&lt;br /&gt;
The steps for this tutorial are from [http://dagolav.prestegarden.com/installing-ubuntu-on-the-hp-mediasmart-ex490/ here]. To continue you will require:&lt;br /&gt;
&lt;br /&gt;
- An HP MediaSmart server&lt;br /&gt;
- An extra PC&lt;br /&gt;
- A spare hard drive&lt;br /&gt;
- An existing network&lt;br /&gt;
- An SSH solution, like [[Key-based SSH Logins With Putty|Putty]]&lt;br /&gt;
- Ubuntu 12.04, the server version&lt;br /&gt;
&lt;br /&gt;
==Starting From Scratch==&lt;br /&gt;
===Installing Ubuntu===&lt;br /&gt;
1. Connect the hard drive into the spare PC.&lt;br /&gt;
2. Install ''Ubuntu 12.04, the server version''. I was not able to get the GUI version of Ubuntu working on the MediaSmart server. The GUI version is also not recommended since there is no VGA or DVI ports for a monitor, only USB.&lt;br /&gt;
3. Do NOT install Amahi yet.&lt;br /&gt;
4. Install an ssh server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo apt-get install openssh-server}}&lt;br /&gt;
&lt;br /&gt;
5. Verify that the SSH is working by connecting with [Key-based SSH Logins With Putty|Putty]. If the SSH is not enabled, enable it:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo update-rc.d ssh defaults}}&lt;br /&gt;
&lt;br /&gt;
6. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
7. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
8. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
9. Shutdown the PC:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Installing Amahi===&lt;br /&gt;
1. Move the hard drive to the MediaSmart server's slot 1, turn on the server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. [http://docs.amahi.org/ubuntu-12.html Install Amahi]&lt;br /&gt;
&lt;br /&gt;
===Modifying Ubuntu for Amahi===&lt;br /&gt;
1. After rebooting and SSHing into the server, [[Binding Network Devices|change the network card to eth0]] from our previous eth1. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
12. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
13. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
You should now be able to access your HDA as a share and as the http://hda link. You can [Install VNC server on Ubuntu Server 12.04|install a VNC server] to connect to the HDA using a graphical interface.&lt;br /&gt;
&lt;br /&gt;
==Transplanting an existing Amahi server==&lt;br /&gt;
Here I will present how I transplanted my current Amahi server from a PC to the MediaSmart server. The steps below are mainly a reorganization of the steps above.&lt;br /&gt;
&lt;br /&gt;
===Preparing the HDA===&lt;br /&gt;
1. Disconnect all drives. If you are using Greyhole, check out the [[Reconnect existing Greyhole storage pool]] page. This will allow you to disconnect the data drives, and only risk the OS drive.&lt;br /&gt;
&lt;br /&gt;
2. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
3. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
4. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
5. Shutdown the server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Moving the Hardrive===&lt;br /&gt;
1. Move the OS hardrive to the MediaSmart server, slot 1. Turn on the MediaSmart server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
4. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
5. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
===Reconnect the Storage Drives===&lt;br /&gt;
Plug the remaining data drives into the MediaSmart server. If you have Greyhole and are having trouble, check out the [[Reconnect existing Greyhole storage pool]] page. Otherwise, the [[Adding a second hard drive to your HDA]] page may be of service.&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=61946</id>
		<title>Installing HDA on HP Mediasmart Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=61946"/>
		<updated>2012-10-25T04:19:35Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: /* Installing Ubuntu */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing your HDA on an old MediaSmart server, previously used for Windows Home Server, will bring all the benefits of Amahi to the small device. This is only recommended for users who are comfortable with the terminal, or are willing to set up a headless server with VNC.&lt;br /&gt;
&lt;br /&gt;
The steps for this tutorial are from [http://dagolav.prestegarden.com/installing-ubuntu-on-the-hp-mediasmart-ex490/ here]. To continue you will require:&lt;br /&gt;
&lt;br /&gt;
- An HP MediaSmart server&lt;br /&gt;
- An extra PC&lt;br /&gt;
- A spare hard drive&lt;br /&gt;
- An existing network&lt;br /&gt;
- An SSH solution, like [[Key-based SSH Logins With Putty|Putty]]&lt;br /&gt;
- Ubuntu 12.04, the server version&lt;br /&gt;
&lt;br /&gt;
==Starting From Scratch==&lt;br /&gt;
===Installing Ubuntu===&lt;br /&gt;
1. Connect the hard drive into the spare PC.&lt;br /&gt;
2. Install **Ubuntu 12.04, the server version**. I was not able to get the GUI version of Ubuntu working on the MediaSmart server. The GUI version is also not recommended since there is no VGA or DVI ports for a monitor, only USB.&lt;br /&gt;
3. Do NOT install Amahi yet.&lt;br /&gt;
4. Install an ssh server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo apt-get install openssh-server}}&lt;br /&gt;
&lt;br /&gt;
5. Verify that the SSH is working by connecting with [Key-based SSH Logins With Putty|Putty]. If the SSH is not enabled, enable it:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo update-rc.d ssh defaults}}&lt;br /&gt;
&lt;br /&gt;
6. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
7. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
8. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
9. Shutdown the PC:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Installing Amahi===&lt;br /&gt;
1. Move the hard drive to the MediaSmart server's slot 1, turn on the server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. [http://docs.amahi.org/ubuntu-12.html Install Amahi]&lt;br /&gt;
&lt;br /&gt;
===Modifying Ubuntu for Amahi===&lt;br /&gt;
1. After rebooting and SSHing into the server, [[Binding Network Devices|change the network card to eth0]] from our previous eth1. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
12. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
13. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
You should now be able to access your HDA as a share and as the http://hda link. You can [Install VNC server on Ubuntu Server 12.04|install a VNC server] to connect to the HDA using a graphical interface.&lt;br /&gt;
&lt;br /&gt;
==Transplanting an existing Amahi server==&lt;br /&gt;
Here I will present how I transplanted my current Amahi server from a PC to the MediaSmart server. The steps below are mainly a reorganization of the steps above.&lt;br /&gt;
&lt;br /&gt;
===Preparing the HDA===&lt;br /&gt;
1. Disconnect all drives. If you are using Greyhole, check out the [[Reconnect existing Greyhole storage pool]] page. This will allow you to disconnect the data drives, and only risk the OS drive.&lt;br /&gt;
&lt;br /&gt;
2. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
3. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
4. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
5. Shutdown the server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Moving the Hardrive===&lt;br /&gt;
1. Move the OS hardrive to the MediaSmart server, slot 1. Turn on the MediaSmart server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
4. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
5. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
===Reconnect the Storage Drives===&lt;br /&gt;
Plug the remaining data drives into the MediaSmart server. If you have Greyhole and are having trouble, check out the [[Reconnect existing Greyhole storage pool]] page. Otherwise, the [[Adding a second hard drive to your HDA]] page may be of service.&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=61940</id>
		<title>Installing HDA on HP Mediasmart Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=61940"/>
		<updated>2012-10-25T04:18:30Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: /* Transplanting an existing Amahi server */  Details&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing your HDA on an old MediaSmart server, previously used for Windows Home Server, will bring all the benefits of Amahi to the small device. This is only recommended for users who are comfortable with the terminal, or are willing to set up a headless server with VNC.&lt;br /&gt;
&lt;br /&gt;
The steps for this tutorial are from [http://dagolav.prestegarden.com/installing-ubuntu-on-the-hp-mediasmart-ex490/ here]. To continue you will require:&lt;br /&gt;
&lt;br /&gt;
- An HP MediaSmart server&lt;br /&gt;
- An extra PC&lt;br /&gt;
- A spare hard drive&lt;br /&gt;
- An existing network&lt;br /&gt;
- An SSH solution, like [[Key-based SSH Logins With Putty|Putty]]&lt;br /&gt;
- Ubuntu 12.04, the server version&lt;br /&gt;
&lt;br /&gt;
==Starting From Scratch==&lt;br /&gt;
===Installing Ubuntu===&lt;br /&gt;
1. Connect the hard drive into the spare PC.&lt;br /&gt;
2. Install Ubuntu 12.04, the server version. I was not able to get the GUI version of Ubuntu working on the MediaSmart server. The GUI version is also not recommended since there is no VGA or DVI ports for a monitor, only USB.&lt;br /&gt;
3. Do NOT install Amahi yet.&lt;br /&gt;
4. Install an ssh server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo apt-get install openssh-server}}&lt;br /&gt;
&lt;br /&gt;
5. Verify that the SSH is working by connecting with [Key-based SSH Logins With Putty|Putty]. If the SSH is not enabled, enable it:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo update-rc.d ssh defaults}}&lt;br /&gt;
&lt;br /&gt;
6. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
7. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
8. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
9. Shutdown the PC:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Installing Amahi===&lt;br /&gt;
1. Move the hard drive to the MediaSmart server's slot 1, turn on the server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. [http://docs.amahi.org/ubuntu-12.html Install Amahi]&lt;br /&gt;
&lt;br /&gt;
===Modifying Ubuntu for Amahi===&lt;br /&gt;
1. After rebooting and SSHing into the server, [[Binding Network Devices|change the network card to eth0]] from our previous eth1. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
12. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
13. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
You should now be able to access your HDA as a share and as the http://hda link. You can [Install VNC server on Ubuntu Server 12.04|install a VNC server] to connect to the HDA using a graphical interface.&lt;br /&gt;
&lt;br /&gt;
==Transplanting an existing Amahi server==&lt;br /&gt;
Here I will present how I transplanted my current Amahi server from a PC to the MediaSmart server. The steps below are mainly a reorganization of the steps above.&lt;br /&gt;
&lt;br /&gt;
===Preparing the HDA===&lt;br /&gt;
1. Disconnect all drives. If you are using Greyhole, check out the [[Reconnect existing Greyhole storage pool]] page. This will allow you to disconnect the data drives, and only risk the OS drive.&lt;br /&gt;
&lt;br /&gt;
2. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
3. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
4. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
5. Shutdown the server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Moving the Hardrive===&lt;br /&gt;
1. Move the OS hardrive to the MediaSmart server, slot 1. Turn on the MediaSmart server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
4. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
5. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
===Reconnect the Storage Drives===&lt;br /&gt;
Plug the remaining data drives into the MediaSmart server. If you have Greyhole and are having trouble, check out the [[Reconnect existing Greyhole storage pool]] page. Otherwise, the [[Adding a second hard drive to your HDA]] page may be of service.&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=61934</id>
		<title>Installing HDA on HP Mediasmart Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=61934"/>
		<updated>2012-10-25T04:17:51Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: Added how to transplant an existing HDA to the MediaSmart server&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing your HDA on an old MediaSmart server, previously used for Windows Home Server, will bring all the benefits of Amahi to the small device. This is only recommended for users who are comfortable with the terminal, or are willing to set up a headless server with VNC.&lt;br /&gt;
&lt;br /&gt;
The steps for this tutorial are from [http://dagolav.prestegarden.com/installing-ubuntu-on-the-hp-mediasmart-ex490/ here]. To continue you will require:&lt;br /&gt;
&lt;br /&gt;
- An HP MediaSmart server&lt;br /&gt;
- An extra PC&lt;br /&gt;
- A spare hard drive&lt;br /&gt;
- An existing network&lt;br /&gt;
- An SSH solution, like [[Key-based SSH Logins With Putty|Putty]]&lt;br /&gt;
- Ubuntu 12.04, the server version&lt;br /&gt;
&lt;br /&gt;
==Starting From Scratch==&lt;br /&gt;
===Installing Ubuntu===&lt;br /&gt;
1. Connect the hard drive into the spare PC.&lt;br /&gt;
2. Install Ubuntu 12.04, the server version. I was not able to get the GUI version of Ubuntu working on the MediaSmart server. The GUI version is also not recommended since there is no VGA or DVI ports for a monitor, only USB.&lt;br /&gt;
3. Do NOT install Amahi yet.&lt;br /&gt;
4. Install an ssh server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo apt-get install openssh-server}}&lt;br /&gt;
&lt;br /&gt;
5. Verify that the SSH is working by connecting with [Key-based SSH Logins With Putty|Putty]. If the SSH is not enabled, enable it:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo update-rc.d ssh defaults}}&lt;br /&gt;
&lt;br /&gt;
6. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
7. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
8. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
9. Shutdown the PC:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Installing Amahi===&lt;br /&gt;
1. Move the hard drive to the MediaSmart server's slot 1, turn on the server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. [http://docs.amahi.org/ubuntu-12.html Install Amahi]&lt;br /&gt;
&lt;br /&gt;
===Modifying Ubuntu for Amahi===&lt;br /&gt;
1. After rebooting and SSHing into the server, [[Binding Network Devices|change the network card to eth0]] from our previous eth1. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
12. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
13. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
You should now be able to access your HDA as a share and as the http://hda link. You can [Install VNC server on Ubuntu Server 12.04|install a VNC server] to connect to the HDA using a graphical interface.&lt;br /&gt;
&lt;br /&gt;
==Transplanting an existing Amahi server==&lt;br /&gt;
Here I will present how I transplanted my current Amahi server from a PC to the MediaSmart server.&lt;br /&gt;
&lt;br /&gt;
===Preparing the HDA===&lt;br /&gt;
1. Disconnect all drives. If you are using Greyhole, check out the [[Reconnect existing Greyhole storage pool]] page. This will allow you to disconnect the data drives, and only risk the OS drive.&lt;br /&gt;
&lt;br /&gt;
2. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
3. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
4. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
5. Shutdown the server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Moving the Hardrive===&lt;br /&gt;
1. Move the OS hardrive to the MediaSmart server, slot 1. Turn on the MediaSmart server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
4. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
5. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
===Reconnect the Storage Drives===&lt;br /&gt;
Plug the remaining data drives into the MediaSmart server. If you have Greyhole and are having trouble, check out the [[Reconnect existing Greyhole storage pool]] page. Otherwise, the [[Adding a second hard drive to your HDA]] page may be of service.&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=61928</id>
		<title>Installing HDA on HP Mediasmart Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=61928"/>
		<updated>2012-10-25T04:09:54Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: /* Transplanting an existing Amahi server */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing your HDA on an old MediaSmart server, previously used for Windows Home Server, will bring all the benefits of Amahi to the small device. This is only recommended for users who are comfortable with the terminal, or are willing to set up a headless server with VNC.&lt;br /&gt;
&lt;br /&gt;
The steps for this tutorial are from [http://dagolav.prestegarden.com/installing-ubuntu-on-the-hp-mediasmart-ex490/ here]. To continue you will require:&lt;br /&gt;
&lt;br /&gt;
- An HP MediaSmart server&lt;br /&gt;
- An extra PC&lt;br /&gt;
- A spare hard drive&lt;br /&gt;
- An existing network&lt;br /&gt;
- An SSH solution, like [[Key-based SSH Logins With Putty|Putty]]&lt;br /&gt;
- Ubuntu 12.04, the server version&lt;br /&gt;
&lt;br /&gt;
==Starting From Scratch==&lt;br /&gt;
===Installing Ubuntu===&lt;br /&gt;
1. Connect the hard drive into the spare PC.&lt;br /&gt;
2. Install Ubuntu 12.04, the server version. I was not able to get the GUI version of Ubuntu working on the MediaSmart server. The GUI version is also not recommended since there is no VGA or DVI ports for a monitor, only USB.&lt;br /&gt;
3. Do NOT install Amahi yet.&lt;br /&gt;
4. Install an ssh server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo apt-get install openssh-server}}&lt;br /&gt;
&lt;br /&gt;
5. Verify that the SSH is working by connecting with [Key-based SSH Logins With Putty|Putty]. If the SSH is not enabled, enable it:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo update-rc.d ssh defaults}}&lt;br /&gt;
&lt;br /&gt;
6. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
7. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
8. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
9. Shutdown the PC:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Installing Amahi===&lt;br /&gt;
1. Move the hard drive to the MediaSmart server, turn on the server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. [http://docs.amahi.org/ubuntu-12.html Install Amahi]&lt;br /&gt;
&lt;br /&gt;
===Modifying Ubuntu for Amahi===&lt;br /&gt;
1. After rebooting and SSHing into the server, [[Binding Network Devices|change the network card to eth0]] from our previous eth1. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
12. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
13. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
You should now be able to access your HDA as a share and as the http://hda link. You can [Install VNC server on Ubuntu Server 12.04|install a VNC server] to connect to the HDA using a graphical interface.&lt;br /&gt;
&lt;br /&gt;
==Transplanting an existing Amahi server==&lt;br /&gt;
Here I will present how I transplanted my current Amahi server from a PC to the MediaSmart server.&lt;br /&gt;
&lt;br /&gt;
1. Disconnect all drives. If you are using Greyhole, check out the [[Reconnect existing Greyhole storage pool]] page. This will allow you to disconnect the data drives, and only risk the OS drive.&lt;br /&gt;
&lt;br /&gt;
2. (I will update the steps here once I actually did the procedure.)&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=61922</id>
		<title>Installing HDA on HP Mediasmart Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=61922"/>
		<updated>2012-10-25T04:09:22Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing your HDA on an old MediaSmart server, previously used for Windows Home Server, will bring all the benefits of Amahi to the small device. This is only recommended for users who are comfortable with the terminal, or are willing to set up a headless server with VNC.&lt;br /&gt;
&lt;br /&gt;
The steps for this tutorial are from [http://dagolav.prestegarden.com/installing-ubuntu-on-the-hp-mediasmart-ex490/ here]. To continue you will require:&lt;br /&gt;
&lt;br /&gt;
- An HP MediaSmart server&lt;br /&gt;
- An extra PC&lt;br /&gt;
- A spare hard drive&lt;br /&gt;
- An existing network&lt;br /&gt;
- An SSH solution, like [[Key-based SSH Logins With Putty|Putty]]&lt;br /&gt;
- Ubuntu 12.04, the server version&lt;br /&gt;
&lt;br /&gt;
==Starting From Scratch==&lt;br /&gt;
===Installing Ubuntu===&lt;br /&gt;
1. Connect the hard drive into the spare PC.&lt;br /&gt;
2. Install Ubuntu 12.04, the server version. I was not able to get the GUI version of Ubuntu working on the MediaSmart server. The GUI version is also not recommended since there is no VGA or DVI ports for a monitor, only USB.&lt;br /&gt;
3. Do NOT install Amahi yet.&lt;br /&gt;
4. Install an ssh server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo apt-get install openssh-server}}&lt;br /&gt;
&lt;br /&gt;
5. Verify that the SSH is working by connecting with [Key-based SSH Logins With Putty|Putty]. If the SSH is not enabled, enable it:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo update-rc.d ssh defaults}}&lt;br /&gt;
&lt;br /&gt;
6. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
7. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
8. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
9. Shutdown the PC:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Installing Amahi===&lt;br /&gt;
1. Move the hard drive to the MediaSmart server, turn on the server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. [http://docs.amahi.org/ubuntu-12.html Install Amahi]&lt;br /&gt;
&lt;br /&gt;
===Modifying Ubuntu for Amahi===&lt;br /&gt;
1. After rebooting and SSHing into the server, [[Binding Network Devices|change the network card to eth0]] from our previous eth1. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
12. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
13. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
You should now be able to access your HDA as a share and as the http://hda link. You can [Install VNC server on Ubuntu Server 12.04|install a VNC server] to connect to the HDA using a graphical interface.&lt;br /&gt;
&lt;br /&gt;
==Transplanting an existing Amahi server==&lt;br /&gt;
Here I will present how I transplanted my current Amahi server from a PC to the MediaSmart server.&lt;br /&gt;
1. Disconnect all drives. If you are using Greyhole, check out the [[Reconnect existing Greyhole storage pool]] page. This will allow you to disconnect the data drives, and only risk the OS drive.&lt;br /&gt;
2. (I will update the steps here once I actually did the procedure.)&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=61916</id>
		<title>Installing HDA on HP Mediasmart Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=61916"/>
		<updated>2012-10-25T04:04:39Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: /* Modifying Ubuntu for Amahi */  Just correcting formatting for the past couple edits&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing your HDA on an old MediaSmart server, previously used for Windows Home Server, will bring all the benefits of Amahi to the small device. This is only recommended for users who are comfortable with the terminal, or are willing to set up a headless server with VNC.&lt;br /&gt;
&lt;br /&gt;
The steps for this tutorial are from [http://dagolav.prestegarden.com/installing-ubuntu-on-the-hp-mediasmart-ex490/ here]. To continue you will require:&lt;br /&gt;
&lt;br /&gt;
- An HP MediaSmart server&lt;br /&gt;
- An extra PC&lt;br /&gt;
- A spare hard drive&lt;br /&gt;
- An existing network&lt;br /&gt;
- An SSH solution, like [[Key-based SSH Logins With Putty|Putty]]&lt;br /&gt;
- Ubuntu 12.04, the server version&lt;br /&gt;
&lt;br /&gt;
==Starting From Scratch==&lt;br /&gt;
===Installing Ubuntu===&lt;br /&gt;
1. Connect the hard drive into the spare PC.&lt;br /&gt;
2. Install Ubuntu 12.04, the server version. I was not able to get the GUI version of Ubuntu working on the MediaSmart server. The GUI version is also not recommended since there is no VGA or DVI ports for a monitor, only USB.&lt;br /&gt;
3. Do NOT install Amahi yet.&lt;br /&gt;
4. Install an ssh server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo apt-get install openssh-server}}&lt;br /&gt;
&lt;br /&gt;
5. Verify that the SSH is working by connecting with [Key-based SSH Logins With Putty|Putty]. If the SSH is not enabled, enable it:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo update-rc.d ssh defaults}}&lt;br /&gt;
&lt;br /&gt;
6. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
7. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
8. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
9. Shutdown the PC:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Installing Amahi===&lt;br /&gt;
1. Move the hard drive to the MediaSmart server, turn on the server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. [http://docs.amahi.org/ubuntu-12.html Install Amahi]&lt;br /&gt;
&lt;br /&gt;
===Modifying Ubuntu for Amahi===&lt;br /&gt;
1. After rebooting and SSHing into the server, [[Binding Network Devices|change the network card to eth0]] from our previous eth1. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
12. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
13. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
You should now be able to access your HDA as a share and as the http://hda link. You can [Install VNC server on Ubuntu Server 12.04|install a VNC server] to connect to the HDA using a graphical interface.&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=61910</id>
		<title>Installing HDA on HP Mediasmart Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=61910"/>
		<updated>2012-10-25T04:04:06Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing your HDA on an old MediaSmart server, previously used for Windows Home Server, will bring all the benefits of Amahi to the small device. This is only recommended for users who are comfortable with the terminal, or are willing to set up a headless server with VNC.&lt;br /&gt;
&lt;br /&gt;
The steps for this tutorial are from [http://dagolav.prestegarden.com/installing-ubuntu-on-the-hp-mediasmart-ex490/ here]. To continue you will require:&lt;br /&gt;
&lt;br /&gt;
- An HP MediaSmart server&lt;br /&gt;
- An extra PC&lt;br /&gt;
- A spare hard drive&lt;br /&gt;
- An existing network&lt;br /&gt;
- An SSH solution, like [[Key-based SSH Logins With Putty|Putty]]&lt;br /&gt;
- Ubuntu 12.04, the server version&lt;br /&gt;
&lt;br /&gt;
==Starting From Scratch==&lt;br /&gt;
===Installing Ubuntu===&lt;br /&gt;
1. Connect the hard drive into the spare PC.&lt;br /&gt;
2. Install Ubuntu 12.04, the server version. I was not able to get the GUI version of Ubuntu working on the MediaSmart server. The GUI version is also not recommended since there is no VGA or DVI ports for a monitor, only USB.&lt;br /&gt;
3. Do NOT install Amahi yet.&lt;br /&gt;
4. Install an ssh server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo apt-get install openssh-server}}&lt;br /&gt;
&lt;br /&gt;
5. Verify that the SSH is working by connecting with [Key-based SSH Logins With Putty|Putty]. If the SSH is not enabled, enable it:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo update-rc.d ssh defaults}}&lt;br /&gt;
&lt;br /&gt;
6. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
7. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
8. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
9. Shutdown the PC:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Installing Amahi===&lt;br /&gt;
1. Move the hard drive to the MediaSmart server, turn on the server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. [http://docs.amahi.org/ubuntu-12.html Install Amahi]&lt;br /&gt;
&lt;br /&gt;
===Modifying Ubuntu for Amahi===&lt;br /&gt;
1. After rebooting and SSHing into the server, [Binding Network Devices|change the network card to eth0] from our previous eth1. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
12. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
13. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
You should now be able to access your HDA as a share and as the http://hda link. You can [Install VNC server on Ubuntu Server 12.04|install a VNC server] to connect to the HDA using a graphical interface.&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=61904</id>
		<title>Installing HDA on HP Mediasmart Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=61904"/>
		<updated>2012-10-25T04:03:29Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: /* Installing Amahi */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing your HDA on an old MediaSmart server, previously used for Windows Home Server, will bring all the benefits of Amahi to the small device. This is only recommended for users who are comfortable with the terminal, or are willing to set up a headless server with VNC.&lt;br /&gt;
&lt;br /&gt;
The steps for this tutorial are from [http://dagolav.prestegarden.com/installing-ubuntu-on-the-hp-mediasmart-ex490/ here]. To continue you will require:&lt;br /&gt;
&lt;br /&gt;
- An HP MediaSmart server&lt;br /&gt;
- An extra PC&lt;br /&gt;
- A spare hard drive&lt;br /&gt;
- An existing network&lt;br /&gt;
- An SSH solution, like [Key-based SSH Logins With Putty|Putty]&lt;br /&gt;
- Ubuntu 12.04, the server version&lt;br /&gt;
&lt;br /&gt;
==Starting From Scratch==&lt;br /&gt;
===Installing Ubuntu===&lt;br /&gt;
1. Connect the hard drive into the spare PC.&lt;br /&gt;
2. Install Ubuntu 12.04, the server version. I was not able to get the GUI version of Ubuntu working on the MediaSmart server. The GUI version is also not recommended since there is no VGA or DVI ports for a monitor, only USB.&lt;br /&gt;
3. Do NOT install Amahi yet.&lt;br /&gt;
4. Install an ssh server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo apt-get install openssh-server}}&lt;br /&gt;
&lt;br /&gt;
5. Verify that the SSH is working by connecting with [Key-based SSH Logins With Putty|Putty]. If the SSH is not enabled, enable it:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo update-rc.d ssh defaults}}&lt;br /&gt;
&lt;br /&gt;
6. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
7. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
8. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
9. Shutdown the PC:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Installing Amahi===&lt;br /&gt;
1. Move the hard drive to the MediaSmart server, turn on the server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. [http://docs.amahi.org/ubuntu-12.html Install Amahi]&lt;br /&gt;
&lt;br /&gt;
===Modifying Ubuntu for Amahi===&lt;br /&gt;
1. After rebooting and SSHing into the server, [Binding Network Devices|change the network card to eth0] from our previous eth1. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
12. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
13. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
You should now be able to access your HDA as a share and as the http://hda link. You can [Install VNC server on Ubuntu Server 12.04|install a VNC server] to connect to the HDA using a graphical interface.&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=61898</id>
		<title>Installing HDA on HP Mediasmart Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Installing_HDA_on_HP_Mediasmart_Server&amp;diff=61898"/>
		<updated>2012-10-25T04:02:02Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: Created page with &amp;quot;Installing your HDA on an old MediaSmart server, previously used for Windows Home Server, will bring all the benefits of Amahi to the small device. This is only recommended fo...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing your HDA on an old MediaSmart server, previously used for Windows Home Server, will bring all the benefits of Amahi to the small device. This is only recommended for users who are comfortable with the terminal, or are willing to set up a headless server with VNC.&lt;br /&gt;
&lt;br /&gt;
The steps for this tutorial are from [http://dagolav.prestegarden.com/installing-ubuntu-on-the-hp-mediasmart-ex490/ here]. To continue you will require:&lt;br /&gt;
&lt;br /&gt;
- An HP MediaSmart server&lt;br /&gt;
- An extra PC&lt;br /&gt;
- A spare hard drive&lt;br /&gt;
- An existing network&lt;br /&gt;
- An SSH solution, like [Key-based SSH Logins With Putty|Putty]&lt;br /&gt;
- Ubuntu 12.04, the server version&lt;br /&gt;
&lt;br /&gt;
==Starting From Scratch==&lt;br /&gt;
===Installing Ubuntu===&lt;br /&gt;
1. Connect the hard drive into the spare PC.&lt;br /&gt;
2. Install Ubuntu 12.04, the server version. I was not able to get the GUI version of Ubuntu working on the MediaSmart server. The GUI version is also not recommended since there is no VGA or DVI ports for a monitor, only USB.&lt;br /&gt;
3. Do NOT install Amahi yet.&lt;br /&gt;
4. Install an ssh server:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo apt-get install openssh-server}}&lt;br /&gt;
&lt;br /&gt;
5. Verify that the SSH is working by connecting with [Key-based SSH Logins With Putty|Putty]. If the SSH is not enabled, enable it:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo update-rc.d ssh defaults}}&lt;br /&gt;
&lt;br /&gt;
6. Change the interfaces file to reflect eth1, not eth0:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
            auto eth1&lt;br /&gt;
            iface eth1 inet dhcp&lt;br /&gt;
&lt;br /&gt;
7. Save using ctrl+x, and hitting &amp;quot;y&amp;quot; to confirm&lt;br /&gt;
&lt;br /&gt;
8. Note the hardware address of the network card:&lt;br /&gt;
&lt;br /&gt;
{{Code|ifconfig}}&lt;br /&gt;
&lt;br /&gt;
9. Shutdown the PC:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo shutdown now -h}}&lt;br /&gt;
&lt;br /&gt;
===Installing Amahi===&lt;br /&gt;
1. Move the hard drive to the MediaSmart server, turn on the server.&lt;br /&gt;
&lt;br /&gt;
2. Check your router for the server's IP address, use [Key-based SSH Logins With Putty|Putty] to SSH into that IP address.&lt;br /&gt;
&lt;br /&gt;
3. [http://docs.amahi.org/ubuntu-12.html Install Amahi]&lt;br /&gt;
===Modifying Ubuntu for Amahi===&lt;br /&gt;
1. After rebooting and SSHing into the server, [Binding Network Devices|change the network card to eth0] from our previous eth1. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}&lt;br /&gt;
&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;00:1d:60:b5:43:66&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth*&amp;quot;, NAME=&amp;quot;eth0&amp;quot;&lt;br /&gt;
            SUBSYSTEM==&amp;quot;net&amp;quot;, ACTION==&amp;quot;add&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTR{address}==&amp;quot;5c:d9:98:af:21:43&amp;quot;, ATTR{dev_id}==&amp;quot;0x0&amp;quot;, ATTR{type}==&amp;quot;1&amp;quot;, KERNEL==&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So above, we would delete the first line and change &amp;quot;eth1&amp;quot; to &amp;quot;eth0&amp;quot; on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
12. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo nano /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
13. Finally, reboot your HDA:&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
You should now be able to access your HDA as a share and as the http://hda link. You can [Install VNC server on Ubuntu Server 12.04|install a VNC server] to connect to the HDA using a graphical interface.&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=McMyAdmin&amp;diff=58454</id>
		<title>McMyAdmin</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=McMyAdmin&amp;diff=58454"/>
		<updated>2012-08-01T17:42:38Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: Below instructions are for Fedora. Ubuntu users replace all &amp;quot;yum&amp;quot;s with &amp;quot;apt-get&amp;quot;s. So:&lt;br /&gt;
&lt;br /&gt;
{{Code|yum install mono-basic}}&lt;br /&gt;
&lt;br /&gt;
becomes&lt;br /&gt;
&lt;br /&gt;
{{Code|apt-get install mono-basic}}&lt;br /&gt;
&lt;br /&gt;
=Installing McMyAdmin=&lt;br /&gt;
&lt;br /&gt;
Minecraft server with web-based front end for server management.&lt;br /&gt;
&lt;br /&gt;
* Install dependencies&lt;br /&gt;
{{Code|yum install mono-basic&lt;br /&gt;
yum install java-1.6.0-openjdk java-1.6.0-openjdk-plugin-1}}&lt;br /&gt;
* Get and install McMyAdmin&lt;br /&gt;
{{Code|mkdir /var/hda/web-apps/mcmyadmin&lt;br /&gt;
wget -P /var/hda/web-apps/mcmyadmin http://www.phonicuk.com/Downloads/McMyAdmin-latest.zip&lt;br /&gt;
unzip /var/hda/web-apps/mcmyadmin/McMyAdmin-latest.zip -d /var/hda/web-apps/mcmyadmin/&lt;br /&gt;
chown -R apache:users /var/hda/web-apps/mcmyadmin&lt;br /&gt;
chmod +x /var/hda/web-apps/mcmyadmin/start.sh}}&lt;br /&gt;
* Start McMyAdmin and Minecraft server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin&lt;br /&gt;
./start.sh}}&lt;br /&gt;
and wait for it to download the latest Minecraft server.  Once done stop it with '''&amp;lt;Ctrl-C&amp;gt;''' and run the following.&lt;br /&gt;
{{Code|nohup ./start.sh &amp;amp;}}&lt;br /&gt;
&lt;br /&gt;
The web interface runs on port 8080 by default account admin/admin:&lt;br /&gt;
{{Link|http://localhost:8080}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default the web interface can only be accessed from the machine it is running on. To make it available from another machine the entry passwordmd5 in McMyAdmin.conf.default must be changed. This can be done on the localhost:8080 link by changing the default password from &amp;quot;admin&amp;quot; to something else.&lt;br /&gt;
&lt;br /&gt;
==Installing the Minecraft Server==&lt;br /&gt;
&lt;br /&gt;
The Minecraft server is included with McMyAdmin and runs on port 25565 by default. After users have properly forwarded ports to the Amahi server Minecraft players will be able to use the HDA URL to connect to the server.&lt;br /&gt;
&lt;br /&gt;
Cronjob will need to be set for autostart on boot. Amahi may also be able to monitor this server to make sure it is running, similar to other services.&lt;br /&gt;
&lt;br /&gt;
==Installing the Tekkit Server==&lt;br /&gt;
&lt;br /&gt;
'''''To logon to a Tekkit server the user must use the [http://www.technicpack.net/launcher/ Technic Launcher] and not the default MineCraft app.'''''&lt;br /&gt;
&lt;br /&gt;
[http://www.technicpack.net/tekkit/ Tekkit] is a collection of Minecraft mods that allows for more advanced gameplay. The purpose of this tutorial is to illustrate the installation of Tekkit on your HDA. All commands below are for the terminal. The instructions are taken from [http://www.youtube.com/watch?v=u8-uGqSyaMo this] fine YouTube video.&lt;br /&gt;
*Navigate to the default hda web-apps folder&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin}}&lt;br /&gt;
*Create a folder for Tekkit and get in the folder:&lt;br /&gt;
{{Code|mkdir tekkit&lt;br /&gt;
cd tekkit}}&lt;br /&gt;
*Download the latest Tekkit server zip file from [http://www.technicpack.net/tekkit/ here]. Replace my link below with your own latest one.&lt;br /&gt;
{{Code|wget http://mirror.technicpack.net/files/Tekkit_Server_3.0.4.zip}}&lt;br /&gt;
*Extract the zip file with unzip. Replace name of file with your own latest one.&lt;br /&gt;
{{Code|yum install unzip&lt;br /&gt;
ls&lt;br /&gt;
unzip Tekkit_Server_3.0.4.zip}}&lt;br /&gt;
*Create startup script for Tekkit. Note that 1500M stands for the number of megabytes of ram you are letting Tekkit use potentially. The 512M stands for the number of megabytes of ram you let Java use at startup.&lt;br /&gt;
{{Code|nano start.sh}}&lt;br /&gt;
&lt;br /&gt;
{{Text|Text=#!/bin/sh&lt;br /&gt;
java -Xmx1500M -Xms512M -jar Tekkit.jar}}&lt;br /&gt;
*Give permissions to the script.&lt;br /&gt;
{{Code|chmod +x start.sh}}&lt;br /&gt;
*Start Tekkit&lt;br /&gt;
{{Code|./start.sh}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The default port is 25565. This will be edited below.&lt;br /&gt;
&lt;br /&gt;
=Tekkit with McMyAdmin=&lt;br /&gt;
&lt;br /&gt;
* Before continuing, you must start Tekkit and stop it after Tekkit has completely loaded. This will create essential files.&lt;br /&gt;
{{Code|cd /var/hda/web-apps/tekkit&lt;br /&gt;
./start.sh&lt;br /&gt;
stop}}&lt;br /&gt;
* You must also do the same thing with McMyAdmin&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin&lt;br /&gt;
mono McMyAdmin.exe&lt;br /&gt;
stop}}&lt;br /&gt;
&lt;br /&gt;
For the purposes of this tutorial, it is assumed that both McMyAdmin and Tekkit have been installed and started/stopped as outlined above. We need to copy the Tekkit files into McMyAdmin. &lt;br /&gt;
&lt;br /&gt;
* Go into the Tekkit folder, rename Tekkit.jar to craftbukkit.jar&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin/tekkit/&lt;br /&gt;
mv Tekkit.jar craftbukkit.jar}}&lt;br /&gt;
&lt;br /&gt;
==Tekkit and Minecraft Vanilla Coexisting in McMyAdmin==&lt;br /&gt;
&lt;br /&gt;
* Follow the McMyAdmin tutorial above, except name the McMyAdmin folder &amp;quot;McMA_Vanilla&amp;quot;. Replace all &amp;quot;McMyAdmin&amp;quot; with &amp;quot;McMA_Vanilla&amp;quot; as needed.&lt;br /&gt;
* Create a folder called MineCraft.&lt;br /&gt;
{{Code|mkdir /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Copy (not move) McMA_Vanilla into the MineCraft folder.&lt;br /&gt;
{{Code|cp -fr /var/hda/web-apps/McMA_Vanilla /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Rename the original McMA_Vanilla to McMA_Tekkit.&lt;br /&gt;
* Move McMA_Tekkit into MineCraft folder.&lt;br /&gt;
{{Code|mv /var/hda/web-apps/McMA_Tekkit /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Follow the Tekkit tutorial above.&lt;br /&gt;
* Rename the Tekkit.jar file to craftbukkit.jar, AFTER having started and stopped the Tekkit and MineCraft servers at least once as outlined above.&lt;br /&gt;
{{Code|cd /var/hda/web-apps/tekkit&lt;br /&gt;
mv Tekkit.jar craftbukkit.jar}}&lt;br /&gt;
* Copy the contents of the tekkit folder into the McMA_Tekkit/Minecraft folder, merge and replace all files as needed.&lt;br /&gt;
* Delete the now empty tekkit directory&lt;br /&gt;
{{Code|rm -fr /var/hda/web-apps/tekkit}}&lt;br /&gt;
* Now we must edit the ports so that both McMyAdmin servers can run at the same time:&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit&lt;br /&gt;
nano /McMyAdmin.conf}}&lt;br /&gt;
Change webserver.port=8080 (line 71) to webserver.port=8081&amp;lt;br /&amp;gt;&lt;br /&gt;
Change server.address=localhost:25565 (line 152) to server.address=localhost:25665&amp;lt;br /&amp;gt;&lt;br /&gt;
To save do ctrl+x, y (to confirm save), and enter&lt;br /&gt;
* And the same must be done with the MineCraft servers&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit/Minecraft&lt;br /&gt;
nano server.properties}}&lt;br /&gt;
Change server-port 25565 (line 8) to server-port 25665&amp;lt;br /&amp;gt;&lt;br /&gt;
To save do ctrl+x, y (to confirm save)&lt;br /&gt;
* Start the Tekkit server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit&lt;br /&gt;
mono McMyAdmin.exe}}&lt;br /&gt;
* In a new terminal, start the Vanilla server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Vanilla&lt;br /&gt;
mono McMyAdmin.exe}}&lt;br /&gt;
&lt;br /&gt;
=Access McMyAdmin=&lt;br /&gt;
* For the Tekkit McMyAdmin:&lt;br /&gt;
{{link|http://hda:8081}}&lt;br /&gt;
* For the Vanilla McMyAdmin:&lt;br /&gt;
{{Link|http://hda:8080}}&lt;br /&gt;
&lt;br /&gt;
=Join MineCraft Server with Client=&lt;br /&gt;
* For the Tekkit server:&lt;br /&gt;
{{Link|http://(hda IP):25665}}&lt;br /&gt;
* For the Vanilla server:&lt;br /&gt;
{{Link|http://(hda IP):25565}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Apps]]&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=McMyAdmin&amp;diff=58448</id>
		<title>McMyAdmin</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=McMyAdmin&amp;diff=58448"/>
		<updated>2012-07-31T21:31:25Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: Switched sh to java&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: Below instructions are for Fedora. Ubuntu users replace all &amp;quot;yum&amp;quot;s with &amp;quot;apt-get&amp;quot;s. So:&lt;br /&gt;
&lt;br /&gt;
{{Code|yum install mono-basic}}&lt;br /&gt;
&lt;br /&gt;
becomes&lt;br /&gt;
&lt;br /&gt;
{{Code|apt-get install mono-basic}}&lt;br /&gt;
&lt;br /&gt;
=Installing McMyAdmin=&lt;br /&gt;
&lt;br /&gt;
Minecraft server with web-based front end for server management.&lt;br /&gt;
&lt;br /&gt;
* Install dependencies&lt;br /&gt;
{{Code|yum install mono-basic&lt;br /&gt;
yum install java-1.6.0-openjdk java-1.6.0-openjdk-plugin-1}}&lt;br /&gt;
* Get and install McMyAdmin&lt;br /&gt;
{{Code|mkdir /var/hda/web-apps/mcmyadmin&lt;br /&gt;
wget -P /var/hda/web-apps/mcmyadmin http://www.phonicuk.com/Downloads/McMyAdmin-latest.zip&lt;br /&gt;
unzip /var/hda/web-apps/mcmyadmin/McMyAdmin-latest.zip -d /var/hda/web-apps/mcmyadmin/&lt;br /&gt;
chown -R apache:users /var/hda/web-apps/mcmyadmin&lt;br /&gt;
chmod +x /var/hda/web-apps/mcmyadmin/start.sh}}&lt;br /&gt;
* Start McMyAdmin and Minecraft server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin&lt;br /&gt;
./start.sh}}&lt;br /&gt;
and wait for it to download the latest Minecraft server.  Once done stop it with '''&amp;lt;Ctrl-C&amp;gt;''' and run the following.&lt;br /&gt;
{{Code|nohup ./start.sh &amp;amp;}}&lt;br /&gt;
&lt;br /&gt;
The web interface runs on port 8080 by default account admin/admin:&lt;br /&gt;
{{Link|http://localhost:8080}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default the web interface can only be accessed from the machine it is running on. To make it available from another machine the entry passwordmd5 in McMyAdmin.conf.default must be changed. This can be done on the localhost:8080 link by changing the default password from &amp;quot;admin&amp;quot; to something else.&lt;br /&gt;
&lt;br /&gt;
==Installing the Minecraft Server==&lt;br /&gt;
&lt;br /&gt;
The Minecraft server is included with McMyAdmin and runs on port 25565 by default. After users have properly forwarded ports to the Amahi server Minecraft players will be able to use the HDA URL to connect to the server.&lt;br /&gt;
&lt;br /&gt;
Cronjob will need to be set for autostart on boot. Amahi may also be able to monitor this server to make sure it is running, similar to other services.&lt;br /&gt;
&lt;br /&gt;
==Installing the Tekkit Server==&lt;br /&gt;
&lt;br /&gt;
'''''To logon to a Tekkit server the user must use the [http://www.technicpack.net/launcher/ Technic Launcher] and not the default MineCraft app.'''''&lt;br /&gt;
&lt;br /&gt;
[http://www.technicpack.net/tekkit/ Tekkit] is a collection of Minecraft mods that allows for more advanced gameplay. The purpose of this tutorial is to illustrate the installation of Tekkit on your HDA. All commands below are for the terminal. The instructions are taken from [http://www.youtube.com/watch?v=u8-uGqSyaMo this] fine YouTube video.&lt;br /&gt;
*Navigate to the default hda web-apps folder&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin}}&lt;br /&gt;
*Create a folder for Tekkit and get in the folder:&lt;br /&gt;
{{Code|mkdir tekkit&lt;br /&gt;
cd tekkit}}&lt;br /&gt;
*Download the latest Tekkit server zip file from [http://www.technicpack.net/tekkit/ here]. Replace my link below with your own latest one.&lt;br /&gt;
{{Code|wget http://mirror.technicpack.net/files/Tekkit_Server_3.0.4.zip}}&lt;br /&gt;
*Extract the zip file with unzip. Replace name of file with your own latest one.&lt;br /&gt;
{{Code|yum install unzip&lt;br /&gt;
ls&lt;br /&gt;
unzip Tekkit_Server_3.0.4.zip}}&lt;br /&gt;
*Create startup script for Tekkit. Note that 1500M stands for the number of megabytes of ram you are letting Tekkit use potentially. The 512M stands for the number of megabytes of ram you let Java use at startup.&lt;br /&gt;
{{Code|nano start.sh}}&lt;br /&gt;
&lt;br /&gt;
{{Text|Text=#!/bin/sh&lt;br /&gt;
java -Xmx1500M -Xms512M -jar Tekkit.jar}}&lt;br /&gt;
*Give permissions to the script.&lt;br /&gt;
{{Code|chmod +x start.sh}}&lt;br /&gt;
*Start Tekkit&lt;br /&gt;
{{Code|./start.sh}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The default port is 25565. This will be edited below.&lt;br /&gt;
&lt;br /&gt;
=Tekkit with McMyAdmin=&lt;br /&gt;
&lt;br /&gt;
* Before continuing, you must start Tekkit and stop it after Tekkit has completely loaded. This will create essential files.&lt;br /&gt;
{{Code|cd /var/hda/web-apps/tekkit&lt;br /&gt;
./start.sh&lt;br /&gt;
stop}}&lt;br /&gt;
* You must also do the same thing with McMyAdmin&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin&lt;br /&gt;
mono McMyAdmin.exe&lt;br /&gt;
stop}}&lt;br /&gt;
&lt;br /&gt;
For the purposes of this tutorial, it is assumed that both McMyAdmin and Tekkit have been installed and started/stopped as outlined above. We need to copy the Tekkit files into McMyAdmin. I used the GUI here and am unfamiliar with the terminal commands.&lt;br /&gt;
&lt;br /&gt;
* Go into the Tekkit folder, rename Tekkit.jar to craftbukkit.jar&lt;br /&gt;
&lt;br /&gt;
==Tekkit and Minecraft Vanilla Coexisting in McMyAdmin==&lt;br /&gt;
&lt;br /&gt;
* Follow the McMyAdmin tutorial above, except name the McMyAdmin folder &amp;quot;McMA_Vanilla&amp;quot;. Replace all &amp;quot;McMyAdmin&amp;quot; with &amp;quot;McMA_Vanilla&amp;quot; as needed.&lt;br /&gt;
* Create a folder called MineCraft.&lt;br /&gt;
{{Code|mkdir /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Copy (not move) McMA_Vanilla into the MineCraft folder.&lt;br /&gt;
{{Code|cp -fr /var/hda/web-apps/McMA_Vanilla /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Rename the original McMA_Vanilla to McMA_Tekkit.&lt;br /&gt;
* Move McMA_Tekkit into MineCraft folder.&lt;br /&gt;
{{Code|mv /var/hda/web-apps/McMA_Tekkit /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Follow the Tekkit tutorial above.&lt;br /&gt;
* Rename the Tekkit.jar file to craftbukkit.jar, AFTER having started and stopped the Tekkit and MineCraft servers at least once as outlined above.&lt;br /&gt;
{{Code|cd /var/hda/web-apps/tekkit&lt;br /&gt;
RENAME command}}&lt;br /&gt;
* Copy the contents of the tekkit folder into the McMA_Tekkit/Minecraft folder, merge and replace all files as needed.&lt;br /&gt;
* Delete the now empty tekkit directory&lt;br /&gt;
{{Code|rm -fr /var/hda/web-apps/tekkit}}&lt;br /&gt;
* Now we must edit the ports so that both McMyAdmin servers can run at the same time:&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit&lt;br /&gt;
nano /McMyAdmin.conf}}&lt;br /&gt;
Change webserver.port=8080 (line 71) to webserver.port=8081&amp;lt;br /&amp;gt;&lt;br /&gt;
Change server.address=localhost:25565 (line 152) to server.address=localhost:25665&amp;lt;br /&amp;gt;&lt;br /&gt;
To save do ctrl+x, y (to confirm save), and enter&lt;br /&gt;
* And the same must be done with the MineCraft servers&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit/Minecraft&lt;br /&gt;
nano server.properties}}&lt;br /&gt;
Change server-port 25565 (line 8) to server-port 25665&amp;lt;br /&amp;gt;&lt;br /&gt;
To save do ctrl+x, y (to confirm save)&lt;br /&gt;
* Start the Tekkit server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit&lt;br /&gt;
mono McMyAdmin.exe}}&lt;br /&gt;
* In a new terminal, start the Vanilla server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Vanilla&lt;br /&gt;
mono McMyAdmin.exe}}&lt;br /&gt;
&lt;br /&gt;
=Access McMyAdmin=&lt;br /&gt;
* For the Tekkit McMyAdmin:&lt;br /&gt;
{{link|http://hda:8081}}&lt;br /&gt;
* For the Vanilla McMyAdmin:&lt;br /&gt;
{{Link|http://hda:8080}}&lt;br /&gt;
&lt;br /&gt;
=Join MineCraft Server with Client=&lt;br /&gt;
* For the Tekkit server:&lt;br /&gt;
{{Link|http://(hda IP):25665}}&lt;br /&gt;
* For the Vanilla server:&lt;br /&gt;
{{Link|http://(hda IP):25565}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Apps]]&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=McMyAdmin&amp;diff=58442</id>
		<title>McMyAdmin</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=McMyAdmin&amp;diff=58442"/>
		<updated>2012-07-31T21:30:16Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: Switched sh to java&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: Below instructions are for Fedora. Ubuntu users replace all &amp;quot;yum&amp;quot;s with &amp;quot;apt-get&amp;quot;s. So:&lt;br /&gt;
&lt;br /&gt;
{{Code|yum install mono-basic}}&lt;br /&gt;
&lt;br /&gt;
becomes&lt;br /&gt;
&lt;br /&gt;
{{Code|apt-get install mono-basic}}&lt;br /&gt;
&lt;br /&gt;
=Installing McMyAdmin=&lt;br /&gt;
&lt;br /&gt;
Minecraft server with web-based front end for server management.&lt;br /&gt;
&lt;br /&gt;
* Install dependencies&lt;br /&gt;
{{Code|yum install mono-basic&lt;br /&gt;
yum install java-1.6.0-openjdk java-1.6.0-openjdk-plugin-1}}&lt;br /&gt;
* Get and install McMyAdmin&lt;br /&gt;
{{Code|mkdir /var/hda/web-apps/mcmyadmin&lt;br /&gt;
wget -P /var/hda/web-apps/mcmyadmin http://www.phonicuk.com/Downloads/McMyAdmin-latest.zip&lt;br /&gt;
unzip /var/hda/web-apps/mcmyadmin/McMyAdmin-latest.zip -d /var/hda/web-apps/mcmyadmin/&lt;br /&gt;
chown -R apache:users /var/hda/web-apps/mcmyadmin&lt;br /&gt;
chmod +x /var/hda/web-apps/mcmyadmin/start.sh}}&lt;br /&gt;
* Start McMyAdmin and Minecraft server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin&lt;br /&gt;
./start.sh}}&lt;br /&gt;
and wait for it to download the latest Minecraft server.  Once done stop it with '''&amp;lt;Ctrl-C&amp;gt;''' and run the following.&lt;br /&gt;
{{Code|nohup ./start.sh &amp;amp;}}&lt;br /&gt;
&lt;br /&gt;
The web interface runs on port 8080 by default account admin/admin:&lt;br /&gt;
{{Link|http://localhost:8080}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default the web interface can only be accessed from the machine it is running on. To make it available from another machine the entry passwordmd5 in McMyAdmin.conf.default must be changed. This can be done on the localhost:8080 link by changing the default password from &amp;quot;admin&amp;quot; to something else.&lt;br /&gt;
&lt;br /&gt;
==Installing the Minecraft Server==&lt;br /&gt;
&lt;br /&gt;
The Minecraft server is included with McMyAdmin and runs on port 25565 by default. After users have properly forwarded ports to the Amahi server Minecraft players will be able to use the HDA URL to connect to the server.&lt;br /&gt;
&lt;br /&gt;
Cronjob will need to be set for autostart on boot. Amahi may also be able to monitor this server to make sure it is running, similar to other services.&lt;br /&gt;
&lt;br /&gt;
==Installing the Tekkit Server==&lt;br /&gt;
&lt;br /&gt;
'''''To logon to a Tekkit server the user must use the [http://www.technicpack.net/launcher/ Technic Launcher] and not the default MineCraft app.'''''&lt;br /&gt;
&lt;br /&gt;
[http://www.technicpack.net/tekkit/ Tekkit] is a collection of Minecraft mods that allows for more advanced gameplay. The purpose of this tutorial is to illustrate the installation of Tekkit on your HDA. All commands below are for the terminal. The instructions are taken from [http://www.youtube.com/watch?v=u8-uGqSyaMo this] fine YouTube video.&lt;br /&gt;
*Navigate to the default hda web-apps folder&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin}}&lt;br /&gt;
*Create a folder for Tekkit and get in the folder:&lt;br /&gt;
{{Code|mkdir tekkit&lt;br /&gt;
cd tekkit}}&lt;br /&gt;
*Download the latest Tekkit server zip file from [http://www.technicpack.net/tekkit/ here]. Replace my link below with your own latest one.&lt;br /&gt;
{{Code|wget http://mirror.technicpack.net/files/Tekkit_Server_3.0.4.zip}}&lt;br /&gt;
*Extract the zip file with unzip. Replace name of file with your own latest one.&lt;br /&gt;
{{Code|yum install unzip&lt;br /&gt;
ls&lt;br /&gt;
unzip Tekkit_Server_3.0.4.zip}}&lt;br /&gt;
*Create startup script for Tekkit. Note that 1500M stands for the number of megabytes of ram you are letting Tekkit use potentially. The 512M stands for the number of megabytes of ram you let Java use at startup.&lt;br /&gt;
{{Code|nano start.sh}}&lt;br /&gt;
&lt;br /&gt;
{{Text|Text=#!/bin/sh&lt;br /&gt;
java -Xmx 1500M -Xms512M -jar Tekkit.jar}}&lt;br /&gt;
*Give permissions to the script.&lt;br /&gt;
{{Code|chmod +x start.sh}}&lt;br /&gt;
*Start Tekkit&lt;br /&gt;
{{Code|./start.sh}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The default port is 25565. This will be edited below.&lt;br /&gt;
&lt;br /&gt;
=Tekkit with McMyAdmin=&lt;br /&gt;
&lt;br /&gt;
* Before continuing, you must start Tekkit and stop it after Tekkit has completely loaded. This will create essential files.&lt;br /&gt;
{{Code|cd /var/hda/web-apps/tekkit&lt;br /&gt;
./start.sh&lt;br /&gt;
stop}}&lt;br /&gt;
* You must also do the same thing with McMyAdmin&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin&lt;br /&gt;
mono McMyAdmin.exe&lt;br /&gt;
stop}}&lt;br /&gt;
&lt;br /&gt;
For the purposes of this tutorial, it is assumed that both McMyAdmin and Tekkit have been installed and started/stopped as outlined above. We need to copy the Tekkit files into McMyAdmin. I used the GUI here and am unfamiliar with the terminal commands.&lt;br /&gt;
&lt;br /&gt;
* Go into the Tekkit folder, rename Tekkit.jar to craftbukkit.jar&lt;br /&gt;
&lt;br /&gt;
==Tekkit and Minecraft Vanilla Coexisting in McMyAdmin==&lt;br /&gt;
&lt;br /&gt;
* Follow the McMyAdmin tutorial above, except name the McMyAdmin folder &amp;quot;McMA_Vanilla&amp;quot;. Replace all &amp;quot;McMyAdmin&amp;quot; with &amp;quot;McMA_Vanilla&amp;quot; as needed.&lt;br /&gt;
* Create a folder called MineCraft.&lt;br /&gt;
{{Code|mkdir /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Copy (not move) McMA_Vanilla into the MineCraft folder.&lt;br /&gt;
{{Code|cp -fr /var/hda/web-apps/McMA_Vanilla /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Rename the original McMA_Vanilla to McMA_Tekkit.&lt;br /&gt;
* Move McMA_Tekkit into MineCraft folder.&lt;br /&gt;
{{Code|mv /var/hda/web-apps/McMA_Tekkit /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Follow the Tekkit tutorial above.&lt;br /&gt;
* Rename the Tekkit.jar file to craftbukkit.jar, AFTER having started and stopped the Tekkit and MineCraft servers at least once as outlined above.&lt;br /&gt;
{{Code|cd /var/hda/web-apps/tekkit&lt;br /&gt;
RENAME command}}&lt;br /&gt;
* Copy the contents of the tekkit folder into the McMA_Tekkit/Minecraft folder, merge and replace all files as needed.&lt;br /&gt;
* Delete the now empty tekkit directory&lt;br /&gt;
{{Code|rm -fr /var/hda/web-apps/tekkit}}&lt;br /&gt;
* Now we must edit the ports so that both McMyAdmin servers can run at the same time:&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit&lt;br /&gt;
nano /McMyAdmin.conf}}&lt;br /&gt;
Change webserver.port=8080 (line 71) to webserver.port=8081&amp;lt;br /&amp;gt;&lt;br /&gt;
Change server.address=localhost:25565 (line 152) to server.address=localhost:25665&amp;lt;br /&amp;gt;&lt;br /&gt;
To save do ctrl+x, y (to confirm save), and enter&lt;br /&gt;
* And the same must be done with the MineCraft servers&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit/Minecraft&lt;br /&gt;
nano server.properties}}&lt;br /&gt;
Change server-port 25565 (line 8) to server-port 25665&amp;lt;br /&amp;gt;&lt;br /&gt;
To save do ctrl+x, y (to confirm save)&lt;br /&gt;
* Start the Tekkit server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit&lt;br /&gt;
mono McMyAdmin.exe}}&lt;br /&gt;
* In a new terminal, start the Vanilla server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Vanilla&lt;br /&gt;
mono McMyAdmin.exe}}&lt;br /&gt;
&lt;br /&gt;
=Access McMyAdmin=&lt;br /&gt;
* For the Tekkit McMyAdmin:&lt;br /&gt;
{{link|http://hda:8081}}&lt;br /&gt;
* For the Vanilla McMyAdmin:&lt;br /&gt;
{{Link|http://hda:8080}}&lt;br /&gt;
&lt;br /&gt;
=Join MineCraft Server with Client=&lt;br /&gt;
* For the Tekkit server:&lt;br /&gt;
{{Link|http://(hda IP):25665}}&lt;br /&gt;
* For the Vanilla server:&lt;br /&gt;
{{Link|http://(hda IP):25565}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Apps]]&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Install_VNC_server_on_Ubuntu_Server_12.04&amp;diff=57992</id>
		<title>Install VNC server on Ubuntu Server 12.04</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Install_VNC_server_on_Ubuntu_Server_12.04&amp;diff=57992"/>
		<updated>2012-07-16T04:20:49Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{MessageBox|&lt;br /&gt;
backgroundcolor	= #faa|&lt;br /&gt;
image	=Warning.png|&lt;br /&gt;
heading	=WARNING|&lt;br /&gt;
message = This is recommended only for advanced users, proceed with caution.}}&lt;br /&gt;
&lt;br /&gt;
=Method 1=&lt;br /&gt;
&lt;br /&gt;
Install vncServer in Ububtu 12.04 server to create a virtual desktop on another computer&lt;br /&gt;
&lt;br /&gt;
These are the instructions for installing vncserver on Ubuntu 12.04 server edition. They may also work on Desktop, but I haven't tested them on it. &lt;br /&gt;
&lt;br /&gt;
First install ubuntu 12.04 server&lt;br /&gt;
&lt;br /&gt;
Install Amahi using the instructions provided elsewhere on the wiki.&lt;br /&gt;
&lt;br /&gt;
After reboot go to your HDA and login, then go to apps and install OpenSSH and webmin using the links in your HDA.&lt;br /&gt;
&lt;br /&gt;
Reboot&lt;br /&gt;
&lt;br /&gt;
{{Code|Code = sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
From here on I used vim but you can use any editor you are comfortable with just replace vim with your choice.&lt;br /&gt;
&lt;br /&gt;
A quick and short tutorial on vim:&lt;br /&gt;
&lt;br /&gt;
Move the cursor to where you want to edit then press i&lt;br /&gt;
Edit as needed, when finished press esc then :wq to save your changes&lt;br /&gt;
If you make a mistake press :q! you exit without saving changes, then start again.&lt;br /&gt;
&lt;br /&gt;
A cheat sheet for vim commands can be found here:&lt;br /&gt;
&lt;br /&gt;
http://www.tuxfiles.org/linuxhelp/vimcheat.html &lt;br /&gt;
&lt;br /&gt;
Now go to another machine, I used windows 7, and download putty. &lt;br /&gt;
&lt;br /&gt;
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html)&lt;br /&gt;
&lt;br /&gt;
From here on it will be all copy and paste in putty. (makes it easy)&lt;br /&gt;
&lt;br /&gt;
Start putty&lt;br /&gt;
&lt;br /&gt;
In Host Name (or IP address) enter the static ip address of your server, you can find it in your control panel on Amahi.org. For example: 192.168.1.55 &lt;br /&gt;
&lt;br /&gt;
DO NOT enter http://&lt;br /&gt;
&lt;br /&gt;
Leave the Port at 22&lt;br /&gt;
&lt;br /&gt;
[[File:PUTTY1.gif]] &lt;br /&gt;
&lt;br /&gt;
If you want you can save it for easier later use by adding a name in Saved Sessions and clicking Save&lt;br /&gt;
&lt;br /&gt;
Now click Yes&lt;br /&gt;
&lt;br /&gt;
A terminal will open and another window asking you to confirm the server click okay&lt;br /&gt;
&lt;br /&gt;
[[File:PUTTY2.gif]]&lt;br /&gt;
&lt;br /&gt;
Enter your ubuntu username and password when asked&lt;br /&gt;
&lt;br /&gt;
[[File:PUTTY3.jpg]]&lt;br /&gt;
&lt;br /&gt;
You will be connected to your server.&lt;br /&gt;
&lt;br /&gt;
all the following commands can be copied and pasted into putty with a simple right click.&lt;br /&gt;
&lt;br /&gt;
Copy and paste  &lt;br /&gt;
&lt;br /&gt;
{{Code|Code = sudo apt-get update}}&lt;br /&gt;
&lt;br /&gt;
when complete&lt;br /&gt;
&lt;br /&gt;
{{Code|Code = sudo aptitude safe-upgrade}}&lt;br /&gt;
&lt;br /&gt;
reboot server type &lt;br /&gt;
&lt;br /&gt;
{{Code|Code = sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
A: Install Gnome basic desktop. &lt;br /&gt;
&lt;br /&gt;
log in with putty again from your windows machine.&lt;br /&gt;
&lt;br /&gt;
I installed the server version of Ubuntu, so to be able to have a desk top when I log into vnc I need to install a few things in Ubuntu.&lt;br /&gt;
&lt;br /&gt;
First off we need to install the Gnome components for our virtual desktop. Type or copy and paste:&lt;br /&gt;
&lt;br /&gt;
{{Code|Code = sudo apt-get install gnome-core}}&lt;br /&gt;
&lt;br /&gt;
when prompted type Y and then press Enter. This will install the gnome desktop components.&lt;br /&gt;
&lt;br /&gt;
Reboot&lt;br /&gt;
&lt;br /&gt;
{{Code|Code = sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
To keep the desktop and login window from opening in Ubuntu everytime it starts we want to mask out the few lines which start the service.&lt;br /&gt;
&lt;br /&gt;
{{Code|Code = sudo vim /etc/init/gdm.conf}}&lt;br /&gt;
&lt;br /&gt;
The first few lines of the script should look like this once you've edited it:&lt;br /&gt;
{{Code|Code = &lt;br /&gt;
&lt;br /&gt;
# gdm - GNOME Display Manager&lt;br /&gt;
#&lt;br /&gt;
# The display manager service manages the X servers running on the&lt;br /&gt;
# system, providing login and auto-login services&lt;br /&gt;
&lt;br /&gt;
description &amp;quot;GNOME Display Manager&amp;quot;&lt;br /&gt;
author &amp;quot;William Jon McCann &amp;lt;mccann@jhu.edu&amp;gt;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
#start on ((filesystem&lt;br /&gt;
# and runlevel [!06]&lt;br /&gt;
# and started dbus&lt;br /&gt;
# and (drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1&lt;br /&gt;
# or stopped udev-fallback-graphics))&lt;br /&gt;
# or runlevel PREVLEVEL=S)&lt;br /&gt;
&lt;br /&gt;
stop on runlevel [016]&lt;br /&gt;
&lt;br /&gt;
emits login-session-start&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
esc :wq to save the changes or :q! to start over. Now the desktop and login won't start in Ubuntu.&lt;br /&gt;
&lt;br /&gt;
NOTE: This only installs a basic desktop, if you want to be able to use programs from your virtual desktop, network manager, media players, office, etc, they will need to be installed after vnc server is installed. &lt;br /&gt;
&lt;br /&gt;
Reboot&lt;br /&gt;
&lt;br /&gt;
{{Code|Code = sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
B: We need to install VNC server to be able to interact with the gnome components for the desktop.&lt;br /&gt;
&lt;br /&gt;
{{Code|Code = sudo apt-get install vnc4server}}&lt;br /&gt;
&lt;br /&gt;
When prompted type Y and press Enter. This will install VNC Server which is required for running a virtual desktop on another machine.&lt;br /&gt;
&lt;br /&gt;
Next type:&lt;br /&gt;
&lt;br /&gt;
{{Code|Code = vncserver}}&lt;br /&gt;
&lt;br /&gt;
You'll then be prompted to create and verify a new password. &lt;br /&gt;
&lt;br /&gt;
We now need to kill the session we just created and make change the startup script for VNCServer to make it work properly. &lt;br /&gt;
&lt;br /&gt;
So, type the following command to kill the session:&lt;br /&gt;
&lt;br /&gt;
{{Code|Code = vncserver -kill :1}}&lt;br /&gt;
&lt;br /&gt;
Now type the following command to open up the file we need to edit:&lt;br /&gt;
&lt;br /&gt;
{{Code|Code = sudo vim .vnc/xstartup}}&lt;br /&gt;
&lt;br /&gt;
Change it to look like this:&lt;br /&gt;
&lt;br /&gt;
{{Code|Code = &lt;br /&gt;
&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
# Uncomment the following two lines for normal desktop:&lt;br /&gt;
unset SESSION_MANAGER&lt;br /&gt;
#exec /etc/X11/xinit/xinitrc&lt;br /&gt;
gnome-session --session=gnome-classic &amp;amp;&lt;br /&gt;
&lt;br /&gt;
[ -x /etc/vnc/xstartup ] &amp;amp;&amp;amp; exec /etc/vnc/xstartup&lt;br /&gt;
[ -r $HOME/.Xresources ] &amp;amp;&amp;amp; xrdb $HOME/.Xresources&lt;br /&gt;
xsetroot -solid grey&lt;br /&gt;
vncconfig -iconic &amp;amp;&lt;br /&gt;
#x-terminal-emulator -geometry 1280x1024+10+10 -ls -title &amp;quot;$VNCDESKTOP Desktop&amp;quot; &amp;amp;&lt;br /&gt;
#x-window-manager &amp;amp;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
When you're done editing the file press the Esc key once and type :wq&lt;br /&gt;
&lt;br /&gt;
This should save the changes and bring you back to the command line. If you make a mistake editing the file then issue :q! instead of :wq to abort your changes.&lt;br /&gt;
&lt;br /&gt;
Next type the following command to create the VNC Session once more:&lt;br /&gt;
&lt;br /&gt;
{{Code|Code = vncserver -geometry 1680x1050}}&lt;br /&gt;
&lt;br /&gt;
where 1280x1024 is the resolution of your DESKTOP COMPUTER.&lt;br /&gt;
&lt;br /&gt;
Download and install TightVNC onto your desktop computer.&lt;br /&gt;
&lt;br /&gt;
http://www.tightvnc.com/download.html&lt;br /&gt;
&lt;br /&gt;
When you launch it type your hda server name followed by a colon and the number 1 (this is the name you gave it when you installed Ubuntu)for example: Ubuntu-1204:1&lt;br /&gt;
&lt;br /&gt;
[[File:vnc.jpg]]&lt;br /&gt;
&lt;br /&gt;
Or use it's static ip address and :1 eg: 192.168.1.55:1 in the VNCServer box. &lt;br /&gt;
&lt;br /&gt;
[[File:vnc1.jpg]]&lt;br /&gt;
&lt;br /&gt;
Then click Connect, enter the password you created when you typed after installing vncserver.&lt;br /&gt;
&lt;br /&gt;
[[File:vnc2.jpg]]&lt;br /&gt;
&lt;br /&gt;
You now see the desktop screen.&lt;br /&gt;
&lt;br /&gt;
[[File:vnc3.jpg]]&lt;br /&gt;
&lt;br /&gt;
________________________&lt;br /&gt;
&lt;br /&gt;
C: Write a script to launch VNC&lt;br /&gt;
&lt;br /&gt;
A script is basically a file containing a list of commands which&lt;br /&gt;
will be executed each time you run it. I put all my scripts in a &lt;br /&gt;
directory below my &amp;quot;home&amp;quot; folder in a folder called scripts.&lt;br /&gt;
&lt;br /&gt;
So, from a Putty session:&lt;br /&gt;
&lt;br /&gt;
{{Code|Code = cd /home/xxxx}}&lt;br /&gt;
&lt;br /&gt;
where xxxx is your Ubuntu username. This command switches us into that directory.&lt;br /&gt;
&lt;br /&gt;
Next we'll create a folder called MyScripts below your home folder. So type:&lt;br /&gt;
&lt;br /&gt;
{{Code|Code = mkdir scripts}}&lt;br /&gt;
&lt;br /&gt;
Switch into the folder we've just created type:&lt;br /&gt;
&lt;br /&gt;
{{Code|Code = cd scripts}}&lt;br /&gt;
&lt;br /&gt;
Next type:&lt;br /&gt;
&lt;br /&gt;
{{Code|Code = vim StartVNC.sh}}&lt;br /&gt;
&lt;br /&gt;
This will create a new file called StartVNC.sh and open it for editing.&lt;br /&gt;
&lt;br /&gt;
Press the i key once and copy and paste the following contents:&lt;br /&gt;
&lt;br /&gt;
{{Code|Code = &lt;br /&gt;
&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
echo &amp;quot;JOB RUN AT $(date)&amp;quot;&lt;br /&gt;
echo &amp;quot;============================&amp;quot;&lt;br /&gt;
echo &amp;quot;&amp;quot;&lt;br /&gt;
/usr/bin/vncserver -geometry 1680x1050&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
NOTE: change the 1680x1050 to match the screen resolution of your Desktop computer&lt;br /&gt;
&lt;br /&gt;
Press the ESC key once and type :wq and press Enter to save. &lt;br /&gt;
&lt;br /&gt;
Next we need to make the file executable so, assuming you called your script StartVNC.sh then you'd type:&lt;br /&gt;
&lt;br /&gt;
{{Code|Code = chmod a+x StartVNC.sh}}&lt;br /&gt;
&lt;br /&gt;
Test the script by typing the following:&lt;br /&gt;
&lt;br /&gt;
{{Code|Code = vncserver -kill :1}}&lt;br /&gt;
&lt;br /&gt;
To make sure vncserver isn't running, then:&lt;br /&gt;
&lt;br /&gt;
{{Code|Code = ./StartVNC.sh}}&lt;br /&gt;
&lt;br /&gt;
A new vnc session should start.&lt;br /&gt;
&lt;br /&gt;
D: Create a cron job in webmin to run the script on boot&lt;br /&gt;
&lt;br /&gt;
Stop vncserver&lt;br /&gt;
&lt;br /&gt;
{{Code|Code = vncserver -kill :1}}&lt;br /&gt;
&lt;br /&gt;
Now open your browser and go to your HDA and click on the webmin app you already installed, click continue to this website at the cert warning.&lt;br /&gt;
&lt;br /&gt;
[[File:webmin1.jpg]]&lt;br /&gt;
&lt;br /&gt;
Enter user and password as required. &lt;br /&gt;
&lt;br /&gt;
[[File:webmin2.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Within Webmin click on System and then Scheduled Cron Jobs in the left column. Then click the Create a new scheduled cron job option at the top of the screen that opens.&lt;br /&gt;
&lt;br /&gt;
Click the button next to the Execute cron job as and choose the username you created when you installed Ubuntu. Hint: your username appears in a Putty/Terminal session prompt. eg. yourusernameappearshere@Myhdaserver.&lt;br /&gt;
&lt;br /&gt;
Type or paste the name of your script including the full path &lt;br /&gt;
&lt;br /&gt;
{{Code|Code = /home/xxxx/scripts/StartVNC.sh &amp;gt;/dev/null}}&lt;br /&gt;
&lt;br /&gt;
into the Command box, replacing xxxx with your own usernam. The &amp;quot;&amp;gt;/dev/null&amp;quot; parameter will discard any output the script may produce.&lt;br /&gt;
&lt;br /&gt;
Enter a suitable description in the Description field.&lt;br /&gt;
&lt;br /&gt;
In the When to Execute - Simple schedule drop-down list choose When system boots then click the Create button at the bottom of the screen.&lt;br /&gt;
&lt;br /&gt;
It should look like this:&lt;br /&gt;
&lt;br /&gt;
[[File:webmin3.jpg]]&lt;br /&gt;
&lt;br /&gt;
First test that you've set the job up correctly within Webmin. You can do this by clicking on the job you've just created from the long list of cron jobs (not checking the box but clicking on the name). In the new window that opens click the Run Now button at the bottom of the screen. You should see a message similar to the one you saw when you tested it from a Putty/Terminal session.&lt;br /&gt;
&lt;br /&gt;
Now let's check the script works on boot. So from the System -&amp;gt; Bootup and Shutdown menu within Webmin scroll down to the bottom of the screen and click the Reboot System button. Alternatively type &lt;br /&gt;
&lt;br /&gt;
{{Code|Code = sudo reboot now -h}}&lt;br /&gt;
&lt;br /&gt;
in a Putty/Terminal session.&lt;br /&gt;
&lt;br /&gt;
After reboot go to your Windows machin and open Tight VNC Viewer and connect to your ubuntu virtual desktop. VNC Server now starts automatically on boot.&lt;br /&gt;
&lt;br /&gt;
That's it you should now have vnc server start on boot and a virtual desktop for your server on another machine.&lt;br /&gt;
&lt;br /&gt;
Most of this information was obtained from: www.havetheknowhow.com.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Alternate Method=&lt;br /&gt;
This is just what I found on how to install a VNC for Ubuntu 12.04LTC after figuring out that TigerVNC (the above methods) do not work for Ubuntu. The method is copied from [http://coddswallop.wordpress.com/2012/05/09/ubuntu-12-04-precise-pangolin-complete-vnc-server-setup/ here]. This will result in the gnome GUI, not Unity.&lt;br /&gt;
&lt;br /&gt;
* First we need to update our repositories and install gnome.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo apt-get update&lt;br /&gt;
sudo apt-get install gnome-core gnome-session-fallback}}&lt;br /&gt;
&lt;br /&gt;
* Next we install VNC4Server. Follow the instructions.&lt;br /&gt;
&lt;br /&gt;
{{Code|sudo apt-get install vnc4server}}&lt;br /&gt;
&lt;br /&gt;
* We need to test the VNC, and then close the session. In the process we are prompted for a password to use everytime we try to connect using our VNC client.&lt;br /&gt;
&lt;br /&gt;
{{Code|vncserver&lt;br /&gt;
vncserver -kill :1}}&lt;br /&gt;
&lt;br /&gt;
* We open the startup file that we need to edit to make gnome show up in the VNC, and not just a terminal:&lt;br /&gt;
&lt;br /&gt;
{{Code|cp .vnc/xstartup .vnc/xstartup.bak&lt;br /&gt;
nano .vnc/xstartup}}&lt;br /&gt;
&lt;br /&gt;
* We edit the file to uncomment the second line, and add &amp;quot;gnome-session -session=gnome-classic &amp;amp;&amp;quot;. So it will look like this:&lt;br /&gt;
&lt;br /&gt;
{{Text|Text=&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;!/bin/sh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt; Uncomment the following two lines for normal desktop:&lt;br /&gt;
unset SESSION_MANAGER&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;exec /etc/X11/xinit/xinitrc&lt;br /&gt;
gnome-session –session=gnome-classic &amp;amp;&lt;br /&gt;
&lt;br /&gt;
[ -x /etc/vnc/xstartup ] &amp;amp;&amp;amp; exec /etc/vnc/xstartup&lt;br /&gt;
[ -r $HOME/.Xresources ] &amp;amp;&amp;amp; xrdb $HOME/.Xresources&lt;br /&gt;
xsetroot -solid grey&lt;br /&gt;
vncconfig -iconic &amp;amp;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;x-terminal-emulator -geometry 80×24+10+10 -ls -title “$VNCDESKTOP Desktop” &amp;amp;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;x-window-manager &amp;amp;&lt;br /&gt;
}}&lt;br /&gt;
* And finally we quit nano and save the file.&lt;br /&gt;
      ctrl + x&lt;br /&gt;
      y (for confirmation that yes, we do want the file to be overwritten with the new information)}}&lt;br /&gt;
* To start the VNC just type the following into a terminal (using something like [[Key-based SSH Logins With Putty|Putty]]. This will start a new VNC session.&lt;br /&gt;
{{Code|vncserver}}&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=VNC&amp;diff=57986</id>
		<title>VNC</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=VNC&amp;diff=57986"/>
		<updated>2012-07-16T04:18:32Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: Added link to Ubuntu VNC page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .8em 1em; background-color: #E6F2FF; margin: 0px 1em;&amp;quot;&amp;gt;&lt;br /&gt;
'''NOTE: there is now a one-click [http://www.amahi.org/apps/vnc VNC App]'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Using VNC to use a remote desktop in the HDA =&lt;br /&gt;
&lt;br /&gt;
Using [http://realvnc.com/ VNC] is useful if:&lt;br /&gt;
&lt;br /&gt;
* You would like a Linux desktop to the HDA remotely&lt;br /&gt;
* You run your HDA headless (no monitor) and like to still use a desktop in it&lt;br /&gt;
* You would like to use a GUI to configure printer(s) or have a scanner or other device that requires a desktop program to configure and the machine is headless&lt;br /&gt;
&lt;br /&gt;
= What you need =&lt;br /&gt;
&lt;br /&gt;
* A server&lt;br /&gt;
* A client&lt;br /&gt;
&lt;br /&gt;
= Client: Installation =&lt;br /&gt;
&lt;br /&gt;
Download the client software and install:&lt;br /&gt;
&lt;br /&gt;
* Windows:  [http://realvnc.com RealVNC], [http://www.uvnc.com UltraVNC], [http://www.tightvnc.com TightVNC]&lt;br /&gt;
* MAC:  [http://sourceforge.net/projects/chicken/ Chicken], [http://cotvnc.sourceforge.net/ Chicken of the VNC] (do not use internal vnc client as there are some issues)&lt;br /&gt;
* For Linux, you have the vncviewer package, available in most, if not all distros.  For Fedora 12, do the following as [[Open_Terminal_as_root|'''root''']] user:&lt;br /&gt;
        yum -y install tigervnc&lt;br /&gt;
&lt;br /&gt;
= Server Installation =&lt;br /&gt;
&lt;br /&gt;
There are various ways to get the server going in your HDA. All of them require the server software.&lt;br /&gt;
# [http://www.amahi.org/apps/VNC VNC]:  one-click install&lt;br /&gt;
# Manually as described below (notes may require some revision)&lt;br /&gt;
&lt;br /&gt;
=== Manual Install ===&lt;br /&gt;
* As root, install the server:&lt;br /&gt;
&lt;br /&gt;
        yum -y install tigervnc-server&lt;br /&gt;
&lt;br /&gt;
== Method 1 ==&lt;br /&gt;
* Open a terminal, become root and install the VNC server (tigervnc-server) as stated in the Manual Install section.&lt;br /&gt;
    When the install has completed, press ctrl-D to end the root session. Leave the terminal open, or open one now.&lt;br /&gt;
&lt;br /&gt;
*The following commands are entered as '''User'''.&lt;br /&gt;
&lt;br /&gt;
* Type vncpasswd and press enter.&lt;br /&gt;
    The system will prompt you for a password. Type a password and press the enter key.&lt;br /&gt;
    The system will prompt you to verify the password. Type the password a second time and press the enter key.&lt;br /&gt;
&lt;br /&gt;
* Type vncserver and press the enter key. The system will create the configuration files. You should see output similar to this:&lt;br /&gt;
      xauth: creating new authority file /home/user/.xauthority&lt;br /&gt;
      New 'host.localdomain:1 (user)' desktop is host.localdomain:1&lt;br /&gt;
      Creating default startup script /home/user/.vnc/xstartup&lt;br /&gt;
      Starting applications specified in /home/user/.xauthority&lt;br /&gt;
      Log file is /home/user/.vnc/host.localdomain:1.log&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* You can edit the configuration files using your choice of editor. Nano is used below.&lt;br /&gt;
    Note that when &amp;quot;user&amp;quot; is shown, you need to enter your user name.&lt;br /&gt;
   &lt;br /&gt;
* Type nano /home/user/.vnc/xstartup and press the enter key. Nano will open the file.&lt;br /&gt;
    Find the following line:&lt;br /&gt;
      twm &amp;amp;&lt;br /&gt;
    Change that line to read:&lt;br /&gt;
      exec gnome-session &amp;amp;&lt;br /&gt;
  This change will open the VNC display with a Gnome desktop, even if the server is starting in Init 3 by default. &lt;br /&gt;
    Press ctrl-X to exit Nano. You will see the prompt at the bottom &amp;quot;Save modified buffer (ANSWERING &amp;quot;No&amp;quot; WILL DESTROY CHANGES) ?&lt;br /&gt;
    Press the Y key. The prompt will change, showing you the file name.&lt;br /&gt;
    Press the enter key, this will store your change and exit Nano.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The following commands are entered as '''Root'''.&lt;br /&gt;
&lt;br /&gt;
* Type su and press the enter key followed by the root password&lt;br /&gt;
&lt;br /&gt;
You can edit the configuration files using your choice of editor. Nano is used below.&lt;br /&gt;
Note that when &amp;quot;username&amp;quot; is shown, you need to enter your user name.&lt;br /&gt;
   &lt;br /&gt;
* Type nano /etc/sysconfig/vncservers and press the enter key. Nano will open the file.&lt;br /&gt;
    Find the following lines:&lt;br /&gt;
      '#' VNCSERVERS=&amp;quot;1:username&amp;quot;&lt;br /&gt;
      '#' VNCSERVERARGS[1]=&amp;quot;-geometry 800x600 -nolisten tcp -localhost&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* Uncomment both lines by removing the # at the beginning of the lines.	&lt;br /&gt;
    Edit the lines so they appear as follows:&lt;br /&gt;
      VNCSERVERS=&amp;quot;1:username&amp;quot;&lt;br /&gt;
      VNCSERVERARGS[1]=&amp;quot;-geometry 1024x768 -nolisten tcp&amp;quot;&lt;br /&gt;
  Enter your username in place of &amp;quot;username&amp;quot;. After &amp;quot;geometry&amp;quot;, you can enter any resolution you desire. You can come back and change this if necessary.&lt;br /&gt;
    Press ctrl-X to exit Nano. You will see the prompt at the bottom &amp;quot;Save modified buffer (ANSWERING &amp;quot;No&amp;quot; WILL DESTROY CHANGES) ?&lt;br /&gt;
    Press the Y key. The prompt will change, showing you the file name.&lt;br /&gt;
    Press the enter key, this will store your change and exit Nano.&lt;br /&gt;
&lt;br /&gt;
* Finally, type chkconfig vncserver on and press the enter key. This will make the VNC server start when the computer starts.&lt;br /&gt;
&lt;br /&gt;
* Press ctrl-D to end the root session, and then press ctrl-D again to close the terminal.&lt;br /&gt;
&lt;br /&gt;
* That's it - Run your VNC Client and enter hda:1 as the host/IP address. You should now see your HDA Desktop screen.&lt;br /&gt;
*If you are interested in more security for your VNC connection, check the link listed below under &amp;quot;General Instructions&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* Repeat the configuration for each user you wish to be able to connect via VNC.&lt;br /&gt;
* Note you can have displays for users 1-9 and each will connect to their VNC session at port 590n (some VNC clients 'know' the 590 part and only have you enter n). Make certain that you have forwarded the correct port(s), or the range 5901 through 5909.&lt;br /&gt;
* Add -localhost to options if you are connecting through a ssh tunnel or only locally. This adds some security.&lt;br /&gt;
&lt;br /&gt;
== Method 2 ==&lt;br /&gt;
* To start the server in your HDA, you need install tigervnc-server rpm package:&lt;br /&gt;
* From the '''root''' user:&lt;br /&gt;
        yum -y install xinetd&lt;br /&gt;
        chkconfig vncserver off&lt;br /&gt;
        service vncserver stop&lt;br /&gt;
* Create /etc/gdm/custom.conf file and add the following:&lt;br /&gt;
        #GDM configuration storage&lt;br /&gt;
        [xdmcp]&lt;br /&gt;
        Enable=true&lt;br /&gt;
        [chooser]&lt;br /&gt;
        [security]&lt;br /&gt;
        DisallowTCP=false&lt;br /&gt;
        [debug]&lt;br /&gt;
* Create /etc/xinetd.d/vnc1024 file and add the following (you can change the screen resolution by changing the geometry setting):&lt;br /&gt;
        service vnc1024&lt;br /&gt;
        {&lt;br /&gt;
        disable = no&lt;br /&gt;
        socket_type = stream&lt;br /&gt;
        protocol = tcp&lt;br /&gt;
        group = tty&lt;br /&gt;
        wait = no&lt;br /&gt;
        user = nobody&lt;br /&gt;
        server = /usr/bin/Xvnc&lt;br /&gt;
        server_args = -inetd -query localhost -geometry 1024×768 -depth 16 -once -fp /usr/share/X11/fonts/misc -securitytypes=none&lt;br /&gt;
        }&lt;br /&gt;
* Edit /etc/services and comment out the two lines as listed below:&lt;br /&gt;
        #vnc-server      5900/tcp                # VNC Server&lt;br /&gt;
        #vnc-server      5900/udp                # VNC Server&lt;br /&gt;
* Add this line below the two lines you commented out and save the changes:&lt;br /&gt;
        vnc1024         5900/tcp                # VNC and GDM&lt;br /&gt;
* Now restart the xinetd service&lt;br /&gt;
        service xinetd restart&lt;br /&gt;
* Run your VNC Client and enter your HDA IP address for host/IP address.  You should now see your HDA Desktop login screen.  If you don't see the login screen, a reboot of the HDA may be required.  This can be done via the dashboard or by executing the following as '''root''' user:&lt;br /&gt;
        reboot now&lt;br /&gt;
&lt;br /&gt;
== Method 3 (the cpg method) ==&lt;br /&gt;
&lt;br /&gt;
* Every time the HDA is rebooted, when VNC is needed, ssh to the HDA&lt;br /&gt;
* The first time without do:&lt;br /&gt;
      vncserver -geometry 1550x1100&lt;br /&gt;
* After the first time, I type vncs. I have an alias in ~/.bashrc:&lt;br /&gt;
      alias vncs='vncserver -geometry 1550x1100 &amp;amp;&amp;gt; /dev/null &amp;amp;';&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
&lt;br /&gt;
* Why that resolution? That fits my monitors with the VNC window and frame enough to not display scrollbars and move around nicely. Change at will!&lt;br /&gt;
* It does involve the dreaded CLI.&lt;br /&gt;
* Since my HDA does not get rebooted often, this is not a huge problem&lt;br /&gt;
&lt;br /&gt;
== Method 4 (Ubuntu) ==&lt;br /&gt;
[http://wiki.amahi.org/index.php/Install_VNC_server_on_Ubuntu_Server_12.04 This] page details two methods for installing a vncserver onto the Ubuntu Server.&lt;br /&gt;
&lt;br /&gt;
= General Instructions =&lt;br /&gt;
More detailed instructions are available [http://www.g-loaded.eu/2005/11/10/configure-vnc-server-in-fedora/ here].&lt;br /&gt;
&lt;br /&gt;
= Troubleshooting for Vista =&lt;br /&gt;
&lt;br /&gt;
This helpful page has helped with [http://www.windowsreference.com/internet-explorer/windows-has-blocked-this-software-because-it-cant-verify-the-publisher/ blocking VNC]&lt;br /&gt;
&lt;br /&gt;
= Images for the App =&lt;br /&gt;
[[Image:VNC-logo.png]]&lt;br /&gt;
[[Image:VNC-sshot.png]]&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=McMyAdmin&amp;diff=57980</id>
		<title>McMyAdmin</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=McMyAdmin&amp;diff=57980"/>
		<updated>2012-07-16T04:07:11Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: Below instructions are for Fedora. Ubuntu users replace all &amp;quot;yum&amp;quot;s with &amp;quot;apt-get&amp;quot;s. So:&lt;br /&gt;
&lt;br /&gt;
{{Code|yum install mono-basic}}&lt;br /&gt;
&lt;br /&gt;
becomes&lt;br /&gt;
&lt;br /&gt;
{{Code|apt-get install mono-basic}}&lt;br /&gt;
&lt;br /&gt;
=Installing McMyAdmin=&lt;br /&gt;
&lt;br /&gt;
Minecraft server with web-based front end for server management.&lt;br /&gt;
&lt;br /&gt;
* Install dependencies&lt;br /&gt;
{{Code|yum install mono-basic&lt;br /&gt;
yum install java-1.6.0-openjdk java-1.6.0-openjdk-plugin-1}}&lt;br /&gt;
* Get and install McMyAdmin&lt;br /&gt;
{{Code|mkdir /var/hda/web-apps/mcmyadmin&lt;br /&gt;
wget -P /var/hda/web-apps/mcmyadmin http://www.phonicuk.com/Downloads/McMyAdmin-latest.zip&lt;br /&gt;
unzip /var/hda/web-apps/mcmyadmin/McMyAdmin-latest.zip -d /var/hda/web-apps/mcmyadmin/&lt;br /&gt;
chown -R apache:users /var/hda/web-apps/mcmyadmin&lt;br /&gt;
chmod +x /var/hda/web-apps/mcmyadmin/start.sh}}&lt;br /&gt;
* Start McMyAdmin and Minecraft server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin&lt;br /&gt;
./start.sh}}&lt;br /&gt;
and wait for it to download the latest Minecraft server.  Once done stop it with '''&amp;lt;Ctrl-C&amp;gt;''' and run the following.&lt;br /&gt;
{{Code|nohup ./start.sh &amp;amp;}}&lt;br /&gt;
&lt;br /&gt;
The web interface runs on port 8080 by default account admin/admin:&lt;br /&gt;
{{Link|http://localhost:8080}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default the web interface can only be accessed from the machine it is running on. To make it available from another machine the entry passwordmd5 in McMyAdmin.conf.default must be changed. This can be done on the localhost:8080 link by changing the default password from &amp;quot;admin&amp;quot; to something else.&lt;br /&gt;
&lt;br /&gt;
==Installing the Minecraft Server==&lt;br /&gt;
&lt;br /&gt;
The Minecraft server is included with McMyAdmin and runs on port 25565 by default. After users have properly forwarded ports to the Amahi server Minecraft players will be able to use the HDA URL to connect to the server.&lt;br /&gt;
&lt;br /&gt;
Cronjob will need to be set for autostart on boot. Amahi may also be able to monitor this server to make sure it is running, similar to other services.&lt;br /&gt;
&lt;br /&gt;
==Installing the Tekkit Server==&lt;br /&gt;
&lt;br /&gt;
'''''To logon to a Tekkit server the user must use the [http://www.technicpack.net/launcher/ Technic Launcher] and not the default MineCraft app.'''''&lt;br /&gt;
&lt;br /&gt;
[http://www.technicpack.net/tekkit/ Tekkit] is a collection of Minecraft mods that allows for more advanced gameplay. The purpose of this tutorial is to illustrate the installation of Tekkit on your HDA. All commands below are for the terminal. The instructions are taken from [http://www.youtube.com/watch?v=u8-uGqSyaMo this] fine YouTube video.&lt;br /&gt;
*Navigate to the default hda web-apps folder&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin}}&lt;br /&gt;
*Create a folder for Tekkit and get in the folder:&lt;br /&gt;
{{Code|mkdir tekkit&lt;br /&gt;
cd tekkit}}&lt;br /&gt;
*Download the latest Tekkit server zip file from [http://www.technicpack.net/tekkit/ here]. Replace my link below with your own latest one.&lt;br /&gt;
{{Code|wget http://mirror.technicpack.net/files/Tekkit_Server_3.0.4.zip}}&lt;br /&gt;
*Extract the zip file with unzip. Replace name of file with your own latest one.&lt;br /&gt;
{{Code|yum install unzip&lt;br /&gt;
ls&lt;br /&gt;
unzip Tekkit_Server_3.0.4.zip}}&lt;br /&gt;
*Create startup script for Tekkit. Note that 1500M stands for the number of megabytes of ram you are letting Tekkit use potentially. The 512M stands for the number of megabytes of ram you let Java use at startup.&lt;br /&gt;
{{Code|nano start.sh}}&lt;br /&gt;
&lt;br /&gt;
{{Text|Text=#!/bin/sh&lt;br /&gt;
sh -Xmx 1500M -Xms512M -jar Tekkit.jar}}&lt;br /&gt;
*Give permissions to the script.&lt;br /&gt;
{{Code|chmod +x start.sh}}&lt;br /&gt;
*Start Tekkit&lt;br /&gt;
{{Code|./start.sh}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The default port is 25565. This will be edited below.&lt;br /&gt;
&lt;br /&gt;
=Tekkit with McMyAdmin=&lt;br /&gt;
&lt;br /&gt;
* Before continuing, you must start Tekkit and stop it after Tekkit has completely loaded. This will create essential files.&lt;br /&gt;
{{Code|cd /var/hda/web-apps/tekkit&lt;br /&gt;
./start.sh&lt;br /&gt;
stop}}&lt;br /&gt;
* You must also do the same thing with McMyAdmin&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin&lt;br /&gt;
mono McMyAdmin.exe&lt;br /&gt;
stop}}&lt;br /&gt;
&lt;br /&gt;
For the purposes of this tutorial, it is assumed that both McMyAdmin and Tekkit have been installed and started/stopped as outlined above. We need to copy the Tekkit files into McMyAdmin. I used the GUI here and am unfamiliar with the terminal commands.&lt;br /&gt;
&lt;br /&gt;
* Go into the Tekkit folder, rename Tekkit.jar to craftbukkit.jar&lt;br /&gt;
&lt;br /&gt;
==Tekkit and Minecraft Vanilla Coexisting in McMyAdmin==&lt;br /&gt;
&lt;br /&gt;
* Follow the McMyAdmin tutorial above, except name the McMyAdmin folder &amp;quot;McMA_Vanilla&amp;quot;. Replace all &amp;quot;McMyAdmin&amp;quot; with &amp;quot;McMA_Vanilla&amp;quot; as needed.&lt;br /&gt;
* Create a folder called MineCraft.&lt;br /&gt;
{{Code|mkdir /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Copy (not move) McMA_Vanilla into the MineCraft folder.&lt;br /&gt;
{{Code|cp -fr /var/hda/web-apps/McMA_Vanilla /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Rename the original McMA_Vanilla to McMA_Tekkit.&lt;br /&gt;
* Move McMA_Tekkit into MineCraft folder.&lt;br /&gt;
{{Code|mv /var/hda/web-apps/McMA_Tekkit /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Follow the Tekkit tutorial above.&lt;br /&gt;
* Rename the Tekkit.jar file to craftbukkit.jar, AFTER having started and stopped the Tekkit and MineCraft servers at least once as outlined above.&lt;br /&gt;
{{Code|cd /var/hda/web-apps/tekkit&lt;br /&gt;
RENAME command}}&lt;br /&gt;
* Copy the contents of the tekkit folder into the McMA_Tekkit/Minecraft folder, merge and replace all files as needed.&lt;br /&gt;
* Delete the now empty tekkit directory&lt;br /&gt;
{{Code|rm -fr /var/hda/web-apps/tekkit}}&lt;br /&gt;
* Now we must edit the ports so that both McMyAdmin servers can run at the same time:&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit&lt;br /&gt;
nano /McMyAdmin.conf&lt;br /&gt;
Change webserver.port=8080 (line 71) to webserver.port=8081&lt;br /&gt;
Change server.address=localhost:25565 (line 152) to server.address=localhost:25665}}&lt;br /&gt;
{{Code|ctrl+x&lt;br /&gt;
y (to confirm save)&lt;br /&gt;
enter}}&lt;br /&gt;
* And the same must be done with the MineCraft servers&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit/Minecraft&lt;br /&gt;
nano server.properties&lt;br /&gt;
Change server-port 25565 (line 8) to server-port 25665&lt;br /&gt;
ctrl+x&lt;br /&gt;
y (to confirm save)}}&lt;br /&gt;
* Start the Tekkit server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit&lt;br /&gt;
mono McMyAdmin.exe}}&lt;br /&gt;
* In a new terminal, start the Vanilla server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Vanilla&lt;br /&gt;
mono McMyAdmin.exe}}&lt;br /&gt;
&lt;br /&gt;
=Access McMyAdmin=&lt;br /&gt;
* For the Tekkit McMyAdmin:&lt;br /&gt;
{{Code|hda:8081}}&lt;br /&gt;
* For the Vanilla McMyAdmin:&lt;br /&gt;
{{Code|hda:8080}}&lt;br /&gt;
&lt;br /&gt;
=Join MineCraft Server with Client=&lt;br /&gt;
* For the Tekkit server:&lt;br /&gt;
{{Code|(hda IP):25665}}&lt;br /&gt;
* For the Vanilla server:&lt;br /&gt;
{{Code|(hda IP):25565}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Apps]]&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=McMyAdmin&amp;diff=57974</id>
		<title>McMyAdmin</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=McMyAdmin&amp;diff=57974"/>
		<updated>2012-07-16T04:03:02Z</updated>

		<summary type="html">&lt;p&gt;Sc4s2cg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: Below instructions are for Fedora. Ubuntu users replace all &amp;quot;yum&amp;quot;s with &amp;quot;apt-get&amp;quot;s. So:&lt;br /&gt;
&lt;br /&gt;
{{Code|yum install mono-basic}}&lt;br /&gt;
&lt;br /&gt;
becomes&lt;br /&gt;
&lt;br /&gt;
{{Code|apt-get install mono-basic}}&lt;br /&gt;
&lt;br /&gt;
=Installing McMyAdmin=&lt;br /&gt;
&lt;br /&gt;
Minecraft server with web-based front end for server management.&lt;br /&gt;
&lt;br /&gt;
* Install dependencies&lt;br /&gt;
{{Code|yum install mono-basic&lt;br /&gt;
yum install java-1.6.0-openjdk java-1.6.0-openjdk-plugin-1}}&lt;br /&gt;
* Get and install McMyAdmin&lt;br /&gt;
{{Code|mkdir /var/hda/web-apps/mcmyadmin&lt;br /&gt;
wget -P /var/hda/web-apps/mcmyadmin http://www.phonicuk.com/Downloads/McMyAdmin-latest.zip&lt;br /&gt;
unzip /var/hda/web-apps/mcmyadmin/McMyAdmin-latest.zip -d /var/hda/web-apps/mcmyadmin/&lt;br /&gt;
chown -R apache:users /var/hda/web-apps/mcmyadmin&lt;br /&gt;
chmod +x /var/hda/web-apps/mcmyadmin/start.sh}}&lt;br /&gt;
* Start McMyAdmin and Minecraft server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin&lt;br /&gt;
./start.sh}}&lt;br /&gt;
and wait for it to download the latest Minecraft server.  Once done stop it with '''&amp;lt;Ctrl-C&amp;gt;''' and run the following.&lt;br /&gt;
{{Code|nohup ./start.sh &amp;amp;}}&lt;br /&gt;
&lt;br /&gt;
The web interface runs on port 8080 by default account admin/admin:&lt;br /&gt;
{{Link|http://localhost:8080}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default the web interface can only be accessed from the machine it is running on. To make it available from another machine the entry passwordmd5 in McMyAdmin.conf.default must be changed.&lt;br /&gt;
&lt;br /&gt;
==Installing the Minecraft Server==&lt;br /&gt;
&lt;br /&gt;
The Minecraft server is included with McMyAdmin and runs on port 25565 by default. After users have properly forwarded ports to the Amahi server Minecraft players will be able to use the HDA URL to connect to the server.&lt;br /&gt;
&lt;br /&gt;
Cronjob will need to be set for autostart on boot. Amahi may also be able to monitor this server to make sure it is running, similar to other services.&lt;br /&gt;
&lt;br /&gt;
==Installing the Tekkit Server==&lt;br /&gt;
&lt;br /&gt;
'''''To logon to a Tekkit server the user must use the [http://www.technicpack.net/launcher/ Technic Launcher] and not the default MineCraft app.'''''&lt;br /&gt;
&lt;br /&gt;
[http://www.technicpack.net/tekkit/ Tekkit] is a collection of Minecraft mods that allows for more advanced gameplay. The purpose of this tutorial is to illustrate the installation of Tekkit on your HDA. All commands below are for the terminal. The instructions are taken from [http://www.youtube.com/watch?v=u8-uGqSyaMo this] fine YouTube video.&lt;br /&gt;
*Navigate to the default hda web-apps folder&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin}}&lt;br /&gt;
*Create a folder for Tekkit and get in the folder:&lt;br /&gt;
{{Code|mkdir tekkit&lt;br /&gt;
cd tekkit}}&lt;br /&gt;
*Download the latest Tekkit server zip file from [http://www.technicpack.net/tekkit/ here]. Replace my link below with your own latest one.&lt;br /&gt;
{{Code|wget http://mirror.technicpack.net/files/Tekkit_Server_3.0.4.zip}}&lt;br /&gt;
*Extract the zip file with unzip. Replace name of file with your own latest one.&lt;br /&gt;
{{Code|yum install unzip&lt;br /&gt;
ls&lt;br /&gt;
unzip Tekkit_Server_3.0.4.zip}}&lt;br /&gt;
*Create startup script for Tekkit. Note that 1500M stands for the number of megabytes of ram you are letting Tekkit use potentially. The 512M stands for the number of megabytes of ram you let Java use at startup.&lt;br /&gt;
{{Code|nano start.sh}}&lt;br /&gt;
&lt;br /&gt;
{{Text|Text=#!/bin/sh&lt;br /&gt;
sh -Xmx 1500M -Xms512M -jar Tekkit.jar}}&lt;br /&gt;
*Give permissions to the script.&lt;br /&gt;
{{Code|chmod +x start.sh}}&lt;br /&gt;
*Start Tekkit&lt;br /&gt;
{{Code|./start.sh}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The default port is 25565. This will be edited below.&lt;br /&gt;
&lt;br /&gt;
=Tekkit with McMyAdmin=&lt;br /&gt;
&lt;br /&gt;
* Before continuing, you must start Tekkit and stop it after Tekkit has completely loaded. This will create essential files.&lt;br /&gt;
{{Code|cd /var/hda/web-apps/tekkit&lt;br /&gt;
./start.sh&lt;br /&gt;
stop}}&lt;br /&gt;
* You must also do the same thing with McMyAdmin&lt;br /&gt;
{{Code|cd /var/hda/web-apps/mcmyadmin&lt;br /&gt;
mono McMyAdmin.exe&lt;br /&gt;
stop}}&lt;br /&gt;
&lt;br /&gt;
For the purposes of this tutorial, it is assumed that both McMyAdmin and Tekkit have been installed and started/stopped as outlined above. We need to copy the Tekkit files into McMyAdmin. I used the GUI here and am unfamiliar with the terminal commands.&lt;br /&gt;
&lt;br /&gt;
* Go into the Tekkit folder, rename Tekkit.jar to craftbukkit.jar&lt;br /&gt;
&lt;br /&gt;
==Tekkit and Minecraft Vanilla Coexisting in McMyAdmin==&lt;br /&gt;
&lt;br /&gt;
* Follow the McMyAdmin tutorial above, except name the McMyAdmin folder &amp;quot;McMA_Vanilla&amp;quot;. Replace all &amp;quot;McMyAdmin&amp;quot; with &amp;quot;McMA_Vanilla&amp;quot; as needed.&lt;br /&gt;
* Create a folder called MineCraft.&lt;br /&gt;
{{Code|mkdir /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Copy (not move) McMA_Vanilla into the MineCraft folder.&lt;br /&gt;
{{Code|cp -fr /var/hda/web-apps/McMA_Vanilla /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Rename the original McMA_Vanilla to McMA_Tekkit.&lt;br /&gt;
* Move McMA_Tekkit into MineCraft folder.&lt;br /&gt;
{{Code|mv /var/hda/web-apps/McMA_Tekkit /var/hda/web-apps/MineCraft}}&lt;br /&gt;
* Follow the Tekkit tutorial above.&lt;br /&gt;
* Rename the Tekkit.jar file to craftbukkit.jar, AFTER having started and stopped the Tekkit and MineCraft servers at least once as outlined above.&lt;br /&gt;
{{Code|cd /var/hda/web-apps/tekkit&lt;br /&gt;
RENAME command}}&lt;br /&gt;
* Copy the contents of the tekkit folder into the McMA_Tekkit/Minecraft folder, merge and replace all files as needed.&lt;br /&gt;
* Delete the now empty tekkit directory&lt;br /&gt;
{{Code|rm -fr /var/hda/web-apps/tekkit}}&lt;br /&gt;
* Now we must edit the ports so that both McMyAdmin servers can run at the same time:&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit&lt;br /&gt;
nano /McMyAdmin.conf&lt;br /&gt;
Change webserver.port=8080 (line 71) to webserver.port=8081&lt;br /&gt;
Change server.address=localhost:25565 (line 152) to server.address=localhost:25665}}&lt;br /&gt;
{{Code|ctrl+x&lt;br /&gt;
y (to confirm save)&lt;br /&gt;
enter}}&lt;br /&gt;
* And the same must be done with the MineCraft servers&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit/Minecraft&lt;br /&gt;
nano server.properties&lt;br /&gt;
Change server-port 25565 (line 8) to server-port 25665&lt;br /&gt;
ctrl+x&lt;br /&gt;
y (to confirm save)}}&lt;br /&gt;
* Start the Tekkit server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Tekkit&lt;br /&gt;
mono McMyAdmin.exe}}&lt;br /&gt;
* In a new terminal, start the Vanilla server&lt;br /&gt;
{{Code|cd /var/hda/web-apps/MineCraft/McMA_Vanilla&lt;br /&gt;
mono McMyAdmin.exe}}&lt;br /&gt;
&lt;br /&gt;
=Access McMyAdmin=&lt;br /&gt;
* For the Tekkit McMyAdmin:&lt;br /&gt;
{{Code|hda:8081}}&lt;br /&gt;
* For the Vanilla McMyAdmin:&lt;br /&gt;
{{Code|hda:8080}}&lt;br /&gt;
&lt;br /&gt;
=Join MineCraft Server with Client=&lt;br /&gt;
* For the Tekkit server:&lt;br /&gt;
{{Code|(hda IP):25665}}&lt;br /&gt;
* For the Vanilla server:&lt;br /&gt;
{{Code|(hda IP):25565}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Apps]]&lt;/div&gt;</summary>
		<author><name>Sc4s2cg</name></author>
		
	</entry>
</feed>