2012-12-20

SysAdmin OpenSource projects I want to check out..

Automated inventory of computer hardware
http://www.ocsinventory-ng.org/en/

GLPI is the Information Resource-Manager with an additional Administration-Interface
http://www.glpi-project.org/spip.php?article43



2012-11-12

Remove ads in uTorrent

The new uTorrent have a yellow stripe with ads. You can disable this by adding a setting in the advanced section:

Set to false:
offers.left_rail_offer_enabled
offers.sponsored_torrent_offer_enable

See youtube video in comment link for a video of how to do this.

2012-10-01

Specific PCIe ports goes to CPU and not via southbridge

According to an article over at scottlowe.org, the 'the [Intel Xeon] E5 processors integrate PCI Express root ports, providing upwards of 200 Gbps of throughput. This is compared to the use of the “Southbridge” with the 5500/5600 series CPUs, which were limited to about 50 Gbps.'

Later you can read you should use specific slots on the motherboard for 10GbE PCIe NICS (and probably
other high throughput cards):
Going back to the earlier discussion about PCIe root ports being integrated into the E5 CPUs, this leads to a consideration for the placement of PCIe cards. Make sure your high-speed cards aren’t inserted in a slot that runs through the C600 chipset southbridge. Make sure that you are using Gen2 x8 slot, and make sure that the slot is actually wired to support a x8 card (some slots on some systems have a x8 connector but are only wired for x4 throughput). Johnson recommends using either LoM, slot 2, slot 3, or slot 5 for 10 GbE PCIe NICs; this will ensure direct connections to one of the CPUs and not to the southbridge chipset.

Canon EOS digital cameras comparison

Wikipedia page about all the Canon EOS digital cameras: http://en.wikipedia.org/wiki/Comparison_of_Canon_EOS_digital_cameras

2012-09-29

Utilize free RAM as RAM drive for temp files and swap

RAM drive utility: ImDisk - http://www.ltr-data.se/opencode.html/#ImDisk

Create for instance a 2GB RAM drive, mounting it as R:

Browsers:
  • Chrome - Add --disk-cache-dir="R:\ChromeCache" --media-cache-dir=R:\ChromeCache to the Chrome icon's Target to change temp internet files
  • Internet Explore - Internet Options, Browsing History, Settings, Move Folder - Select the root of R:\
SWAP - Disable swap on a normal disk and set a 1GB swap file on R:

Verified on Windows 8, and should support all Windows NT based systems, including x64 :)

Updated:
A forum post on how to do this with scheduled tasks when booting. Also it is not recommended to use RAM for pagefile. Get more RAM instead, it's cheap these days.
Updated 2: Added info about 'media-cache-dir' option for Chrome.

2012-09-24

Reclaim disk space, disable hibernation (hiberfil.sys)

If you just found a gigantic c:\hiberfil.sys, it's your hibernation save file. If you don't use hibernation, turn it off and reclaim the space. On my new rig, I have a sweet 32GB of RAM, and my hibernation file at this point was 26GB. That's a lot of wasted space on an SSD drive when I don't use hibernation.


To disable hibernation and remove this file in Windows Vista, Windows 7 and Windows 8, open a command prompt as administrator and type:

powercfg -h off


This should turn of hibernation and delete the big file automatically :)

For Windows XP, just go to Control Panel > Power Options > Hibernate tab.

2012-09-21

WHATS NEW in VMware vSphere 5.1

I found a nice blog article listing new features in vSphere 5.1. The main stuff (taken from the article) was:
  1. vRAM has been killed. vSphere is again licensed per CPU just as it was before vSphere 5.0. The licensing whitepaper is here.
  2. Enhanced vMotion allows you to combine a vMotion and Storage vMotion into a single operation, without shared storage.
  3. vSphere replication has been decoupled from SRM, and released as an available feature of every vSphere license from Essentials Plus through Enterprise Plus
  4. New VMware vSphere Storage Appliance 5.1 for SMBs
  5. New backup solution named vSphere Data Protection replacing VDR.
You'll find the entire article over at the VMware VCP blog

2012-09-20

Nice overview of the new VMware vSphere Web Client

Read a good overview article about the new VMware vSphere Web Client at vladan.fr -
http://www.vladan.fr/vsphere-web-client-new-in-vmware-vsphere-5-1/

Looks like the WebClient is the way VMware is heading, stating that "the thick client won’t get further enhancements after the 5.1 release".

2012-09-14

Create icon (.ico) online wit X-Icon Editor

I was looking for a way to convert an image into an icon (.ico), and luckily I found an online tool for that :)
Meet X-Icon Editor --> http://www.xiconeditor.com/

2012-09-12

eth0+N headache in linux with virtual templates

If you keep getting eth1 instead of eth0 as your main ethernet interface on a (newer) linux template/clone in a virtualized environment it's most likely because your udev rules is in affect and creates a new eth1 since eth0 is already defined and bound to the clone/template source's MAC address.

This can be fixed in a couple of ways (in your template/clone source image):

1) You can delete the 'SUBSYSTEM' line in your /etc/udev/rules.d/70-persistent-net.rules:

Edit the rules files
  vi /etc/udev/rules.d/70-persistent-net.rules

Delete the SUBSYSTEM line(s), feel free to also delete the comment about PCI device just above:

# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

# PCI device 0x8086:0x100e (e1000)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="08:00:27:4b:05:e0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

2) A more dirty hack would just be to delete the /etc/udev/rules.d/70-persistent-net.rules file and create a directory named as the file. This tip is taken from six degrees of fredom blog (link):

  rm /etc/udev/rules.d/70-persistent-net.rules
  mkdir /etc/udev/rules.d/70-persistent-net.rules





2012-09-11

Hyper-V and Virtualbox is a 'no go' together on a Windows 8 PC

I just tried to run VirtualBox on my Windows 8 computer where I already had activated Hyper-V. That was a 'no go' - it borked out with missing VT-x support:


You simply can't run Hyper-V and VirtualBox simultaneously, as any application that uses the virtualization-specific instruction sets on the CPU (Intel VT-x in my case) does so alone and therefore locks other programs out of using them.

Too bad, but probably security-wisely good. 

2012-09-10

iproute2 cheatsheet (updated)

A decent cheatsheet about iprout2 can be found at http://whodat.be/iproute2-cheatsheet-and-reference-guide/ (link dead)

Update: New links for others:
  • http://www.bde.enseeiht.fr/clubs/net7/supportFormations/reseaux/networksheet.pdf
  • http://www.guyrutenberg.com/2010/12/29/iproute2-cheatsheet/

2012-09-05

Difference between Windows Storage Server 2012 Workgroup and Standard

Microsoft Technet has an overview of the difference between Windows Storage Server 2012 Workgroup and Windows Storage Server 2012 Standard.

For starters, workgroup does not support dedup, dhcp/dns/wins, failover clustering, runs on only 1 cpu-socket with max 32GB RAM..

Read all at Technet: http://technet.microsoft.com/en-us/library/jj643303.aspx

2012-09-03

BackInfo

Use BackInfo to set a servers wallpaper with hostname and other useful info. I used to use bginfo, but backinfo is simpler and that is what I want. Keep it simple!

http://richardjgreen.net/2009/06/02/backinfo-over-bginfo-for-your-servers-wallpaper/

2012-08-23

IprediaOS

IprediaOS is a fast, powerful and stable operating system based on Linux that provides an anonymous environment. All network traffic is automatically and transparently encrypted and anonymized.

http://www.ipredia.org/

2012-08-19

How to change displayed language in Windows 8

When I first installed Windows 8 x86-64 RTM, all the Metro apps (or is it Modern UI Apps it's called these days?) was displayed in Norwegian when I wanted my system to be all English. After fiddling around a few minutes I found out what to change to keep my keyboard language and date and time formats in Norwegian but everything else in English:
  • Press WIN+F to search (at least in the English version)
  • Search for 'Language' under settings
  • Select language
  • Add a language
  • Select English (United States) or which one you like
  • Move it to top
  • Remove the old one, 'Norwegian' in my case
  • Select Options
  • Add an input method
  • Norwegian (or your keyb layout)
  • Add
  • Remove US input and click save

2012-08-15

Customize your XBMC Media Center

I found this article while searching for latest news/software for my aging original Xbox (chipped Xecuter):
The Ultimate Start to Finish Guide to Your XBMC Media Center

What are the last version and best dash for this box? Which XBMC is the latest that works on Xbox, or are there other replacements for XBMC (I saw they dropped Xbox support a while age). Feel free to put answers in the comments :)