forked from orangehrm/orangehrm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
faq.html
423 lines (373 loc) · 14 KB
/
faq.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
/**
* OrangeHRM is a comprehensive Human Resource Management (HRM) System that captures
* all the essential functionalities required for any enterprise.
* Copyright (C) 2006 OrangeHRM Inc., http://www.orangehrm.com
*
* OrangeHRM is free software; you can redistribute it and/or modify it under the terms of
* the GNU General Public License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* OrangeHRM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along with this program;
* if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA
*
*/
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>OrangeHRM FAQ</title>
<link href="installer/guide/style.css" rel="stylesheet" type="text/css" />
<link href="favicon.ico" rel="icon" type="image/gif" />
</head>
<body>
<div id="content">
<h1>FAQ</h1>
<!-- Contents -->
<div id="contents" class="section">
<h2>Contents</h2>
<p>
<ol class="content_table">
<li><a href="#1">What are the required software to run
OrangeHRM?</a></li>
<li><a href="#2">How to install OrangeHRM manually on Linux?</a>
<li><a href="#3">How to install OrangeHRM manually on Windows?</a>
<li><a href="#4">How to install the pre-requisities manually
on Windows?</a>
</ol>
</p>
<div class="navigate"></div>
</div>
<!-- Question 1 -->
<div id="1" class="section">
<h2>1. What are the required software to run OrangeHRM?</h2>
<p>You will need to be running an Operationg System that supports
the Apache HTTP Server and MySQL database server. In addition to that
following pre-requisities must be installed.
<ol>
<li>Apache HTTP Server 1.3 or later</li>
<li>MySQL 5.5 or later</li>
<li>PHP 5.6 or later</li>
</ol>
Instead of installing above mentioned pre-requisities seperately, it is
possible to install a stack which has MySQL, Apache and PHP configured
to work together.
</p>
<br />
<br />
<div class="navigate"></div>
</div>
<!-- Question 2 -->
<div id="2" class="section">
<h2>2. How to install OrangeHRM manually on Linux?</h2>
<p>For Linux Installation these steps should be followed;
<ol>
<li>Retrieve the PHP source of OrangeHRM onto the directory that
is configured as Apache Server htdocs directory;
<div class="code">ex: /var/www/html/orangehrm/</div>
</li>
<li>Change the owner & group of the source directory (and all
files and sub-directories within it) to apache (on most Linux
distributions the user/user-group of apache webserver is set to
apache/apache, if your apache web server's httpd.conf has another
user/user-group please use that user instead ex: nobody). Run the
following command in bash.
<div class="code">ex: /var/html/orangehrm/</div>
<div class="bash">chown -R apache.apache /var/www/html/orangehrm/</div>
</li>
<li>Now you need to create the database. To do this get to the MySQL
prompt (you should be logged in as a user having rights create
databases and users). Create the database using command; (please note
down the database name), and change into the database using 'USE'.
<div class="bash">CREATE DATABASE <orangehrm-db-name><br />
USE <orangehrm-db-name></div>
then you need to create the tables using the script dbscript.sql
residing in /orangehrm/dbscript directory. Then type in command</li>
<div class="bash">SOURCE
<path-to-doc-root>/orangehrm/dbscript/dbscript.sql</div>
</li>
<li>In the MySQL server create a user account with all
priviledges, please note down the username and password since it will
be required to configure the application to give it access to the
database in step (5). You will also need the database name given in
step (3). Use the commands as follows (Note: the second command is
required if your PHP distribution has a MySQL client older than 4.1);
<div class="bash">GRANT ALL PRIVILEGES ON
<orangehrm-db-name>.* TO '<username>'@'%' IDENTIFIED BY
'<password>' WITH GRANT OPTION;<br />
<br />
SET PASSWORD FOR '<username>'@'%' =
OLD_PASSWORD('<password>');</div>
</li>
<li>Then you have to configure the application to give the
authentication information it requires to access MySQL server. To do
this rename file Conf.php-distribution(in
/orangehrm/lib/Confs/Conf.php)to Conf.php and edit following settings.
Set the following parameters;<br />
<div class="bash">$this->dbhost = '<IP address of MySQL
server>';<br />
$this->dbport = '<port no, of MySQL server>';<br />
$this->dbname = '<orangehrm-db-name>';<br />
$this->dbuser = '<username>'; //the user name of the account you
created<br />
$this->dbpass = '<password>'; //the user name of the account you
created<br />
</div>
</li>
<li>Start or restart Apache server</li>
</ol>
</p>
<br />
<br />
<div class="navigate"></div>
</div>
<!-- Question 3 -->
<div id="3" class="section">
<h2>3. How to install OrangeHRM manually on Windows?</h2>
<p>For Windows Installation these steps should be followed;
<ol>
<li>Extract the PHP source of OrangeHRM onto the directory that is
configured as Apache Server htdocs directory;
<div class="code">ex: C:\apache\Apache2\htdocs\orangehrm\</div>
</li>
<li>Now you need to create the database. To do this get to the MySQL
prompt (you should be logged in as a user having rights create
databases and users). Create the database, and change into the database
using 'USE'; (please note down the database name)
<div class="bash">CREATE DATABASE <orangehrm-db-name><br />
USE <orangehrm-db-name></div>
then you need to create the tables using the script dbscript.sql
residing in /orangehrm/dbscript directory. Type in command</li>
<div class="bash">SOURCE
C:\apache\Apache2\htdocs\orangehrm\dbscript\dbscript.sql</div>
</li>
<li>In the MySQL server create a user account with all
priviledges, please note down the username and password since it will
be required to configure the application to give it access to the
database in step (5). You will also need the database name given in
step (2). Use the commands as follows (Note: the second command is
required if you your PHP distribution has a MySQL client older than 4.1);
<div class="bash">GRANT ALL PRIVILEGES ON
<orangehrm-db-name>.* TO '<username>'@'%' IDENTIFIED BY
'<password>' WITH GRANT OPTION;<br />
<br />
SET PASSWORD FOR '<username>'@'%' =
OLD_PASSWORD('<password>');</div>
</li>
<li>Then you have to configure the application to give the
authentication information it requires to access MySQL server. To do
this rename file Conf.php-distribution(in
/orangehrm/lib/Confs/Conf.php)to Conf.php and edit following settings.
Set the following parameters;<br />
<div class="bash">$this->dbhost = '<IP address of MySQL
server>';<br />
$this->dbport = '<port no, of MySQL server>';<br />
$this->dbname = '<orangehrm-db-name>';<br />
$this->dbuser = '<username>'; //the user name of the account you
created<br />
$this->dbpass = '<password>'; //the user name of the account you
created<br />
</div>
</li>
</ol>
</p>
<br />
<br />
<div class="navigate"></div>
</div>
<!-- Question 4 -->
<div id="4" class="section">
<h2>4. How to install the pre-requisities manually on Windows?</h2>
<p>
<ol>
<li>Download Apache HTTP Server, PHP Windows package, MySQL server<br />
<br />
Versions Requirements :
<ul>
<li>Apache HTTP Server ver 1.33 or later</li>
<li>PHP Windows package ver 5.6 or later</li>
<li>MySQL Server ver 5.5 or later</li>
</ul>
<div class="notes">
<h4>Note</h4>
<p>Download PHP complete ZIP package from
http://www.php.net/downloads.php. Usually it comes in the form of
php-x.x.x-Win32.zip. (do not use the windows installer package since it
only contains the CGI interpreter, and contains no extensions)</p>
</div>
</li>
<li>Firstly Install Apache HTTP Server by following these steps;<br />
<br />
<ol>
<li>Accept the license agreement and press next</li>
<li>Press next again after reading about Apache HTTP Server</li>
<li>When promted for details about; Network Domain, Server Name,
etc., use the values below :<br />
<br />
<table border="0">
<tr>
<td>Network Domain</td>
<td>:</td>
<td>localhost</td>
</tr>
<tr>
<td>Server Name</td>
<td>:</td>
<td>localhost</td>
</tr>
<tr>
<td>Admin. Email</td>
<td>:</td>
<td><your Email-id></td>
</tr>
</table>
<br />
press next</li>
<li>If you are installing Apache HTTP server 2, then<br />
Select Install Apache HTTP Server 2.0 as a Service.</li>
<li>Choose custom installation.</li>
<li>change path of apache to directory
<div class="code">c:\apache\</div>
</li>
<li>Install server</li>
</ol>
<div class="notes">
<h4>Note</h4>
<p>In case you are using a firewall software, please make sure the
you give (allow) access to Apache HTTP server.</p>
</div>
</li>
<li>Secondly you have to install PHP;
<ol>
<li>unzip the PHP package you downloaded into directory.
<div class="code">c:\php\</div>
</li>
<li>Then open the file in the apache installation directory
<div class="code">C:\apache\Apache2\conf\httpd.conf"</div>
</li>
<li>Then goto the area where the LoadModule tags are defined. In
the list there should be one line that reads as
<div class="code"># LoadModule rewrite_module
modules/mod_rewrite.so</div>
Remove the leading '#' char to make the line active</li>
<li>Goto the end of LoadModule section<br />
</li>
<div class="notes">
<h4>Note</h4>
<p>if you are using PHP5 the LoadModule lines should be altered as
<div class="code">LoadModule php5_module "c:/php/php5apache.dll"</div>
<div align="center">OR</div>
<div class="code">LoadModule php5_module
"c:/php/php5apache2.dll"</div>
<div align="center">OR</div>
<div class="code">LoadModule php5_module
"c:/php/php5apache2_2.dll"</div>
<br />
for Apache 1.3 / Apache 2 / Apache 2.2 Web servers respectively. Also
add line;
<div class="code">PHPIniDir "C:/php"</div>
</p>
</div>
<li>Then at the end of AddType section add line
<div class="code">AddType application/x-httpd-php .php</div>
</li>
<li>Save and close httpd.conf</li>
<li>Now goto directory
<div class="code">c:\php\</div>
and open file
<div class="code">c:\php\php.ini</div>
</li>
<div class="notes">
<h4>Note</h4>
<p>if the php.ini file does not exist then rename exisiting file
php.ini-dist as php.ini and open it</p>
</div>
<li>Find these key-words in it and change them if required
<div class="code">error_reporting = E_ALL<br />
display_errors = On<br />
<b>for PHP5, extension_dir should read as;</b><br />
extension_dir = c:\php\ext<br />
<b>and in the 'Dynamic Extension' area should have; <br />
'extension=php_mysql.dll',<br />
'extension=php_xmlrpc.dll',<br />
'extension=php_xsl.dll' <br />
enabled by removing preceding ';' if any</b><br />
</div>
</li>
<li>Save & close php.ini</li>
</ol>
<li>Restart Apache Server(on windows; through the Apache Server
Monitor on task bar)</li>
<li>Start installing MySQL server</li>
<ol>
<li>Double-click the setup.exe file to start the installation.
The Setup Wizard panel is displayed.</li>
<li>Click Next.</li>
<li>Select Custom Install and click Next.</li>
<li>Expand the Developer Components and select Scripts.Examples
to run from your hard drive</li>
<li>Change installation directory to
<div class="code">C:\MySQL</div>
</li>
<li>Click next</li>
<li>When promted to signup for MySql.com account select skip
sign-up, press next.</li>
<li>The installation setup wizard is complete, leave the
checkmark next to the field,<br />
Configure the MySQL Server now. <br />
Click Finish.</li>
<li>Click Next to begin the configuration process,</li>
<li>accept the default value of Detailed Configuration for the
configuration type <br />
click Next.</li>
<li>Select Sever Machine for the server type and click Next.</li>
<li>Select Transactional Database Only for the database usage and
click Next.</li>
<li>For the InnoDB Tablespace Settings, select MySQL Datafiles
from the dropdown list<br />
Click Next.</li>
<li>Select Manual Setting for the number of concurrent
connections.Set this value to 5 (depending on number clients using the
application)<br />
Click Next.</li>
<li>Accept the default value of Enable TCP/IP Networking for the
networking options and click Next.</li>
<li>Accept the default value of Standard Character Set for the
default character set and click Next.</li>
<li>Accept the default value of Install as Windows Service for
the Windows. You may explicitly identify which version of MySQL is
running (you need not worry if you are having only single MySQL
server) Check the box to Include Bin Directory in Windows.<br />
Click Next.</li>
<li>Always select a new root password when you install MySQL for
the first time. That is because MySQL normally has no password in
Windows which allows anyone to access the database. Make sure you
remember what the password is.<br />
Remove the check mark next to the Anonymous Account.<br />
Click Next.</li>
<li>All of the information required by the configuration wizard
is complete.<br />
Click the Execute button to begin the actual configuration.</li>
<li>After all the status messages are issued, click the Finish
button.</li>
</ol>
</li>
</p>
<br />
<br />
<div class="navigate"></div>
</div>
</div>
<div id="footer">OrangeHRM ver <ins class="version"></ins><br/>
© 2005 - <ins id="copyrightYear"></ins> <a href="http://www.orangehrm.com" target="_blank">OrangeHRM, Inc</a>. All rights reserved.
</div>
</div>
</body>
<script type="text/javascript" src="installer/guide/index.js"></script>
</html>