1 |
<? |
<? |
|
// SESSION |
|
|
session_start(); |
|
|
if( !isset($_SESSION['openclose']) ) |
|
|
{ |
|
|
session_register('openclose'); |
|
|
$_SESSION['openclose'] = array(); |
|
|
} |
|
|
|
|
|
// Datenbankverbindungs-Konfiguration |
|
|
$dbhost = "localhost"; |
|
|
$dbname = "alx_web"; |
|
|
$dbuname = "alx_install"; |
|
|
$dbpass = "@lx"; |
|
|
|
|
|
// www root of the alx_install |
|
|
$wwwroot = "/var/www/htdocs"; |
|
|
|
|
|
// Home Verzeichnis des httpd-daemons für ssh-certs |
|
|
$home = "/var/lib/apache"; |
|
|
|
|
|
// ping Kommando zum überprüfen der Errreichbarkeit der Hosts |
|
|
$pingcmd = "/usr/sbin/fping -c 1 -t 50 -q"; |
|
|
|
|
|
// ssh Kommando |
|
|
$sshcmd = "/usr/bin/ssh -l root -o ConnectTimeout=5"; |
|
2 |
|
|
3 |
// wake-on-lan Kommando |
// SESSION |
4 |
$wolcmd = "/usr/bin/etherwake"; |
session_start(); |
5 |
|
if( !isset($_SESSION['openclose']) ) |
6 |
|
{ |
7 |
|
//session_register('openclose'); |
8 |
|
//$_SESSION['openclose'] = $openclose; |
9 |
|
$_SESSION['openclose'] = array(); |
10 |
|
} |
11 |
|
|
12 |
|
// Datenbankverbindungs-Konfiguration |
13 |
|
$dbhost = "mcored"; // -> /etc/hosts 127.0.0.1 mcored required, >php-5.4 uses the certificate common name as issuer |
14 |
|
$dbname = "mcore"; |
15 |
|
$dbuname = "alx_install"; |
16 |
|
$dbpass = "@lx"; |
17 |
|
|
18 |
|
// wake-on-lan Kommando |
19 |
|
$woliface = "eth0"; |
20 |
|
$wolcmd = "/usr/bin/ether-wake -i ".$woliface; |
21 |
|
|
22 |
|
// citrix_browser addresses |
23 |
|
$citrix_serverlist = 'ica.dom-aka-nt.intern'; |
24 |
|
|
25 |
|
// citrix default domain name |
26 |
|
$citrix_domain_name = 'DOM_AKA_NT'; |
27 |
|
|
28 |
|
// storefront store |
29 |
|
$storefront_store = 'https://storefront.dom-aka-nt.intern/Citrix/ALX/PNAgent/config.xml'; |
30 |
|
|
31 |
|
// storefront default domain name |
32 |
|
$storefront_domain_name = 'DOM_AKA_NT'; |
33 |
|
|
34 |
|
// rdesktop default server |
35 |
|
$rdesktop_server = 'esa-ts-01.dom-aka-nt.intern'; |
36 |
|
|
37 |
|
// rdesktop default domain name |
38 |
|
$rdesktop_domain_name = 'DOM_AKA_NT'; |
39 |
|
|
40 |
// fixed config.rc |
// mcore client port |
41 |
$configrc = $wwwroot."/share/config.rc"; |
$mcore_port = 6666; |
42 |
|
|
43 |
|
// mcore certificate |
44 |
|
$mcore_certificate = '/etc/ssl/certs/mcored.pem'; |
45 |
|
|
46 |
|
// ping timout |
47 |
|
$ping_timeout = 0.01; |
48 |
|
|
|
// fixed mage.rc |
|
|
$magerc = $wwwroot."/share/mage.rc"; |
|
49 |
?> |
?> |