source:
hadoop-register/etc/init.php
Last change on this file was 112, checked in by jazz, 15 years ago | |
---|---|
File size: 1022 bytes |
Rev | Line | |
---|---|---|
[57] | 1 | <? |
[63] | 2 | // echo "載入 init.php"; |
3 | /* | |
4 | * mysql 主機帳號設定,檔案路徑設定 | |
5 | * mail server 設定, 郵件 subject 內容設定在 smtp_mai.php | |
6 | */ | |
[57] | 7 | |
[85] | 8 | // [本機設定] |
9 | // 設定主機網址 | |
10 | $w_localhost = "http://hadoop.nchc.org.tw"; | |
[102] | 11 | $w_ssh_server = "hadoop.nchc.org.tw"; |
[57] | 12 | |
[85] | 13 | // [mysql 設定] |
[63] | 14 | // mysql 主機位址 |
15 | $mysql_host = 'localhost'; | |
[57] | 16 | |
[63] | 17 | // mysql 帳號 |
18 | $mysql_user = 'hadoop'; | |
[57] | 19 | |
[63] | 20 | // mysql 密碼 |
[112] | 21 | $mysql_password = 'nchcdrbl'; |
[57] | 22 | |
[63] | 23 | // mysql 資料庫 |
24 | $mysql_database = 'hadoop'; | |
[57] | 25 | |
[63] | 26 | // mysql 資料表 |
[85] | 27 | $mysql_table = 'hadoop_reg'; // 基本使用者資料表 |
28 | $mysql_table_owner = 'hadoop_owner'; // hadoop 帳號分配擁有者 | |
[57] | 29 | |
[63] | 30 | // [mail 設定] |
[85] | 31 | // mail server host |
32 | $mail_server_host = 'smtp.gmail.com'; | |
[57] | 33 | |
[85] | 34 | // mail account |
35 | $mail_account = 'nchcdrbl@gmail.com'; | |
[63] | 36 | $mail_account_name = 'Hadoop admin'; |
[57] | 37 | |
[63] | 38 | // mail user |
39 | $mail_user = 'nchcdrbl@gmail.com'; | |
[57] | 40 | |
[63] | 41 | // mail password |
[112] | 42 | $mail_password = 'eji6j;35j/fmp6'; |
[57] | 43 | ?> |
Note: See TracBrowser
for help on using the repository browser.