Archive for March, 2008

Some useful Wordpress plugins

Wednesday, March 26th, 2008

Subversion on Plesk-controlled subdomain

Wednesday, March 26th, 2008
After much procastination and personal interuptions (you can tell, I haven’t been blogging that often lately) , I’ve managed to install Subversion running as a subdomain with Plesk 8.0 and CentOS 4.3…

rest of the story on Alex Le’s blog

Unix Toolbox

Wednesday, March 26th, 2008

Highly recommended.

Sections:

  • System
  • Processes
  • File System
  • Network
  • SSH SCP
  • VPN with SSH
  • RSYNC
  • SUDO
  • Encrypt Files; Encrypt Partitions
  • SSL Certificates
  • CVS; SVN
  • Useful Commands
  • Install Software
  • Convert Media
  • Printing
  • Databases
  • Disk Quota
  • Shells
  • Scripting
  • Programming
  • Online Help

Firefox uses wrong app for mailto: links

Tuesday, March 25th, 2008

On an XP system: When Firefox fails to regard Thunderbird the “Default Mail Application” (even though you set that elsewhere) the problem may be solved by:

  •  Opening the Control Panel
  • Opening the Folder Options
  • On the File Types tab, find the  (None) URL:MailTo entry
  • Click the Advanced button
  • In the Actions window, you should see the entry: open
  • Click the Edit… button
  • Set the Application Used to Perform Action to the correct path of your Thunderbird as:

“C:\Program Files\Mozilla Thunderbird\thunderbird.exe” -compose “%1″

Virtual Machine Hosting

Wednesday, March 19th, 2008

Worth a look –

  • nomachine.com From their website:

    NoMachine NX is a Desktop Virtualization and Remote Access solution based on a comprehensive set of enterprise class open source technologies. Thanks to the outstanding compression, session resilience and resource management developed on top of the X-Window system, and the integration with the powerful audio, printing and resource sharing capabilities of the Unix world, NoMachine NX makes it possible to run any graphical application on any operating system across any network connection as if you were sitting in front of your computer.

    NX Free Edition

    A complete solution for remote access to your Unix workstation. It allows 2 concurrent users to connect no matter what their location is, and share the desktop. NX Free Edition is incredibly easy to install and run, leverages the competence and quality of the company that makes NX and, most importantly, is free forever.

  • 2X TerminalServer

    Using a compressed version of the X protocol, 2X TerminalServer for Linux provides users with a secure, personal Linux desktop accessible from anywhere in the world, over any connection…

    2X TerminalServer for Linux is an Open Source project, licensed under the GPL and is free of charge. Only user to user support is available via the 2X forums.

NFS on Ubuntu Hardy Heron

Wednesday, March 5th, 2008

For some reason, my fresh Ubuntu install didn’t include all the NFS bits… had to do this:

# apt-get install nfs-common portmap
# /etc/init.d/portmap restart
# /etc/init.d/nfs-common restart

and then I was able to:

# mount 192.168.0.50:/myshare /mnt/myshare

Loading 32-bit libraries on 64-bit Ubuntu

Wednesday, March 5th, 2008

OK so I tried to run simutrans on my new 64-bit Ubuntu box… and got this:

$ ./sim99-18-1671
./sim99-18-1671: error while loading shared libraries: libSDL-1.2.so.0: cannot open shared object file: No such file or directory

If you look at which libraries are actually being loaded, this way:

$ ldd ./sim99-18-1671
linux-gate.so.1 =>  (0xffffe000)
libz.so.1 => /usr/lib32/libz.so.1 (0xf7fac000)
libSDL-1.2.so.0 => not found
libpthread.so.0 => /lib32/libpthread.so.0 (0xf7f93000)
libSDL_mixer-1.2.so.0 => not found
libstdc++.so.6 => not found
libm.so.6 => /lib32/libm.so.6 (0xf7f6e000)
libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7f63000)
libc.so.6 => /lib32/libc.so.6 (0xf7e13000)
/lib/ld-linux.so.2 (0xf7fd1000)

…you’ll see that several libraries aren’t found, and that the other libraries that are found are 32-bit (in /lib32)… not the system standard 64-bit (in /lib).

To overcome this, we’ll have to:

$ sudo apt-get install apt-file
$ sudo apt-file update
$ sudo apt-file –architecture i386 search libSDL-1.2.so.0
ia32-libs: /usr/lib32/libSDL-1.2.so.0
[…more listing here…]
$ sudo apt-get install ia32-libs

and likewise for any other missing 32-bit libraries.