The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,862 other subscribers

Archive for the ‘Linux’ Category

HCL:Raspberry Pi – openSUSE

Posted by jpluimers on 2015/05/25

Interesting: HCL:Raspberry Pi – openSUSE.

Posted in *nix, *nix-tools, Hardware Development, Linux, openSuSE, Power User, Raspberry Pi, SuSE Linux | Leave a Comment »

*n*x: capturing http traffic

Posted by jpluimers on 2015/04/20

Below some links to get me started on capturing http traffic.

Some tools mentioned in these links, with * marking the ones available on the distribution I use:

Here we go:     Read the rest of this entry »

Posted in *nix, *nix-tools, Linux, Power User, SuSE Linux | Leave a Comment »

Linux for^W 4.0 RC1 – Hurr durr I’ma sheep – kernel/git/torvalds/linux.git – Linux kernel source tree

Posted by jpluimers on 2015/02/23

There you go: Linux four.

3.19 “Diseased Newt” -> 4.0 “Hurr durr I’ma sheep

kernel/git/torvalds/linux.git – Linux kernel source tree.

–jeroen

Posted in *nix, Linux, Power User | Leave a Comment »

Time to upgrade some of my older OpenSuSE VMs from 12.3 to a more recent version

Posted by jpluimers on 2015/02/10

Last week, the final update for OpenSuSE 12.3 says it is time to upgrade:

│Patch: openSUSE-2015-100 Kind: recommended Version: 1

│This announcement marks the end of the maintenance period for openSUSE 12.3.

│In order to keep your systems up to date and secure, please migrate your
│systems to the current openSUSE version.

│For more information on how to upgrade to the current openSUSE version, please read:

http://en.opensuse.org/SDB:Distribution-Upgrade

│Please make sure that you applied all maintenance updates provided for openSUSE 12.3 before starting the update.

│Thank you for using openSUSE,
│your Maintenance and Security Team

–jeroen

Posted in *nix, Linux, openSuSE, Power User, SuSE Linux | Leave a Comment »

NotePad++: Text Editor which shows \r\n (via: Stack Overflow)

Posted by jpluimers on 2015/01/26

I hadn’t monitored Notepad++ in a very long time, so I was glad that User Thomas Owens mentioned that it can show you the CR and LF codes:

With Notepad++, you can show end-of-line characters. It shows CR and LF, instead of “\r” and “\n”, but it gets the point across. […]

To use Notepad++ for this,

  1. open the View menu, open the Show Symbols slide out, and
  2. select either “Show all characters” or “Show end-of-line characters”.

I needed this because many development environments get confused when you have text files using a mix of line-break kinds (in my case LF, CR and CRLF).

–jeroen

via Text Editor which shows \r\n? – Stack Overflow.

Posted in *nix, Apple, Linux, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.7 Lion, OS X 10.8 Mountain Lion, Power User, SuSE Linux, Windows | Leave a Comment »

Zenoss: Open Source Network Monitoring and Systems Management

Posted by jpluimers on 2015/01/19

Interesting stuff: Zenoss Open Source Network Monitoring and Systems Management.

Stuff like monitoring NNTP, monitoring HTTP, monitoring DNS, etc.

–jeroen

Posted in *nix, Linux, Monitoring, Power User, SuSE Linux | Leave a Comment »

*nix: Cron shortcuts @daily, @weekly, @monthly, … (via: Cron and Crontab usage and examples)

Posted by jpluimers on 2015/01/16

Even if you think you are familiar with something, it pays to keep your knowledge current.

I’ve been always struggling with the crontab syntax. It’s flexible, but for most cases overly complex, for instance I still thought I needed “0 0 * * 0” to run something weekly, which I needed.

So I am pretty sure there were no @monthly or @weekly in crontab last century.

Not so any more, and if I’d had the crontab documentation more often, I had known about the crontab shortcuts @reboot, @yearly, @annually, @monthly, @weekly, @daily, @midnight and @hourly many years ago: Read the rest of this entry »

Posted in *nix, Linux, openSuSE, Power User, SuSE Linux | Leave a Comment »

OpenSUSE: Getting to work the ruby script to login into dyndns.com automatically every week.

Posted by jpluimers on 2015/01/06

So I remember for the next time:

zypper install ruby
zypper install ruby-devel
zypper install gcc
zypper install gcc-c++

If you don’t install all these, them the gem will fail with errors like this: Read the rest of this entry »

Posted in *nix, Linux, openSuSE, Power User, SuSE Linux | 1 Comment »

My ZFS question on G+: investigation for using a XW6600 based system with ZFS.

Posted by jpluimers on 2014/12/20

My ZFS question on G+:

Hi everyone. I’m a geek. Learned most of the stuff by doing, and keeping tracks of what I did on my tech-blog http://wiert.me

I want to start with ZFS on a pair of HP XW6600 machines having 32gigabyte of RAM.
Any help on that is much appreciated.

The idea is to have one of these here in a closet and the other remotely, and perform replication between them (I’ve a 50megabit fiber-to-the-home uplink which can grow to 100megabit plus, internally my network is gigabit).

My current data is on a Windows 2003 x64 server with dual RAID5 configurations that are synced every night (not optimal for various reasons) with about 12gigabyte of files having mostly read-only access patterns and these kinds of sizes:
– small files between 4kilobyte and a few megabytes
– photos between 5 and 20 megabytes
– ISO backups and 7zip archives of projects (operating system installers, etc) between 100megabytes-6gigabytes
plus an ESXi machine having about 4gigabyte of data (mostly sizes between 20 and 200 gigabyte).

New storage should initially be at least 16gigabyte with room for growth.

I’m having active experience with OpenSuSE, ESXi and Windows. Solaris experience is from a long time ago. Learning by doing is my way of quickly gaining knowledge.

My schedule is doing research until the end of January (partially overlapping with a holiday) then building and testing until the end of Q1, going live early Q2.

Current plan is to put a lot of Samsung M9T 2terabyte SATA drives (they are only 9.5millimeter high) into the XW6600 rigs.
Earlier this year I did some research on controllers and hard drives, and I wonder how much of it is still current: https://wiert.me/2014/03/12/lots-of-2-5-3-5-and-5-25-conversion-brackets-and-hot-swap-bays/
(A quick calculation shows I should be able to get at least 14 externally accessible M9T drives into this machine, plus room for internal SSDs, etc).

So: where should I get started?

Initial questions I have:
– how about rebuild time when drives are lost? (how does the process of cold/hot spares work, can this be automated, how fast is it?)
– I’m not happy about the RAID5 rebuild times, so are 2TB drives indeed the sizes to go for?
– how about configuring things like ZFS equivalents of stripe size, buffer sizes, etc?
– what SATA controllers to use (is mainboard OK, what in addition to the mainboard SATA?)
– how can ZFS be used as an iSCSI target? how well does that work? (That would be really nice to connect to it from ESXi, Windows and many Linuxes/Linii)
– what about compression and block-deduplication?
– what about ZIP and L2ARC? how to estimate their size?
– which ZFS implementation to use? ZoL? OpenSolaris? Nexenta? Others?
– can a ZFS volume grow by adding extra drives?
(14 drives would get ~20terrabyte based on Z-3: http://www.servethehome.com/raid-calculator/ or http://wintelguy.com/raidcalc.pl but I want to have room for growth)

–jeroen

via: Hi everyone. I’m a geek. Learned most of the stuff by doing, and keeping tracks….

Posted in *nix, Hardware, HP XW6600, Linux, openSuSE, Power User, SuSE Linux, ZFS | 2 Comments »

running dig DNS under Windows

Posted by jpluimers on 2014/11/21

The dig (domain information groper) command under unix/Linux is a great way to help verify that a DNS host like BIND is working properly.

A few of my servers are Linux, but most of my desktops usually are Windows, so I was happy to find the Using the dig dns tool on Windows 7 article by Dan Esparza explaining there is a Windows version.

So I:

  1. Downloaded the Windows version of BIND (I took the BIND 9.9.2-P1 ZIP file)
  2. Unzipped that into my C:\BIN\BIND directory
  3. Ran this command, just like I would on a Linux box:
    dig @192.168.171.214 pluimers.com
  4. Checked the below output to the zone configuration on the openSUSE box serving the DNS for my domain

; <<>> DiG 9.9.2-P1 <<>> @192.168.171.214 pluimers.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12911
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 5, ADDITIONAL: 6

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;pluimers.com.                  IN      A

;; ANSWER SECTION:
pluimers.com.           172800  IN      A       82.161.132.169

;; AUTHORITY SECTION:
pluimers.com.           172800  IN      NS      ns7.4delphi.com.
pluimers.com.           172800  IN      NS      ns6.4delphi.com.
pluimers.com.           172800  IN      NS      ns2.4delphi.com.
pluimers.com.           172800  IN      NS      ns1.4delphi.com.
pluimers.com.           172800  IN      NS      ns3.4delphi.com.

;; ADDITIONAL SECTION:
ns1.4delphi.com.        172800  IN      A       82.161.132.169
ns2.4delphi.com.        172800  IN      A       176.9.152.132
ns3.4delphi.com.        172800  IN      A       176.9.152.131
ns6.4delphi.com.        172800  IN      A       109.70.6.22
ns7.4delphi.com.        172800  IN      A       176.9.143.167

;; Query time: 15 msec
;; SERVER: 192.168.171.214#53(192.168.171.214)
;; WHEN: Wed Jan 02 16:07:58 2013
;; MSG SIZE  rcvd: 235

–jeroen

via Dig (command) – Wikipedia, the free encyclopedia.

Posted in *nix, Linux, openSuSE, Power User, SuSE Linux, Windows, Windows 7 | Leave a Comment »