With the XP guest running, go to Start/Run and type ‘msconfig’ and then press enter.
Then click on the BOOT.ini tab, and select the /SAFEBOOT checkbox. Then save and restart.
Once you are done, uncheck the box and reboot.→ Continue reading “How to Boot a WinXP Virtual Box Guest to Safe Mode”
To get it working under Fedora (RedHad, CentOS):
. The script requires unar but is not readily available for FC18. → Continue reading “Automate the Download of Windows VMs for Testing IE6, IE7, IE8, IE9, IE10 and IE11 with ievms”
Following is a list of services that can (for most applications) be turned off if you are setting up a bare-bones CentOS 6.4 server:
Automatic bug reporting services:
Power control and features, query battery and config status
Controls ‘at’ command queing, examining, or deleting jobs for later execution. Anything atd can do, cron can do
Auto fs mounting
For desktop environments:
MTA→ Continue reading “Services That Can Be Turned Off in a CentOS 6, Minimal Server”
I am setting up a cluster of KVM virtual machines and want to be able to ssh to them as the root user on the vm without having to enter a password.
The first thing that I did was create keys on the box from which I was going to make connections (A):
[rchapin@A .ssh]$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/usr/local2/home/rchapin/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again: → Continue reading “Setting Up Passwordless SSH Under CentOS 6 Running Selinux”
VisualVM is a great tool for peering into a running JVM. In many cases, it won’t be one that is running on your local box.
The first thing to be done is to get jstatd running on the remote machine:
Create a security policy file on the remote machine (this assumes that you have an additional layer of security and that the outside world cannot access these ports and/or you have a VPN set-up and you are operating in that
→ Continue reading “Running VisualVM to Examine a JVM on a Remote Host Via an SSH Tunnel/Proxy Connection”
At least under the FC 18 distro, there was no fancy GUI controls in the Advanced Settings for setting up an HTTP proxy over SSH for Chrome.
To get it all set up:
- Establish and ssh connection to the server to which you want to proxy:
- $ ssh -D localhost:1234 firstname.lastname@example.org, where 1234 is the port number you want to use for the proxy
Run google-chrome from the command line passing it the proxy setting:
- $ google-chrome –proxy-server=socks5://localhost:1234
→ Continue reading “Setting up an HTTP Proxy over SSH in Chrome under Fedora Core 18 Linux”
I have recently be introduced to the *nix screen command. Incredibly powerful tool for managing windows which mulitplexes a physical terminal between one or many processes. One of the uses it to maintain interactive shells on a remote server between remote connections to the machine.
It is enormously helpful when executing long running commands on remote servers. Especially those that timeout your ssh connection and or from machines that you are going to either disconnect from the net or shutdown.→ Continue reading “Screen Cheat Sheet”
If you need to stand up a quick HTTP Server to enable someone on your LAN to transfer some files use the following command in the directory that you want to ‘share’:
python -m SimpleHTTPServer
The default port is 8000, but you can run it as follows to specify a port
python -m SimpleHTTPServer 8080→ Continue reading “Quick and Dirty HTTP Server to Transfer Files”
A few years back I had an office mate who used a standing desk. He said that he had been using a standing desk for many years and that once he got used to it he liked it much better. Since then, I have noticed a number of studies that indicate sitting for extended periods of time is just plain bad for you.
For a while I have been wanting to make the switch, and today I took the plunge.→ Continue reading “Making the Switch to a Standing Desk”