pfSense On APU1D4

*You need a NULL modem DB9* (I have USB-DB9-GenderChanger-FtoMNullModemAdapter) Buy stuff, assemble stuff, write image to boot media Connect stuff Listen @ *115200* (APU default): Windows – Putty *nix – screen /dev/ttyUSB0 115200 BOOT (to your media) Be *Ninja Fast* and kill the 115200 session Then open a new one at *9600* … (pfSense default)[…]

uWSGI mules not apscheduler

Sooo… running my MikroAWS app with Supervisord behind uWSGI wasn’t correctly running my apscheduler jobs. … my cache wasn’t updating 🙁 oh noes! … uWSGI has it’s own background worker functionality ‘mules’ Add to mikroaws.ini (mod # to be your # of workers): mules = 1 Rem out references to apscheduler… And use uWSGI mules[…]

CC and CXX on OpenVMS

Took me a while to get the C Compiler installed in OpenVMS 8.4 on my FreeAXP Alpha emulator. It was a rocky start, getting the OS installed, navigating around, getting TCPIP going… My initial attempts to transfer files over ssh resulted in cc073.a and .b files getting corrupted. Finally, I figured out how to FTP[…]

OMFG Supervisord FTW

Sooo… might be a little hacky… but this is excellent!!!: colin@mikrojenkins:~$ cat /etc/supervisor/conf.d/logindroplet.conf [program:logindroplet] command=ssh -t -i /home/colin/.ssh/id_rsa -R8080:mikrogitlab.mikrodots.org:80 -R3030:mikrodash.mikrodots.org:3030 -R8000:127.0.0.1:8000 -R5000:127.0.0.1:5000 -R4000:127.0.0.1:4000 -R7331:127.0.0.1:7331 colin@mikrodroplet.mikromanage.com directory=/home/colin/0logindroplet autostart=true autorestart=true stdout_logfile=/home/colin/0logindroplet/logindroplet.log redirect_stderr=true stopsignal=QUIT colin@mikrojenkins:~$ cat /etc/supervisor/conf.d/mikroaws.conf [program:mikroaws] command=/home/colin/mikroaws/bin/uwsgi /home/colin/mikroaws/mikroaws.ini directory=/home/colin/mikroaws autostart=true autorestart=true stdout_logfile=/home/colin/mikroaws/logs/mikroaws.log redirect_stderr=true stopsignal=QUIT colin@mikrojenkins:~$ cat /home/colin/mikroaws/mikroaws.ini [uwsgi] socket = /tmp/mikroaws.sock chmod-socket = 666 master =[…]

Ubuntu 14.04 Persistent resolv.conf

My manual edits of /etc/reslov.conf weren’t persisting through reboots. resolvconf overwrites it each time … sad panda To force static nameservers, I did this: root@mikrojenkins:/home/colin# echo -e ‘nameserver 192.168.254.64\nnameserver 8.8.8.8’>>/etc/resolvconf/resolv.conf.d/head root@mikrojenkins:/home/colin# resolvconf -u

Supervisord running Dashing.io

I have Supervisord successfully running dashing persisting through reboots. (See Bottom for [program:dashing]) colin@mikrodash:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.1 LTS Release: 14.04 Codename: trusty I installed with the standard method: colin@mikrodash:~$ sudo apt-get update colin@mikrodash:~$ sudo apt-get install supervisor My conf files are as follows: colin@mikrodash:~$ sudo[…]