BLOG

Making A LED Bracelet

September 2, 2019

Info

Building More LED Bracelets

September 2, 2019

Info

3D Printing a Rack Mountable Case for the PiCluster

September 2, 2019

Info

Wanted something that looks a bit better for the PiCluster so i found a rack mountable case and 3D printed it now to print 4 more and the rack

Links

Print Files:

Filament – DURAMIC 3D Premium PLA Plus Printer Filament 1.75mm, 3D Printing Filament with Build Surface 200 x 200mm, 1kg Spool(2.2lbs), Dimensional Accuracy +/- 0.05 mm, Black

3D Printer – Raise3D 101017001 Pro2 Plus 3D Printer, Dual Extruder, Fully Enclosed

BORK.HOST Controller

May 23, 2019

Info

Needed an easy way to test my WordPress scripts so I am working on setting up a basic site with a few forms and buttons that are hooked up to some backend bash scripts.

Bash That Button

May 23, 2019

Info

Need to figure out a good way to hookup these wordpress bash scripts to a form and button

Goal: Enter INSTALL name and push CREATE button. When form is submited it sends INSTALL name to script that sets up a WordPress site on a subdomain (INSTALL.test.com).

should be able to do it with either

  • python
  • php (shell_exec)

I think i will use the PHP shell_exec route

Ref

It’s WordPress Setup Script Testing Time Yo

May 23, 2019

Info

Now that I have the testing env somewhat setup, i can use the script to test how good i can duct taped this code together.

script

  • asks for an install name
  • creates USER and DB
  • then pulls WP core files
  • config WP
  • config and enable site for apache
  • config and enable site for NGINX

Steps

  • script seems to be mostly working except for the configs
  • wrote a delete install script that cleans up an INSTALL
  • using EOF to copy over the configs
  • the INSTALL argument seems to be causing the issues
  • anything with $ in the configs are being replaced
  • escape those $ yo \$INSTALL
  • script works now

Needs A Better Way To Test This_ I should hook this up to a button

Ref

BORK.HOST Test Server

May 23, 2019

Info

needed something to test my new wordpress setup script on, so i am setting up a new VM template I can use for BORK.HOST web nodes.

  • setup a fresh ubuntu install
  • update security
  • join LDAP
  • install LAMP
  • install phpmyadmin
  • setup NGINX as a reverse proxy
  • clone server-stuff repo
  • setup WordPress Install
  • test WordPress
  • remove wordpress and snapshot Time For Testing

Ref

WordPress BASH Script

May 23, 2019

Info

  • using install script from BookStack as a base for a WordPress setup script
  • got the script somewhat written. i need to setup a server for testing

Ref

Better Documentation

May 23, 2019

Info

  • have been looking for a way to do my documentation
  • has a nice bash script that i am going to reuse for a wordpress setup
  • testing out bookstack

Ref

Grub for HiDPI

May 23, 2019

Generate Font for GRUB

sudo grub-mkfont --output=/boot/grub/fonts/DejaVuSansMono24.pf2 \
--size=24 /usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf
sudo vim /etc/default/grub

add to top

GRUB_FONT=/boot/grub/fonts/DejaVuSansMono24.pf2

Update Grub

sudo update-grub