TheDude

Author's details

Date registered: September 14, 2013

Latest posts

  1. Denyhosts on CentOS — October 18, 2016
  2. netdom join Error 53, Error 2, DNS is correct. Windows 2012 R2 doesn’t like /ou — March 22, 2016
  3. JDBC connector to MSSQL 2014 — February 4, 2016
  4. Ubuntu SNMP config for Zabbix and Checkpoint — February 4, 2016
  5. Build bitcoind from source Fedora 22 — October 30, 2015

Most commented posts

  1. Eidolon TLP, Hannibal, DARPA and the state of Artifical Intelligence — 7 comments
  2. Amazing Film on Alien Reproduction Vehicle and ZPE — 6 comments
  3. Unix flush or refresh DNS cache — 3 comments
  4. s3fs install on CentOS AmazonEC2 — 2 comments
  5. Denyhosts on fedora 19 — 1 comment

Author's posts listings

Oct 18

Denyhosts on CentOS

In general, I install fail2ban and denyhosts on all of my external linux servers that have port 22 open.  This is generally only because sftp is also installed on these systems because marketing people don’t know any other options like S3 on AWS. I want to point out the files that need to be looked …

Continue reading »

Mar 22

netdom join Error 53, Error 2, DNS is correct. Windows 2012 R2 doesn’t like /ou

We have been using a script for years that will join a Windows system to our domain.  Now with 2012 R2 it never executed.  And this was not a DNS issue.  Ping your DC’s with the friendly name from the system first and if they resolve you are good. At first I thought was an …

Continue reading »

Feb 04

JDBC connector to MSSQL 2014

EnvVar

YAFD (Yet another fucking developer) that needs to use java to connect to YAFDB (Yet Another Fucking DataBase). So start off and install Oracle java JRE 8 on your sql server.  Then go here and get the latest Microsoft JDBC Driver, 4.2 http://www.microsoft.com/en-us/download/details.aspx?id=11774 Go to your control Panel –> System and Security –> System. Click …

Continue reading »

Feb 04

Ubuntu SNMP config for Zabbix and Checkpoint

I’m setting up SNMP monitoring for our Checkpoint devices in AWS and Zabbix needs the SNMP client configured.  A good tutorial is located here: But adding the templates for checkpoint was more involved than I thought.  I grabbed the templates here: https://share.zabbix.com/network-appliances/checkpoint-fw-1-hardware. Then created the mapping by going to Administrator –> General –> On the …

Continue reading »

Oct 30

Build bitcoind from source Fedora 22

Disclaimer – this does NOT work.  It’s close, but no love. As usual there are no good instructions on the net to do this. First get the source, I already had git installed and I’m actually building Feathercoin instead of bitcoin but it should be the same for both.  Also I’m presuming that you already …

Continue reading »

Jun 12

Moving AD groups from one domain to another using ldifde

This is something that I almost never do so I’m documenting it here to avoid future mistakes. We are migrating between domains and while we considered ADMT, there was too much clutter and our AD structure changed.  So a piece meal approach was decided on.  Hint to future self, don’t do this again, use ADMT! …

Continue reading »

May 20

Tomcat 8 redirect and force SSL

Edit the tomcat8/conf/server.xml and add the following for 80, and another for 8080 if need be. <Connector port=”80″ protocol=”HTTP/1.1″ connectionTimeout=”20000″ URIEncoding=”UTF-8″ enableLookups=”false” redirectPort=”443″ /> Now Edit the tomcat8/conf/web.xml and at the bottom just above </web-app> put in the following and changing Entire Application to your application in webapps. <!– SSL settings. only allow HTTPS access …

Continue reading »

May 19

Java 8, tomcat 8, SSL setup from pfx, using 443

This took me a day to setup on a new CentOS Amazon image. To be honest I’d never configured SSL for tomcat before, and this was the first time that I’d used tomcat8. So I just want to go over the steps I had to do so I’ll remember all of the tweeks needed. Configuring …

Continue reading »

Dec 05

How to build Openssl from source

Recently we had to install openssl but for the 32-bit platform. This is how I did it. wget http://www.openssl.org/source/openssl-0.9.8x.tar.gz tar zxvf openssl-0.9.8x.tar.gz setarch i386 ./config -m32 shared make clean; make install In general though for anything that you need to build the following command will work: ./configure && make && sudo make install

Nov 19

Chef change attributes node level Java cookbook

How do you change the attributes at the node level.  I just went through this recently with some Scala servers that required Oracle Java 7.  The defaults for the Java cookbook at the marketplace: https://supermarket.getchef.com/cookbooks/java#readme are openJDK 6.  To replace them you need to: knife node edit <NODE_NAME> In the editor that pops up add …

Continue reading »

Older posts «