7b10578563441053eb6b3d6a5a26e9488bfbbf3b
[pharos.git] / docs / specification / jumpserverinstall.rst
1 **Jump Server Configuration:**
2
3 **Fuel**
4
5 1. Obtain CentOS 7 Minimal ISO and install
6
7   ``wget http://mirrors.kernel.org/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1503-01.iso``
8
9 2. Set parameters appropriate for your environment during installation
10
11 3. Disable NetworkManager
12
13   ``systemctl disable NetworkManager``
14
15 4. Configure your /etc/sysconfig/network-scripts/ifcfg-* files for your network
16
17 5. Restart networking
18
19   ``service network restart``
20
21 6. Edit /etc/resolv.conf and add a nameserver
22
23   ``vi /etc/resolv.conf``
24
25 7. Install libvirt & kvm
26
27   ``yum -y update``
28   ``yum -y install kvm qemu-kvm libvirt``
29   ``systemctl enable libvirtd``
30
31 8. Reboot:
32
33   ``shutdown -r now``
34
35 9. If you wish to avoid annoying delay when use ssh to log in, disable DNS lookups:
36
37   ``vi /etc/ssh/sshd_config``
38
39   Uncomment "UseDNS yes", change 'yes' to 'no'.
40
41   Save
42
43 10. Restart sshd
44
45   ``systemctl restart sshd``
46
47 11. Install virt-install
48
49   ``yum -y install virt-install``
50
51 12. Visit artifacts.opnfv.org and D/L the OPNFV Fuel ISO
52
53 13. Create a bridge using the interface on the PXE network, for example: br0
54
55 14. Make a directory owned by qemu:
56
57   ``mkdir /home/qemu; mkdir -p /home/qemu/VMs/fuel-6.0/disk``
58
59   ``chown -R qemu:qemu /home/qemu``
60
61 15. Copy the ISO to /home/qemu
62
63   ``cd /home/qemu``
64
65   ``virt-install -n opnfv-2015-05-22_18-34-07-fuel -r 4096 --vcpus=4
66   --cpuset=0-3 -c opnfv-2015-05-22_18-34-07.iso --os-type=linux
67   --os-variant=rhel6 --boot hd,cdrom --disk
68   path=/home/qemu/VMs/mirantis-fuel-6.0/disk/fuel-vhd0.qcow2,bus=virtio,size=50,format=qcow2
69   -w bridge=br0,model=virtio --graphics vnc,listen=0.0.0.0``
70
71 16. Temporarily flush the firewall rules to make things easier:
72
73   ``iptables -F``
74
75 17. Connect to the console of the installing VM with your favorite VNC client.
76
77 18. Change the IP settings to match the pod, use an IP in the PXE/Admin network for the Fuel Master