Het installeren met :~$ sudo tar xvfz orangehrm-2.4.0.1.tar.gz is inmiddels gelukt. Maar waar kan ik het programma vinden?
Hieronder de manual, maar daar wordt ik niet veel wijzer van. Welke stappen moet ik volgen?
How to install OrangeHRM manually on Linux?
For Linux Installation these steps should be followed;
1. Retrieve the PHP source of OrangeHRM onto the directory that is configured as Apache Server htdocs directory;
ex: /var/html/orangehrm/:~$ sudo tar xvfz orangehrm-2.4.0.1.tar.gz
2. change the owner & group of the source directory (and all files and sub-directories within it) to apache. Run the following command in bash.
ex: /var/html/orangehrm/
chown apache /var/html/orangehrm/
3. now you need to create the database. To do this get 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)
CREATE DATABASE [orangehrm-db-name]
then you need to create the tables using the script dbscript.sql residing in /orangehrm/dbscript directory. Then type in command
SOURCE [path-to-doc-root]/orangehrm/dbscript/dbscript.sql
4. In the MySQL server create a user account with all privileges, 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;
GRANT ALL PRIVILEGES ON [orangehrm-db-name].* TO '[username]'@'%' IDENTIFIED BY '[password]' WITH GRANT OPTION;
SET PASSWORD FOR '[username]'@'%' = OLD_PASSWORD('[password]');
5. 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) to Conf.php and edit following settings. Set the following parameters;
$this->dbhost = '[IP address of MySQL server]';
$this->dbport = '[port no, of MySQL server]';
$this->dbname = '[orangehrm-db-name]';
$this->dbuser = '[username]'; //the user name of the account you created
$this->dbpass = '[password]'; //the user name of the account you created
$this->smtphost = '[SMTP server DNS or IP address]'; //the DNS or IP address
6. Start or restart Apache server
Groeten John K