deb4dev.bat
. You can edit
the batch file to adjust for your particular PC. For example, you can change
the -m 128
option to -m 96
if you want to lower the
memory allocated to QEMU. You can also change -redir tcp:2222:22
to -redir tcp:2200:22
(or whatever port you want to use) to avoid
conflicts with the host operating system. 2222 should be fine.
The root
account has a password of deb4dev
, and the
student
account has a password of homework
. You can change
the passwords using the passwd
command.
Once the Linux box in QEMU starts up, you can log in through QEMU. However,
it is even better if you use the included PuTTY (ssh client for shell access)
program to open terminals to the Linux virtual machine. Be sure to change
the default port number 22 to 2222 (whatever port you change the
batch file to use). The host/IP should be localhost
or 127.0.0.1
(either one is fine). This way, you can
open as many terminals as you want. For programming purposes, I find that
having many terminals is quite useful.
When you are all done, you should shut down the machine properly. Log in as
root
, then use the command poweroff
. This makes sure all
content in the disk cache gets written back to the image file.
Copyright © 2006-08-23 by Tak Auyeung