Mini-DCE eibd
From LinuxMCE
Revision as of 21:35, 17 August 2011 by Rages (Talk | contribs) (Created page with "= Install on Pandaboard (Rages) = I installed the Standalone DCE in a pandaboard with Ubuntu 11.04, these are the steps I followed: * Install apache2 php5 and mysql, option php...")
Install on Pandaboard (Rages)
I installed the Standalone DCE in a pandaboard with Ubuntu 11.04, these are the steps I followed:
- Install apache2 php5 and mysql, option phpmyadmin
° sudo apt-get install apache2 ° sudo apt-get install php5 libapache2-mod-php5 ° sudo apt-get install mysql-server mysql-client ° sudo apt-get install libapache2-mod-auth-mysql php5-mysql ° in option sudo apt-get install phpmyadmin, sudo ln -s /usr/share/phpmyadmin /var/www/phpmyadmin, You will need to edit /etc/phpmyadmin/config.inc.php and delete "//" from: // $cfg['Servers'][$i]['AllowNoPassword'] = TRUE;
- Install build requirements
° sudo apt-get install build-essential g++ libmysqlclient15-dev libattr1-dev libxml2-dev
- Download the source
° mkdir -p /home/public/arm-pandaboard ° cd /home/public/arm-pandaboard ° svn co http://svn.linuxmce.org/svn/people/hari/mini/
- Make
° cd /home/public/arm-pandaboard/mini/src/ ° edit Makefile and delete AEt_EMC2000. I needed a bin file of EIB-eibd and I added this to the makefile, but we must have installed eibd. ° make ° now copy the bin directory in /usr/pluto/bin and in /opt/pluto/bin
- Import the database
° go in /home/public/arm-pandaboard/mini/dumps and run ./import.sh
- Run mini-install.sh
° go in /home/public/arm-pandaboard/mini/installer and run ./mini-install.sh
- Install lmce_admin
° download the source, go in /var/www/ and sudo svn co http://svn.linuxmce.org/svn/branches/LinuxMCE-0810/web/lmce-admin ° now for simplicity we can use phpMyAdmin, and see in the database pluto_main the table Users and Installers and insert the data of our users, your password should be md5, then (thanks Possy) in mysql:
"update Users set password = md5 ('your-password) where PK_Users = 1;"
° in Installers_Users modifiy userCanModifyInstallation at 1 and you check that FK_users and FK_Installation match PK_Users and PK_Installetion in tables Users and Installetion.