Category Archives: linux

getting a wordpress linux box up in 5 minutes (*)

diving

If you’ve ever went to the trouble of setting up WordPress on a Windows machine yourself, going through a PHP, MySQL and phpMyAdmin installation, then sort through all the IIS crap you run into you’ll love TurnKey Linux virtual appliances (aka pre-installed virtual machine boxes).

You can for example download a WordPress appliance which has all the stuff mentioned above pre-installed, launch it in VMWare Player, go through a 5 minute config et voilà! You have your very own virtual Ubuntu box up and running with a fully functioning fresh WordPress install on it. You can even flex your 1337 Linux command line skillz through “Shell in a box” which simulates a shell window in your browser. Or you can use SFTP/SSH. Wickedness indeed.

There’s more fun to be had though. Lot’s of other cool appliance are available containing tons of Open Source Software to be messed with. There’s a LAMP stack, one for Drupal, Ruby (how hip!) etc. Not quite geeky enough for ya? Well alright, go ahead then, get one of those appliances and upload it to Amazon EC2 and be all “in the cloud”. Cause they can do that you know. Oh yeah.

Don’t know if it’s a good idea though. Security wise and all.

(*) If you have VMWare Player installed and already downloaded the zip file of course. :)

Photo by MissMaze, cc-licensed.

finding out where software is installed on ubuntu

The Infamy of a Story Never Told by Felipe Morin
Pic by Felipe Morin, cc-licensed

For someone not accustomed to the Unix file system hierarchy you might have a hard time figuring out where the heck that package manager installed software you just selected. That is when it doesn’t occur automatically in your Ubuntu Application menu in the first place. Well there is a simply way to figure that out without having to look through all those mysterious usr, var and etc folders.

  1. Open up your Synaptic Package manager.
  2. Search and select the package you want to know the installation folder of.
  3. Right click it, and select Properties.
  4. Go to the Installed files tab of the property window.
  5. There you have it, all installed files and there location on your disk.

Now you can manually browse to it and run it by double clicking the binary.
If you want to add a shortcut or launcher to your Applications menu for the newly installed app, you can do this by right clicking the Applications menu, and selecting “Edit menus”.
Step by step details on how to add a new entry can be found on ubuntugeek.com.

mapping online storage as a local drive

Harddrive picture by \in`som´ni`ous\Online file storage systems usually have the drawback that you have to install a proprietary piece of software on your PC before you can start uploading and downloading files easily. Recently however I came across who.hasfiles.com and it turned out to be ass-kicking. The reason why I tried it in the first place, even though it doesn’t over that much space (only 100 mb) is that is claims work as a native disk for Windows, Mac or Linux.

Now that’s the kind of talk geeks like to hear! It even gets better. I tried this thing out, and besides actually working as promised, it even works through firewalls (like at work), which makes it really super-handy-dandy!

On Windows there’s nothing more to it than mapping your online storage as a new network drive, and using a local drive letter to access it. Hell, you can even use the net use command to map your drive, which means you can map or unmap it from batch scripts to do automated backups etc. Since the drive works like a native USB stick you hooked up to your system, you can access all your files easily through the explorer, using all your favourite software or even from the command line, and you won’t be able to tell the difference. Well, you might be able to guess since it’s going to be a tad slower than your local drives of course. You are connecting over teh interweb remember.

You can read how to map the drives for any OS on their site, and mapping it using the net use command to an X-drive goes like this:

net use x: http://yourname.hasfiles.com/storage/ /user:yourname yourpassword

Sweet!