Nginx through puppet

[root@puppetmaster ~]# cat /etc/puppet/modules/nginx/manifests/init.pp # Class: nginx # # This module manages NGINX. # # Parameters: # # There are no default parameters for this class. All module parameters are managed # via the nginx::params class # # Actions: # # Requires: # puppetlabs-stdlib - https://github.com/puppetlabs/puppetlabs-stdlib # # Packaged NGINX # - RHEL: EPEL or … Continue reading Nginx through puppet

TCP WRAPPERS

Linux access control using TCP WRAPPERS Maintaining a good access control list is a nice practice, that must be adopted by any Linux system administrator. This can be achieved with the help of multiple tools. An additional layer of security after your firewall and before your service daemon is a good approach, because even if … Continue reading TCP WRAPPERS

patching

Patching Work [root@PEARLSCRIPT ~]# rpm -qa glibc glibc-2.12-1.166.el6_7.3.x86_64 [root@PEARLSCRIPT ~]# yum update glibc Loaded plugins: product-id, refresh-packagekit, security, subscription-manager Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package glibc.x86_64 0:2.12-1.166.el6_7.3 will be updated --> Processing Dependency: glibc = 2.12-1.166.el6_7.3 for package: glibc-headers-2.12-1.166.el6_7.3.x86_64 --> Processing Dependency: glibc = 2.12-1.166.el6_7.3 for package: glibc-devel-2.12-1.166.el6_7.3.x86_64 --> … Continue reading patching

banner

How To Set Up BANNER            IF U WANT TO SEE THE BANNER BEFORE LOGIN THIS IS PROCEDURE [root@ORACLE ~]# cat /etc/issue.net  Red Hat Enterprise Linux Server release 6.7 (Santiago) Kernel \r on an \m [root@ORACLE ~]# cat >> /etc/issue.net  #################################### #########WRITE WHAT EVER U WANT TO RIGHT######### ######################################################## [root@ORACLE ~]# … Continue reading banner

Monitor User Activities

psacct or acct both are similar packages and there is not much difference between them, but the psacct package only available for rpm based distributions such as RHEL, CentOS and Fedora, whereas acct package available for distributions like Ubuntu, Debian and Linux Mint. [root@localhost ~]# yum provides psacct Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror … Continue reading Monitor User Activities