Apt get installs!
install and update:
dpkg -i thing.deb 'needs to have package on computer'
apt-get install package
apt-cache search package
aptitude update
aptitude upgrade
aptitude search vim
aptitude install vim
Updating Debian from lab46:
# deb http://mirror/devian/wheezy main
deb http://mirror/debian/ wheezy main
deb-src http://mirror/debian/wheezy main
deb http://security.debian.org/ wheezy/ updates main contib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free
# deb-src http://security.debian.org.wheezy/updates main contrib non-free
VM info:
Xen
Xen:
Xen loads a hypervisor = which is a underlying kernel-ninja
Needs grub:
https://wiki.debian.org/Xen#Prioritise_Booting_Xen_Over_Native
Command:
dpkg-divert –divert /etc/grub.d/08_linux_xen –rename /etc/grub.d/08_linux_xen
the pkg is at 08 because 08 gets higher priority than the baseline Kernal at 10, allowing the VM to run fist before the actual machine kernal
Configure guest behaviour on host reboot:
By default, when Xen dom0 shuts down or reboots, it tries to save (i.e. hibernate) the state of the domOS. Sometimes there are problems with that - it could fail because of a lack of disk space in /var, or because of random software bugs. Because it is also clean to just have the VMs shutdown upon host shutdown, if you want you can make sure they get shut down normally by setting these parameters in /etc/default/xendomains:
XENDOMAINS_RESTORE=false
XENDOMAINS_SAVE=““
editing the config file:
load the Debian Files from Lab46 instead of finding on them internets:
/etc/xen-tools/xen.tools.conf
edit:
add: dhcp = 1
add: passwd = 1, to keep from being locked out, asks for prompt.
memory = 256, changed from 128, just needs more memory
image = full, so that it uses all the memory, instead of rolling and updating the memory as its used till it hits a max level
uncomment mirror_wheezy
This is a sample format for a dated entry. Please substitute the actual date for “Month Day, Year”, and duplicate the level 4 heading to make additional entries.
As an aid, feel free to use the following questions to help you generate content for your entries:
This is a sample format for a dated entry. Please substitute the actual date for “Month Day, Year”, and duplicate the level 4 heading to make additional entries.
As an aid, feel free to use the following questions to help you generate content for your entries:
This is a sample format for a dated entry. Please substitute the actual date for “Month Day, Year”, and duplicate the level 4 heading to make additional entries.
As an aid, feel free to use the following questions to help you generate content for your entries: