Download ии Market ии Site

Contents of the InstallDoc.txt file. This is an exact description of what has been done during installation of the full desktop version.

Debian 4.0-r0 Etch  -  installed offline and partly online, public version

CD1: std Gnome system, modified sources.list, online: linux headers, gcc 4.1, fonts
[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-1 20070407-11:55]

VMware Workstation 4.5.3 to make the base VM and then installed into 5.5.3
VMwareTools 6 beta e.x.p-42757

VMware virtual machine settings:
----------------------------
Host System Win2k sp4 offline
Guest system other Linux 2.6
8 GB disc capacity split into files < 2 GB
96MB RAM
NAT connected at startup
cdrom pointed to iso file: debian-40r0-i386-CD-1.iso
everything else as default

Description of installation:
----------------------------
English
South Africa
German keyboard

host name: debian  (default)
domain: localdomain  (default)
all files in one partition -> 279.6 MB swap  (default)
root password: root
user full name: user
user account name: user
user password: user

without network mirror  (non default)
security update repo security.debian.org commented out in /etc/apt/sources.list (automatic)
don't send statistic info once a week  (default)

install  (default)
- Desktop environment
- Standard system

(installation would get much bigger with network mirror than with cd1 alone)

wanted screen resolutions  (default)
- 640*480
- 800*600
- 1024*768

install GRUB boot loader to the master boot record  (default)

repoint cdrom in VMware to physical drive: auto detect
reboot without cd into new system
without logging in  as user shutdown the system

----

boot log on options->security: allow root to log in
log in as root
change Font to Dejavu sans condensed 12
replace /etc/apt/sources.list from floppy disk

for user and root (log out and in as user):  
  change font to Dejavu sans condensed 12
    (fixed: Dejavu sans mono book 14, title: Dejavu sans condensed bold 12)
  add keyboard switch to panel - US / German
  open Applications->System Tools->File Browser
    prefs: show hidden files, show list view, change date format, add delete item,
      never preview, only view executable files on click
  editor font
  screensaver off
shutdown

------

boot and log in as root
create a file named /etc/init.d/local with this inside:
#!/bin/sh
mount -a

then run as root:
chmod 755 /etc/init.d/local
update-rc.d local start 98 2 3 4 5 .
mkdir /etc/rc.d/
ln -s /etc/init.d/local /etc/rc.d/rc.local

Don't miss the . in  2 3 4 5 .

All you put inside this newly created local boot commands file named /etc/rc.d/rc.local
is executed at boot. The mount -a is useful for automatically starting up CIFS or SMBFS.
You'll find more info about this work-around at http://www.visoracle.com/download/debian/

shutdown

------

boot and log in as root
check for the kernel version in a terminal
  uname -r
which in this case is: 2.6.18-4-486  (match the headers package and the sym link, see below)
go online in host system
assure that sources.list includes ftp.debian.org and security.debian.org
run in terminal
  apt-get clean
  apt-get update
  apt-get install linux-headers-2.6.18-4-486
  apt-get clean
  apt-get install gcc-4.1
  apt-get clean
  apt-get install xfonts-terminus
  apt-get clean
  apt-get install ttf-bitstream-vera
  apt-get clean
go offline in host system

install VMwaretools Tools e.x.p-42757
  - point the cdrom to the external linux.iso file (from a VMware 6 beta installation, 20.3.07)
  - copy the VMwareTools-e.x.p-42757.tar.gz file to the /tmp and extract it there
  - delete the .tar.gz file
  - cd /tmp/vmware-tools-distrib
  - make a symlink:
    ln -s /usr/src/linux-headers-2.6.18-4-486 /usr/src/linux
  - change the gcc version to use:
    export CC=/usr/bin/gcc-4.1
  - start the installer with ./vmware-install.pl
    accept everything with 
  - video resolution: choose 3 instead of 2 (1024*768)

delete the extracted folder and empty the trash bin
repoint cdrom in VMware to physical drive: t:
shutdown and restart to activate changes

------

log in as user and root
change Iceweasel fonts (preselected sans-serif has a kerning problem)
  "Default font" and "Advanced->Sans-serif" to Bitsstream Vera Sans
  "Advanced->Proportional" to Sans Serif
  "Advanced->Serif" to serif
set homepage/bookmark of Epiphany and Iceweasel
go online in host and load page in Iceweasel for favicon.ico
Epiphany and Iceweasel:
  reduce cache to 1MB
  clear cache
restart

------

login as root
start the toolbox (different from VMwareTools which get started automatically on boot):
  /usr/bin/vmware-toolbox
shrink disk
shutdown
repoint cdrom in VMware to physical drive: auto detect
add description to VM
shutdown

------

start and choose "single-user mode"
give root password for maintenance mode
run:
  swapoff /dev/sda5
  dd if=/dev/zero of=/dev/sda5
  sync
  sync
  mkswap /dev/sda5
  swapon /dev/sda5
  shutdown -h now

zip all VMware files compression 9

------

Note:
1) To run VMware Tools (e.g. for shrinking the disk) invoke during an X server session
   /usr/bin/vmware-toolbox
2) A newer version of the tools should be installable by simply repeating the above process.
   The script is able to uninstall the older VMware tools first.
3) Invoking /usr/bin/vmware-uninstall-tools.pl will uninstall the tools.
4) To use the vmxnet driver, restart networking using the following commands:
   /etc/init.d/networking stop
   rmmod pcnet32
   rmmod vmxnet
   depmod -a
   modprobe vmxnet
   /etc/init.d/networking start

   (neither I am sure if that actually gives you a working network, nor if it survives a reboot)
5) For configuring any experimental features, run the following command:
	vmware-config-tools.pl --experimental

------

Documentation files:

Readme.txt

VMwareToolsDialog.txt
the VMwareTools installation terminal dialog

sources.list   (currently used by Synaptic)
standard repositories and security updates for Etch

------

Homepage with additional info: 

- how to get started and what packages may be useful to load
- some mini HowTos like e.g:
  - how to change the screen resolution
  - how and why to set up smbfs or cifs instead of using shared folders.
    This is essential for Player users but because cifs is the more
    functional way of sharing folders it is generally interesting.
- more to come over time. I plan to
  - collect Linux tips and tricks for this appliance
  - keep the Debian VMware appliances 
    (Gnome full desktop and Gnome mini, maybe Xfce and KDE) up to date.

http://www.visoracle.com/download/debian/

Visoracle

Home ии Download ии Market ии Site
Index