rollback httpd.conf changes on error
To rollback httpd.conf changes on error use this script: #!/bin/bash #File: deploy_new_httpd_conf.sh #Define this PATH_TO_NEW_HTTPD_CONF=”~/new_httpd.conf” #Backup […]
To rollback httpd.conf changes on error use this script: #!/bin/bash #File: deploy_new_httpd_conf.sh #Define this PATH_TO_NEW_HTTPD_CONF=”~/new_httpd.conf” #Backup […]
How to create a self-signed SSL certificate on CentOS/Redhat yum -y -q install mod_ssl openssl cd […]
To install Ruby and Chef on centos follow these steps: cd /etc/yum.repos.d && wget “http://centos.karan.org/el5/ruby187/kbs-el5-ruby187.repo” yum […]
useradd script to add multiple users to a system and force them to change their password […]
To remove blank lines from a file on a unix or linux computer try this: # […]
I spent forever trying to figure out how to unwrap an apache access_log that was splitting […]
On Linux disable SSH timeouts You’ll need to edit /etc/ssh/sshd_config and set these directives: TCPKeepAlive yes […]
Recently, I attempted to install subversion on Centos6. Apache failed to start with this error: mod_dav_svn.so […]
Apache Active Directory Authentication howto Modules Needed mod_authz_ldap Install mod_authz_ldap yum install mod_authz_ldap Verify Apache Config […]
I’ve created a Bash Server Backup Script that will backup your MySQL databases (each database separately […]