Various Document edits to fix formatting issues and add contents
[pharos.git] / docs / jumpserver_install.rst
1 **Jump Server Configuration:**
2
3 (Rough Placeholder, edit me)
4
5 **Fuel**
6
7 1. Obtain CentOS 7 Minimal ISO and install
8
9   ``wget http://mirrors.kernel.org/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1503-01.iso``
10
11 2. Set parameters appropriate for your environment during installation
12
13 3. Disable NetworkManager
14
15   ``systemctl disable NetworkManager``
16
17 4. Configure your /etc/sysconfig/network-scripts/ifcfg-* files for your network
18
19 5. Restart networking
20
21   ``service network restart``
22
23 6. Edit /etc/resolv.conf and add a nameserver
24
25   ``vi /etc/resolv.conf``
26
27 7. Install libvirt & kvm
28
29   ``yum -y update``
30   ``yum -y install kvm qemu-kvm libvirt``
31   ``systemctl enable libvirtd``
32
33 8. Reboot:
34
35   ``shutdown -r now``
36
37 9. If you wish to avoid annoying delay when use ssh to log in, disable DNS lookups:
38
39   ``vi /etc/ssh/sshd_config``
40
41   Uncomment "UseDNS yes", change 'yes' to 'no'.
42
43   Save
44
45 10. Restart sshd
46
47   ``systemctl restart sshd``
48
49 11. Install virt-install
50
51   ``yum -y install virt-install``
52
53 12. Visit artifacts.opnfv.org and D/L the OPNFV Fuel ISO
54
55 13. Create a bridge using the interface on the PXE network, for example: br0
56
57 14. Make a directory owned by qemu:
58
59   ``mkdir /home/qemu; mkdir -p /home/qemu/VMs/fuel-6.0/disk``
60
61   ``chown -R qemu:qemu /home/qemu``
62
63 15. Copy the ISO to /home/qemu
64
65   ``cd /home/qemu``
66
67   ``virt-install -n opnfv-2015-05-22_18-34-07-fuel -r 4096 --vcpus=4 --cpuset=0-3 -c opnfv-2015-05-22_18-34-07.iso
68   --os-type=linux --os-variant=rhel6 --boot hd,cdrom --disk path=/home/qemu/VMs/mirantis-fuel-6.0/disk/fuel-
69   vhd0.qcow2,bus=virtio,size=50,format=qcow2 -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
78
79 **Foreman**
80
81 TBA