Sie sind auf Seite 1von 2

[Avatar] 2009-06-21 06:24:13 PDT Requirements -------------------1. MySql 1.5 2. Tomcat 6.0 3. Java Runtime environment 1.

5 If you are willing to name your data base as icehrm use following configurations ( This is the default name for the database used by Ice Hrm and if you use this DB name the configurat ion changes you will have to ma e is minimum). Setting up the database ----------------------------------1. Create a mysql database named icehrm . 2. Extract the folder db-scripts.zip 3. Create tables in the database using file schema.sql which can be found in side d b-scripts.zip 4. Insert master data needed for the application using master-data.sql which can b e found in side db-scripts.zip 5. Insert sample data for an imaginary company only using sample-data.sql which ca n be found in side db-scripts.zip (Insert these data only if you are going to test the applic ation) 6. Ma e sure all the tables and master data inserted without errors. Deploying Ice Hrm in Tomcat and configuring ----------------------------------------------------------------1. Extract icehrm.zip to webapps directory of Tomcat. 2. Open the file Torque.properties in path webapps\icehrm\config

3. Change following two parameter with username and password for mysql user torque.dsfactory.icehrm.connection.user = <mysql db user> torque.dsfactory.icehrm.connection.password = <mysql db password> 4. Open web.xml file in path icehrm\WEB-INF\

5. At the end of the file you will find following text <servlet> <servlet-name>Main</servlet-name> <servlet-class>net.cygee .tech.client.main.Configurator</servlet-class> <init-param> <param-name>app_home</param-name> <param-value>../webapps/icehrm</param-value> </init-param> <init-param> <param-name>db_name</param-name> <param-value>icehrm</param-value> </init-param> <load-on-startup>1</load-on-startup> </servlet> 6. Change app home parameter (<param-name>app_home</param-name>) to correct path to your icehrm application folder.

Ex: if you are using windows and you installed icehrm in path D:/apache-tomcat6.0.16/webapps/icehrm , your configuration should loo li e, <init-param> <param-name>app_home</param-name> <param-value D:/apache-tomcat-6.0.16/webapps/icehrm </param-value> </init-param> Running Ice Hrm ------------------------1. Restart tomcat 2. Type following url to load Ice Hrm http://<web server url> /icehrm Ex: http://localhost:8088/icehrm/ http://cygee .net/icehrm/ 3. For the first time login administrator username is admin and the password is dem o , ( you can change the admin password by selecting users menu under admin)

Das könnte Ihnen auch gefallen