Aktuelle Version |
Dein Text |
Zeile 3: |
Zeile 3: |
|
| |
|
| == VM Einstellung == | | == VM Einstellung == |
| * RAM: 4 GB | | * RAM: 10 GB |
| * Festplatte: 50GB | | * Festplatte: 250GB |
| * CPUs: 2 auf 100% | | * CPUs: 4 auf 80% |
|
| |
|
| == System Installation == | | == System Installation == |
Zeile 29: |
Zeile 29: |
| ### Gerät für die Bootloader-Installation: /dev/sda | | ### Gerät für die Bootloader-Installation: /dev/sda |
| ## Installation abschließen | | ## Installation abschließen |
|
| |
| === FreeBSD ===
| |
|
| |
| von der Standard Installation von FreeBSD abweichend:
| |
|
| |
| * Tastertur: deutsch
| |
| * Dateisystem: ZFS
| |
| * Mode: Stripe
| |
| * Plattenzahl: 1
| |
| * Root Password
| |
| * seperateruser gamemaster
| |
|
| |
| ; zusatz konfiguration
| |
|
| |
| ; /etc/rc.conf
| |
|
| |
| <pre>
| |
| keymap="de.kbd"
| |
| ifconfig_em0="inet 141.56.51.X netmask 255.255.255.0"
| |
| defaultrouter="141.56.51.254"
| |
| ifconfig_igb0="192.168.55.1 netmask 255.255.255.0"
| |
| ifconfig_igb1="192.168.55.254 netmask 255.255.255.0"
| |
| sshd_enable="YES"
| |
| # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
| |
| dumpdev="AUTO"
| |
| zfs_enable="YES"
| |
| dhcpd_enable="YES"
| |
| pf_enable="YES"
| |
| pf_rules="/etc/pf.conf"
| |
| pflog_enable="YES"
| |
| gateway_enable="YES"
| |
| </pre>
| |
|
| |
| ; /etc/pf.conf
| |
|
| |
| <pre>
| |
| ext_if="em0"
| |
| int0_if="igb0"
| |
| int1_if="igb1"
| |
| electrixx_net=$int1_if:network
| |
| net51=$ext_if:network
| |
|
| |
| # vorbereitet wenn block all
| |
| #pass in on $int1_if from $electrixx_net to $net51 keep state
| |
| #pass out on $ext_if from $electrixx_net to $net51 keep state
| |
| nat on $ext_if from $electrixx_net to any -> ($ext_if)
| |
| </pre>
| |
|
| |
| ; /etc/sysctl.conf
| |
|
| |
| <pre>
| |
| net.inet.ip.forwarding=1
| |
| </pre>
| |
|
| |
| ; /usr/local/etc/dhcpd.conf
| |
|
| |
| <pre>
| |
| option subnet-mask 255.255.255.0;
| |
|
| |
| max-lease-time 3600;
| |
| default-lease-time 3600;
| |
|
| |
| # verbreite das Subnetz 192.168.55.0/24, Muhahaha :D
| |
| subnet 192.168.55.0 netmask 255.255.255.0 {
| |
| # aber nur in dieser Range :P
| |
| range 192.168.55.100 192.168.55.253;
| |
| # vorberitet auf DNS "selber-machen" (192.168.55.254), daher auch noch hochschule eingetragen (141.56.1.2)
| |
| option domain-name-servers 192.168.55.254, 141.56.1.2;
| |
| option broadcast-address 192.168.55.255;
| |
| # huhu hier her Kinderlien :D, die cliente/kinder zum NAT fuehren
| |
| option routers 192.168.55.254;
| |
| }
| |
|
| |
|
| |
| host electrixx-gameserver {
| |
| # ethernet/MAC Adresse vom internen 192.168.55.1 interface
| |
| hardware ethernet XX:XX:XX:XX:XX:XX;
| |
| server-name "electrixx-gameserver";
| |
| }
| |
| </pre>
| |
|
| |
|
| == System einrichten == | | == System einrichten == |
| ; Anpassung hostname
| |
|
| |
| $EDITOR /etc/hostname
| |
| elektrixx-gameserver
| |
|
| |
| ; Anpassung source.list | | ; Anpassung source.list |
|
| |
|
Zeile 133: |
Zeile 48: |
| == Siehe auch == | | == Siehe auch == |
|
| |
|
| * [[Server/DNS]]
| |
| * [[Server/FTP]] | | * [[Server/FTP]] |
| * [[Server/SAMBA]]
| |
| * [[Server/Teamspeak]]
| |
| * [[Server/CSGO]] | | * [[Server/CSGO]] |
| * [[Server/CS-Source]] | | * [[Server/CS-Source]] |
| * [[Server/Day of Defeat]] | | * [[Server/Day of Defeat]] |
| | * [[Server/Teamspeak]] |
| * [[Server/Quake3]] | | * [[Server/Quake3]] |
|
| |
|