Created
August 25, 2012 12:06
-
-
Save tsujimitsu/3464613 to your computer and use it in GitHub Desktop.
VirtualBox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Reference | |
# http://d.hatena.ne.jp/arcright/20110320/1300613262 | |
# http://en.wikipedia.org/wiki/VESA_BIOS_Extensions#Linux_video_mode_numbers | |
# vga=789(800*600 24bit), 792(1024*768 24bit) | |
$ cat /etc/grub.conf | |
kernel /vmlinuz-2.6.32-220.e16.x86_64 ro root=/dev/mapper/vg_livedvd-lv_root vga=792 | |
$ reboot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
su | |
# enter your password | |
$ mkdir /mnt/cdrom | |
$ mount -r /dev/cdrom /mnt/cdrom | |
$ cd /mnt/cdrom | |
$ ./VBoxLinuxAdditions.run | |
$ reboot | |
# Reference | |
# http://www.if-not-true-then-false.com/2010/install-virtualbox-guest-additions-on-fedora-centos-red-hat-rhel/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# MacOS X US Key / Japanese / Virtualbox keyboard layout setting | |
# !!caution | |
# Please check your root password | |
# I recommend to look plain root password text | |
$ cat /etc/sysconfig/keyboard | |
KEYTABLE="us" | |
MODEL="ja106" | |
LAYOUT="jp" | |
KEYBOARDTYPE="pc" | |
$ reboot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add Host-only adapter to VirtualBox Host OS Network setting | |
$ cat /etc/ssh/sshd_config | |
Port 22 | |
$ service sshd start | |
# ifconfig でip-address確認 | |
# Mac terminal上で | |
$ ssh -l [user] [ip-address] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment