Getting Perforce client(not server) setup in Linux

Nov 14th, 2017 | By

Taking notes on steps needed to setup the client in linux so I can commit locally from our server.  I have setup the depot from my remote windows machine as well as the stream, what I’m doing in linux is client specific setup.  Obviously when you see terms like {port} or {depot} you shoould replace
[continue reading…]



Things to do when setting up a fresh Debian VM / server

Nov 14th, 2017 | By

Just going to make a list of the things you need to take care of immediately after logging into the VM for the first time.  Why this shit isn’t default I don’t know   Allow pasting into VIM with the right mouse button instead of this visual mode bullshit. Edit your ~/.vimrc and put this
[continue reading…]



High CPU and I/O Usage and Syslog getting spammed with DHCP Information

Nov 14th, 2017 | By

I ran into this issue earlier this day on a brand new Google Cloud VM.  In my cloud console my CPU usage was pinned at 100% for hours and the only thing showing up in top was dhclient using around 3-5% and journald using 3-5% After going into the syslog I found a ton of
[continue reading…]



Bash script to batch obliterate revisions with p4 perforce

Aug 3rd, 2017 | By

Ok, so you have a project with a 1GB file and the devs have committed 120 revisions of that file, meaning they are probably taking up somewhere between 50-100GB worth of space on the server.  One option is to nuke the file entirely and re-upload it but then you look the version history and it’ll
[continue reading…]



Setting up Http/2 with debian 8.7+Apache 2 + WordPress

Apr 20th, 2017 | By

At the time of this post the version of apache with http2 support is not supported by Debian so you have to go into the testing branch to get it and then configure apache.  This tutorial should take you through that: https://www.shivering-isles.com/http-2-getting-ready-on-debian-with-apache2/ .  Just incase the tutorial ever goes down I’ll mirror it at the end
[continue reading…]



WP CLI just changed my life – Admin wordpress sites from the command line

Apr 20th, 2017 | By

I’ve installed somewhere between 300-500 wordpress sites in my life and I have no idea how I hadn’t heard of WP CLI until now but man oh man this thing is awesome.  Never again have to log into an admin site to do updates and maintenance because WP CLI is here. First off, head over
[continue reading…]



Mysql regularily crashing – Cannot allocate memory for buffer pool

Sep 15th, 2016 | By

So every day now on one of my Debian servers, Mysql is crashing with the following message: Fatal error: cannot allocate memory for the buffer pool 160915 6:38:10 [ERROR] Plugin ‘InnoDB’ init function returned error. 160915 6:38:10 [ERROR] Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed. 160915 6:38:10 [ERROR] Unknown/unsupported storage engine: InnoDB 160915 6:38:10
[continue reading…]



Peforce: Multi-root folder access privileges within a single stream

Jun 26th, 2016 | By

They situation is this. We have a replicated that is replicated across two different platforms, which means the content stays the same but the platform specific tech around it all needs to be recreated from scratch for 2 platforms. So we create 2 folders within the root, one for each platform with the intention of allowing
[continue reading…]



Resizing GPT Partition on VMware virtual server without loosing data

Jun 25th, 2016 | By

So you want to enlarge one of your partitions on one of your virtual servers eh?  First things first, shut the instance down and then go into Edit Settings for the instance and change the hard drive to the new size. Now start up the box and go grab gdisk.  fdisk won’t work well, parted
[continue reading…]



Splitting Perforce Depots off main instance and running multi-instances on single server

Feb 24th, 2016 | By

Hello world! generic viagra where to buy viagra walmart online pharmacy www sildenafil tabletas 100 mg