diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2017-02-04 09:41:13 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2017-02-04 09:41:13 +0000 |
commit | e7366bf41f68cfe07e9ea03fc4a398baecbae651 (patch) | |
tree | 5bb9c3cbe7eab7e70ff1ebd65d9de59a694762df /virtual_host_server.mdwn | |
download | netsurf-wiki-e7366bf41f68cfe07e9ea03fc4a398baecbae651.tar.gz netsurf-wiki-e7366bf41f68cfe07e9ea03fc4a398baecbae651.tar.bz2 |
Initial conversion from MediaWiki, 20170204
Diffstat (limited to 'virtual_host_server.mdwn')
-rw-r--r-- | virtual_host_server.mdwn | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/virtual_host_server.mdwn b/virtual_host_server.mdwn new file mode 100644 index 0000000..2b3def8 --- /dev/null +++ b/virtual_host_server.mdwn @@ -0,0 +1,56 @@ +[[!meta title="Virtual Host Server"]] +[[!meta author="Kyllikki"]] +[[!meta date="2016-01-08T11:57:28Z"]] + + +[[!toc]] The system providing the +virtual host services for the NetSurf project is currently named +phoenix. + +Access is \*only\* via the NetSurf VPN. For VPN access contact vince +though you can also use your ssh key access to ci.netsurf-browser.org + +phoenix is currently 192.168.211.50 if the DNS is unavailable + +Creating a new VPS +------------------ + +Become superuser with sudo + +### Debian VPS + +If you are creating a new Debian box there is a helper script +(new-wheezy-vps.sh ) which just just need to pass a system name to and +you will get a 40G disc/ 512MB RAM system. + +for example: + +`new-wheezy-vps.sh ciworker13` + +will create a system named ciworker13 with 40G of disc and 512MB of +memory with the Debian wheezy boot iso connected to the cdrom drive. + +### Other VPS + +The manual setup for other systems is: + +- create lvm device for the system + +`lvcreate --size 40G -n system_name vg` + +- if the OS requires a cdrom install media download and place in + /var/lib/libvirt/images/ +- use virt install to create the new VM substitutig appropriate values + for volume name, memory, boot disc + +`virt-install -n ciworker13 -r 512 --disk path=/dev/mapper/vg-ciworker13,bus=virtio \` +`-c /var/lib/libvirt/images/cd54.iso --accelerate --network=bridge:br0 \` +`--connect=qemu:///system --vnc --noautoconsole -v` + +Admin +----- + +You can either use virsh on phoenix to directly admin consoles or +alternatively use virt-admin over the VPN which is by far the easier +option. + |