Debian Under VMWare
|
 |
I have a new XP machine, which is a Toshiba A4.
While installing Debian in a VMWare machine, I discovered that if you use the vmware-tools, everything operated corectly. - Sweeeet.
1. Create a new partition
2. Install a base Debian system
3. Apt-get the kernel + headers you actually want
4. Create a symlink from /usr/src/linux to your real headers. (This will probbaly shoot me in the foot when I load up the kernel sources for a kernel re-compile)
5. Fix the lilo issues. *** REMEMBER TO RUN LILO BEFORE YOU REBOOT,
6. reboot
7. reboot with a rescue disk and run lilo...
8. Apt-get dist-upgrade
9. In VMWare, click on VM -> Install VMWare Tools...
10. mount /mnt/cdrom
11. Extract /mnt/cdrom/vmware-linux-tools.tar.gz somewhere.
12. execute ./vmware-install.pl in the directory you extracted the tar archive to.
13. Follow the bouncing ball.
14. Update the mouse in /etc/X11/XF86Config to be /dev/psaux, not /dev/mouse.
15. Ensure that you have pcnet32 loaded to elloy network access under vmware.
then X should start up.
[/Software]
permanent link
|
Virtual Hosting
|
 |
I was having a chat with some help desk guys from my hosting company. I run 3 domains, and was impressed that all I needed to do to add a domain was to add a directory structure under my www directory, and arrange to have a domain registered.
I was actually expecting to have to go and have the help desk guys edit the apache configuration for me. (Thats how I would have done it at home).
Here is their response:
------------------------------------------------
We use the apache module "mod_vhost_alias". If a browser requests a domain that points to 63.111.27.87 and that domain has a directory in ~/www, it becomes the DocumentRoot.
Your VirtualHost section looks like this:
ServerAdmin webmaster@drj-electronics.com
ServerName drj-electronics.com
ErrorLog /home2/username/www/logs/error
ServerSignature off
VirtualDocumentRoot /home2/username/www/%0
VirtualScriptAlias /home2/username/www/%0/cgi-bin
User username
Group users
DocumentRoot /home2/username/www
------------------------------------------------
Boy, hasn'y apache grown up while I wasn't watching.
[/Software]
permanent link
|
|
|