Skip to content
/ ihris Public

LGU Bayawan City Integrated HRIS developed by a triad of HR software developers. Initiated on July 16, 2018

Notifications You must be signed in to change notification settings

Team-HR/ihris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PRE-INSTALLATION

For MPDF to function else HTTP ERROR 500

  • Requires >= php7.8 for mpdf/mpdf to work
  • sudo chmod -R 775 ihris/vendor
  • sudo chown -R $USER:www-data ihris/vendor

DISABLE MYSQL STRICT MODE

SQL mode default (Prevents saving DB records with null/empty data) and disable table name case sensitivity.

  • sudo nano /etc/mysql/mariadb.conf.d/50-server.cnf --> under [mysqld] insert <sql_mode= >, then sudo systemctl restart mysql (to disable mysql strict mode)
  • Example:
    [mysqld]
    sql_mode=
    #Disable table name case sensitivity
    lower_case_table_names=1
  • sudo systemctl restart mariadb

INCREASE UPLOAD MAX FILESIZE for phpmyadmin

  • Do sudo nano /etc/php/7.4/apache2/php.ini
  • and change the following: memory_limit=1024M post_max_size=512M upload_max_filesize=254M
  • Do sudo /etc/init.d/apache2 restart

FIX FOR CERTBOT ERR_CERT_COMMON_NAME_INVALID:

https://gist.github.com/FranzValencia/8d4a224f5b8186be1275766e4b3dc9a0

SETUP MAILX FOR LINUX

https://drive.google.com/file/d/1ueFT8b4i_YXYurv1uObjhe17kvCKLGrz/view?usp=sharing

AUTO BACKUP DB SCRIPT

https://gist.github.com/FranzValencia/6940aff30980e101aca816e5f011f2df

  • change timezone of server to Asia/Manila
  • sudo crontab -e
  • Add 00 17 * * * bash /home/<USER>/backup-db.sh
  • sudo service cron restart

About

LGU Bayawan City Integrated HRIS developed by a triad of HR software developers. Initiated on July 16, 2018

Resources

Stars

Watchers

Forks

Packages

No packages published