VirtualBox/Preparing a disk image: Difference between revisions

No edit summary
No edit summary
Line 43: Line 43:
<div class="NavFrame collapsed">
<div class="NavFrame collapsed">
<div class="NavHead">
<div class="NavHead">
yum.log:
yum.log from 06 December 2009):
</div>
</div>
<div class="NavContent">
<div class="NavContent">
Line 185: Line 185:
#* If upgrading from one VirtualBox version to another, start with fresh virtual disks and machines built with the new versions to avoid breakage.
#* If upgrading from one VirtualBox version to another, start with fresh virtual disks and machines built with the new versions to avoid breakage.
# reboot
# reboot
<div class="NavFrame collapsed">
<div class="NavHead">
Terminal log:
</div>
<div class="NavContent">
<pre>
[root@localhost ~]# mkdir /mnt/cdrom
[root@localhost ~]# mount /dev/sr0 /mnt/cdrom/
mount: block device /dev/sr0 is write-protected, mounting read-only
[root@localhost ~]# cd /mnt/cdrom/
[root@localhost cdrom]# ./VBoxLinuxAdditions-x86.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 3.0.12 Guest Additions for Linux installation................................................................................................................................................................................................................................
VirtualBox 3.0.12 Guest Additions installation
Attempt to remove old DKMS modules...
Done.
Building the VirtualBox Guest Additions kernel module...
Building the shared folder support kernel module...
Building the drm support kernel module...
Installing the VirtualBox Guest Additions...
Successfully installed the VirtualBox Guest Additions.
You must restart your guest system in order to complete the installation.
</pre>
</div>
</div>
===Configure Screen===
===Configure Screen===
# Edit /etc/X11/xorg.conf to match the following section:  (This is for 1200x900 (XO) and other resolutions.)
# Edit /etc/X11/xorg.conf to match the following section:  (This is for 1200x900 (XO) and other resolutions.)
# Default xorg.conf for Xorg 1.5+ without PCI_TXT_IDS_PATH enabled.
<pre>
#
# This file was created by VirtualBox Additions installer as it
# was unable to find any existing configuration file for X.
 
  Section "Device"
  Section "Device"
         Identifier "VirtualBox Video Card"
         Identifier "VirtualBox Video Card"
         Driver "vboxvideo"
         Driver "vboxvideo"
  EndSection
  EndSection
  #
   
# From example in section 4.3.2 of the VirtualBox Help manual:
#
  Section "Screen"
  Section "Screen"
         Identifier "Default Screen"
         Identifier "Default Screen"
Line 209: Line 230:
         EndSubSection
         EndSubSection
  EndSection
  EndSection
</pre>
==Clear user data==
==Clear user data==
Finally,
Finally,
Line 225: Line 247:


==SSH connections==
==SSH connections==
To enable SSH communications, we need to open the firewall for SSH, permit no password for the ssh deamon, and start the sshd service:
To enable SSH communications, we need to permit no passwords in the ssh daemon configuration:


# in Terminal,
# in Terminal,
# su -
# su -
# system-config-firewall
## close the startup warning dialog
## check mark the SSH service
## click the apply action button, approve change
## File>Quit
# pico /etc/ssh/sshd_config
# pico /etc/ssh/sshd_config
## [add] PermitEmptyPasswords yes
## [add] PermitEmptyPasswords yes
## ^O (WriteOut), <Enter> on File Name to Write: /etc/ssh/sshd_config , ^X (Exit)
## ^O (WriteOut), <Enter> on File Name to Write: /etc/ssh/sshd_config , ^X (Exit)
# chkconfig --level 345 sshd on
# service sshd start