This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
doc:howto:x2gobroker [2017/02/10 17:27] stefanbaur [Preseeding - Manual Steps] Added Screenshots before, changed formatting |
doc:howto:x2gobroker [2017/02/13 17:02] stefanbaur Whitespace/Syntax fixes |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== X2Go Session Broker Demo Environment Setup ====== | ====== X2Go Session Broker Demo Environment Setup ====== | ||
- | <note important> | + | |
===== Purpose of this document ===== | ===== Purpose of this document ===== | ||
Line 57: | Line 57: | ||
==== Preseeding - Manual Steps ==== | ==== Preseeding - Manual Steps ==== | ||
These are the steps you have to perform manually: | These are the steps you have to perform manually: | ||
- | * Boot the ISO. It will beep at you, and the option " | + | * {{: |
- | * Hit the TAB key (the key to the left <- of the " | + | * {{: |
* 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. | * 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, | * If you choose not to add further options, a few questions will be asked interactively, | ||
Line 66: | Line 66: | ||
<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>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 disk space required: 4 GB | * Minimum disk space required: 4 GB | ||
Line 231: | 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 246: | Line 246: | ||
echo " | echo " | ||
echo " | echo " | ||
- | echo " | + | echo " |
echo '(cd / | echo '(cd / | ||
echo " | echo " | ||
Line 331: | Line 331: | ||
</ | </ | ||
- | ==== nfs1.xgo.example.com ==== | + | ==== nfs1.x2go.example.com ==== |
* Minimum RAM required: 256MB | * Minimum RAM required: 256MB | ||
* Minimum disk space required: 20 GB | * Minimum disk space required: 20 GB | ||
Line 488: | 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 549: | Line 549: | ||
</ | </ | ||
- | ==== pg1.xgo.example.com ==== | + | ==== pg1.x2go.example.com ==== |
* Minimum RAM required: 256MB | * Minimum RAM required: 256MB | ||
* Minimum disk space required: 20 GB | * Minimum disk space required: 20 GB | ||
Line 704: | 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/ | ||
Line 774: | Line 774: | ||
</ | </ | ||
- | ==== x2gobroker1.xgo.example.com ==== | + | ==== x2gobroker1.x2go.example.com ==== |
* Minimum RAM required: 256MB | * Minimum RAM required: 256MB | ||
* Minimum disk space required: 4 GB | * Minimum disk space required: 4 GB | ||
Line 897: | Line 897: | ||
# 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 927: | Line 925: | ||
x2gobroker-authservice \ | x2gobroker-authservice \ | ||
x2gobroker-daemon \ | x2gobroker-daemon \ | ||
+ | x2gobroker-loadchecker \ | ||
x2gobroker-ssh | x2gobroker-ssh | ||
Line 953: | Line 952: | ||
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 994: | Line 993: | ||
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 1003: | Line 1007: | ||
echo " | echo " | ||
echo 'sed -i -e "/ | echo 'sed -i -e "/ | ||
- | echo " | + | echo " |
- | echo " | + | echo " |
- | echo " | + | echo " |
echo ' | echo ' | ||
echo " | echo " | ||
Line 1062: | Line 1066: | ||
</ | </ | ||
- | ==== x2goserver1.xgo.example.com ==== | + | ==== x2goserver1.x2go.example.com ==== |
* Minimum RAM required: 256MB | * Minimum RAM required: 256MB | ||
* Minimum disk space required: 8 GB | * Minimum disk space required: 8 GB | ||
Line 1185: | Line 1189: | ||
# 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 1246: | Line 1248: | ||
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 1347: | Line 1349: | ||
</ | </ | ||
- | ==== x2goserver2.xgo.example.com ==== | + | ==== x2goserver2.x2go.example.com ==== |
* Minimum RAM required: 256MB | * Minimum RAM required: 256MB | ||
* Minimum disk space required: 8 GB | * Minimum disk space required: 8 GB | ||
Line 1470: | Line 1472: | ||
# 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 1531: | Line 1531: | ||
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 1601: | Line 1601: | ||
</ | </ | ||
- | ==== x2goclient1.xgo.example.com ==== | + | ==== x2goclient1.x2go.example.com ==== |
* Minimum RAM required: 256MB | * Minimum RAM required: 256MB | ||
* Minimum disk space required: 4 GB | * Minimum disk space required: 4 GB | ||
Line 1724: | Line 1724: | ||
# 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 1791: | Line 1787: | ||
| | ||
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/ | ||