Minecraft Resources

How to install mineos: http://minecraft.codeemo.com/mineoswiki/index.php?title=MineOS_(apt-get)

Private Authentication Server (link)

MineOS (link)

MCEdit (link)

AutoMap (link)

 

Where to find bukkit?

http://spigotmc.info/

Where to get plugins? http://spigotmc.info/spigot18/craftbukkit_server.jar

World Edit – Great mod that helps with building repetitive structures such as redstone devices, or identical levels of a large building.

  • The full list of commands can be found here and a rehash here
  • //wand – creates a wooden axe, but this axe is used as a selector and manipulator (//sel cuboid to determine the shape of the copy/paste)
  • //copy – will copy the area from where sel1 and sel2 are, but are copied from the point you are standing
  • //paste and //cut – will copy or cut the original copied blocks and place them relative to where you are

Recipe References:

First, if you are going to do a minecrat server, use mineos.  he guy has done a great job.  It’s easy to install, takes a bit of research for a noob to use if you aren’t familiar with Minecraft terminology though.

Turnkey:

http://www.turnkeylinux.org/

http://thenated0g.com/2014/05/19/mineos-awesomely-easy-minecraft-server/

http://minecraft.codeemo.com/

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