IceHrm is one of the best web-based HR management software that is designed for small to mid-sized businesses. In this tutorial, we will show you how to install IceHrm on Alpine Linux Latest.
Before installing any new software on your system, it is recommended to update your system to the latest version. Use the following command to update your Alpine Linux system:
apk update && apk upgrade
To install IceHrm on Alpine Linux, we need to install the following dependencies:
Use the following command to install these dependencies:
apk add apache2 php7 php7-apache2 php7-mysqlnd mysql mysql-client php7-curl php7-json php7-openssl php7-session php7-zlib
wget https://icehrm.com/uploads/downloads/IceHrm-Latest.zip
unzip IceHrm-Latest.zip
mv IceHrm /var/www/htdocs/
You will need to change ownership and permissions of the IceHrm directory to allow the Apache web server to access it:
chown -R apache:apache /var/www/htdocs/IceHrm
chmod -R 755 /var/www/htdocs/IceHrm
vi /etc/php7/php.ini
memory_limit = 256M
upload_max_filesize = 100M
max_execution_time = 300
max_input_vars = 2000
rc-service mysql start
mysql -u root -p
CREATE DATABASE icehrm;
GRANT ALL ON icehrm.* TO 'icehrm_user'@'localhost' IDENTIFIED BY 'strongpassword';
FLUSH PRIVILEGES;
exit
vi /etc/apache2/httpd.conf
<Directory "/var/www/htdocs/IceHrm">
AllowOverride All
</Directory>
rc-service apache2 restart
Open your web browser and enter the IP address or hostname of your Alpine Linux server. You will see the IceHrm welcome page. Follow the on-screen instructions to configure IceHrm for your organization.
Congratulations! You have successfully installed IceHrm on Alpine Linux Latest.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!