Depends on the driver you are using. For nvidia, check nvidia-settings for an option to rotate. For the open source intel/radeon drivers, you can use xrandr with the --rotate option. Something along the lines of:
[cmd=""]xrandr --output DVI-0 --rotate left[/cmd]
Obviously the argument to --output might be different, depending on the driver and if you have multiple monitors.
Adam