This text is replaced by the Flash movie.
 

Posts Tagged ‘ How-To ’

The greatest Windows tips of all time

By Fei on December 28, 2009

By Patrick Miller
December 28, 2009

Whether you’re a grizzled Windows vet or a relative newcomer, you can always use a trick or two for making things go faster. We’ve compiled our 26 favorite time-saving tips for Windows XP, Vista, and 7. Print out this story and keep it on your desk, under your pillow, or anywhere else.


Classic Windows Tips

Toggle between apps: Use Alt-Tab to switch open programs without touching your mouse. The oldest–and still the best–Windows timesaver.

Navigate app windows: Press Ctrl-Tab to cycle through an application’s windows (or through a Web browser’s tabs). First cousin of the tip above, and probably the most underrated tip ever.

When in doubt, type it out: If you don’t want to hunt through nested menus and the like, you can access most functions, applets, or files the old-fashioned way–by entering them into the Search box. Type Calculator, Control Panel, or even the name of a piece of music on your hard drive, and press Enter.

Full-frontal folders: In Windows Explorer, click Folder Options (located under the Organize menu) to reveal hidden files, show the full path in the title bar, display file extensions, and more.

Unobtrusive updates: Keep your OS current by opening Windows Update (Automatic Update in XP) and setting it to Download updates but let me choose whether to install them. (To get there, press the Windows key and type Windows Update.) That way, you won’t have Windows urging you to restart when you don’t want to (or worse, triggering a restart when you’re away from the PC with an unsaved document open).

Tweak your taskbar: Right-click the Taskbar and choose Properties to find options for switching to the old Start menu, choosing which icons show in the notification area, setting default programs to appear in the Start bar menu, and more.

Partition, partition, partition: Make backups and restores easier by partitioning your hard drive and keeping one partition for the OS and the other for your documents and data.

Make your text special: Need a special character such as © or á? Press the Windows key and type character map in the field to bring up an app that will let you copy and paste the characters you need.

Simple screen capture: Take a screenshot by pressing Print Screen, which copies an image of your full screen to your clipboard so that you can paste it into Paint or your preferred image editor. To capture just the active window, use Ctrl-Alt-Print Screen. For more fine-tuned controls, try Screenshot Captor.

Take a shortcut: Right-click on any application icon, bring up the Properties menu, and click the Shortcuts tab. You can specify a keystroke combination to start your application here. Our personal favorite: Making a shortcut for Windows 7′s Snipping Tool makes screenshots much easier. (Windows 7 only)

Sticky keys (the good kind): Holding down two keys at once–such as Ctrl-C to copy–is a royal pain. Press the Shift key five times to start Sticky Keys, a feature that allows you to initiate a keyboard shortcut by merely pressing Shift, Ctrl, Alt, or Windows instead of holding that particular key down. Press Shift five more times to toggle Sticky Keys off.

Line ‘em up: Want to arrange two (or more) windows side by side in Windows XP or Vista? Hold down Ctrl and click on the desired windows in the taskbar; then right-click the taskbar and select Tile Vertically. In Windows 7, you can simply drag any open window to the right or left edge of your screen and then let go.

Instant classic (control panels): Miss Windows’ old Control Panel, which conveniently displayed all of its items at once? In Windows XP and Vista, just open the Control Panel and select Switch to Classic View. In Windows 7, click the View by drop-down menu in the upper-right corner and select your preference.



Speed Up Your Services

Manage the Task Manager: Windows’ built-in Task Manager (pressCtrl-Alt-Del and click Task Manager) is great for seeing what your system is up to, but power users will prefer Process Explorer, which shows more details that can help you find a memory leak or troubleshoot a pesky DLL problem.

Nudge your network: If you have network problems, try opening the command prompt (enter cmd in the Start menu’s search box) and typing ipconfig /renew to reset your network connection.

Index this, not that: The Windows Search indexer speeds up built-in search functions, but the indexing process itself can consume system resources at inconvenient times. Open Indexing Options in Control Panel (or press the Windows key and type Indexing Options). The resulting dialog box will let you specify which folders or types of data are indexed to avoid bogging down your PC needlessly.

Clean up your startup: If your PC drags its feet during the startup process, press the Windows key and type msconfig to open the System Configuration utility. Check in the Startup tab to see what your machine is loading. Your computer might be loading services or apps that you don’t need or want to use on startup.

Sharing is caring: For a little assistance in tracking your shared folders, right-click My Computer (or Computer in Windows 7) and click Manage to bring up the Computer Management tool. Then click Shared Folders to see a list of all of your machine’s shared folders, file-sharing sessions, and open files.



Essential Add-Ons

Look, Ma, no mouse: XP users should grab Launchy, a free keyboard-driven launcher application that allows you to access programs, files, and even Web sites with just a few keystrokes. (Vista and Windows 7 users get the same functionality from the Start menu’s search tool.)

Cleaner than you found it: To make sure that your programs uninstall completely, use Revo Uninstaller–it’s often more thorough than the programs’ own supplied uninstaller routines.

Annoyance buster: If you’re tired of User Account Control dialog boxes popping up all the time in Windows Vista, but you don’t want to disable the security feature completely, grab TweakUAC to set it to Quiet Mode. Windows 7 has its own UAC controls, but can still benefit from TweakUAC.

Get your hands dirty with Greasemonkey: Optimize your Web browsing with Greasemonkey for Firefox, an add-on that lets you choose among thousands of user-designed scripts for blocking ads, changing the layouts of popular sites, and more. (Variants also exist for Internet Explorer, Chrome, and Safari.)



Work Your Windows Key

Photograph by Robert Cardin

Lock your doors (and Windows): Stepping out for a minute? Remember to press Windows-L to lock your computer’s screen so that no one can nose around without entering your account password.

Run, Windows, run: To access the Run command easily, press Windows-R.

Keyboard explorer: Want to open a new Windows Explorer window without leaving the keyboard? Press Windows-E.

Declutter your desktop: Access your desktop instantly by pressing Windows-D to hide all open windows. Press Windows-D again to return to where you were.






  • Squidoo
  • Multiply
  • Facebook
  • Delicious
  • Digg
  • StumbleUpon
  • Twitter
  • TechNet
  • Technorati Favorites
  • MySpace
  • Share/Save/Bookmark

By Erik Larkin
December 28, 2009

TooManyTabs (free/donationware) is for the power-browser who likes to keep many Firefox tabs open at once. Instead of keeping all those tabs active, which can eat up your computer’s memory, TMT creates a sort of waiting area where tabs can sit–still visible, but using no memory.

The add-on installs a new toolbar in Firefox above the normal tabs. If you drag-and-drop a tab into the TooManyTabs toolbar, or click a stylized up arrow on the left side of the active tab, it moves up to the TMT toolbar.

A tab in the TooManyTabs toolbar lies dormant, and doesn’t use any computer memory. Instead, the URL for that tab sits in a new bookmark folder tucked away in the Unsorted Bookmarks folder. If you click a TMT tab, the add-on quickly restores the page to the regular tab bar using that saved URL and your browser’s disk cache.

You can use up to six rows to store your background tabs, and can switch between rows in the toolbar or view multiple rows at once. A TooManyTabs tutorial video at the developer Visibo’s site can help you get the most out of using multiple rows. Visibo also developed the useful Incredible Bookmarks add-on.

TooManyTabs offers a nice halfway point between keeping a tab active and using up memory, and filing it away in a bookmark where you might forget about it. If you tend to keep many tabs open at once for quick reference, the handy add-on can help conserve your computer’s resources.





  • Squidoo
  • Multiply
  • Facebook
  • Delicious
  • Digg
  • StumbleUpon
  • Twitter
  • TechNet
  • Technorati Favorites
  • MySpace
  • Share/Save/Bookmark

By Rick Broida
December 25, 2009

Reader Jenny sent me this impassioned plea: “I use Google Reader to keep up on my favorite blogs and sites. I clicked something and now the subscriptions list that was on the left side of the screen has disappeared! How do I get it back? Help!”

Have no fear, Jenny: I, too, use Google Reader, and I know exactly what happened. That subscriptions list you mention is part of Reader’s sidebar, which is collapsible, meaning it can scoot out of the way to provide more room for reading (hardly necessary in these days of widescreen monitors).

The problem is, the control that collapses Reader’s sidebar sits right next to the subscription-list scroll bar, so it’s very easy to click by accident. In fact, you might not even notice it’s there, as it’s virtually invisible until you mouse over it.

If you do click it, the sidebar vanishes, leaving behind a Navigation menu button that, when clicked, temporarily displays your subscriptions. But what if you want the sidebar back permanently?

Simple: Move your mouse arrow to the left edge of the screen until it hits a narrow vertical line, at which point the arrow turns into a hand. Click that line and presto: the sidebar reappears.

Google really needs to come up with a better system for showing/hiding the sidebar. In the meantime, at least now you know how to find it the next time it goes missing.

That’s it for me this week. Hope everyone has a safe and happy holiday weekend! See you back here on Monday.





  • Squidoo
  • Multiply
  • Facebook
  • Delicious
  • Digg
  • StumbleUpon
  • Twitter
  • TechNet
  • Technorati Favorites
  • MySpace
  • Share/Save/Bookmark

By Chris Brandrick
December 3, 2009

Although cell-phone cameras are improving in quality, offering higher pixel counts and better lenses, they still lack the photographic punch of a more advanced camera or DSLR. However, if you want to get more from your current cell phone camera without splashing out, you can by adding a macro magnifying lens to your device.

A recent modification by a modder by the name of Mathijs did just that. The modder took a macro lens from an old unused camera and strapped it to his HTC phone. The simple, yet slightly undignified, modification as seen in the video below, has surprisingly positive results.

A slightly more ridiculous modification, which includes taping an SLR lens to the back of the iPhone, can be found over at Hack A Day.

sample photos from Hack the A Day. Click for a larger view.






  • Squidoo
  • Multiply
  • Facebook
  • Delicious
  • Digg
  • StumbleUpon
  • Twitter
  • TechNet
  • Technorati Favorites
  • MySpace
  • Share/Save/Bookmark

By John Maringmei
November 19, 2009

For millions of computer users, the mouse is an essential tool and working on a computer without it is almost unthinkable. And for the bulk of these users, the left button is the default way to use the mouse; with the right mouse button getting neglected most of the time. While there are some tasks you can perform with a right-click, there is not much you can do with it. Or is there? Installing a couple of free utilities can add a lot of functionality to the right mouse button.

Here are 20 things you can do with just a click on the mouse right button.


Upload Files the ‘Right’ Way
If you into sharing files with your friends, it would be good to have an easy option to upload files without the need to anything fancy. You can share files easily and quickly with a free right-click utility — RightLoad. It features support for uploading to FTP/HTTP servers. Facebook, Rapidshare, Flickr, and Imageshack support can be also added via plugins.

Resize and Convert Images Instantly
Changing the size and format of image files might not be that essential but it does sometimes come in handy. And doing it with the help of the mouse right button makes it a lot easier instead of opening up full-fledged image editors. VSO Image Resizer lets you do just that. Right-click on an image file and select “VSO Image Resizer” and it throws up a window with various options to resize your image. It lets you resize the original image directly or create copies of it and also lets you convert images to a different format. It supports most of the common image files including RAW format.


Create PDFs in Two Clicks
When we want to create PDFs from other file formats, we normally use PDF printers which get installed in the PC as a virtual printer and converts files into PDFs by printing it into a PDF file. This method is not always the best way but we don’t have much of a choice. Or do we? Actually, there is a way to convert files to PDFs with just a right-click without installing a virtual PDF printer — 7-PDF Maker lets you create PDF from almost any document or image files in a matter of just two clicks. Right-click on the file and select “7-PDF — Create PDF” and you are done.


Convert Media Files
When you want to quickly convert audio and video files, there is probably no better and quicker way than to just right-click a file and choose the format you want to convert it to. Oxelon Media Converter lets you do that exactly by nicely integrating into the context menu. It features most of the options available in other full-fledged media converter and supports almost all the common audio and video files that you can think of.

Explore and Burn
Using a full-fledged burning tool like the Nero burning tool is not necessary if you don’t need all the bells-and-whistles that come along with it and your needs are quite basic like burning regular files or ISO image files only. Instead, you can use the aptly named Explore&Burn which allows you to burn files right from Windows Explore context menu. It is quite simple and easy to use with its wizard based step-by-step interface.


Launch Programs the “Right” Way
Program launchers are available in plenty but for quicker access to frequently used applications, RUNit can be a great time saver by allowing you to run applications with just a right-click. You need to first add applications to the program list and once added you will be able to launch applications by right-clicking on a particular corner of the desktop’s screen — by default it is the upper part of the screen (you can set it to any of the four parts of the screen).


Check Files for Virus
The VirusTotal.com’s free online service lets you upload files to check if the files are infected with virus. Once uploaded, it will scan for viruses and other malware with the help of around 40 security tools. The VirusTotal Uploader provides a very easy way to upload files to VirusTotal.com — right-click on a file and from the Send to option, select “VirusTotal”.

Access and Manage Virtual Desktops
Virtual desktops can be a very good way to maximize your desktop’s space by having separate desktop for different tasks. WindowsPager provides four virtual desktops with which you can organize your various tasks in a more optimized way. For organizing and managing running applications, just right-click on any program’s window and choose among the four virtual desktops to include that particular program in one of the virtual desktop.


Create MP3 Playlists
This might not be applicable to all PC users but if you have lots of music files stored in your PC, Mp3ListShellEx might come in handy. It lets you create different types of playlist or a plain text list of all audio files contained inside a folder. Just right-click on the folder containing the music files and from the “Create with Mp3ListShellEx” option choose the type of list you want to create.


View and Navigate Image Files
First Impression is a very useful image viewer with no visible interface — you only see the image you are viewing and you just need to use your mouse right button to navigate the images from a particular folder. It is a simple and very effective way to display images by cutting out all the unnecessary frills and focusing on only the images.

2 of 2
<< Previous

  • Squidoo
  • Multiply
  • Facebook
  • Delicious
  • Digg
  • StumbleUpon
  • Twitter
  • TechNet
  • Technorati Favorites
  • MySpace
  • Share/Save/Bookmark

By John Maringmei
November 19, 2009

For millions of computer users, the mouse is an essential tool and working on a computer without it is almost unthinkable. And for the bulk of these users, the left button is the default way to use the mouse; with the right mouse button getting neglected most of the time. While there are some tasks you can perform with a right-click, there is not much you can do with it. Or is there? Installing a couple of free utilities can add a lot of functionality to the right mouse button.

Here are 20 things you can do with just a click on the mouse right button.


Synchronize between Folders

If you have multiple copies of the same folder and want to synchronize it quickly and effortlessly, what can be better than just right-clicking and synching two folders in a few mouse clicks — you can do that with the FileMenu Tools utility that add dozens of utility to the right-click menu — the ‘Synchronize’ option is one of them. You just need to specify the two folders to synchronize and choose the synchronization type – Unidirectional (one-way sync) or Bidirectional (two-way sync) and you are done.


Free Up Locked Files
Files which are locked for some reason can be deleted (with the previously mentioned FileMenu Tools for example). But what if you don’t want to delete but free up the file from whatever is locking it up? The aptly named Unlocker gives you few more options for dealing with locked files other than deleting them like moving it to another location or renaming it. You can also kill the process which is locking the file or just unlock the file without killing the process. Launch it by right-clicking on the locked file and it displays the different processes are possible for locking the file and lets you kill them to free up the file.

Unravel Unknown File Extensions
What do you do when you encounter file with unknown extensions? The obvious way would be to right-click and try to find a compatible application by clicking on the Open With option. It is basically a tedious task trying to find a suitable program from among the myriad software installed in your PC and more often than not, a compatible application might not be installed. In this scenario, OpenWith.org is a better alternative to the default Windows Open With feature. It finds matching applications to run the file. In situations where no compatible application is found, it gives you an option to download applications directly from the Net.


Easier Access to Folders
With Folder Guide you can avoid the hassle of navigating through a set of paths to access a particular folder. It provides you direct access to folders that you use frequently — just add the folders you want to access and it will show up in the ‘Folder Guide’ item when you right-click on the Desktop or Explorer window. Right-clicking on a particular folder allows you to add it to Folder Guide list for quick navigation to that folder.


Control and Manage Windows Tasks Easily
Process Manager adds a host of features when you right-click on a particular task in the taskbar or an active window. It lets you set the priority level or terminate a particular process without the hassle of running Windows Task Manager. There is also an option for making any window transparent where you can set the level of transparency. Other useful features include the ability to minimize applications to the system tray and displaying windows always on top of other open windows.

Shut Down PC with a Double (Right)-Click
Double-clicking with the left mouse button is nothing new but what about the right button? Yes, you can execute a number of tasks by double- (right) clicking with ClickZap. You can choose to Lock/Log out/Shutdown the computer or minimize/close windows with a right-click.


Run Applications and Tasks with Gestures
MouseWrangler lets you run applications or tasks by holding the right mouse button and moving the mouse in a particular direction. You can replace keystrokes like Alt+F4, Ctrl+C, etc with a particular gesture or create gestures that will open up any application.


Thumbnail Creation in a Jiffy
RightThumb adds a thumbnail creation option to the right-click menu. By default, this standalone utility doesn’t integrate into the context menu automatically, for integration into the context menu; you need to select the ‘Run in Context menu’ option. It allows you to save the thumbnail in four formats (BMP, GIF, JPG, and PNG) and provides some advanced options like setting the JPG quality/compression level for PNG files, sharpening the thumbnails after resizing, and advanced filters for resampling the images.


Encrypt and Be Safe
Locking a file can sound intimidating but it can’t get easier than just right clicking on it and encrypting it or decrypting it as the need arises — that’s exactly what AxCrypt does. Select a file to encrypt and enter the passphrase that will be used to unlock the file and it will be locked. The ‘Decrypt’ option will unlock the file. It’s as easy as that.


Selective Backup
If you just want to backup individual files without installing heavy duty apps, Developer’s Backup might be the perfect tool. You need to configure it to set the folders where you want to store all your backups by clicking on the ‘Right-click Backup’ tab. When you right-click on a file, the particular folder will be shown in the ‘Developers Backup’ menu.

1 of 2
Next >>

  • Squidoo
  • Multiply
  • Facebook
  • Delicious
  • Digg
  • StumbleUpon
  • Twitter
  • TechNet
  • Technorati Favorites
  • MySpace
  • Share/Save/Bookmark

Why is my computer slowing down?

By Fei on November 9, 2009

By Lincoln Spector
November 10, 2009

A number of issues can slow down a once fast PC. Here are some of the most common.

An overloaded and fragmented hard drive. If your drive is too full (more than about 80 percent), or too fragmented (the two often go together), it could be slowing down your PC, especially if you don’t have much RAM.

Defragging is the easiest solution, so you should try that first. To defrag in XP, select Start, then My Computer. Right-click your C: drive and select Properties. Click the Tools tab, then Defragment Now. Vista defrags automatically–or at least it does so in theory. See Vista Defrag Problems for details. Or you can go with a third-party defragger. Forum regular Flashorn recommends the free MyDefrag, which looked pretty good when I checked it out.
If your drive is getting full and defragging doesn’t help, you may have to make hard decisions about what you can delete or off-loaded to an external drive. Or you could replace the drive with a larger one.

Avoid new programs. Software has a way of cancelling out Moore’s Law–as hardware gets faster, software gets slower. (I attended a programming conference once where Bill Gates advised programmers to write for the most powerful PC currently available, because that would match a normal PC when their product was released.) So if you keep buying the latest office suite or photo editor, performance will suffer.

Watch your security software. You can avoid upgrading Office and Photoshop, but you have to keep your security software up to date or you risk infection. Major security suites like Norton and McAfee use a lot of resources, and keep using more with each major upgrade. They can seriously slow down an older PC. Consider switching to smaller, sleeker (and often free) alternatives. See Can You Trust Free Antivirus Software? and What Free Security Programs Can Protect My PC? for product suggestions.
Reduce the autoloaders. Your security programs probably aren’t the only ones that load automatically each time you boot and stay in memory, although they may be the only ones that should. Any number of programs you’ve installed may have inserted a piece of themselves into Windows’ Startup list, and could thus be slowing you down. See Why the Slow Boots? for more information.
You could be infected. See Remove a Virus or Other Malicious Infection for details.
And remember, when it comes to upgrading your hardware, adding RAM is relatively cheap and usually very effective.

  • Squidoo
  • Multiply
  • Facebook
  • Delicious
  • Digg
  • StumbleUpon
  • Twitter
  • TechNet
  • Technorati Favorites
  • MySpace
  • Share/Save/Bookmark

By Tony Bradley
November 10, 2009

Businesses planning a move to Windows 7 need a more rigorous planning and assessment tool than the consumer-grade Upgrade Advisor. The early success of the operating system notwithstanding, you need to do some due diligence up front to determine if the existing hardware and software you rely on will work with the new operating system. If you only have a handful of systems to assess the Windows 7 Upgrade Advisor should do the trick. For larger deployments, the more appropriate tool is the Microsoft Assessment and Planning Toolkit 4.0–or MAP.

MAP is a Solution Accelerator from Microsoft that allows you to inventory and analyze the systems in your organization without requiring any sort of agent software to be installed on the endpoints. MAP leverages existing Microsoft technologies such as Active Directory Domain Services, the Remote Registry Service, and the Computer Browser Service to gather information and produce informative reports to help guide your IT planning.

MAP analysis and reports can help with a variety of IT planning scenarios. MAP can help inventory servers and clients on the network, identify physical servers that are not being utilized effectively, and make recommendations for consolidating servers and virtualizing roles using Hyper-V. In this case though, we’re mainly interested in the ability of MAP to determine hardware compatibility and readiness for upgrading to Windows 7.

MAP identifies systems running earlier versions of Windows like Windows XP and Windows Vista, then compares the MAP scan results against Windows 7 minimum and recommended system requirements. Systems that do not meet the needs of Windows 7 for things like memory, free disk space, or processor speed are identified, and MAP makes specific recommendations for actions to take to make the system ready for Windows 7.

The resulting Windows 7 Readiness Summary report provides a simple overview of the number of systems that are ready for Windows 7, the number that are not ready, and the number that will never be ready. The MAP results deliver the information you need to get your hardware up to speed for Windows 7.

MAP is great, but it actually only tells half of the story compared with the Windows 7 Upgrade Advisor. You also have to consider the software you rely on and whether those applications will work in Windows 7. Microsoft has another Solution Accelerator to fill that need–Application Compatibility Toolkit (ACT).

Similar to MAP, ACT will scan the systems on your network and identify any software that is incompatible with Windows 7. Most applications should be able to run under Windows 7. For those critical applications that don’t work in Windows 7, Microsoft provides XP Mode to bridge the gap and let you continue to run them in a virtual Windows XP system within Windows 7.

Armed with MAP and ACT results, you can plan your upgrade to Windows 7 to make it as efficient and hiccup-free as possible. A little due diligence and planning goes a long way to ensuring a smooth migration experience for your organization.

Next, determine which version of Windows 7 is right for you, and start planning your upgrade.

  • Squidoo
  • Multiply
  • Facebook
  • Delicious
  • Digg
  • StumbleUpon
  • Twitter
  • TechNet
  • Technorati Favorites
  • MySpace
  • Share/Save/Bookmark

Are you neglecting your Windows key?

By Fei on November 5, 2009

By Rick Broida
November 6, 2009

SAN FRANCISCO – Today I saw something that made my eyes go wide: A friend reached for the mouse, clicked the Start button, and then went back to the keyboard to type the name of the app he wanted to launch.

I asked him what I considered an obvious question: “Why didn’t you just press the Windows key?”

“The what key?” he responded.

Seriously? This isn’t common knowledge? Apparently not, because after a quick survey of some friends and family, I discovered that few people ever bother with the Windows key, and some don’t even know what it’s there for.

(The horror. Time to re-up your PC World subscriptions, people!)

Needless to say, a tap of the Windows key (which on most keyboards is just to the left of the Space Bar) takes you to the Start menu, where–in Vista and 7–you can start typing to dynamically search for apps, files, e-mail, and the like.

A lesser-known use of the Windows key is to launch apps in a flash. And don’t forget these three indispensable Windows-key shortcuts.
So stop thinking of that little key as some kind of wayward Microsoft marketing effort and start putting it to good use!

  • Squidoo
  • Multiply
  • Facebook
  • Delicious
  • Digg
  • StumbleUpon
  • Twitter
  • TechNet
  • Technorati Favorites
  • MySpace
  • Share/Save/Bookmark

Run a portable Web server

By Fei on November 4, 2009

By Jason Whittaker
November 5, 2009

LONDON – A huge variety of web services and providers are available, ranging from free online site builders to fully configurable virtual servers hosted by an ISP. For a large number of these, you’ll be able to log in and create your website fairly easily, so why would you need web server software?

For a web developer, the advantage of having a server on your own PC is that you can test pages and sites before they go live. In particular, if you’re working with complex scripts or plug-ins, there’s always a danger that they may cause your site to stop working or create vulnerabilities.

Server2Go, which we demonstrate in the following walkthrough, can be installed on a USB drive. This means you can take your files with you wherever you go, and use them even on a PC where you have no administrator privileges and are unable to install any programs. This will be useful if you want to demonstrate a test site to someone else or simply try something out.

It’s also possible to create media-rich applications that can be distributed to run from disc when you don’t want them available online. If you also bundle the installation-free version of Firefox, you’ll gain complete control over the presentation and distribution of your files.

Getting up and running with Server2Go

Server2Go runs without needing to install itself on your machine, which means you can launch it directly from write-protected media. Because it usually includes a fully functioning database, you can create complex applications such as catalogues and computer-based training (CBT) products that can be sent out on disc.

The program comes in a number of versions, including a micro package that consists of the web server Apache. In most cases, however, you’ll want to use a version that includes PHP, MySQL and Perl to ensure you have everything you need for a fully functioning site.

Apache is the core application. The popular open-source web server could be downloaded as part of Server2Go in three different releases at the time of writing: 1.3.55, 2.0.63 and 2.2.11. The first two versions are stable but older forms, while the latter is a more recent release.

Database functions are handled by the open-source MySQL program, with which many web developers will be familiar, along with the less commonly encountered SQLite. This allows databases to be run without installation or administration. Finally, Perl and PHP are popular coding languages required to run a large number of interactive sites. PHP is particularly useful alongside MySQL for handling databases, with Server2Go supporting PHP 5.2 and MySQL 5.0.41.

It’s possible to tinker around with various settings within configuration files after you’ve downloaded Server2Go. We’ll do a little of that here in order to ensure that the program runs alongside another portable app, FirefoxPortable.

In general, however, one of the best features of the package is that it runs effectively and efficiently with no further requirements on your part.

STEP 1. Download the Server2Go software from server2go-web.de. Click Downloads and select a version. We recommend the most complete package, but you can opt for a download of between 6MB and 45MB.

STEP 2. Server2Go downloads as a self-extracting .zip file. Double-click this. Once its contents have been extracted into a new folder, have a nose around and familiarise yourself with the various folders.

You’ll find an icon that launches the program and six folders. Server contains the applications that will run your web pages, dbdir handles databases and cgi-bin stores executable scripts. See Using phpMyAdmin (below) to learn about the Admin folder. Htdocs is the most important folder: this is where you’ll store the web pages you create.

STEP 3. To begin using Server2Go immediately, double-click the main icon to launch the web server. This will open your web browser with the address http://127.0.0.1:4001 – a test page that confirms you’ve unzipped the package correctly. To open any other files in your htdocs folder, type the name of the file after the localhost address. Closing the browser will shut down the server.

STEP 4. In the next few steps, we’ll show you how to create a truly self-contained system using the portable version of Firefox available from tinyurl.com/mam23. Having downloaded a copy, double-click the .zip file to extract its contents into the folder that contains your server software. There, you’ll find a folder called FirefoxPortable; double-clicking the icon within this folder will launch the application.

STEP 5. You’ll need to make a few configuration changes if you want to use Firefox as the default browser. First, go to the folder FirefoxPortableAppFirefox and change the name of the icon Firefox.exe to ffp.exe. Don’t change the name of the icon FirefoxPortable in the top directory. Instead, create a file called FirefoxPortable.ini and add the following code in the directory FirefoxPortable:

[FirefoxPortable]
FirefoxDirectory=Appfirefox
ProfileDirectory=Dataprofile
SettingsDirectory=Datasettings
PluginsDirectory=Dataplugins
FirefoxExecutable=ffp.EXE
AdditionalParameters=
LocalHomepage=
WaitForFirefox=true
DisableSplashScreen=true
AllowMultipleInstances=true
DisableIntelligentStart=false
SkipChromeFix=false
SkipCompregFix=false
RunLocally=true

STEP 6. Finally, in the Server2Go folder, open the file pms_config.ini and find the line that begins BrowserType. Change this from BrowserType=IEXPLORER to BrowserType=PORTABLEFIREFOX, and the line BrowserPath=ExternalBrowser/SimpleBrowser.exe to BrowserPath=FirefoxPortable/FirefoxPortable.EXE (this assumes that you unzipped FirefoxPortable into the server that hosts the rest of your Server2Go files).

Firefox will now launch as the default browser, allowing you to design pages without worrying about what software is installed on the end-user’s PC.

Using phpMyAdmin

Setting up and managing SQL databases is a complex task when completed via the command line, so the close integration of MySQL and PHP in phpMyAdmin comes in incredibly useful.

This is bundled as a standard part of the Server2Go package. You can access it from your web browser by typing phpMyAdmin after the address of your local server (127.0.0.1:4001). From here, you’ll see the splash screen with some basic information about the version of MySQL being run on your machine, as well as a drop-down menu of databases in the left-hand panel.

Selecting one of these databases will display it in the main window, where you’ll see a list of tables contained within. Tabs let you sort information, export or import records, create new tables via operations or edit privileges to restrict access.

To create a new database in phpMyAdmin, locate the field entitled ‘Create new database’ that sits about halfway down the home page. Enter the name of your database and click Create.

Next, you’ll be asked to create a table with a number of fields. You can then specify the name, type and any default values contained in those fields.

Running fully fledged apps with Server2Go

Once Server2Go is up and running, it’s time for you to create something interesting that can be distributed as a self-contained set of files.

An obvious option is to design a website using your favourite editor. Pages saved to the htdocs folder wherever you’ve installed Server2Go will then be displayed in the browser.

However, creating simple HTML pages doesn’t really require this kind of application. After all, creating HTML documents with links will simply display in the browser when you double-click them, with the ability to click through to other files.

Since Server2Go provides you with fully working versions of MySQL and PHP (depending on which version you’ve downloaded), you can create far more complex applications. In this section, we’ll look at bundling a search engine, Zoom Search, as well as installing a content management system, Joomla.

STEP 1. Zoom Search Engine 6.0 can be used to add search facilities to a website or folder. Download it from wrensoft.com and install it to your hard drive. The free version can be used on sites consisting of up to 50 pages, while a $49 (£30) Standard licence allows you to search up to 100 pages. Professional and Enterprise versions can search up to 200,000 or an unlimited number of files respectively. Launch the wizard to create a simple search index of your site.

STEP 2. Allow Zoom Search to scan through the pages of the indicated site and create a set of index files for copying into your final project. You’ll need to specify a start directory (the folder to be searched) and an output directory (where the index will be stored). Keeping to a single search will allow you to avoid most of the other, more complex options.

STEP 3. Zoom Search also creates a default search.html page. Ensure that this, its CSS files and the index that Zoom will use to search your site are in your Server2Go folders so that you can copy them all across with your final project.

STEP 4. To create a dynamic interactive site with Joomla, download the latest version from joomla.org/download.html. Unzip this file into a folder called joomla in your htdocs directory. Launch Server2Go and then navigate to the joomla folder, typically http://127.0.0.1:4001/joomla. This will start the Joomla installer. Select the language you want and click Next.

STEP 5. Joomla first launches a preinstallation check to ensure your system is compatible. Once it’s satisfied (it should be with a default install of Server2Go), click Next to view the licence, then click Next again to proceed to the first stage of installation. This configures the SQL database required by Joomla. For simplicity – and to test an installation – you can enter the username as root and leave the password blank. This is insecure, of course; to change it you’ll need to use phpMyAdmin to set a default use name and password. Note that the host name should be localhost.

STEP 6. FTP settings can be ignored at this stage, but for the next name you must enter a password to use with the username admin to access Joomla’s administrative features. It’s also a good idea to enter a name for your website and email address.

STEP 7. As a final security step, navigate to the folder where you installed Joomla and delete the directory installation: Joomla won’t load in the browser until you do so.

Typing the address 127.0.0.1:4001/joomla will load the program in your browser, while 127.0.0.1:4001/joomla/administrator lets you configure the application. Go to Extensions, Template Manager to modify the appearance of your site, and Content, Article Manager to begin adding content. You’ll find plenty of Joomla templates by searching online, and anything you add to your site is completely searchable because the material is stored in a MySQL database.

STEP 8. The original function of Server2Go was to create a fully working website that could run from disc. Once you’ve added content to your site, the next step is to create a version that can be distributed in this way. If you’re distributing a single site, you’ll want to edit the pms_config.ini file so that the site opens automatically when Server2Go is launched, which means looking for the line DefaultFile and adding the folder name for your site (for example, joomla).

Once this is done, simply open your favourite disc-copying software and create a job that will move all the files you need to disc. Make sure you copy everything in the Server2Go folder, including third-party programs such as Zoomsearch. After the disc has been created, it’ll run your website as a self-contained application.

Portable apps

Server2Go and FirefoxPortable are two of a number of products designed to run without installation, meaning they can be carried on to any PC via a USB drive or CD. At portableapps.com, you’ll find a complete suite of such applications, including OpenOffice.org for your productivity needs, the Sumatra PDF reader, Pidgin Portable to handle instant messaging clients, and antivirus software from ClamWin.

With the suite installed on your USB drive (the standard suite consumes 355MB of disk space), you can be sure that even in internet cafes or security-conscious work environments you’ll have most of the basic tools you need to carry out your required tasks.

  • Squidoo
  • Multiply
  • Facebook
  • Delicious
  • Digg
  • StumbleUpon
  • Twitter
  • TechNet
  • Technorati Favorites
  • MySpace
  • Share/Save/Bookmark
Subscribe E-Newsletter

Don't get left behind. Sign up to receive the latest news.

Our Sponsors
Kerio
Ozaki
redwood
Super Micro
Kaspersky
KOSS
Xitrix
Western Digital
Emerson
Copylandia
JobsDB
ePLDT
Bitdefender
Multi-Color
mseedsystems
Smart
Peplink
Sophos
Astaro
itproasia
MEC
APC
wsi
Wolfpac
ArcusIT
 
 
 
PC World Magazine Subscription
subscribe now
Web Design