You are here

windows

How to connect to Amazon EC2 using Putty SSH

If you use Windows to connect to your servers, the most used software to connect using SSH are usually Putty or Cygwin. This tutorial will use Putty to allow you to connect to an amazon EC2 server.
When you build your servers you created a ".pem" file which is the public-key of a specific certificate. Putty does not understand this key, so it is necessary to create a "ppk" file - Putty Private Key.

Git for Windows

Just a quick one... if you need to use Git in a Windows Environment, simply download the msysgit installer and follow the instructions on screen.

Installing Rails Plugins in Windows

If you are using RoR (Ruby on Rails) and Windows to develop you probably ran into this problem. You want to install a Plugin and use it in your application, so you find some tutorial or links anywhere on the big WWW and when you copy/paste the links they do not work and you get an error message telling you that this is not an executable file. Much like this:

C:\repository\ruby\project>script\plugin install git://github.com/dougal/daemon_generator.git
'script\plugin' is not recognized as an internal or external command, operable program or batch file.

NetBeans 6 Ruby fast debugger and Windows

If you are using Netbeans as a development environment for creating Ruby on Rails software, you should know how to debug your application. Using these out-of-the-box frameworks are really great when it comes to the speed of the development however, whenever you face strange behavior, debugging is the key.

Which binary file am I running in Cygwin?

If you want to find out which of the binary versions of some file you are running under Cygwin you can try two commands: "which" and "type".
 
type -a ruby
 
Should return something similar to:
 
16:55:17 ~$ type -a rubyruby is /usr/bin/rubyruby is /bin/rubyruby is /usr/bin/rubySo would this:
 
which ruby
Cheers!

Cygwin Personal Setup

Some time ago I wrote a post on my blog on how to setup the looks of your Cygwin bash shell using rxvt. Well, I normally add a few more settings to my environment just to make it more useful.

For instance, I add the following lines to my ~/.bash_profile with some aliases to make it easier with directory surfing.

alias ls='ls --color=auto' alias ll='ls -lsa' alias l='ls -la'

It is also useful to set some preferences for vi, and this is done in the ~/.vimrc file:

Subscribe to RSS - windows