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,830 other subscribers

Archive for the ‘SuSE Linux’ Category

BitTorrent Labs: BitTorrent Sync – distributed peer-to-peer syncing your files without online cloud storage

Posted by jpluimers on 2014/07/18

Interesting for people that do not trust Cloud Storage providers: BitTorrent Labs’ BitTorrent Sync.

I’ve tried an early version, and it works “OK”. Not yet as well-integrated like for instance DropBox, but stable and fast enough.

Important thing for me: works on *nix, OS X and Windows. Hopefully mobile devices will follow soon.

At the time of writing (May 2013), it is the only cross platform freeware entry in Comparison of file synchronization software – Wikipedia, the free encyclopedia.

In the mean time, Thomas Mueller (dummzeuch)wrote a nice blog post with background information on this: Bittorrent Sync, a secure DropBox alternative » twm’s blog.

–jeroen

Posted in *nix, Apple, DropBox, Linux, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, Power User, SocialMedia, SuSE Linux | Leave a Comment »

HTTP debugging tools

Posted by jpluimers on 2014/07/15

Any web developer should know how to capture and trace HTTP traffic.

I’ve written about Fiddler before, but that’s a Windows specific tool.

Time to have a small list of posts and links to tools that work on various platforms.

I’ve left out Java based tools as there have been too many security issues with Java over the last couple of years.

Tools: Read the rest of this entry »

Posted in *nix, Apple, Development, Fiddler, Linux, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, Power User, SOAP/WebServices, Software Development, SuSE Linux, Web Development, Windows, Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | 2 Comments »

Windows: programmatically setting date/time stamps of files

Posted by jpluimers on 2014/07/01

For DOS programs, date and time stamps were used to mark versions of files. For instance, Turbo Pascal 6.0, had a 06:00 time stamp on every file.

You can still do this in Windows, but need to watch for a couple of things:

  • daylight saving time
  • more than one time stamp per file

There are various ways to do it. Besides a graphical Attribute Changer at www.petges.lu (thanks User Randolf Richardson), these are console approaches via How can I change the timestamp on a file?:
Read the rest of this entry »

Posted in *nix, Apple, Batch-Files, Cygwin, Development, Linux, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, Power User, PowerShell, Scripting, Software Development, SuSE Linux, Windows, Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | 2 Comments »

Hiding email behind a 30x redirect.

Posted by jpluimers on 2014/06/24

Last week, I thanked Jaykul for helping me out on PowerShell.

But he taught me another thing that was new for me: on his site, he has hidden his email address behind a 302-redirect.

I didn’t even realize that was possible until I saw his site start my mail program without initially showing a mailto in the url. A quick check showed me he was using a 302-redirect: Read the rest of this entry »

Posted in *nix, Apache2, bash, Development, Linux, Power User, Scripting, Software Development, SuSE Linux, wget | Leave a Comment »

alias suse_version for getting the openSUSE version – openSUSE

Posted by jpluimers on 2014/05/19

I always forget where SuSE keeps its’ version number.

Hence my alias:

alias suse_version='cat /etc/SuSE-release'

–jeroen

via: SDB:Find openSUSE version – openSUSE.

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

SDB:System upgrade – openSUSE

Posted by jpluimers on 2014/05/01

SDB:System upgrade – openSUSE.

Every once in a while, I feel like I have been living under a stupid rock.

This was one of these cases. About 5 years ago, openSUSE added this feature:

openFATE – #305634: Debian-like dist-upgrade live system full version upgrade.

It is awesome, requires a bit of twiddling and afterwards you have a system that:

  • was updated in-place while live
  • is the most current openSUSE version

I don’t know of any drawbacks yet (will soon try it). If I find ones, I will post a new entry here.

The basic steps are like these: Read the rest of this entry »

Posted in *nix, Development, Linux, openSuSE, Power User, Scripting, sed script, Software Development, SuSE Linux | Leave a Comment »

Linux: getting the correct license file for AntiVir

Posted by jpluimers on 2014/04/29

I needed AntiVir on an openSUSE workstation.

Too bad the default installation package from YaST installed an old license: AntiVir would not work, and I was getting emails like these at regular intervals:

<br />Date: Thu, 25 Apr 2014 08:57:11 +0200<br />From: Cron Daemon &lt;root@....&gt;<br />To: root@....<br />Subject: Cron &lt;root@...&gt; /usr/lib/AntiVir/guard/avupdate-guard --product=Scanner &gt; /dev/null<br /><br />Error: No valid license was found<br />

After searching the web for a while, I found a lot of posts with wrong information, basically coming down to these 2:

At the bottom of the post, you will find a small shell script that I use to keep the hbedv.key up-to-date.

First some more about HBEDV, then how I found about the new download location, and a command to show you the current license information. Read the rest of this entry »

Posted in *nix, bash, Development, Linux, openSuSE, Power User, Scripting, Software Development, SuSE Linux, wget | 3 Comments »

Apache2 on openSUSE 12.x: some notes

Posted by jpluimers on 2014/04/24

Getting Apache configured on a *nix installation like openSUSE installation is always a bit of a challenge.

A few things I observed: Read the rest of this entry »

Posted in *nix, Apache2, Linux, openSuSE, Power User, SuSE Linux | 2 Comments »

rsync: the MacGyver tool for making backups on *nix based operating systems

Posted by jpluimers on 2014/04/23

I’ve been using rsync as my MacGyver style backup-tool of choice on *nix systems and sometimes even Windows systems.

It works both locally and remotely, is simple to setup and over the years has gathered a lot of nifty functionality.

It is way easier to backup using rsync one directory to another than using tar (tar has the benefit of putting everything in one archive though) using a command like this:

rsync -aiv /path/to/source/directory /path/to/destination/directory

For remote copies, I usually add replace -aiv with -aivz or with -aiz.

Given the ubiquitous of hard disk space, I hardly compress or archive directory trees for archival purposes any more.

For an introduction of basic functionality read Everything Linux – A Tutorial on Using Rsync. An article from 1999 that is still very valid now.

Besides my praise for rsync, there are a few small things I want to mention in this article:

  1. Sometimes more is less. Recently someone asked me how to force rsync not to keep the time stamps of files.
    He wasn’t the first to ask.
    The solution is simple: since the -a option archive option implies -t, so the solution is to expand -a into its parts -rlptgoD, then remove the -t from that.
  2. The –link-dest=DIR option was added in about 2004 (later: no, link-dest was added to rsync 2.5.6 in januari 2003), which allows you to do incremental backups. Read the rest of this entry »

Posted in *nix, Development, Linux, Power User, Scripting, Software Development, SuSE Linux | 1 Comment »

7zip on ESXi through p7zip

Posted by jpluimers on 2014/04/13

A while ago, I wrote about getting rsync on ESXi: ESXi 5.1 and rsync – damiendebin.net.

Now I needed [WayBack7zip on ESXi to make sure I could test unpack some 7zip archives.

This turned out much easier than I thought, thanks to [WayBack7Zip for ESXI | Vladimir Lukianov: Заметки who pointed me to the [WayBackP7ZIP project. P7ZIP actually created three things:

  • p7zip (a POSIX 7zip),
  • J7ZIP (a Java port of 7zip)
  • java_lzma (the Java port of the [WayBack7zip lzma SDK which had the first implementation of [WayBack] lzma).

Here are the full steps to get 7zip on ESXi 5.x:

Read the rest of this entry »

Posted in *nix, *nix-tools, ESXi4, ESXi5, ESXi5.1, ESXi5.5, Linux, Power User, SuSE Linux, VMware, VMware ESXi | Tagged: , | 3 Comments »