Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Some scripts to help setting up an Xubuntu VM with VirtualBox

License

NotificationsYou must be signed in to change notification settings

maverickwoo/XU64Base

Repository files navigation

I wrote these scripts to helpme set upXubuntu virtualmachines (VMs). I preferVirtualBox, and I amsharing these in the hope that it may save others some time.

My goal is to create a VM that can be used as a base Vagrant box. Out of my ownneeds, the box should support:

Step -1: Preparation

I cache a copy of the current Xubuntu LTS ISO in~/ISOs on all my machines.These scripts are tested against this ISO, though I believe these scripts shouldalso work with other Ubuntu distributions as long as they are the same release.

Step 0: Create VM in VirtualBox

The script0.sh creates and registers an empty VM with VirtualBox. Itsdefaults are chosen to be sane for being a base Vagrant box.

yourself@host$ ./0.sh ~/ISOs/xubuntu-14.04.1-desktop-amd64.iso [disk-size-in-GB]

After running this script, start your VM to install Xubuntu. You should followthe instructions printed by the script when interacting with the installer.

At this end of this step, you should have a VM with a fresh installation ofXubuntu, i.e., it hasnever been booted. Remember to take a snapshot asinstructed by the script!

Step 1: First Boot

Boot the VM and login asvagrant with the passwordvagrant. Then run thescript1.sh.

vagrant@VM$ ./1.sh

The script is 100% automatic after the initial confirmation. When the scriptfinishes, it will inform you to shutdown the VM and take a snapshot.

Step 2: Second Boot

Boot the VM and login asvagrant with the passwordvagrant. Then run thescript2.sh.

vagrant@VM$ ./2.sh

The script is 100% automatic. Its running time depends on your networkconnection and the size of your disk image. 10 minutes would be a good guess.

IMPORTANT: While you are waiting for the script to finish, editversioning.json. Make sure you edit thename,description, andversionsettings. Theversion setting is a date string separated by dot used forvagrant box versioning.

When the script finishes, it will show you how to create a base box using thesnapshot you have just created.

Step 3:(to be continued)

About

Some scripts to help setting up an Xubuntu VM with VirtualBox

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp