Difference between revisions of "Installing HADesigner"

From LinuxMCE
Jump to: navigation, search
(Added OSX instructions)
Line 4: Line 4:
 
== For those who already know what they're doing ==
 
== For those who already know what they're doing ==
  
 +
=== Common task to be done on core ===
 +
* Add a grant to allow your HADesigner box to access your Core, make up a username and password....  (You will need to open a shell and start mysql with: mysql pluto_main -uroot)
 +
* In the following code example replace user with your username and password with your password from the step above and .xxx (last 3 of your machines IP)
 +
* The single quotation marks around user, your windows IP (192.168.80.xxx) and password and the semi-colon (;) at the end of each line are all required
 +
USE mysql;
 +
GRANT ALL PRIVILEGES ON pluto_main.* TO 'user'@'192.168.80.xxx' IDENTIFIED BY 'password';
 +
FLUSH PRIVILEGES;
 +
 +
=== On Windows ===
 
The instructions must be performed on a Windows machine, preferrably one running Windows 2000 or later. (Tested and works on Vista 32bit)
 
The instructions must be performed on a Windows machine, preferrably one running Windows 2000 or later. (Tested and works on Vista 32bit)
  
Line 9: Line 18:
 
* Install the Microsoft .NET ODBC Data Provider [http://www.microsoft.com/downloads/details.aspx?FamilyID=6ccd8427-1017-4f33-a062-d165078e32b1&displaylang=en Download Link]
 
* Install the Microsoft .NET ODBC Data Provider [http://www.microsoft.com/downloads/details.aspx?FamilyID=6ccd8427-1017-4f33-a062-d165078e32b1&displaylang=en Download Link]
 
* Install the MyODBC Adaptor [http://dev.mysql.com/downloads/connector/odbc/3.51.html Download Link]
 
* Install the MyODBC Adaptor [http://dev.mysql.com/downloads/connector/odbc/3.51.html Download Link]
* Add a grant to allow your HADesigner box to access your Core, make up a username and password....  (You will need to open a shell and start mysql with: mysql pluto_main -uroot)
+
* While installing the myodbc adaptor, use the '''user''' and '''password''' you specified in the GRANT to test the connection from the installer and make sure it works correctly.
* In the following code example replace odbcuser with your username and odbcpassword with your password from the step above and .xxx (last 3 of your machines IP)
+
* Create a System DSN using the ODBC Administrator, called linuxmce, using the '''user''' and password you specified above, and use '''pluto_main''' as the database. (This is under "Control Panel" -> "Administrative Tools" -> "Data Sources (ODBC)" You may need to enable the "Classic" view in the explorer shell for the "Control Panel" "folder")
* The single quotation marks around odbcuser, your windows IP (192.168.80.xxx) and odbcpassword and the semi-colon (;) at the end of each line are all required
+
USE mysql;
+
GRANT ALL PRIVILEGES ON pluto_main.* TO 'odbcuser'@'192.168.80.xxx' IDENTIFIED BY 'odbcpassword';
+
FLUSH PRIVILEGES;
+
 
+
* While installing the myodbc adaptor, use the '''odbcuser''' and '''odbcpassword''' you specified in the GRANT to test the connection from the installer and make sure it works correctly.
+
* Create a System DSN using the ODBC Administrator, called linuxmce, using the '''odbcuser''' and password you specified above, and use '''pluto_main''' as the database. (This is under "Control Panel" -> "Administrative Tools" -> "Data Sources (ODBC)" You may need to enable the "Classic" view in the explorer shell for the "Control Panel" "folder")
+
 
* Copy the files from /usr/pluto/orbiter/skins to C:\PlutoSkins on your HADesigner box. This is so that you can see the skin graphics correctly, as they are only stored with relative paths within the database.
 
* Copy the files from /usr/pluto/orbiter/skins to C:\PlutoSkins on your HADesigner box. This is so that you can see the skin graphics correctly, as they are only stored with relative paths within the database.
 
* Download and unpack the HADesigner ZIP. [http://www.zeebop.com/data/linuxmce/designer19_02_2007.zip Download Link], decompress it into some directory, say "C:\HADesigner".
 
* Download and unpack the HADesigner ZIP. [http://www.zeebop.com/data/linuxmce/designer19_02_2007.zip Download Link], decompress it into some directory, say "C:\HADesigner".
Line 36: Line 38:
 
Once in that hive, edit the ConnectionKey to correct the dababase login.  Your data should look something similar to the following, only instead of the odbcuser and odbcpassword, replace with yours created above:
 
Once in that hive, edit the ConnectionKey to correct the dababase login.  Your data should look something similar to the following, only instead of the odbcuser and odbcpassword, replace with yours created above:
 
   
 
   
         '''driver={MySQL ODBC 3.51 Driver};server=dcerouter;uid=odbcuser;password=odbcpassword;database=pluto_main;'''
+
         '''driver={MySQL ODBC 3.51 Driver};server=dcerouter;uid=user;password=password;database=pluto_main;'''
  
 
Now HADESigner should find your correct database and work properly.
 
Now HADESigner should find your correct database and work properly.
 +
 +
=== On Mac OSX (tested on snow leopard) ===
 +
* Install the latest MONO Framework for OXS [http://www.go-mono.com/mono-downloads/download.html Download Link]
 +
* Copy the files from /usr/pluto/orbiter/skins to /PlutoSkins on your HADesigner box. This is so that you can see the skin graphics correctly, as they are only stored with relative paths within the database.
 +
* Download and unpack the HADesigner ZIP. [http://www.zeebop.com/data/linuxmce/designer19_02_2007.zip Download Link], decompress it into some directory, say "C:\HADesigner".
 +
* Open a terminal Window and change to the directory where you extracted the HADesigner files.
 +
* Start HAdesigner by typing:
 +
'''mono HADesigner.exe'''
 +
 +
With all of this done, the HADesigner should now work.
 +
  
  

Revision as of 12:57, 12 August 2010

HADesigner allows user interfaces to be manipulated in an existing LinuxMCE installation. However its install process is not immediately intuitive.

For those who already know what they're doing

Common task to be done on core

  • Add a grant to allow your HADesigner box to access your Core, make up a username and password.... (You will need to open a shell and start mysql with: mysql pluto_main -uroot)
  • In the following code example replace user with your username and password with your password from the step above and .xxx (last 3 of your machines IP)
  • The single quotation marks around user, your windows IP (192.168.80.xxx) and password and the semi-colon (;) at the end of each line are all required
USE mysql; 
GRANT ALL PRIVILEGES ON pluto_main.* TO 'user'@'192.168.80.xxx' IDENTIFIED BY 'password';
FLUSH PRIVILEGES;

On Windows

The instructions must be performed on a Windows machine, preferrably one running Windows 2000 or later. (Tested and works on Vista 32bit)

  • Install the Microsoft .NET Framework, version 1.1 Download Link
  • Install the Microsoft .NET ODBC Data Provider Download Link
  • Install the MyODBC Adaptor Download Link
  • While installing the myodbc adaptor, use the user and password you specified in the GRANT to test the connection from the installer and make sure it works correctly.
  • Create a System DSN using the ODBC Administrator, called linuxmce, using the user and password you specified above, and use pluto_main as the database. (This is under "Control Panel" -> "Administrative Tools" -> "Data Sources (ODBC)" You may need to enable the "Classic" view in the explorer shell for the "Control Panel" "folder")
  • Copy the files from /usr/pluto/orbiter/skins to C:\PlutoSkins on your HADesigner box. This is so that you can see the skin graphics correctly, as they are only stored with relative paths within the database.
  • Download and unpack the HADesigner ZIP. Download Link, decompress it into some directory, say "C:\HADesigner".
  • Launch HADesigner, and in the configuration dialogue box that appears, enter the following information:
    • Skins Directory: C:\PlutoSkins
    • Database Connection: dsn=linuxmce

With all of this done, the HADesigner should now work.


If you run HADESigner after following these steps and it is trying to connect to the local machine instead of the core for the database, you must edit the registry to correct a wrong entry that somehow got inserted. The steps are as follows:

  1. Run regedit from the run option on you windows machine
  2. Go to the following hive:
        Computer\HKEY_CURRENT_USER\Software\Pluto\OrbiterDesigner

Once in that hive, edit the ConnectionKey to correct the dababase login. Your data should look something similar to the following, only instead of the odbcuser and odbcpassword, replace with yours created above:

        driver={MySQL ODBC 3.51 Driver};server=dcerouter;uid=user;password=password;database=pluto_main;

Now HADESigner should find your correct database and work properly.

On Mac OSX (tested on snow leopard)

  • Install the latest MONO Framework for OXS Download Link
  • Copy the files from /usr/pluto/orbiter/skins to /PlutoSkins on your HADesigner box. This is so that you can see the skin graphics correctly, as they are only stored with relative paths within the database.
  • Download and unpack the HADesigner ZIP. Download Link, decompress it into some directory, say "C:\HADesigner".
  • Open a terminal Window and change to the directory where you extracted the HADesigner files.
  • Start HAdesigner by typing:
mono HADesigner.exe

With all of this done, the HADesigner should now work.


Tutorial Screencasts

Basics

Advanced