Centos 6.5 – Counter-Strike GO startup script –

Linux Source / Others game servers made easy : http://danielgibbs.co.uk/lgsm/

I whipped up a quick script that calls the function itself without having to move it around. Farily simple but useful nonetheless.

 

Centos 6.5 – Where is my time going!?

Issue : Centos is reverting back to UTC time seemingly randomly.

Correction :

  • vim /etc/sysconfig/clock
  • ZONE=”America/Montreal”
  • ln -s /usr/share/zoneinfo/America/Montreal /etc/localtime

 

“Bug ID ” : http://bugs.centos.org/view.php?id=2085

I got my time back!

Centos 6.5 – Monitoring Bind9 with Bindgraph.

Bindgraph is a program based on Mailgraph and offers the same basic features. It reads the dns_queries.log file and creates a .rrd file listing the number of queries per record type (A, AAA, CNAME, PTR and a few others). It then generates a graph, takes a screenshot and creates a nice HTML page with a .cgi script.

It provides quick overview of your dns traffic. Though, it is limited to the number and type of queries and does not handle where they come from.

Day View

2014-10-12 18_05_00-DNS Statistics for mail.coldnorthadmin.com

Month View

2014-10-12 18_05_50-DNS Statistics for mail.coldnorthadmin.com

 

1) Launching the daemon :

 

Centos 6.5 – Apache self-signed certificate.

sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /path/name.key -out /path/name.crt

ASA 5510 – ASA-SSM-CSC-10 – Basic module commands.

ASA-SSM-CSC-10

To shutdown : 

 

Ubuntu 14.04 – Installing and configuring an ELK (Elastic Search, Logstash, Kibana) stack.

Installing elasticdump for data security :

Git : https://github.com/taskrabbit/elasticsearch-dump

 

Cisco – Protecting VTY interfaces with access-class

 

Cisco – ASA 5510 – Basic SNMP (V2 and V3) configuration.

SNMP V2 : 

 SNMP V3 : 

Troubleshooting SNMP : 

 

Citrix XenApp 7.5 – Ramblings

1) Machine Catalogs

2) Delivery Groups

3) Application Deployment ( Need to install the VDA for the server to be registered)

CentOS 6.5 – How to upgrade Splunk

Existing install : 6.1.1-207789
Upgrade : 6.1.2.213098

  • First, create a backup of the entire Splunk folder. In theory, the /etc and it’s sub-folders would be sufficient, but a full backup can’t hurt.
  • Download the new source files. The Splunk developers have been kind enough to provide a wget friendly link. Simply click the “Download” button and look at the next page.
  • Extract (tar -xvf) the splunk folder.
  • Copy that entire folder over your previous installation. You can use ” yes | cp -r source_path destination_path” to answer yes to all the overwrite prompts.
  • That’s it!

Sources

http://docs.splunk.com/Documentation/Splunk/6.0/Admin/Backupconfigurations

http://docs.splunk.com/Documentation/Splunk/6.0/Indexer/Backupindexeddata

http://docs.splunk.com/Documentation/Splunk/6.1.2/installation/Upgradeto6.1onUNIX