varnish for wordpress

November 10th, 2017 No comments

So I came back to using varnish over my wordpress server. Just got tired of php-cgi 100% CPU and getting 503 errors.

Read more…

Categories: HowTo, Linux, Varnish Tags: ,

ipset and iptables

November 10th, 2017 No comments

My poor Amazon Tiny server with 512mb of memory is the one running this wordpress plus other 2.
Early this week I had major performance issues, I had placed many security scripts and used ipset with iptables
to block entire countries to access my site. Check out these posts on the bottom for details

Read more…

Categories: HowTo, Linux Tags:

Deploy Weblogic bash script

November 8th, 2017 No comments

This are linux BASH scripts to performs a weblogic deploy using Weblogic WLST API.
I wrote two versions.
They both expect the package a .zip file with all the ear files in it. I couple it with Jenkins to do remote deploys.

Read more…

Categories: HowTo, python Tags: , , , , , ,

AWS Certified Solutions Architect Study Guide

October 31st, 2017 No comments

Just passed my RECertification exam today with a 92%  60 questions 80 minutes.

I finished in 50m and flagged only 11 questions.

Read more…

Categories: Amazon-AWS Tags:

Centreon no Graphics

September 8th, 2017 No comments

Troubleshooting Centreon no Graphics

(Using centreon brokers 2.11.8 BBDO not nagios NDO)
Centos 6.8 x64 centreon-broker-2.11.8-2.el6.x86_64 centreon-broker-cbd-2.11.8-2.el6.x86_64 centreon-broker-cbmod-2.11.8-2.el6.x86_64 centreon-broker-core-2.11.8-2.el6.x86_64 centreon-broker-storage-2.11.8-2.el6.x86_64

Read more…

nxlog centos 5

August 2nd, 2017 1 comment

How to install nxlog on centos 5

I tried creating the RPM file although it didnt work I was able to install it
this way

Read more…

Categories: Uncategorized Tags: ,

Script to check if a windows patch is installed

June 14th, 2017 No comments

VBScript to check if a windows patch is installed on a server or PC

This a simple script that can be used if youn need to check if a specific patch is installed.

Read more…

Categories: VbScripts, Windows Tags: ,

Windows backup vbscript

June 8th, 2017 No comments

Windows VBS script to backup Desktop and Laptop

  • -No delta backup / no incremental (but robocopy only copy files changed)
  • -No encryption (but only the user has access to its folder, check setACL function)
  • -No compression (Could easly be done with 7zip
  • -User can restore (only directly via SHARE)
  • +Free
  • +Easy and simple to Run
  • +Fast
  • +Can backup opened pst files using shadowspwan
  • +Robocopy will only copied files that have been changed
  • -Robocopy will also copy PST everytime (since outlook changes it) (Implemented a check to only copy once a day) Read more…
Categories: Windows Tags: , ,

Block IP bash script

March 30th, 2017 No comments

Still working hard to keep my server security locked down from attacks.

This script checks lighttpd logfile for unusual behaviour

Read more…

best torrent search sites

March 27th, 2017 1 comment
Categories: News Tags: , , ,