Gaming Rig Build 2014

http://pcpartpicker.com/p/D7CqWZ

Suggestions:

  • FX 8350 – 50 mhz faster and not much more expensive
  • http://www.tomshardware.com/reviews/gaming-graphics-card-review,3107-4.html
  • http://pcpartpicker.com/part/asus-video-card-r9280dc2t3gd5
  • Bought the motherboard from amazon (here)
  • Graphics Card (here)

Server Modifications

Mikrotik Setup

When you unbox the machine, the first site you should visit is the startup site.  I will be trying to setup via the ssh and cli as much as possible.  I’m going to go through setting up with the cli through ssh as much as possible, but might have to revert to using the winbox program.

Steps to perform:

  1. Setup default username/password
  2. ctrl+x – enters safe mode, if you are disconnected all changes will revert back

References:

Cheap File Server

I purchased items today for the file server project. I’ll bring the printed invoices to DMS for reimbursement when everything arrives. The total came to $1,570.02 but I might need to buy a few more little things like a case fan or SATA cables from Tanner Electronics.

6x – WD Cavier Green 3TB SATA III 64MB Cache Bare/OEM Desktop Hard Drive WD30EZRX
1x – ASRock C2750D4I Mini ITX Server Motherboard FCBGA12383 DDR3 1600/1333
2x – Kingston 4GB 240-Pin DDR SDRAM ECC Unbuffered DDR 1600 (PC3 12800) Server Memory Model KVR16ES8/4
1x – Antec P100 Black ATX Mid Tower Computer Case
1x – Thermaltake TR2 TR-700 700W ATX 12V V2.3 & EPS 12V SLI Ready CrossFire Ready Active PFC Power Supply

Disk 89.99

Motherboard 409.99

Memory 41.99 each * 2 = 83.98

Case  74.99

Power Supply 59.99

Total:  $718.94

 

It’s basically the same setup as what was proposed to the board but with a better case, better power supply, same motherboard and processor, 8GB of RAM instead of 32GB (can be expanded later if needed), and without the spare disk so if one dies we’ll have to RMA it or buy another. Also the motherboard and processor dropped $60 in price since the board meeting (woot!). Less memory and no spare disk reduced the cost significantly. Less memory will impact the performance but probably not enough for people to bitch about.

So what you end up with is a lower power (20 watt TDP) 8 core processor at 2.4GHz, 8GB of memory (expandable to 64GB), 24TB of raw disk space (16TB with two block parity, RAID Z2), and a 700 watt power supply (overkill but was on sale). It’ll have all the bells and whistles setup like automatic rolling snapshots. Will probably need help from ops committee for LDAP integration if that’s wanted (I’d think yes but it’s their call, like read permission for everyone, write permission just for your files).

Bash Code Injection Vulnerability via Specially Crafted Environment Variables (CVE-2014-6271, CVE-2014-7169)

You can read all the details here and here, but below is a synopsis for quick checks.

Are you vulnerable?

env 'VAR=() { :;}; echo Bash is vulnerable!' 'FUNCTION()=() { :;}; echo Bash is vulnerable!' bash -c "echo Bash Test"

Linux Performance and Tuning RHEL 6

Built based on this

What is a bottleneck?

Types of bottlenecks

How to identify a bottleneck

ps -o pid,tt,user,fname,wchan -C apache (why is a process around and what is is waiting on)

ps -uapache -o wchan=WIDE-WCHAN-COLUMN,cmd

iftop   http://www.thegeekstuff.com/2008/12/iftop-guide-display-network-interface-bandwidth-usage-on-linux/

disk io issues:

iostat -d -x
Linux 2.6.32-431.29.2.el6.x86_64 (web.x.com) 09/25/2014 _x86_64_ (16 CPU)

Device: rrqm/s wrqm/s r/s    w/s rsec/s      wsec/s avgrq-sz     avgqu-sz await    svctm %util
sda        0.37       12.34    8.04 5.58 1299.72 143.13   105.96          0.81        59.82    9.55    13.01

http://bencane.com/2012/08/06/troubleshooting-high-io-wait-in-linux/

Reference:
http://www.linux-tutorial.info/modules.php?name=MContent&pageid=84
http://www.gurkulindia.com/main/2013/03/help-me-to-find-the-linux-performance-bottleneck/
Pinpointing I/O bottlenecks on Linux
http://www.cyberciti.biz/tips/linux-resource-utilization-to-detect-system-bottlenecks.html
http://www.cloudiquity.com/2012/05/finding-disk-bottlenecks-on-linux/
How to Monitor Apache Web Server Load and Page Statistics
How to graph Apache Statistics on Cacti
20 Command Line Tools to Monitor Linux Performance

Uncia and DLP Printer Technologies

  • My printer must be at 211 mm to calibrate
  • Facebook (link)
  • http://www.funtodo.net/index.html
  • https://www.thingiverse.com/thing:441329
  • https://www.youtube.com/watch?v=dL9v_TXeePs
  • http://www.uncia3d.com/pages/new-dlp-printer
  • Acer X1173.
  • https://groups.google.com/forum/#!forum/uncia-3d-printer
  • Software Installation Order (link)
  • Video of how to setup the printer (here)
  • digitalw00t registred #uncia on freenode for community communication

First Impressions:

So far I’m frustrated with the lack of support at this time.  Several searches do not reveal a forum or any documentation.  There is a decent video on assembly, that is vague on the part of which way the wires go.  I’m in the United States, and they power cables they provided were not for  US based client.  All the documentation is in chinese, so as of right now I’m completely in the dark.  The disc itself has no software, or any links on the website to the software that I should use.

 

Software Required:

  • http://www.arduino.cc/en/Main/Software
  • https://www.pjrc.com/teensy/td_download.html
  • Forum Post Describing the software is here

Firmwares

  • Official Uncia Firmware

 

More printers, that might be useful in the future:

Using Vmware Workstation to create an internal development environment

First.. to be able to see the ip address quickly from the console in case it changes.

 

wget http://www.digitalw00t.com/blog/wp-content/uploads/2014/09/ip.update.pl_.zip
sudo unzip -d /root ./ip.update.pl_.zip
chmod +x /root/ip.update.pl

echo “cp /etc/issue.orig /etc/issue” >> /etc/rc.local
echo “cp  /etc/issue.net.orig /etc/issue.net” >> /etc/rc.local

cp /etc/issue /etc/issue.orig
cp /etc/issue.net /etc/issue.net.orig

echo “/root/ip.update.pl >> /etc/issue” >> /etc/rc.local
echo “/root/ip.update.pl >> /etc/issue.net” >> /etc/rc.local
/root/ip.update.pl >> /etc/issue
/root/ip.update.pl >> /etc/issue.net