This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
doc:howto:x2gobroker [2017/02/10 16:56] stefanbaur [ldap1.xgo.example.com] - minimum requirements |
doc:howto:x2gobroker [2017/02/28 09:21] (current) stefanbaur [pg1.x2go.example.com] - no nfs mounts on pg1 |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== X2Go Session Broker Demo Environment Setup ====== | ====== X2Go Session Broker Demo Environment Setup ====== | ||
+ | |||
===== Purpose of this document ===== | ===== Purpose of this document ===== | ||
This document takes you through the steps required to set up a simple X2Go Session Broker demo environment, | This document takes you through the steps required to set up a simple X2Go Session Broker demo environment, | ||
- | * ldap1.x2go.example.com | + | * ldap1.x2go.example.com |
- | * nfs1.x2go.example.com | + | * nfs1.x2go.example.com |
- | * pg1.x2go.example.com | + | * pg1.x2go.example.com |
- | * x2gobroker1.x2go.example.com | + | * x2gobroker1.x2go.example.com |
- | * x2goserver1.x2go.example.com | + | * x2goserver1.x2go.example.com |
- | * x2goserver2.x2go.example.com | + | * x2goserver2.x2go.example.com |
<note warning> | <note warning> | ||
Line 31: | Line 32: | ||
* Only a single Postgres server | * Only a single Postgres server | ||
* Only a single X2Go Session Broker server | * Only a single X2Go Session Broker server | ||
+ | * No RAID1/ | ||
* No backup | * No backup | ||
* No monitoring/ | * No monitoring/ | ||
Line 42: | Line 44: | ||
* These installations use the Debian preseed mechanism. | * These installations use the Debian preseed mechanism. | ||
* Thus, obviously, you will require a Debian ISO image. | * Thus, obviously, you will require a Debian ISO image. | ||
- | * We used the Debian 8.7.1, i386, netinst image - however, any Debian 8.x image should do. | + | * We used the [[http:// |
* Preseed files can be included into a custom iso image, but for beginners, this may seem rather complicated - That's why we suggest using a web server to store them instead. | * Preseed files can be included into a custom iso image, but for beginners, this may seem rather complicated - That's why we suggest using a web server to store them instead. | ||
* If you don't have Apache/ | * If you don't have Apache/ | ||
Line 53: | Line 55: | ||
* Once installed, power them up in exactly the same sequence - and **WAIT** until bootup is complete before powering up the next! | * Once installed, power them up in exactly the same sequence - and **WAIT** until bootup is complete before powering up the next! | ||
+ | ==== Preseeding - Manual Steps ==== | ||
+ | These are the steps you have to perform manually: | ||
+ | * {{: | ||
+ | * {{: | ||
+ | * You can either choose to confirm this by pressing the ENTER key, or add further options as listed in each preseed file's comment header. | ||
+ | * If you choose not to add further options, a few questions will be asked interactively, | ||
+ | |||
+ | {{: | ||
+ | |||
+ | <note tip>Each entry below contains a hint regarding the minimum requirements for the individual system. If you're using virtual machines, and are low on disk space, feel free to assign sparse files/ | ||
<note tip>If you click on the name of a preseed file, like " | <note tip>If you click on the name of a preseed file, like " | ||
- | ==== ldap1.xgo.example.com ==== | + | ==== ldap1.x2go.example.com ==== |
* Minimum RAM required: 256MB | * Minimum RAM required: 256MB | ||
- | * Minimum | + | * Minimum |
* Also required: any supported eth0 network interface | * Also required: any supported eth0 network interface | ||
Line 219: | Line 231: | ||
echo " | echo " | ||
echo -e ' | echo -e ' | ||
- | echo " | + | echo " |
echo -e " | echo -e " | ||
- | echo "common-auth;*;*;A10000-2400; | + | echo "*;*;*;Al0000-2400; |
echo " | echo " | ||
sed -i -e '/^1/ s/ | sed -i -e '/^1/ s/ | ||
Line 234: | Line 246: | ||
echo " | echo " | ||
echo " | echo " | ||
- | echo " | + | echo " |
echo '(cd / | echo '(cd / | ||
echo " | echo " | ||
Line 319: | Line 331: | ||
</ | </ | ||
- | ==== nfs1.xgo.example.com ==== | + | ==== nfs1.x2go.example.com ==== |
+ | * Minimum RAM required: 256MB | ||
+ | * Minimum disk space required: 20 GB | ||
+ | * Also required: any supported eth0 network interface | ||
<file - preseed_nfs1> | <file - preseed_nfs1> | ||
# There are two sets of parameters you can use as the append line: | # There are two sets of parameters you can use as the append line: | ||
Line 472: | Line 488: | ||
echo " | echo " | ||
echo -e ' | echo -e ' | ||
- | echo " | + | echo " |
echo -e " | echo -e " | ||
- | echo "common-auth;*;*;A10000-2400; | + | echo "*;*;*;Al0000-2400; |
echo " | echo " | ||
sed -i -e '/^1/ s/ | sed -i -e '/^1/ s/ | ||
Line 533: | Line 549: | ||
</ | </ | ||
- | ==== pg1.xgo.example.com ==== | + | ==== pg1.x2go.example.com ==== |
+ | * Minimum RAM required: 256MB | ||
+ | * Minimum disk space required: 20 GB | ||
+ | * Also required: any supported eth0 network interface | ||
<file - preseed_pg1> | <file - preseed_pg1> | ||
# There are two sets of parameters you can use as the append line: | # There are two sets of parameters you can use as the append line: | ||
Line 684: | Line 704: | ||
echo " | echo " | ||
echo -e ' | echo -e ' | ||
- | echo " | + | echo " |
echo -e " | echo -e " | ||
- | echo "common-auth;*;*;A10000-2400; | + | echo "*;*;*;Al0000-2400; |
echo " | echo " | ||
sed -i -e '/^1/ s/ | sed -i -e '/^1/ s/ | ||
- | echo " | ||
- | echo -e ' | ||
echo " | echo " | ||
sed ' | sed ' | ||
Line 754: | Line 772: | ||
</ | </ | ||
- | ==== x2gobroker1.xgo.example.com ==== | + | ==== x2gobroker1.x2go.example.com ==== |
+ | * Minimum RAM required: 256MB | ||
+ | * Minimum disk space required: 4 GB | ||
+ | * Also required: any supported eth0 network interface | ||
<file - preseed_x2gobroker1> | <file - preseed_x2gobroker1> | ||
# There are two sets of parameters you can use as the append line: | # There are two sets of parameters you can use as the append line: | ||
Line 873: | Line 895: | ||
# sources.list line will be left commented out | # sources.list line will be left commented out | ||
- | # CHANGE THIS - you need to download | + | # When this key doesn' |
- | # run these gpg commands to download it: | + | #d-i apt-setup/ |
- | # gpg --keyserver keys.gnupg.net --recv-keys E1F958385BFE2B6E | + | d-i apt-setup/ |
- | # gpg -a --export E1F958385BFE2B6E > x2go.key.gpg | + | |
- | d-i apt-setup/ | + | |
# Task and Package Selection | # Task and Package Selection | ||
Line 903: | Line 923: | ||
x2gobroker-authservice \ | x2gobroker-authservice \ | ||
x2gobroker-daemon \ | x2gobroker-daemon \ | ||
+ | x2gobroker-loadchecker \ | ||
x2gobroker-ssh | x2gobroker-ssh | ||
Line 929: | Line 950: | ||
echo " | echo " | ||
echo -e ' | echo -e ' | ||
- | echo " | + | echo " |
echo -e " | echo -e " | ||
- | echo "common-auth;*;*;A10000-2400; | + | echo "*;*;*;Al0000-2400; |
echo " | echo " | ||
sed -i -e '/^1/ s/ | sed -i -e '/^1/ s/ | ||
Line 942: | Line 963: | ||
echo " | echo " | ||
sed -i -e '/ | sed -i -e '/ | ||
+ | sed -i -e '/ | ||
sed -i -e '/ | sed -i -e '/ | ||
sed -i -e '/ | sed -i -e '/ | ||
Line 970: | Line 992: | ||
sed -i -e '/ | sed -i -e '/ | ||
sed -i -e '/ | sed -i -e '/ | ||
+ | echo " | ||
+ | sed -i -e 's/if pam.pam:/if hasattr(pam, | ||
+ | sed -i -e " | ||
+ | echo " | ||
+ | sed -i '/# | ||
echo " | echo " | ||
echo " | echo " | ||
Line 979: | Line 1006: | ||
echo " | echo " | ||
echo 'sed -i -e "/ | echo 'sed -i -e "/ | ||
- | echo " | + | echo " |
- | echo " | + | echo " |
- | echo " | + | echo " |
echo ' | echo ' | ||
echo " | echo " | ||
Line 1038: | Line 1065: | ||
</ | </ | ||
- | ==== x2goserver1.xgo.example.com ==== | + | ==== x2goserver1.x2go.example.com ==== |
+ | * Minimum RAM required: 256MB | ||
+ | * Minimum disk space required: 8 GB | ||
+ | * Also required: any supported eth0 network interface | ||
<file - preseed_x2goserver1> | <file - preseed_x2goserver1> | ||
# There are two sets of parameters you can use as the append line: | # There are two sets of parameters you can use as the append line: | ||
Line 1157: | Line 1188: | ||
# sources.list line will be left commented out | # sources.list line will be left commented out | ||
- | # CHANGE THIS - you need to download | + | # When this key doesn' |
- | # run these gpg commands to download it: | + | #d-i apt-setup/ |
- | # gpg --keyserver keys.gnupg.net --recv-keys E1F958385BFE2B6E | + | d-i apt-setup/ |
- | # gpg -a --export E1F958385BFE2B6E > x2go.key.gpg | + | |
- | d-i apt-setup/ | + | |
# Task and Package Selection | # Task and Package Selection | ||
Line 1218: | Line 1247: | ||
echo " | echo " | ||
echo -e ' | echo -e ' | ||
- | echo " | + | echo " |
echo -e " | echo -e " | ||
- | echo "common-auth;*;*;A10000-2400; | + | echo "*;*;*;Al0000-2400; |
echo " | echo " | ||
sed -i -e '/^1/ s/ | sed -i -e '/^1/ s/ | ||
Line 1319: | Line 1348: | ||
</ | </ | ||
- | ==== x2goserver2.xgo.example.com ==== | + | ==== x2goserver2.x2go.example.com ==== |
+ | * Minimum RAM required: 256MB | ||
+ | * Minimum disk space required: 8 GB | ||
+ | * Also required: any supported eth0 network interface | ||
<file - preseed_x2goserver2> | <file - preseed_x2goserver2> | ||
# There are two sets of parameters you can use as the append line: | # There are two sets of parameters you can use as the append line: | ||
Line 1438: | Line 1471: | ||
# sources.list line will be left commented out | # sources.list line will be left commented out | ||
- | # CHANGE THIS - you need to download | + | # When this key doesn' |
- | # run these gpg commands to download it: | + | #d-i apt-setup/ |
- | # gpg --keyserver keys.gnupg.net --recv-keys E1F958385BFE2B6E | + | d-i apt-setup/ |
- | # gpg -a --export E1F958385BFE2B6E > x2go.key.gpg | + | |
- | d-i apt-setup/ | + | |
# Task and Package Selection | # Task and Package Selection | ||
Line 1499: | Line 1530: | ||
echo " | echo " | ||
echo -e ' | echo -e ' | ||
- | echo " | + | echo " |
echo -e " | echo -e " | ||
- | echo "common-auth;*;*;A10000-2400; | + | echo "*;*;*;Al0000-2400; |
echo " | echo " | ||
sed -i -e '/^1/ s/ | sed -i -e '/^1/ s/ | ||
Line 1569: | Line 1600: | ||
</ | </ | ||
- | ==== x2goclient1.xgo.example.com ==== | + | ==== x2goclient1.x2go.example.com ==== |
+ | * Minimum RAM required: 256MB | ||
+ | * Minimum disk space required: 4 GB | ||
+ | * Also required: any supported eth0 network interface | ||
<file - preseed_x2goclient1> | <file - preseed_x2goclient1> | ||
# There are two sets of parameters you can use as the append line: | # There are two sets of parameters you can use as the append line: | ||
Line 1688: | Line 1723: | ||
# sources.list line will be left commented out | # sources.list line will be left commented out | ||
- | # CHANGE THIS - you need to download | + | # When this key doesn' |
- | # run these gpg commands to download it: | + | |
- | # gpg --keyserver keys.gnupg.net --recv-keys E1F958385BFE2B6E | + | |
- | # gpg -a --export E1F958385BFE2B6E > x2go.key.gpg | + | |
- | #d-i apt-setup/ | + | |
#d-i apt-setup/ | #d-i apt-setup/ | ||
d-i apt-setup/ | d-i apt-setup/ | ||
Line 1755: | Line 1786: | ||
| | ||
echo " | echo " | ||
- | mkdir / | + | mkdir / |
- | echo ' | + | echo ' |
- | echo ' | + | echo ' |
- | echo ' | + | echo ' |
- | echo ' | + | echo ' |
- | echo ' | + | echo ' |
- | echo ' | + | echo ' |
- | echo ' | + | echo ' |
- | echo ' | + | echo ' |
- | echo ' | + | echo ' |
- | echo ' | + | echo ' |
- | echo ' | + | echo ' |
+ | echo ' | ||
+ | echo ' | ||
+ | echo ' | ||
+ | echo ' | ||
+ | echo ' | ||
+ | echo ' | ||
+ | echo ' | ||
+ | echo ' | ||
+ | echo ' | ||
+ | echo ' | ||
echo "End Post-Install Setup/ | echo "End Post-Install Setup/ | ||