How to Install RedMine on CentOS 7

29. January 2018 CentOS, RHEL, SysAdmin 2
How to Install RedMine on CentOS 7
Install Software Collections yum -y install yum-plugin-priorities Add [priority=1] to official repository sed -i -e "s/]$/]npriority=1/g" /etc/yum.repos.d/CentOS-Base.repo yum -y install epel-release Add [priority=5] to the EPEL repo sed -i -e "s/]$/]npriority=5/g" /etc/yum.repos.d/epel.repo Add CentOS SCLo Software collections Repository. [[email protected] ~]# yum -y install centos-release-scl-rh centos-release-scl Add [priority=10] to the SCL repository [[email protected] ~]# sed -i ...

Ubuntu Vs RHEL CentOS

21. January 2018 RHEL 0
Ubuntu Vs RHEL CentOS
Ubuntu Made for Home, SMB and Development use. Ubuntu is derived from Debian, you can enjoy new version and features of software packages but a high chance for bugs and security issues. Security updates are not backported. Ie you have to jump to the latest version of the package to get the security fix. An ...

OpenVPN with CSF firewall rules

02. February 2017 CentOS, RHEL, SysAdmin 0
OpenVPN with CSF firewall rules
We are a big fan of OpenVPN when it comes to security. Many organizations have already switched to OpenVPN from PPTP etc. NixVPN is my favorite VPN software to host it on a standalone instance. But what if, if you already have a server protected with CSF firewall, and you want to install OpenVPN by ...

Disable SU access for sudo users

11. January 2017 AWS, CentOS, RHEL 0
Disable SU access for sudo users
Some times you need to disable sudo su – access on your environment so that the users will use sudo command always and they will not switch to any other users account unnecessarily Lets see how to do it Edit the /etc/suoders by running visudo visudo Add the below Command Alias Cmnd_Alias BLOCKSU = /bin/su ...

How to log all sudo commands

11. January 2017 RHEL 0
How to log all sudo commands
Some times it’s necessary to log all the sudo commands run in your environment. Let’ss see how to achieve this. Edit the sudoers file by running visudo visudo Add the below line to the Defaults section [sociallocker] Defaults logfile=/var/log/sudo [/sociallocker] Now all the commands from a sudo user will be logged in /var/log/sudo file. [[email protected] ~]# cat /var/log/sudo ...