Difference between revisions of "OrangeHRM: Instalasi"

From OnnoWiki
Jump to navigation Jump to search
Line 20: Line 20:
  
 
Konfigurasi Database
 
Konfigurasi Database
 +
 +
mysql -u root -p123456
 +
create database openhrm2;
 +
grant ALL on root.* to openhrm22@localhost;
 +
grant ALL on openhrm2.* to openhrm2@localhost identified by 'openhrm2';
 +
grant ALL on openhrm2.* to openhrm2 identified by 'openhrm2';
 +
exit

Revision as of 11:37, 10 September 2011

Download dari

http://sourceforge.net/projects/orangehrm/files/stable/

Lakukan

cp orangehrm-2.6.8.tar.gz /var/www/
cd /var/www/
tar zxvf orangehrm-2.6.8.tar.gz 
mv orangehrm-2.6.8 orangehrm2
chown -Rf www-data.www-data /var/www/orangehrm2/lib/confs/
chmod -Rf 755 /var/www/orangehrm2/lib/confs/

Edit php.ini

vi /etc/php5/apache2/php.ini 
session.gc_maxlifetime = 1440
memory_limit = 128M

Konfigurasi Database

mysql -u root -p123456
create database openhrm2;
grant ALL on root.* to openhrm22@localhost;
grant ALL on openhrm2.* to openhrm2@localhost identified by 'openhrm2';
grant ALL on openhrm2.* to openhrm2 identified by 'openhrm2';
exit