For some reason I struggled installing Ignition on Ubuntu 12.10 using the instructions from the main website. I did manage to get it going using bits of info from various other places including this excellent forum. Once I finished I thought I’d re-contribute and give a step by step of installing the Ignition gateway on 12.10, just so all the info is in one place. I’m not saying this is the most secure or efficient way of doing things. This is just for a test install in a virtual machine, but if you want to have a play with the demo then it should work for you.
If I’m doing anything totally wrong, please let me know! I used the 64bit Desktop version for this (ubuntu-12.10-desktop-amd64.iso)
These are the steps I took:
[li]Install VMWare Tools(if required)[/li]
[li]Install OpenSSH (not required but useful)[/li]
[li]Install MySQL/PHP/PHPMyAdmin [/li]
Create image from downloaded Ubuntu ISO and insert disk (or just select ISO for VM install). Boot up and select Install Ubuntu.
If internet connection is available, select download updates while installing.
Select Erase Disk and Install Ubuntu then continue.
Select Timezone/Keyboard Layout
Set username and password, select automatically login.
When Ubuntu has finished installing restart when prompted.
Ubuntu should now boot up to the desktop. The first task is to update everything to the latest version, go to Dash Home which is the top left hand icon and search for update. Then select the Software Updater application.
Select Install Now, you will be prompted for your password and then the download/upgrades should begin. You will probably need to restart when this is finished.
If you are running this in a virtual machine, you now want to install VMware tools.
Select Install VMWare tools from your VMWare Virtual Machine menu, this should mount the VMWare Tools cdrom.
We will do the rest from the terminal. To access the terminal goto Dash Home and type terminal then select the terminal icon.
Now we should should have the command prompt in the terminal window.
Issue the following commands, substitute ignition for the username you created earlier.
cd /media cd ignition cd VMware\ Tools/ sudo CP VM*.tar.gz /tmp sudo apt-get install linux-headers-server build-essential cd /tmp sudo tar xzvf VM*.tar.gz cd vmware-tools-distrib sudo mkdir /usr/lib64 sudo ./vmware-install.pl -d sudo reboot
Your machine should reboot back to the desktop.
Next task - Install OpenSSH, this we will do from the terminal. To access the terminal goto Dash Home and type terminal then select the terminal icon.
Issue the following command to install openssh:
sudo apt-get install openssh-server
Now we will change a couple of the options to give a little more security to the SSH server.
Edit the SSH config file using the following command.
sudo nano -w /etc/ssh/sshd_config
Use arrow keys to get around and find
change the yes to a no.
Under that line add the following: (substitute ignition for the user you created earlier)
AllowUsers ignition[/code] Press CTRL-X followed by Y and then enter to save the file. Enter the following command: [code] service ssh restart [/code] Now lets install LAMP to get Apache web server MySQL and PHP on the server, we will install PHPMyAdmin at the same time to give us a web based MySQL database manager. In the terminal type: [code] sudo apt-get install lamp-server^ phpmyadmin [/code] Set the MySQL root password when asked, keep a note of this and do not forget it! Select Apache2 as the web server to run PHPMyAdmin Configure PHPMyAdmin with the root password. [img]http://i720.photobucket.com/albums/ww207/defenderpics/IgUb/f964f6649875f5f74ccd36165047ed44.png[/img] Create a phpinfo page to test the web server and check PHP/MySQL is installed. In the terminal: [code] sudo nano -w /var/www/info.php [/code] This is creating a new file called info.php, please enter the following code into it [code] <?phpphpinfo(); ?> [/code] Then hit CTRL-X then Y and enter to save the file. [img]http://i720.photobucket.com/albums/ww207/defenderpics/IgUb/8af534d864531e7bab5dac954a3753f2.png[/img] Restart the apache webserver with the following command: [code] sudo /etc/init.d/apache2 restart [/code] Open firefox and type the following into the address bar to check everything is all OK: [localhost/info.php](http://localhost/info.php) You should get the PHP info page which lets you know lots of good stuff! [img]http://i720.photobucket.com/albums/ww207/defenderpics/IgUb/70c75df5d6298a6688df05bc487a8e13.png[/img] Try PHPMyAdmin in firefox [localhost/phpmyadmin](http://localhost/phpmyadmin) [img]http://i720.photobucket.com/albums/ww207/defenderpics/IgUb/b5784d7fad661eeae93888646e0c3fc7.png[/img] Install Java, Lets use OpenJDK7 as there seems to be utter confusion about which version to use, but this works for me! Back to the terminal window: [code] sudo apt-get install openjdk-7-jre [/code] Install JavaWS, this enables your browser to launch java files.. [code] sudo apt-get install icedtea-netx [/code] Install the Ignition gateway: Back to the terminal [code] wget http://archive.inductiveautomation.com/ia.public.keysudo apt-key add ia.public.key sudo apt-key add ia.public.key sudo nano /etc/apt/sources.list [/code] Add the following lines to the bottom of the file: [code]deb http://archive.inductiveautomation.com/apt ignition non-free deb http://archive.inductiveautomation.com/apt ignition-beta non-free
CTRL-X then Y to save
Do the actual install:
sudo apt-get update sudo apt-get install ignition
OK, should be done now go to firefox and type localhost:8088 into the address bar.