The aim of this document is show how to install the entire abiCloud platform in a computer
Requirements
- 2 Eclipse J2EE installation (1 for development and 1 for Flex )
- Plugins installation (Flex Builder and other plugins like Subclipse)
- Tomcat 6
- [MySQL] database
Overview
The abiCloud plattform is composed of different modules. Here's a general overview.
Installation steps
1. First, download the different components that comprise abiCloud from abiCloud Subversion repository ( only basic modules svn url's are shown in this document ):
- abicloud_client
https://abicloud.svn.sourceforge.net/svnroot/abicloud/trunk/abicloud_client
- abicloud_server
https://abicloud.svn.sourceforge.net/svnroot/abicloud/trunk/abicloud_server
- abicloud_WS
https://abicloud.svn.sourceforge.net/svnroot/abicloud/trunk/abicloud_WS
- Database information
https://abicloud.svn.sourceforge.net/svnroot/abicloud/trunk/database
- Appliance Manager
https://abicloud.svn.sourceforge.net/svnroot/abicloud/trunk/abicloud_AM - OVFManager
https://abicloud.svn.sourceforge.net/svnroot/abicloud/trunk/OVFManager - Virtual System Monitor
https://abicloud.svn.sourceforge.net/svnroot/abicloud/trunk/VirtualSystemMonitor_WS - Repository Importer
https://abicloud.svn.sourceforge.net/svnroot/abicloud/trunk/Rimp - Libvirt Virtual System Agent
https://abicloud.svn.sourceforge.net/svnroot/abicloud/trunk/vagent - Virtual Box Agent
https://abicloud.svn.sourceforge.net/svnroot/abicloud/trunk/vbagent - Installer
https://abicloud.svn.sourceforge.net/svnroot/abicloud/trunk/installer_source
2. Database
- Import the previously downloaded database script ( database module in svn ) into your installed MySQL server
- Create an user "kinton" with password "s0ng0ku" with all privileges in the database created with name "kinton".
3. Projects configuration
- For the client:
- Msfonts intallation in Linux
Ubuntu:
sudo apt-get install msttcorefonts
Fedora:
wget http://www.my-guides.net/en/images/stories/fedora10/msttcore-fonts-2.0-2.noarch.rpm su -c 'rpm -ivh msttcore-fonts-2.0-2.noarch.rpm
Locale installation:
(You need to add a new folder on C:\Program Files\Adobe\Flex Builder 3 Plug-in\sdks\3.1.0\frameworks\locale folder with the name ca_ES)
On client-config.xml (on dev folder) you can define where the abicloud_server will be (default on localhost:8080).
- abicloud_server installation
Define the database connection on <span style="font-style: italic;"><span style="font-weight: bold;">abi.config</span></span>.xml file
<property name="hibernate.connection.url"> jdbc:mysql://localhost:3306/kinton </property>
Define the abicloud_WS destination
<entry key="destination">http://localhost:8080/abicloud_WS/</entry>
- abiCloud WS installation
Running the application
- Run Tomcat
- On [AbiCloud] project: Deploy the war using the "Deploy" ant task.
- On [AbiServer] project: Deploy the war using the "Deploy" ant task.
- On AbiCloud_AM project. Deploy the war using the "Deploy" ant task
- On VirtualSystemMonitor_ws project. Deploy the war using the "Deploy" ant task
- Compile the RIMP, vagent or vbagent and follow the [installation]instructions
- If you go to http://localhost:8080/manager you can see the two web applications running
- On eclipse, go to client folder, right button and "run as" --> Flex application
- The application is ready to be tested

Note: You can run the java applications from eclipse too

