How To Install Orangehrm On Ubuntu
There are many open source Human Resource Management platforms available. however, when searching for 1 for your business, OrangeHRM is a good place to starting time. this open source HRM software is written in PHP and offers features that assistance you run your business and collaborate with your employees and vendors.
OrangeHRM organisation is designed for ease of use to let enterprises and business owners to manage Personnel Information Management, Employee Cocky Service, Exit, Time & Attendance, Benefits, and Recruitment.
If you're looking for a truthful open source HRM platform for your business, you'll find OrangeHRM to be useful. This cursory tutorial is going to testify students and new users how to install OrangeHRM on Ubuntu sixteen.04 LTS with Apache2, MariaDB and PHP vii.1 support.
To get started with installing OrangeHRM, follow the steps below:
Step 1: Install Apache2 HTTP Server
OrangeHRM requires a webserver and the 2nd most pop webserver in use today is Apache2. So, go and install Apache2 on Ubuntu past running the commands below:
sudo apt update sudo apt install apache2
Side by side, run the commands below to cease, first and enable Apache2 service to always start up with the server boots.
sudo systemctl terminate apache2.service sudo systemctl first apache2.service sudo systemctl enable apache2.service
Footstep 2: Install MariaDB
OrangeHRM likewise requires a database server. and MariaDB database server is a great identify to start. To install it run the commands below.
sudo apt-get install mariadb-server mariadb-customer
After installing, the commands below tin be used to terminate, kickoff and enable MariaDB service to ever start up when the server boots.
sudo systemctl stop mysql.service sudo systemctl start mysql.service sudo systemctl enable mysql.service
After that, run the commands below to secure MariaDB server.
sudo mysql_secure_installation
When prompted, answer the questions below by following the guide.
- Enter electric current password for root (enter for none): Just press theEnter
- Prepare root password? [Y/n]:Y
- New password: Enter countersign
- Re-enter new countersign: Repeat password
- Remove anonymous users? [Y/n]: Y
- Disallow root login remotely? [Y/n]: Y
- Remove examination database and access to it? [Y/n]: Y
- Reload privilege tables now? [Y/n]:Y
Restart MariaDB server
sudo systemctl restart mysql.service
Pace iii: Install PHP FPM and Related Modules
PHP vii.one isn't available on Ubuntu default repositories… in society to install it, you will have to get information technology from 3rd-party repositories.
Run the commands below to add the below third political party repository to upgrade to PHP seven.1
sudo apt-get install software-properties-mutual sudo add-apt-repository ppa:ondrej/php
Then update and upgrade to PHP 7.one
sudo apt update
Run the commands beneath to install PHP seven.i and related modules.
sudo apt install php7.i php7.one-common php7.1-mbstring php7.1-xmlrpc php7.ane-soap php7.i-gd php7.ane-xml php7.1-intl php7.1-mysql php7.ane-cli php7.1-mcrypt php7.1-ldap php7.i-goose egg php7.ane-curlicue
Afterward install PHP, run the commands below to open up FPM PHP default file.
sudo nano /etc/php/7.i/apache2/php.ini
Then brand the change the following lines below in the file and save.
file_uploads = On allow_url_fopen = On memory_limit = 256M upload_max_filesize = 100M date.timezone = America/Chicago
Footstep iv: Create OrangeHRM Database
Now that you've install all the packages that are required, continue beneath to start configuring the servers. First run the commands below to create OrangeHRM database.
Run the commands below to logon to the database server. When prompted for a password, type the root password you lot created above.
sudo mysql -u root -p
Then create a database called orangehrm
CREATE DATABASE orangehrm;
Create a database user called orangehrmuser with new password
CREATE USER 'orangehrmuser'@'localhost' IDENTIFIED BY 'new_password_here';
And then grant the user full access to the database.
GRANT ALL ON orangehrm.* TO 'orangehrmuser'@'localhost' IDENTIFIED BY 'user_password_here' WITH GRANT OPTION;
Finally, save your changes and leave.
FLUSH PRIVILEGES; EXIT;
Step 5: Download OrangeHRM Latest Release
Next, visit OrangeHRM site and download the latest version.
After downloading, run the commands below to extract the download file into Apache2 root directory.
cd /tmp && wget https://excellmedia.dl.sourceforge.net/project/orangehrm/stable/four.0/orangehrm-four.0.zero unzip orangehrm-four.0.zippo sudo mv orangehrm-four.0 /var/www/html/orangehrm
And then run the commands below to set up the correct permissions for Concrete5 to office.
sudo chown -R www-information:www-data /var/world wide web/html/orangehrm/ sudo chmod -R 755 /var/www/html/orangehrm/
Footstep 6: Configure Apache2
Finally, configure Apahce2 site configuration file for OrangeHRM. This file volition control how users access OrangeHRM content. Run the commands below to create a new configuration file called orangehrm.conf
sudo nano /etc/apache2/sites-available/orangehrm.conf
So copy and paste the content beneath into the file and save it. Replace the highlighted line with your own domain name and directory root location.
<VirtualHost *:80> ServerAdmin admin@example.com DocumentRoot /var/www/html/orangehrm ServerName instance.com ServerAlias world wide web.example.com <Directory /var/www/html/orangehrm/> Options +FollowSymlinks AllowOverride All Require all granted </Directory> ErrorLog ${APACHE_LOG_DIR}/fault.log CustomLog ${APACHE_LOG_DIR}/access.log combined </VirtualHost>
Save the file and exit.
Step 7: Enable the OrangeHRM
Subsequently configuring the VirtualHost in a higher place, enable it by running the commands below
sudo a2ensite orangehrm.conf sudo a2enmod rewrite
Stride viii : Restart Apache2
To load all the settings higher up, restart Apache2 by running the commands below.
sudo systemctl restart apache2.service
So open up your browser and browse to the server domain proper noun followed by install. Yous should see Concrete5 setup wizard to complete. Delight follow the wizard advisedly.
And so follow the on-screen instructions until you've successfully installed OrangeHRM.
Enter the database info y'all created to a higher place and continue
Finish with the install and enjoy!
You may also like the postal service below:
Source: https://websiteforstudents.com/setup-orangehrm-on-ubuntu-16-04-lts-with-apache2-mariadb-and-php-7-1-support/
Posted by: wynterhioname.blogspot.com

0 Response to "How To Install Orangehrm On Ubuntu"
Post a Comment