Skip to content

{ Category Archives } Uncategorized

Review of CrossOver 324K UHD 32″ 3840×2160 60Hz 4k Display

I couldn’t find a review for this screen so I figured I’d post one now that I’ve purchased it. I purchased this on ebay for ~$500, it is also available from newegg. Pros: Great picture and resolution No bad pixels Stand can angle up or down Even though it ships from Korea, I bought from […]

fix for ubuntu unity notify-osd 14.04 volume OSD

When having MATE and Unity both installed, a conflict can occur with the notifications daemon. The MATE daemon will prevent the unity daemon from starting. The main indicator of this problem (when logged into Unity): pgrep notify-osd returns no process ID volume OSD (on screen display) doesn’t work add-ons like notifyosdconf do nothing OSD theme […]

fix vmware player error

Without getting into why your seeing this error, here it is: cp: cannot stat ‘/usr/lib/vmware/lib/libvmwarebase.so.0/libvmwarebase.so.0’: No such file or directory Quick fix: sudo ln -s /usr/lib/vmware/lib/libvmwarebase.so /usr/lib/vmware/lib/libvmwarebase.so.0 sudo ln -s /usr/lib/vmware/lib/libvmwarebase.so/libvmwarebase.so /usr/lib/vmware/lib/libvmwarebase.so/libvmwarebase.so.0

create launchers for webapps like evernote in mate panel

Tested on ubuntu 12.04 mate, this was amazingly easy once I figured it out. Browse to your webapp in chrome, like https://www.evernote.com/ More Tools -> Add to desktop (check box for open as window) Go to your webapps dashboard chrome://apps/ Right click on the evernote icon and “create shortcuts”. Check box for “Application Menu” Go […]

dashing.io quick install ubuntu 12.04

sudo apt-get install ruby sudo apt-get install ruby-dev sudo gem install dashing sudo gem install bundler sudo gem install execjs sudo apt-get install nodejs dashing new ops_dashboard_project cd ops_dashboard_project/ dashing start dashboard should now be running on http://localhost:3030

blocking access to elasticsearch and adding access to elasticsearch plugins

Apache Site: <IfModule mod_ssl.c> <VirtualHost _default_:8443> ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined SSLEngine on SSLCertificateFile /etc/ssl/ssls-com-wildcard-2015.crt SSLCertificateKeyFile /etc/ssl/ssls-com-wildcard-2015.key ProxyRequests Off <Location /> ProxyPass http://127.0.0.1:9200/ ProxyPassReverse http://127.0.0.1:9200/ AuthType Basic AuthName “KOPF Web Site: Login with hf-it-ops email address” AuthUserFile “/etc/nginx/htpasswd.users” Require valid-user RewriteEngine on RewriteRule ^/.+/(.*) http://127.0.0.1:9200/$1 [P] </Location> </VirtualHost> </IfModule> Setup iptables: iptables -A INPUT -p […]

filebeat and logstash 2.0 with log4j setup

logstash config: input { # tcp { # port => 5000 # type => syslog # } # udp { # port => 5000 # type => syslog # } # lumberjack { # port => 5001 # type => “logs” # ssl_certificate => “/etc/pki/tls/certs/elk-staging.crt” # ssl_key => “/etc/pki/tls/private/elk-staging.key” # } beats { port => […]

DigitalOcean vs Linode

Since I use AWS at work, I wanted to try something else for my personal workstation (this is basically a tmux jumpbox for me). Security: winner: neither? The nice thing about both of these services is that they are very simple to use. Compared to EC2, they are lacking many features, the biggest surprise for […]

Restore of mysqldump taken with –all-databases

This gotcha always gets me and when I google it I get nowhere. Backup all databases: BACKUP_FILE=`/mnt/backups/all_databases_`date -I`-`echo $RANDOM % 1000 | bc`.sql` mysqldump -u root -h 127.0.0.1 –all-database > $BACKUP_FILE Restore a specific database: RESTORE_FILE=`ls -tr /mnt/backups/*.sql | tail -n 1` mysql -u root -h 127.0.0.1 drop database db_name; create database db_name; exit mysql -u root -h 127.0.0.1 db_name < $RESTORE_FILE note: when […]

Creating a ubuntu Opsworks AMI with an encrypted volume

Amazon says that drive encryption in Opsworks is on the roadmap. In the meantime they suggest creating a drive in EC2, adding it to resources, then mapping it to an instance. For my automation, I much prefer to have an AMI with an encrypted volume attached: 1. created instance in opsworks, no application recipes 2. […]

A bETTER way to paste from a tmux remote console to osx

I finally came up with the way I always wanted this to work. Here is my workflow: 1. I run a command in a tmux pane to copy the entire buffer history of that pane. 2. Sublime Text pops open with the text from that buffer, I can edit the text and copy whatever I need to […]

kibana4 startup script for debian

Kibana4 has some great new features but doesn’t include a startup script. Here is my contribution, a simple startup script, tested on debian 7. https://github.com/akabdog/scripts/blob/master/kibana4_init

Setup of M3i Zero GMP-Z003

Because most of the sites discussing this are filled with broken links or mis-information, I decided to add my procedure here. You can download all the files in one zip from here: http://the408.com/downloads/infiniteDisorder_NDS.zip 1. Grab a micro SD card and format it FAT. 2. Extract the file G6&M3DS-R_M74.zip, it will be a folder called SYSTEM. […]

Quick Deploy for vCenter 5 and Oracle 11.2

This is pretty easy once you know the right steps: Download “instantclient-basic-windows.x64-11.2.0.3.0.zip” and “instantclient-odbc-windows.x64-11.2.0.3.0.zip” From http://www.oracle.com/technetwork/topics/winx64soft-089540.html Extract both files to C:\Oracle (choose merge when prompted) Run C:\Oracle\instantclient_11_2\odbc_install.exe Create window environmental variable ORACLE_HOME=C:\Oracle\instantclient_11_2\ Create C:\Oracle\instantclient_11_2\NETWORK\ADMIN\tnsnames.ora Open control-panel -> administrator tools -> Data Sources -> System DSN -> Add -> Oracle Now install vCenter, when prompted choose […]

using GPG to send an encrypted message

These steps will allow you to send a message to a user. Only that user will be able to decrypt it. First acquire the users public key and create a text file with it. vi userName.pub gpg –import userName.pub gpg –list-keys Now create a text file with your message and encrypt it vi lab_creds.txt gpg […]

iscsi ubuntu quick config

#apt-get install iscsitarget #vi /etc/default/iscsitarget SCSITARGET_ENABLE=true #vgcreate iscsi /dev/sda #lvcreate -L1500G -n jarfis_colder iscsi #lvcreate -L1260G -n jarfis_warmer iscsi #vi /etc/ietd.conf Target iqn.2010-10.com.qualys.qa.vuln:jarfis.lun000 Lun 0 Path=/dev/iscsi/jarfis_colder,Type=blockio,ScsiSN=JARFIS-LUN000 Alias LUN000 Target iqn.2010-10.com.qualys.qa.vuln:jarfis.lun001 Lun 1 Path=/dev/iscsi/jarfis_warmer,Type=blockio,ScsiSN=JARFIS-LUN001 Alias LUN001 #/etc/init.d/iscsitarget restart

create a linux logical volume

List out all your disks to see which ones are mapped to which /dev/sdx #fdisk -l Delete any existing partitions with fdisk  -> d -> w #fdisk /dev/sda Use pvcreate to prepare the disks #pvcreate /dev/sda; pvcreate /dev/sdb; pvcreate /dev/sdc; pvcreate /dev/sdd Create a volume group #vgcreate VolGroup00 /dev/sda /dev/sdb /dev/sdc /dev/sdd Check to see […]

Serial to USB on Lion with Minicom and PL2303

I’m using a Trendnet TU-S9 which I bought on amazon for $18. It uses the Prolific Driver (PL2303). I chose this one because it works natively on current linux kernels (2.6). Now I’d like to use it on my 13″ Macbook Pro running Lion. I installed the driver from here (snow leopard only) Then I installed […]