Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
ipgallery
/
devops
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Registry
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
2efa8480
authored
Jun 14, 2017
by
Avi Junowicz
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
How to install KVM on a new server
parent
f664dcbd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
0 deletions
common/docs/KVM_Installation.txt
common/docs/KVM_Installation.txt
0 → 100644
View file @
2efa8480
egrep -c '(vmx|svm)' /proc/cpuinfo
egrep -c ' lm ' /proc/cpuinfo
apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils
adduser `id -un` libvirtd
virsh -c qemu:///system list
apt-get install virt-manager
cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto br0
iface br0 inet static
address 172.16.1.xx
network 172.16.1.0
netmask 255.255.255.0
gateway 172.16.1.101
broadcast 172.16.1.255
dns-nameservers 8.8.8.8
bridge_ports eth0 (change to physical interface name)
bridge_fd 9
bridge_hello 2
bridge_maxage 12
bridge_stp off
remove the virt0 interface.
virsh net-destroy default
virsh net-undefine default
ifconfig -a
reboot
ifconfig -a
open virt-manager and bring up the guest.
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment