How to Install OrangeHRM on Ubuntu

Zabihah Halal Vitamins
How to Install OrangeHRM on Ubuntu
OrangeHRM is a widely used, web-based, open-source human resource management software that can be used to manages employee’s attendance, performance, recruitment and annual appraisals.

Powered by WPeMatico

Linux Chgrp Command for Beginners (5 Examples)

Zabihah Halal Vitamins
Linux Chgrp Command for Beginners (5 Examples)
Here at HowtoForge, we recently discussed the chown command which lets users change the owner as well as group of file (or a directory) in Linux. But did you know there exists a dedicated command line utility that you can use when it comes to changing group-related information? The tool in question is chgrp, and in this tutorial, we will be discussing this tool using easy to understand examples.

Powered by WPeMatico

How to prevent sed -i command overwriting my symlinks on Linux or Unix

How to prevent sed -i command overwriting my symlinks on Linux or Unix

I recently ran a command ‘sed -i 's/CONFIG_1/CONFIG_OPT_2/g' /etc/nginx/sites-enabled/*.conf‘ on a Debian Linux server. However, the sed command destroyed the link and created a regular file in place of the link file. How can I prevent my ‘sed -i’ command from destroying symlinks on Linux or Unix-like system?
Halal Vitamins

Powered by WPeMatico

Ansible: Could not find aptitude. Please ensure it is installed Error and Solution

Ansible: Could not find aptitude. Please ensure it is installed Error and Solution

I am running the ‘ansible-playbook -i hostnames upgrade.yml‘ command but getting an error that read as follows

fatal: [db1]: FAILED! => {“changed”: false, “failed”: true, “msg”: “Could not find aptitude. Please ensure it is installed.“}

My yml file includes the following line:
- apt: update_cache=yes upgrade=yes

How do I fix this error on a Debian or Ubuntu Linux server?
Halal Vitamins

Powered by WPeMatico

How to configure MySQL Multi-Master Replication on Oracle Linux

Zabihah Halal Vitamins
How to configure MySQL Multi-Master Replication on Oracle Linux
This tutorial explains how to setup and configure MySQL multi-master replication on Oracle Linux. Please note that even though the configuration is made under Oracle Linux, yet the steps and configuration are mainly the same to CentOS and Red Hat Linux.

Powered by WPeMatico

How to prevent unprivileged users from viewing dmesg command output on Linux

How to prevent unprivileged users from viewing dmesg command output on Linux
I want to restrict both normal users and root user inside LXD container “hypervisor” from viewing and using dmesg command output. How do I prevent non-root (unprivileged) Linux users from viewing the Linux kernel’s log buffer?
Halal Vitamins

Powered by WPeMatico

How to allow root login from one IP address with ssh public keys only

How to allow root login from one IP address with ssh public keys only

I am using MacOS on the desktop and Ubuntu Linux on the server. I disabled root login over ssh and enabled ssh based public key login. However, I recently added second Ubuntu server. I need to sync file between two using rsync command. Is there any way that I can log from the second server into my first server with root user from second server IP address only ({root@secondBOX }# ssh root@firstBOX1) without reducing OpenSSH server security option?
Halal Vitamins

Powered by WPeMatico

Linux Chown Command Tutorial for Beginners (7 Examples)

Zabihah Halal Vitamins
Linux Chown Command Tutorial for Beginners (7 Examples)
In Linux, there may be times when you might want to change the owner and group-related information for a file or directory. If you are a command line newbie, and want to know how you can make such changes through the command line, you’ll be glad to know that there exists a command – dubbed chown – that lets you do this.

Powered by WPeMatico