Code

Updated setup step 8.
[gosa.git] / setup / setup_step8.tpl
1 <div style='float:left;width:690px;'>
3 <h2>{t}Configuration File{/t}</h2>
4         <p>
5                 {t}GOsa setup has collected all data needed to create an initial configuration file.{/t}
6         </p>
7         <p>
8                 {t}If you want the setup routine to write the configuration file, use the 'Save configuration' button below. If you prefer to copy the 'gosa.conf' manually to '/etc/gosa/' you can download the configuration file by using the 'Download configuration' button.{/t}
9         </p>
10         <p>
11                 <b>{t}Automatically write configuration{/t}</b>
12         </p>
13         <p>     
14                 {if $writeable}
15                         {t}Write configuration file{/t}&nbsp;
16                         <input type='submit' name='saveconf' value='{t}Save configuration{/t}'>
18                         {if $exists}
19                         <br>
20                         <input type='hidden' name='create_backup_visible' value='1'>
21                         <input {if $create_backup} checked {/if} type='checkbox' value='1' name='create_backup'>&nbsp;
22                         {t}Create a backup from existing configuration file{/t}
23                         {/if}
25                         {if $err_msg != ""}
26                                 <div style='color:red ; font-weight:bold '>{$err_msg}</div>
27                         {else}
28                                 {if $save_requested}            
29                                         <div style='color:green ; font-weight:bold '>{t}Configuration succesfully written.{/t}</div>
30                                 {/if}
31                         {/if}
33                         {if $last_backup_name}
34                                 <br>
35                                 <div style='padding-left:20px;'>{t}Last created backup{/t}: &nbsp;<i>{$last_backup_name}</i></div> 
36                         {/if}
37                 {else}          
38                         <div style='font-weight: bold; color: red;'>{t}Can't write configuration file, please check permissions.{/t}</div>
39                         <pre>
40 {$msg_permissions}
41         {$CONFIG_DIR} 
42         {$CONFIG_DIR}{$gosa_conf_name}
43                         </pre>
44                 {/if}
45         </p>
46         <br>
47         <p>
48                 <b>{t}Manually create configuration file{/t}</b>
49         </p>
50         <p>     
51                 {t}Download the configuration file{/t}&nbsp;
52                 <input type='submit' name='getconf' value='{t}Download configuration{/t}'>
53         </p>
54         <p>     
55                 {t}After placing the file under /etc/gosa, place make sure that the webserver user is able to read gosa.conf, while other users shouldn't. You may want to execute these commands to achieve this requirement:{/t}
56         </p>
57         <pre>
58         # chown root.{$webgroup} /etc/gosa/gosa.conf
59         # chmod 640 /etc/gosa/gosa.conf
60         </pre>
61 </p>
65 </div>
66 <input type='hidden' value='1' name='step8_posted'>