Category: Uncategorized
Raspberry Pi 3 Cluster
What operating system to use?
Hardware:
- Raspberry Pi 3 : $ 40.00
- power
Might use a raspberry pi zero, but will need to use this for network connectivity.
Operating systems:
- Mosix (link)
- Tutorial here
- OpenSSI (link)
- Rocks Cluster (link)
- OpenMosix (link)
- CRUI (link) : This isn’t exactly a cluster I don’t think, but will allow you to migrate processes from server to server
There is a great page here that explains the two types of clustering on linux, and has a list of compilers as well.
Converting an svg or vector file into an stl or 3d format
http://www.online-convert.com/
http://www.instructables.com/id/Remove-image-background-and-turn-it-into-silhouett/
http://www.instructables.com/id/Convert-any-2D-image-to-a-3D-object-using-OpenSCAD/?ALLSTEPS
Linux Based Personal Assistant
Assembly Language
Found a few youtube vidoes that describe assembly pretty well
Linux Clustering with RHEL / Centos
http://clusterlabs.org/
Home RFID Access
http://www.robotgeek.com/rfiduino
http://www.amazon.com/Generic-Electric-Strike-Secure-Control/dp/B00V45GWTI/ref=sr_1_1
http://www.amazon.com/BQLZR-Luggage-Solenoid-Electric-Assembly/dp/B00M2M3F74/ref=sr_1_1
http://www.instructables.com/id/RFID-Door-Lock-With-Arduino-1/
Perl Debugging
- h or h h – for help page
- c – to continue down from current execution till the breakpoint otherwise till the subroutine name or line number
- p – to show the values of variables
- b – to place the breakpoints
- L – to see the breakpoints set
- d – to delete the breakpoints
- s – to step into the next line execution
- n – to step over the next line execution, so if next line is subroutine call, it would execute subroutine but not descend into it for inspection
- source file – to take the debug commands from the file
- l subname – to see the execution statements available in a subroutine
- q – to quit from the debugger mode
Reference:
- http://www.thegeekstuff.com/2010/05/perl-debugger/
NetData Installation
First, I’m creating this page from this link, and I merely boil it down to record here for later quick reference.
You can do a quick netdata installation with the following:
Prereq needed to install are mainly found here:
Debian/Ubuntu: apt-get install zlib1g-dev gcc make git autoconf autogen automake pkg-config uuid-dev
CentOS / RedHat / Fedora: yum install zlib-devel gcc make git autoconf autogen automake pkgconfig libuuid-devel
Arch: pacman -S netdata
Now to pull and install the NetData project:
- git clone https://github.com/firehol/netdata.git –depth=1
- cd netdata
- ./netdata-installer.sh
If everything worked as expected, then the install should show that there are no errors.
Data is stored in the following locations:
– the daemon at /usr/sbin/netdata
– config files at /etc/netdata
– web files at /usr/share/netdata
– plugins at /usr/libexec/netdata
– cache files at /var/cache/netdata
– db files at /var/lib/netdata
– log files at /var/log/netdata
– pid file at /var/run
Start the application: /usr/sbin/netdata Stop the application: killall netdata How do you look at the application? You go here in a web browser on the local host. (http://127.0.0.1:19999/)
Linux Desktop Setup
I’ve tried a few flavors of linux, and had issues with each as a desktop. Recently I got a new laptop so I decided to try it again.
My favorite distro is Mint, just be cause it doesn’t overload things with a bunch of effects that make it harder to find what you are looking for. My only issue is, Mint couldn’t see my wifi card. So.. I used ubuntu, and placed Cinnammon on top. First, thanks to Marin Todorov, he’s got a great tutorial on how to set this up. I’m going to put the essence here since I hate it when things disappear from the web.
- Install Ubuntu 16.04 LTS
- Install Cinnamon (apt install cinnamon)
- Install Numix
-
add-apt-repository ppa:numix/ppa
-
apt-get update
-
apt-get install numix-gtk-theme
-
apt-get install numix-icon-theme-circle
-
- Install Conky
-
apt-add-repository -y ppa:teejee2008/ppa
-
apt-get update
-
apt-get install conky-manager
-
- Install Plank
-
add-apt-repository ppa:ricotz/docky
-
apt-get update
-
apt-get install plank
- Inside the manager I turned on “Gotham, CPU Panel, Network Panel, and Process Panel”
- I’m including here my configs I placed in the .conky directory for my settings.
-
- Install Skype following instructions from here
-
add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner"
-
dpkg --add-architecture i386
-
apt-get update
-
apt-get install skype
-
cp /usr/share/applications/skype.desktop /home/<homedir>/.config/autostart/
-