For techie tips and tricks, tools and sites of (dis)interest

Showing posts with label open source. Show all posts
Showing posts with label open source. Show all posts

Some Top Tools for Sysadmins

| Monday, May 03, 2010
jEditImage via Wikipedia
 jEdit
The world's most powerful editor and a pretty good IDE for too many languages to mention. Once you try the regular expression hypersearch function you won't ever look back.

Notepad2
For a super-lightweight, blindingly quick and simple replacement for Window's default editor, you can't go wrong with this baby. It's a genuine, simple replacement for notepad, unlike Notepad++, which (IMO) does too much to be really quick and simple, and too little to compete with jEdit or UltraEdit32. 

Beyond Compare
While jEdit has a comparison plugin - jDiff, it doesn't begin to compare (sorry) with Scootersoftware's minor masterpiece. This will compare directories, files of all types and all kinds of archives (even war, bin, cat and jar files, to name but a few). Old versions are available for free.

Fiddler2
While some might argue this isn't really in the domain of a typical sysadmin, I think understanding exactly why a page is throwing an HTTP error 500 code, or why a certain component renders slowly or never loads at all is pretty useful, especially since the post-financial crisis sysadmin typically has to take on many jobs that would normally fall to developers, webmasters and software engineers.

Radmin
While there's are a lot of remote control software out there, I've never tried one that is quite as good for remote administration of multiple Windows clients. Free is great, but sometimes, you only get what you pay for.

ZipGenius
While the version for 64-bit Windows 7 leaves a lot to be desired (they are still working on shell integration), ZipGenius rules on 32-bit Windows systems. Incorporating 7-zip binaries, as well as many others, such as C.A.K.E, UnRar and UnAce,there is little or nothing that ZipGenius can't open. It's missing the ability to simply GZIP files (it TARs and GZIPs them instead).

PuTTY
A free Telnet and SSH client that still can't be beat for its simplicity and power. Put it on a stick and shake it at every problem you've got.

Filezilla
The ubiquitous FTP client that's so obvious that we forget it's even there. There's a lot of competition in this area, but its still a winner for me. It's my FTP server of choice too.

phpMyAdmin
OK, so not all sysadmins use MySQL - but they should. There's every reason to have at least one instance of MySQL running, most sysadmins these days are at least part time solution developers. If there's a reason to have MySQL, there's a reason to have phpMyAdmin.

SQuirrel SQL Client
For every other DB, there's SQuirrel SQL. Oracle, DB2, SQL Server, MySQL, Derby, posegreSQL - you name it, they have a driver for it.

Eclipse
There are so many plugins for Eclipse, and so many tools that can run on its framework, that there is no way a serious sysadmin should be without this. Want to put together a website with some PHP? Try the PHP perspective. Need to glue some disparate applications together, use the perl perspective. Got JVMs heapdumping? Use the memory profiler, load up some verbose gc logs and away you go. I could go on, but you probably get the picture. You can say it does a bit of everything, and none of it very well. But it is flexible, and its free.

Clonezilla
Backup and clone a system to many computers thanks to Clonezilla's use of multicasting. No need for the slavish one-at-a-time approach that can make a sysadmin suicidal, and that can only be a good thing.

LogMeIn
This has to be the biggy. You're offsite. You're online. You need to assist your client right now. They could be 40km away, or they could be 4,000km away. This one is priceless. Maybe you have to get to your work desktop while working from home without access to a VPN. If you're company allows it, use it. If it doesn't, invest in one of the many expensive alternatives - WebEx, Sametime Unyte, AOS.

Yes, I know, I'm missing something. Please tell me what it is and where to get it.
Reblog this post [with Zemanta]

Can anyone stop Oracle?

| Tuesday, June 02, 2009
A few weeks back, when IBM turned down Sun's offer to acquire them, I thought they were crazy. You would think they would at least try to block their main competitor, right? Wrong. Oracle have been busy doing some buying of their own of the last few years, gradually building up momentum, looking for a big name acquisition.

Image representing Sun Microsystems as depicte...Image via CrunchBase

Then, they got one.

Weeks have passed, and it's still hard to say what the future will hold for Sun, and for Oracle. While in the past they have been pretty much steamrollering the smaller companies they've got their hands on, a company of the stature of Sun - who gave us Java and Solaris - requires different treatment. This should be an alliance, a meeting of minds.

However, what makes this approach even more interesting, is that Sun only recently acquired Oracle's greatest open source competitor, MySQL.
Image representing MySQL as depicted in CrunchBaseImage via CrunchBase

Now it's personal. Reading around on TheRegister and Slashdot, amongst other places, I'm getting a bit worried. I actually care about MySQL. I've been using it since I started to work with databases and especially since I started to develop web applications. It's default beep, sounding every time I type something stupid into it's command line, is music to my ears.

Where will things go from here? Who'll be next?



Reblog this post [with Zemanta]

BitNami - Full Stack Infrastructure and Applications

| Wednesday, March 18, 2009
Installing Drupal or Joomla, Wordpress, phpBB or Moodle is not such a big task. However, first you need to have an environment set up on which to install it. Windows or Linux, Apache, MySQL (or PostGre) and PHP (or Ruby or the JDK/JRE). Each one installed one-by-one, each one taking a little bit more of your time to install and configure. Environment variables, hostnames to be set, configuration files to be edited - it might take you a few hours, or even a few working days.

You can speed things up by installing WAMP (Windows, Apache, MySQL and PHP), LAMP (Linux, etc.) or even MAMP or SAMP (Mac, Solaris), as dictated by your OS. XAMPP is another option. This will give you a full stack infrastructure that you can install applications on and will really save you time. But why not download a full stack infrastructure with an application install of your choice thrown in?



BitNami
Cue http://bitnami.org/, who will give you just that. A slipstreamed installer for an ever increasing number of apps, and the infrastructure of your choice on which to host them.

I was looking for the latest version of Drupal, and BitNami had version 6.9-0, which is pretty impressive, since the latest is 6.10, so it's pretty close. But there's Joomla (which I installed on my painstakingly built stack just 2 weeks ago - before I stumbled upon BitNami), Moodle (eLearning), Wordpress (blogging), JasperServer (portal app), MediaWiki and phpBB (the premiere bulletin board app) all there for you to install and use as you see fit.

Develop, host, and build a production site if you want. You can even install Drupal, Subversion and, say, phpBB on the same native server. Keep the installed app(s) running, and each subsequent application installer checks for ports in use and prompts you to select a free port to listen on. They really have thought of everything.


So you have no excuse. It's easier than ever and you can even install them on Vista. You can even install several on VMware images if you want to spare your native OS. Best of all, it doesn't cost a penny and will cost you very little of your precious time.

Make long links short with shortlinks.js

| Monday, July 14, 2008
I got sick of looking at links I posted with long URLs that spilled off the page, making things look untidy.
After looking around for a way to neatly wrap links without breaking them, I found this.

Now I can post links as long as I like, and this little piece of JavaScript will truncate the link text and preserve the URL. All you need is a little script in the head of your page:
<head>
<script type="text/javascript" src="shortlinks.js"> </script>
</head>


Onload, the script will execute and rewrite the link as specified in shortlink.js:

// the maximum length of the links<br /> var mustlength=30;
... rewriting the link using the following function:
var newt=t.substr(0,mustlength/2)
+connector+
t.substr(t.length-mustlength/2-connector.length,t.length);

There are a load of other useful tools on both onlinetools.org and the author's site.

Set up LAMP on the Hardy Heron

| Monday, July 07, 2008
No, it's not a clue from a cryptic crossword, but rather Linux, Apache, MySql and PHP - all ready to go as one of the install options on Ubuntu 8.04.

It's worth doing, because by doing it this way, you'll save time on setting them up separately and trying to get them to work together. Read more here.

The Ultimate Showdown of Ultimate Destiny (of power tools)

| Wednesday, June 04, 2008
Nod profusely as you read through Scott Hanselman's 2007 Ultimate Developer and Power Users Tool List for Windows.

You'll see Notepad2, many offerings from SysInternals and the most powerful Firefox add-on ever, Firebug. If you've ever used them, even just a little, you'd have expected to see them in his list, but I was pleased to see a few things I've never tried, such as FolderShare, WinSnap and Ultramon.

Can't wait to get 'round to sampling them all.

Also, SysInternals have created a live share space for their utilities, so you don't have to have them downloaded in advance before you run them - handy if you're on the road, with a customer and you've forgotten your pen drive. From the readme.txt in the root directory:
What is this?

This is a file share allowing access to all Sysinternals utilities. We have developed this to test an alternate distribution mechanism for our utilities. This will allow you to run these tools from any computer connected to the Internet without having to navigate to a webpage, download and extract the zip file.

Still the best, at least for now

| Thursday, May 29, 2008
While Digsby remains tied to Windows and non-portable (at least, not truly portable and self contained).
I need portable. I need multi-platform. I need meanwhile (Sametime) support, in addition to jabber (google talk), icq, irc, yahoo and msn.
Pidgin is still the only IM that offers me all these things, with an attractive, easy to use interface, and all for free (unlike Trillian).

PidginPortable is presently at version 2.4. This may or may not be better than previous versions - but assuming you have or will download that version and what to fix the one known bug that matters, or get it working with Sametime, then this is how you can do it.

Buddy List Search Bug:
This is bothersome. You have a huge list of buddies, spread across multiple groups and multiple IM protocols, and you can't be bothered scrolling through the list, expanding groups and visually searching for buddies until your eyes bleed.
Up until PidginPortable 2.4 (true for non-portable flavour too), you just started typing the first few letters of the contacts name and pidgin did the rest. However, since the inclusion of the latest GTK+ libraries, this doesn't work - and pidgin just stops the search after you type the first letter. Downer.

Solution:

Download GTK+ 2.12.6 and copy bin/libgdk-win32-2.0-0.dll into PidginPortabl/App/GTK/bin (replacing the one that's already there).
Restart PidginPortable and the problem will be solved.

Sametime support:
So you work for a large blue corporation or some company that buys their IM/collaboration solution from them.
Older versions of Pidgin (Gaim) didn't support Sametime out of the box - you had to install the meanwhile library first. Now, meanwhile is included, but Sametime 7.5 will check your client version and reject Pidgin because it looks like an old Sametime version (3.x).

Here's how to fool Sametime:
Look for accounts.xml (for PidginPortable it's in Data/settings/.purple)
Look the following settings:

<settings>
<setting name='client_major' type='int'>30</setting>
<setting name='server' type='string'>messaging.yourcompany.com</setting>
<setting name='fake_client_id' type='bool'>1</setting>
<setting name='port' type='int'>1533</setting>
<setting name='client_minor' type='int'>6511</setting>
<setting name='force_login' type='bool'>1</setting>
<setting name='client_id_val' type='int'>4098</setting>
</settings>

The 'server' and 'port' lines will be there already from when you added the account, but you'll have to add the 'client_major', 'client_minor' and 'client_id_val' lines.
These three lines will tell the Sametime server what it wants to hear when it queries the pidgin client.
Another problem solved.

Thanks to khaytsus for raising the ticket for the Buddy List Search GTK+ bug and thanks to datallah who took ownership and of course witmaster who posted the downgrade workaround solution.
Thanks to jno and siege for the Sametime workaround.

Kudos to all who work on Pidgin to make it better and keep it relevant, despite stiff competition from the likes of Miranda and Digsby.


Microsoft promises to support the Open Document Format by next year

| Thursday, May 22, 2008
However, this has done little to impress interoperability watchdogs ECIS, who are still itching to file a plethora of anti-trust lawsuits against them.

Lotus Symphony - do I hear a bum note?

| Monday, May 19, 2008
Back when I tried OpenOffice 1.1 (my first encounter with it), I thought it was pretty decent. It was the one and only time I blue-screened a Win XP system, but I forgave it for being new(ish) and open source. Since OpenOffice got to 2.2 and later versions it has been rock solid and more useful than ever. With the exception of Excel, I don't think that Microsoft can justify the price of its Office suite anymore. So when IBM announced that they'd be creating their own open source office alternative to replace their aging (to put it mildly) Smartsuite package, I got interested.

Along came Symphony - which I started using towards the end of summer '07. I also stopped using it around that time too. Why? As a test run, I created a text document, and then tried to convert it to PDF. Symphony crashed... Hard. When I tried to restart it, it wouldn't. I realised that this was because the Eclipse javaw.exe process it was wrapped up in had hung on after the rest of Symphony had terminated, so I had to kill it. Then, lo and behold, I managed to get the application started again - and what did I find? A recovered unsaved document? No.

So, my first experience with Symphony was not entirely a success. You could even say it was a dismal failure, but that would be too lenient. The truth is that, although it didn't crash on me again since (mostly because I've barely used it), it doesn't offer a single advantage over OpenOffice 2.x. In fact, it seems to have less going for it in any respect that, in my opinion, counts. Firstly, Eclipse is a pig, so Symphony has a very large footprint - and this extra application tier just means that there's more that can go wrong. Secondly, Symphony is only based on the 1.1.x engine of OpenOffice - so it's not as stable and not as functional as OO 2.4.

All things considered, it's not so much a symphony as a dirge.

Read the linuxjournal article
and then here's a slightly less scathing review (thanks to muglatte)

The problem with USB pen drives

| Tuesday, April 29, 2008

USB pen drives are great - all that storage in your pocket and for a low cost too. I used to have a 128MB drive a couple of years back - I thought it was the dogs - I carried around a whole heap of stuff I never could dream of way back when all I had was floppy disks. Then I got a 256MB drive, then 1GB, then 2GB and recently I picked up an 8GB drive that is less than 5cm long (MyMemory.com) for peanuts. Cheap peanuts at that.

Back when I got the 1GB pen drive, I started running lots of Portable Apps on it: portable versions of Thunderbird; Firefox; Sunbird; Toucan; Abiword; Gaim (now Pidgin); Foxit and many more. Then I started to worry about what would happen if it fell into the wrong hands - all my email, my calendar, IM contacts and personal documents would be there for anyone to see. So I decided that I needed to encrypt as much of this personal / application data as possible

After a fairly thorough search, I found two freeware / open source applications that appeared to fit the bill (there were a load of slower, more cumbersome ones):

- Dekart Private Disk (only Lite is free)
- TrueCrypt

Both applications allow create a virtual drive of a predetermined size from a single file. To activate the private disk, you simply start the program, point it at the encrypted file and open it - the file appears as a virtual drive with a pre-assigned (fixed) drive letter, e.g. O:\.
You can then drag all the files and folders you want to encrypt into this drive and when you click on disconnect in the program the drive disappears and the file is encrypted. The encryption type is 256-bit AES - more than strong enough for most purposes - and the speed with which fairly large amounts of data are encrypted and decrypted is quite amazing. I tested with 512MB and 1GB of data. Once you create the initial file for encryption, you set the size - so this file takes up that space from the start, and you can never fill it up data totaling more than that value - so think very carefully about how much space you need before you start - it can take a while to initially create or finally delete one of these virtual drives.

Back when I was testing this out originally (sometime back last August/September), I found Dekart to be better. It could be stored and run from the USB pen drive itself, and ran very smoothly. I found TrueCrypt performed not quite so well.

However, recently, I moved all my portable apps into the virtual drive and found performance to be terrible - Thunderbird was so slow opening up and working with email proved to be unbearable. With a new version of TrueCrypt now available, I find myself curious as to whether or not it has improved and perhaps overtaken Dekart Private Disk.

For now, my email and other data from portable apps remains unencrypted, and I have to remember to disconnect my pen drive every time I leave my desk :(

I hope that TrueCrypt, or a future offering from Dekart will change things.

The future of webapps?

| Saturday, February 02, 2008
Mozilla Labs are busy doing something interesting with webapps at the moment:




Web applications can be run like standalone clients through Prism:

The New Dreambox is on the way

| Sunday, January 27, 2008

Coming in March 2008? Maybe not...





Here's the blurb:
The DM 8000 provides pure state of the art technology: two CI slots, two DVB-S2 tuners (MPEG-4) plus two additional slots for twin tuners, which are freely selectable via plug & play depending on the reception path preferred (satellite, cable, terrestrial). In addition, the box provides a reader for CF and SD cards.

The rear panel of the Linux box provides two Scart sockets, an S-Video output as well as an HDMI and a YUV connection (up to 1080i), complemented by two USB interfaces. An additional USB connection is provided on the front panel. Of course, the box also comes equipped with a 100 Mbit full duplex network connection.

Recording and archiving of HD material is no problem at all with the Dream DM 8000. It can be optionally retrofitted with a hard drive (SATA support) as well as with a DVD burner. A Mini PCI slot as well as the large OLED display round off the full range of features.


Now when it is coming? Unveiled in May 2006, Dream-Multimedia have been frustrated by licensing problems pushing the release date further and further out. The latest is that it will be on the market in June for about €800. Until then, you'll just have to pay for SkyHD :(

Reporting on PHP

| Monday, December 10, 2007
Got some reports to generate? Want to offer them in a variety of formats? No problem: you can start with pdf and xls and work from there.

The Register has put together a simple howto on the subject

More than 100 Web 2.0 Online Generators

| Monday, October 08, 2007
The jury is out on how useful this one is. It's hard to be too enthusiastic about the recommendations of a site written in asp and running on BlogEngine.NET! It looks good so far though, I will say.

40+ Free Windows Apps For You

| Tuesday, September 25, 2007
The good people of Technology Bites have been kind enough to compose a list of... you guessed it... 40+ Free Windows Apps... for, erm... you?



Submitted by muglatte via email