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 |
// fixed config.rc |
// Datenbankverbindungs-Konfiguration |
13 |
$configrc = $wwwroot."/share/config.rc"; |
$dbhost = "127.0.0.1"; |
14 |
|
$dbname = "alx_web"; |
15 |
|
$dbuname = "alx_install"; |
16 |
|
$dbpass = "@lx"; |
17 |
|
|
18 |
|
// www root of the alx_install |
19 |
|
$wwwroot = "/var/www/htdocs"; |
20 |
|
|
21 |
|
// Home Verzeichnis des httpd-daemons für ssh-certs |
22 |
|
$home = "/var/lib/apache"; |
23 |
|
|
24 |
|
// ping Kommando zum überprüfen der Errreichbarkeit der Hosts |
25 |
|
$pingcmd = "/usr/sbin/fping -c 1 -t 50 -q"; |
26 |
|
|
27 |
|
// ssh Kommando |
28 |
|
$sshcmd = "/usr/bin/ssh -l root -o ConnectTimeout=5"; |
29 |
|
|
30 |
|
// wake-on-lan Kommando |
31 |
|
$wolcmd = "/usr/bin/ether-wake"; |
32 |
|
|
33 |
|
// fixed config.rc |
34 |
|
$configrc = $wwwroot."/share/config.rc"; |
35 |
|
|
36 |
|
// fixed mage.rc |
37 |
|
$magerc = $wwwroot."/share/mage.rc"; |
38 |
|
|
39 |
|
// default socket timeout for ssh conections |
40 |
|
$socket_timeout = 10; |
41 |
|
|
42 |
|
// ssh public key file |
43 |
|
$pubkey_file = $home.'/.ssh/id_dsa.pub'; |
44 |
|
|
45 |
|
// ssh private key file |
46 |
|
$privkey_file = $home.'/.ssh/id_dsa'; |
47 |
|
|
48 |
|
// citrix_browser addresses |
49 |
|
$citrix_browseradrs = '128.20.50.50;128.20.50.66;128.20.50.71;128.20.50.46;128.20.100.31;128.20.100.32;128.20.100.33;128.20.100.34'; |
50 |
|
|
51 |
|
// citrix default domain name |
52 |
|
$citrix_domain_name = 'DOM_AKA_NT'; |
53 |
|
|
|
// fixed mage.rc |
|
|
$magerc = $wwwroot."/share/mage.rc"; |
|
54 |
?> |
?> |