Files
new_install/xml/interface.xml
fling fb83d4b510 modified: ri_tk_cmd.py
add two showwarning messagebox for active devices that must be more than
    two
2010-10-14 16:05:25 +08:00

1270 lines
53 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="UTF-8" ?>
<interface base_widget='main' sequence='main'>
<!--
column 0 column 1 column 2
____________________________________________________________
row 0 | logo step_name version |
row 1 |____________________________________________________________|
row 2 | __________ |
|| | |
|| text | |
||__________| |
row 3 | copyright information |
row 4 | quit previous next |
|____________________________________________________________|
-->
<widget type='Frame' name='main'>
<grid_management rows='5' columns='3'>
<configure row='2' weight='1'/>
<configure column='1' weight='3'/>
<configure column='2' weight='1'/>
</grid_management>
<grid_location row='0' column='0' sticky='NSWE'/>
<variable name='main.step_name' type='StringVar' />
<widget type='Label'>
<widget_attribute image='linxlogo.gif'/>
<grid_location row='0' column='0' sticky='W' padx='5' pady='5'/>
</widget>
<widget type='Label'>
<widget_attribute textvariable='main.step_name'/>
<grid_location row='0' column='1' />
</widget>
<widget type='Label'>
<widget_attribute text='#os-name'/>
<grid_location row='0' column='2' sticky='E'/>
</widget>
<widget type='Frame'>
<widget_attribute height='3' background='black'/>
<grid_location row='1' column='0' columnspan='3' sticky='WE'/>
</widget>
<widget type='Text' name='main.help'>
<widget_attribute width='30' state='normal'/>
<grid_location row='2' column='0' padx='10' pady='10' sticky='NSWE'/>
</widget>
<widget type='Label'>
<widget_attribute text='#Copyright'/>
<grid_location row='3' column='0' columnspan='3' pady='20'/>
</widget>
<widget type='Button'>
<widget_attribute text='quit' command='quit'/>
<grid_location row='4' column='0'/>
</widget>
<widget type='Button'>
<widget_attribute text='previous' command='previous'/>
<grid_location row='4' column='1'/>
</widget>
<widget type='Button'>
<widget_attribute text='next' command='next'/>
<grid_location row='4' column='2' pady='20'/>
</widget>
</widget>
<!--
column 0 column 1 column 2
____________________________________________________________
row 0 | |
row 1 | |
row 2 | Welcome |
row 3 | |
row 4 | |
|____________________________________________________________|
-->
<widget type='Label' name='welcome'>
<widget_attribute text='#Welcome'/>
<grid_location row='2' column='1' columnspan='2'/>
</widget>
<!--
column 0 column 1 column 2
____________________________________________________________
row 0 | |
row 1 | |
row 2 | _________________ |
| | serial number | |
| | ______________ | |
| || | | |
| ||______________| | |
| |_________________| |
row 3 | |
row 4 | |
|____________________________________________________________|
-->
<widget type='Frame' name='serial number'>
<grid_management rows='1' columns='1'>
<configure row='0' weight='1'/>
<configure column='0' weight='1'/>
</grid_management>
<grid_location row='2' column='1' columnspan='2' sticky='NSWE'/>
<widget type='Frame'>
<grid_location row='0' column='0'/>
<widget type='Label'>
<widget_attribute text='serial number'/>
<grid_location row='0' column='0' sticky='W'/>
</widget>
<widget type='Entry'>
<widget_attribute width='12' textvariable='serial_no.number'/>
<grid_location row='1' column='0' sticky='W'/>
<variable name='serial_no.number' type='StringVar' value='123456789012'/>
<action init='serial_no_init' quit='serial_no_quit'/>
</widget>
</widget>
</widget>
<!--
column 0 column 1 column 2
____________________________________________________________
row 0 | |
row 1 | |
row 2 | |
| ___________________________ |
| | _________ | |
| |device: |_________| | |
| |___________________________| |
| _______________________________ |
| | __________________________ | |
| || | ^ | |
| || | | | |
| || | | | |
| || | | | |
| ||__________________________| v | |
| | | |
| | new edit delete reset | |
| |_______________________________| |
row 3 | |
row 4 | |
|____________________________________________________________|
-->
<!--
partition is currently unused
-->
<widget type='Frame' name='partition'>
<grid_management rows='2' columns='1'>
<configure row='0' weight='1'/>
<configure row='1' weight='1'/>
<configure column='0' weight='1'/>
</grid_management>
<grid_location row='2' column='1' columnspan='2' sticky='NSWE'/>
<widget type='Frame'>
<grid_location row='0' column='0' sticky='WS' pady='10'/>
<widget type='Label'>
<widget_attribute text='device'/>
<grid_location row='0' column='0' />
</widget>
<widget type='Listbox'>
<widget_attribute width='20' height='10'/>
<grid_location row='0' column='1' padx='10'/>
</widget>
</widget>
<widget type='Frame'>
<grid_management rows='2' columns='5'>
<configure column='3' weight='1'/>
</grid_management>
<grid_location row='1' column='0' sticky='NW'/>
<action>
<scroll scrolling='partition.scroll' scrolled='partition.list'/>
</action>
<widget type='Listbox' name='partition.list'>
<widget_attribute width='60'/>
<grid_location row='0' column='0' columnspan='4' sticky='NWS' pady='10'/>
</widget>
<widget type='Scrollbar' name='partition.scroll'>
<widget_attribute orient='vertical'/>
<grid_location row='0' column='4' sticky='NS' pady='10'/>
</widget>
<widget type='Button'>
<widget_attribute text='new'/>
<grid_location row='1' column='0' sticky='W'/>
</widget>
<widget type='Button'>
<widget_attribute text='edit'/>
<grid_location row='1' column='1' padx='10'/>
</widget>
<widget type='Button'>
<widget_attribute text='delete'/>
<grid_location row='1' column='2' padx='10'/>
</widget>
<widget type='Button'>
<widget_attribute text='reset'/>
<grid_location row='1' column='3' sticky='E'/>
</widget>
</widget>
</widget>
<!--
column 0 column 1 column 2
____________________________________________________________________
row 0 | |
row 1 | |
row 2 | _______________ __________________ |
| | raw | | __________ | |
| | ___________ | | | active || |
| || |^ | | ____ | ________ || |
| || || | || /_ ||| ||| |
| || || | ||_\__||| ||| |
| || || | | ____ || ||| |
| || || | || _\ ||| ||| |
| || || | ||__/_|||________||| _________________ |
| || || | | |__________|| | _________ ||
| || || | |__________________| | | Device |||
| || || | __________________ | | _______ |||
| || || | | __________ | | ____ || ||||
| || || | | | spare || || /_ ||| ||||
| || || | | ____ | ________ || ||_\__||| ||||
| || || | || /_ ||| ||| | ____ || ||||
| ||___________|v | ||_\__||| ||| || _\ ||| ||||
| |_______________| | ____ || ||| ||__/_||| ||||
| || _\ ||| ||| | || ||||
| ||__/_|||________||| | ||_______||||
| | |__________|| | |_________|||
| |__________________| |_________________||
| __________________ |
| | level | |
| | @ Raid 0 | |
| | @ Raid 1 | |
| | @ Raid 5 | |
| |__________________| |
|______________________________________________________________________|
-->
<widget type='Frame' name='raid'>
<grid_management rows='3' columns='3'>
<configure row='0' weight='1'/>
<configure row='1' weight='1'/>
<configure column='0' weight='1'/>
<configure column='1' weight='1'/>
<configure column='2' weight='1'/>
</grid_management>
<grid_location row='2' column='1' columnspan='2' sticky='NSWE'/>
<widget type='Frame'>
<grid_management rows='2' columns='2'>
<configure row='1' weight='1'/>
<configure column='0' weight='1'/>
</grid_management>
<grid_location row='0' column='0' rowspan='3' sticky='NSWE'/>
<action>
<scroll scrolling='raid_raw.scroll' scrolled='raid_raw.list'/>
</action>
<widget type='Label'>
<widget_attribute text='Raw'/>
<grid_location row='0' column='0' sticky='W'/>
</widget>
<widget type='Listbox' name='raid_raw.list'>
<widget_attribute listvariable='raid_raw_devs'/>
<grid_location row='1' column='0' sticky='NWES'/>
<variable name='raid_raw_devs' type='StringVar'/>
<action init='raid_raw_init'/>
</widget>
<widget type='Scrollbar' name='raid_raw.scroll'>
<widget_attribute orient='vertical'/>
<grid_location row='1' column='1' sticky='NS'/>
</widget>
</widget>
<!-- active dev list -->
<widget type='Frame'>
<grid_management rows='3' columns='2'>
<configure row='1' weight='1'/>
<configure row='2' weight='1'/>
<configure column='1' weight='1'/>
</grid_management>
<grid_location row='0' column='1' sticky='NWES'/>
<widget type='Label'>
<widget_attribute text='Active'/>
<grid_location row='0' column='1' sticky='W'/>
</widget>
<widget type='Button'>
<widget_attribute text='-&gt;' command='raid_raw_to_active'/>
<grid_location row='1' column='0' sticky='S'/>
</widget>
<widget type='Button'>
<widget_attribute text='&lt;-' command='raid_active_to_raw'/>
<grid_location row='2' column='0' sticky='N'/>
</widget>
<widget type='Listbox' name='raid_active.list'>
<widget_attribute listvariable='raid_active_devs'/>
<grid_location row='1' column='1' rowspan='2' sticky='NWES'/>
<variable name='raid_active_devs' type='StringVar'/>
</widget>
</widget>
<!-- spare dev list -->
<widget type='Frame'>
<grid_management rows='3' columns='2'>
<configure row='1' weight='1'/>
<configure row='2' weight='1'/>
<configure column='1' weight='1'/>
</grid_management>
<grid_location row='1' column='1' sticky='NWES'/>
<widget type='Label'>
<widget_attribute text='Spare'/>
<grid_location row='0' column='1' sticky='W'/>
</widget>
<widget type='Button'>
<widget_attribute text='-&gt;' command='raid_raw_to_spare'/>
<grid_location row='1' column='0' sticky='S'/>
</widget>
<widget type='Button'>
<widget_attribute text='&lt;-' command='raid_spare_to_raw'/>
<grid_location row='2' column='0' sticky='N'/>
</widget>
<widget type='Listbox' name='raid_spare.list'>
<widget_attribute listvariable='raid_spare_devs'/>
<grid_location row='1' column='1' rowspan='2' sticky='NWES'/>
<variable name='raid_spare_devs' type='StringVar'/>
</widget>
</widget>
<!-- radio button for raid level -->
<widget type='Frame'>
<grid_location row='2' column='1' />
<variable name='raid_level' type='StringVar'/>
<widget type='Label'>
<widget_attribute text='Level'/>
<grid_location row='0' column='0' sticky='W'/>
</widget>
<widget type='Radiobutton' name='raid_level_0'>
<widget_attribute text='Raid 0' variable='raid_level' value='0'/>
<grid_location row='1' column='0'/>
</widget>
<widget type='Radiobutton' name='raid_level_1'>
<widget_attribute text='Raid 1' variable='raid_level' value='1'/>
<grid_location row='2' column='0'/>
</widget>
<widget type='Radiobutton' name='raid_level_5'>
<widget_attribute text='Raid 5' variable='raid_level' value='5'/>
<grid_location row='3' column='0'/>
</widget>
</widget>
<!-- raid partitions -->
<widget type='Frame'>
<grid_management rows='3' columns='2'>
<configure row='1' weight='1'/>
<configure row='2' weight='1'/>
<configure column='1' weight='1'/>
</grid_management>
<grid_location row='0' column='2' rowspan='2'/>
<widget type='Label'>
<widget_attribute text='Device'/>
<grid_location row='0' column='1' sticky='W'/>
</widget>
<widget type='Button'>
<widget_attribute text='-&gt;' command='raid_device_add'/>
<grid_location row='1' column='0' sticky='S'/>
</widget>
<widget type='Button'>
<widget_attribute text='&lt;-' command='raid_device_delete'/>
<grid_location row='2' column='0' sticky='N'/>
</widget>
<widget type='Listbox' name='raid_dev.list'>
<widget_attribute listvariable='raid_devs'/>
<grid_location row='1' column='1' rowspan='2'/>
<variable name='raid_devs' type='StringVar'/>
<action init='raid_device_init'/>
<binding sequence='&lt;&lt;ListboxSelect&gt;&gt;' function='raid_device_list_detail'/>
</widget>
</widget>
<!-- display area, for raid device detail -->
<widget type='Frame'>
<grid_management rows='3' columns='1'>
<configure row='0' weight='1'/>
<configure row='1' weight='1'/>
<configure row='2' weight='2'/>
</grid_management>
<grid_location row='2' column='2'/>
<widget type='Label'>
<widget_attribute textvariable='raid_detail_active'/>
<grid_location row='0' column='0' sticky='W' />
<variable name='raid_detail_active' type='StringVar'/>
</widget>
<widget type='Label'>
<widget_attribute textvariable='raid_detail_spare'/>
<grid_location row='1' column='0' sticky='W' />
<variable name='raid_detail_spare' type='StringVar'/>
</widget>
<widget type='Label'>
<widget_attribute textvariable='raid_detail_level'/>
<grid_location row='2' column='0' sticky='W' />
<variable name='raid_detail_level' type='StringVar'/>
</widget>
</widget>
</widget>
<!--
column 0 column 1 column 2
____________________________________________________________
row 0 | |
row 1 | |
row 2 | |
| __________________________ |
| | __________________ | |
| || | ^ | |
| || | | | |
| || | | | |
| || | | | |
| ||__________________| v | |
| |< - - - - - - - - -> | |
| |__________________________| |
| |
| |
row 3 | |
row 4 | |
|____________________________________________________________|
-->
<widget type='Frame' name='mount'>
<grid_management rows='1' columns='1'>
<configure row='0' weight='1'/>
<configure column='0' weight='1'/>
</grid_management>
<grid_location row='2' column='1' columnspan='2' sticky='NSWE'/>
<widget type='Frame'>
<grid_management rows='2' columns='2'>
<configure row='0' weight='1'/>
<configure column='0' weight='1'/>
</grid_management>
<grid_location row='0' column='0' columnspan='2' padx='20' pady='20' sticky='NSWE'/>
<action>
<scroll scrolling='mount.scroll.v' scrolled='mount.list'/>
<scroll scrolling='mount.scroll.h' scrolled='mount.list'/>
</action>
<widget type='Listbox' name='mount.list'>
<widget_attribute listvariable='mount.list'/>
<grid_location row='0' column='0' sticky='NSWE'/>
<variable name='mount.list' type='StringVar'/>
<action init='mount_list_init'/>
<binding sequence='&lt;&lt;ListboxSelect&gt;&gt;' function='mount_list_modify'/>
</widget>
<widget type='Scrollbar' name='mount.scroll.v'>
<widget_attribute orient='vertical'/>
<grid_location row='0' column='1' sticky='NS'/>
</widget>
<widget type='Scrollbar' name='mount.scroll.h'>
<widget_attribute orient='horizontal'/>
<grid_location row='1' column='0' sticky='WE'/>
</widget>
</widget>
</widget>
<!--
column 1 column 2 column 3
________________________________________________________________________
| __________ ________ |
| host name |__________| domain name |________| |
| _ IP |________| |
| NCM |_| dynamic Subnet mask |________| |
| _ Gateway |________| |
| |_| static Primary DNS |________| |
| Secondary DNS|________| |
|________________________________________________________________________|
-->
<widget type='Frame' name='network'>
<grid_management rows='1' columns='2'>
<configure row='0' weight='1'/>
<configure column='0' weight='1'/>
<configure column='1' weight='1'/>
</grid_management>
<grid_location row='2' column='1' columnspan='2' sticky='NSWE'/>
<action init='network_init' quit='network_quit'/>
<widget type='Frame'>
<grid_location row='0' column='0'/>
<variable name='network_config_method' type='StringVar'/>
<widget type='Label'>
<widget_attribute text='host name'/>
<grid_location row='0' column='0' sticky='W'/>
</widget>
<widget type='Entry'>
<widget_attribute width='12' textvariable='network_host_name'/>
<grid_location row='0' column='1' sticky='W'/>
<variable name='network_host_name' type='StringVar'/>
</widget>
<widget type='Label'>
<widget_attribute text='#NCM'/>
<grid_location row='1' column='0' rowspan='2' sticky='W'/>
</widget>
<widget type='Radiobutton' name='network_config_dynamic'>
<widget_attribute text='dynamic' variable='network_config_method' value='dynamic' command='ncm_dynamic'/>
<grid_location row='1' column='1' sticky='W'/>
</widget>
<widget type='Radiobutton' name='network_config_static'>
<widget_attribute text='static' variable='network_config_method' value='static' command='ncm_static'/>
<grid_location row='2' column='1' sticky='W'/>
</widget>
</widget>
<widget type='Frame'>
<grid_location row='0' column='1'/>
<widget type='Label'>
<widget_attribute text='Domain name'/>
<grid_location row='0' column='0'/>
</widget>
<widget type='Entry' name='network_domain_name'>
<widget_attribute width='16' textvariable='network_domain_name'/>
<grid_location row='0' column='1' pady='2'/>
<variable name='network_domain_name' type='StringVar'/>
</widget>
<widget type='Label'>
<widget_attribute text='IP'/>
<grid_location row='1' column='0'/>
</widget>
<widget type='Entry' name='network_ip'>
<widget_attribute width='16' textvariable='network_ip'/>
<grid_location row='1' column='1' pady='2'/>
<variable name='network_ip' type='StringVar'/>
</widget>
<widget type='Label'>
<widget_attribute text='Subnet mask'/>
<grid_location row='2' column='0'/>
</widget>
<widget type='Entry' name='network_subnet_mask'>
<widget_attribute width='16' textvariable='network_subnet_mask'/>
<grid_location row='2' column='1' pady='2'/>
<variable name='network_subnet_mask' type='StringVar'/>
</widget>
<widget type='Label'>
<widget_attribute text='Gateway'/>
<grid_location row='3' column='0'/>
</widget>
<widget type='Entry' name='network_gateway'>
<widget_attribute width='16' textvariable='network_gateway'/>
<grid_location row='3' column='1' pady='2'/>
<variable name='network_gateway' type='StringVar'/>
</widget>
<widget type='Label'>
<widget_attribute text='Primary DNS'/>
<grid_location row='4' column='0'/>
</widget>
<widget type='Entry' name='network_primary_dns'>
<widget_attribute width='16' textvariable='network_primary_dns'/>
<grid_location row='4' column='1' pady='2'/>
<variable name='network_primary_dns' type='StringVar'/>
</widget>
<widget type='Label'>
<widget_attribute text='Secondary DNS'/>
<grid_location row='5' column='0'/>
</widget>
<widget type='Entry' name='network_secondary_dns'>
<widget_attribute width='16' textvariable='network_secondary_dns'/>
<grid_location row='5' column='1' pady='2'/>
<variable name='network_secondary_dns' type='StringVar'/>
</widget>
</widget>
</widget>
<!--
column 1 column 2 column 3
________________________________________________________________________
| Mandatory |
| ___________________________________________ |
| | ___________________ __________________ | |
| || mandatory group 1 | | mandatory group2 | | |
| ||___________________| |__________________| | |
| |___________________________________________| |
| |
| Optional |
| _____________________________________________ |
| | _ _ _ | |
| | |_| optional 1 |_| optional 2 |_| optional 3| |
| |_____________________________________________| |
|________________________________________________________________________|
-->
<widget type='Frame' name='software group'>
<grid_management rows='4' columns='1'>
<configure row='1' weight='1'/>
<configure row='3' weight='1'/>
<configure column='0' weight='1'/>
</grid_management>
<grid_location row='2' column='1' columnspan='2' sticky='NSWE'/>
<widget type='Label'>
<widget_attribute text='Mandatory'/>
<grid_location row='0' column='0' />
</widget>
<widget type='Frame' construct='software_group_mandatory_construct'>
<grid_management rows='x' columns='3'>
<configure column='0' weight='1'/>
<configure column='1' weight='1'/>
<configure column='2' weight='1'/>
</grid_management>
<grid_location row='1' column='0'/>
<!-- a template for software group mandatory item -->
<widget type='Button' >
<widget_attribute text='' command='software_group_mandatory_item'/>
<grid_location row='0' column='0' sticky='W'/>
</widget>
</widget>
<widget type='Label'>
<widget_attribute text='Optional'/>
<grid_location row='2' column='0'/>
</widget>
<widget type='Frame' construct='software_group_optional_construct'>
<grid_management rows='x' columns='3'>
<configure column='0' weight='1'/>
<configure column='1' weight='1'/>
<configure column='2' weight='1'/>
</grid_management>
<grid_location row='3' column='0'/>
<action quit='software_group_optional_quit'/>
<!-- a template for software group optional item -->
<widget type='Checkbutton'>
<widget_attribute text='' variable='' command='' onvalue='yes' offvalue='no'/>
<grid_location row='0' column='0' sticky='W'/>
</widget>
</widget>
</widget>
<!--
column1 column2 column3
_____________________________________________________
| |
| ____________________ |
| | | ^ |
| | | | |
| | | | |
| | | | |
| |____________________| v |
| <- - - - - - - - - - -> |
|_____________________________________________________|
-->
<widget type='Frame' name='dependency'>
<grid_management rows='2' columns='2'>
<configure row='0' weight='1'/>
<configure column='0' weight='1'/>
</grid_management>
<grid_location row='2' column='1' columnspan='2' sticky='NSWE'/>
<action>
<scroll scrolling='dependency.scroll.v' scrolled='dependency.list'/>
<scroll scrolling='dependency.scroll.h' scrolled='dependency.list'/>
</action>
<widget type='Listbox' name='dependency.list'>
<widget_attribute listvariable='dependency.list'/>
<grid_location row='0' column='0' padx='30' pady='30' sticky='NSWE'/>
<variable name='dependency.list' type='StringVar'/>
<action init='dependency_list_init'/>
</widget>
<widget type='Scrollbar' name='dependency.scroll.v'>
<widget_attribute orient='vertical'/>
<grid_location row='0' column='1' pady='30' sticky='NS'/>
</widget>
<widget type='Scrollbar' name='dependency.scroll.h'>
<widget_attribute orient='horizontal'/>
<grid_location row='1' column='0' padx='30' sticky='WE'/>
</widget>
</widget>
<!--
column1 column2 column3
_____________________________________________
| _ _ _ |
| |_|service 1 |_|service 2 |_|service 3 |
| ...... |
|_____________________________________________|
-->
<widget type='Frame' name='service' construct='service_construct'>
<grid_management rows='x' columns='3'>
<configure column='0' weight='1'/>
<configure column='1' weight='1'/>
<configure column='2' weight='1'/>
</grid_management>
<grid_location row='2' column='1' columnspan='2' sticky='NSWE'/>
<action init='service_init' quit='service_quit'/>
<!-- a template for service item -->
<widget type='Checkbutton' name='service-item'>
<widget_attribute text='' variable='' onvalue='yes' offvalue='no'/>
<grid_location row='0' column='0' sticky='W'/>
</widget>
</widget>
<message_box name='check_old_conf' type='askokcancel' title='check old config' message='#check-old-config'/>
<message_box name='next' type='askokcancel' title='install sequence' message='#installation-confirmation'/>
<message_box name='previous' type='showinfo' title='install sequence' message='#first-step'/>
<message_box name='raid_add_warning' type='showwarning' title='raid adding' message='#raid-add-warning'/>
<message_box name='raid_delete_warning' type='showwarning' title='raid deleting' message='#raid-delete-warning'/>
<message_box name='raid_add_active_numbers' type='showwarning' title='number' message='#raid-add-active-numbers'/>
<message_box name='raid_add_active_2numbers' type='showwarning' title='number' message='#raid-add-active-2numbers'/>
<!--
column 0 column 1
________________________________________________
row 0 | Device /dev/xxx |
row 1 | Size xxx |
| _____________ |
row 2 | Directory |_____________| |
| _ _ |
row 3 | |_| Format |_| Not-Format |
| ___________________ |
row 4 | | | |
| filesystem | | |
| | | |
| |___________________| |
| |
row 5 | OK Cancel |
|________________________________________________|
-->
<top_window name='mount_list_modify'>
<grid_management rows='1' columns='1'>
<configure row='0' weight='1'/>
<configure column='0' weight='1'/>
</grid_management>
<widget type='Frame'>
<grid_location row='0' column='0'/>
<variable name='mp_top_format' type='StringVar'/>
<action init='mp_top_init'/>
<widget type='Label'>
<widget_attribute text='Device'/>
<grid_location row='0' column='0' padx='10' sticky='W'/>
</widget>
<widget type='Label'>
<widget_attribute textvariable='mp_top_dev'/>
<grid_location row='0' column='1' sticky='W'/>
<variable name='mp_top_dev' type='StringVar'/>
</widget>
<widget type='Label'>
<widget_attribute text='Size'/>
<grid_location row='1' column='0' padx='10' sticky='W'/>
</widget>
<widget type='Label'>
<widget_attribute textvariable='mp_top_size'/>
<grid_location row='1' column='1' sticky='W'/>
<variable name='mp_top_size' type='StringVar'/>
</widget>
<widget type='Label'>
<widget_attribute text='Directory'/>
<grid_location row='2' column='0' padx='10' sticky='W'/>
</widget>
<widget type='Entry'>
<widget_attribute width='10' textvariable='mp_top_dir'/>
<grid_location row='2' column='1' sticky='W'/>
<variable name='mp_top_dir' type='StringVar'/>
</widget>
<widget type='Radiobutton' name='mp_top_format'>
<widget_attribute text='Format' variable='mp_top_format' value='yes'/>
<grid_location row='3' column='0'/>
</widget>
<widget type='Radiobutton' name='mp_top_not_format'>
<widget_attribute text='Not-Format' variable='mp_top_format' value='no'/>
<grid_location row='3' column='1'/>
</widget>
<widget type='Label'>
<widget_attribute text='Filesystem'/>
<grid_location row='4' column='0' sticky='W'/>
</widget>
<widget type='Listbox' name='mp_top_fs'>
<widget_attribute listvariable='mp_top_fs'/>
<grid_location row='4' column='1' sticky='W'/>
<variable name='mp_top_fs' type='StringVar' value='ext2 ext3 reiserfs xfs jfs'/>
</widget>
<widget type='Button'>
<widget_attribute text='OK' command='mp_top_ok'/>
<grid_location row='5' column='0'/>
</widget>
<widget type='Button'>
<widget_attribute text='Cancel' command='mp_top_cancel'/>
<grid_location row='5' column='1'/>
</widget>
</widget>
</top_window>
<!--
column1 column2 column3
_____________________________________________________
| |
| ____________________ |
| | | ^ |
| | | | |
| | | | |
| | | | |
| |____________________| v |
| <- - - - - - - - - - -> |
|_____________________________________________________|
-->
<widget type='Frame' name='install_information'>
<grid_management rows='2' columns='2'>
<configure row='0' weight='1'/>
<configure column='0' weight='1'/>
</grid_management>
<grid_location row='2' column='1' columnspan='2' sticky='NSWE'/>
<action>
<scroll scrolling='install_information.scroll.v' scrolled='install_information.list'/>
<scroll scrolling='install_information.scroll.h' scrolled='install_information.list'/>
</action>
<widget type='Text' name='install_information.list'>
<grid_location row='0' column='0' padx='30' pady='30' sticky='NSWE'/>
<action init='install_information_init'/>
</widget>
<widget type='Scrollbar' name='install_information.scroll.v'>
<widget_attribute orient='vertical'/>
<grid_location row='0' column='1' pady='30' sticky='NS'/>
</widget>
<widget type='Scrollbar' name='install_information.scroll.h'>
<widget_attribute orient='horizontal'/>
<grid_location row='1' column='0' padx='30' sticky='WE'/>
</widget>
</widget>
<text key='#dependency.help'>
<English>
There are two kinds of dependent relationships. Dependent Functions and Dependent Packages.
Dependent Functions To provide systems function of packages. the left column is the systematic functions, the right column provides function of packages.
Dependent Packages : The current selection of the dependent packages on the missing package. The left column of the software package is dependent on the right of the software packages
</English>
<Chinese>
依赖关系分为两部分:功能依赖和软件包依赖。
功能依赖:给出了提供系统功能所需要的软件包。左边列出来的是系统的功能,右边是提供功能的软件包。
软件包依赖:当前选择安装的软件包所缺失的依赖软件包。左边列出来的软件包是右边软件包的依赖软件包
</Chinese>
</text>
<text key='#first-step'>
<English>You have already been in the first step.</English>
<Chinese>您已到达第一步。</Chinese>
</text>
<text key='#install_information.help'>
<English>
Installation information recorded the process which the users choose operations during installation. Including: record the operation of the physical hard disk, choose the software packages which use to install and server to start system.
</English>
<Chinese>
安装信息记录了用户在安装过程中所配置的数据。内容包括:对物理硬盘的操作,选择安装的软件包,选择系统启动时自启的服务等。
</Chinese>
</text>
<text key='#last-step'>
<English>You have already been in the last step.</English>
<Chinese>您已到达最后一步。</Chinese>
</text>
<text key='#mount.help'>
<English>
There are five columns in the mount point display frame. The first is the hard disk partition, such as sdaX, mdx. The second is the mount point. The third is the file system of hard disk . The fourth is that if your format hard disk partition, "yes" means do ,"no" means don't . The fifth is the size of hard disk and raid equipment.
</English>
<Chinese>
设置挂载点显示框中分为五列第一列是硬盘分区如sdaX、mdX。第二列是挂载点是挂载硬盘分区时所在的目录。第三列是硬盘分区的文件系统类型。第四列是指是否要格式化该硬盘分区no表示不格式化,yes表示要格式化。第五列是各硬盘分区或raid设备的大小。
点击该行可以改变该行的属性配置,包括:挂载点目录、是否格式化硬盘分区、文件系统类型。
</Chinese>
</text>
<text key='#network.help'>
<English>
The host name identifies the computer system which use various forms of electronic transmission to identify the specific computer system.
Installation the program offers two ways. It is dynamic configureation IP (DHCP) and static configuration IP.
Dynamic allocation: It distributes IP address when you start your computer system every time. If you use dynamic IP address, it is necessary to ensure that computer network environment which there is DHCP server.
Staic configuration: Using a static IP address,netmask,gateway and DNS server. If you choose static IP, you must promise IP address,netmask,gateway,DNS cannot be empty.
Domain represent a name or a location that a unit, a organization or individual person use in the internet.
IP address,netmask,gateway,DNS: Input the four numbers from 0 to 255 by dots. E.g: 192.168.1.1
</English>
<Chinese>
主机名标识计算机系统,主要用于各种形式的电子传输,以鉴别特定的计算机系统。
安装程序提供DHCP动态分配IP和静态配置IP。
DHCP动态分配IP采用动态的IP地址系统每次启动均由DHCP服务器分配。如果使用动态分配IP的方式必须保证计算机所处的网络环境中存在DHCP服务器。
静态配置IP采用静态的IP地址、子网掩码、网关和DNS服务器,当选择静态配置IP时IP地址、子网掩码、网关、DNS服务器、域名不能为空。
域名表示一个单位、机构或个人在Internet上有一个确定的名称或位置。
IP地址、子网掩码、网关、首选DNS、备用DNS输入四个0~255的数字用点隔开如192.168.1.1
</Chinese>
</text>
<text key='#NCM'>
<English>Network Configuration Management:</English>
<Chinese>网络配置方式</Chinese>
</text>
<text key='#os-name'>
<English>Rocky 4.2</English>
<Chinese>磐石 4.2</Chinese>
</text>
<text key='#raid-add-active-numbers'>
<English>When make a raid0 or raid1, the partitions on the active display frame, must be more than one!</English>
<Chinese>当制作raid0或raid1时硬盘分区必须两个或两个以上。</Chinese>
</text>
<text key='#raid-add-active-2numbers'>
<English>When make a raid5, the partitions on the active display frame, must be more than two!</English>
<Chinese>当制作raid5的时,硬盘分区必须三个或三个以上。</Chinese>
</text>
<text key='#raid-add-warning'>
<English>When adding a raid device, active list can not be null, and one raid level must be selected!</English>
<Chinese>当添加raid设备时使用设备列表不能为空并且必须选定一个raid级别。</Chinese>
</text>
<text key='#raid-delete-warning'>
<English>You can not delete an existing raid, which is not made by I (install program)!</English>
<Chinese>对于一个早已存在的raid设备不是由安装程序创建的你不能把它删除。</Chinese>
</text>
<text key='#raid.help'>
<English>
RAID is a way to multi-block independentHard drive(Physical disk ) in different ways combined to form a disk group (logical drives) , which provides than a single disk more storage performance and providing data backup technology.
If your don't know RAID,plase press next step,which don't effect Rocky OS installation and run.
The hard disk in the raw display frame is able to make the RAID, E.g sda2,sdb2. The RAIDs equipments in the Device display frame have already existed. E.g: md0. Rocky os installation keep original raid equipment. If your want to make a RAID, please choose one or more hard disk in the Raw box, and press "-->". Hard disk will turn into active box or free box. If the hard disk turns into the active box, you can make a raid. After performing the operation, please choose level in Level box. In the end, you can make a raid according to press '-->'.
</English>
<Chinese>
磁盘陈列技术(RAID)诞生于1987年由美国加州大学伯克利分校提出。该技术是把多块独立的硬盘物理硬盘按不同的方式组合起来形成一个硬盘组逻辑硬盘从而提供比单个硬盘更高的存储性能和提供数据备份技术。
如果用户不懂该技术可以直接点击下一步,系统将不制作RAID,并不影响系统的安装及运行。
原始框中是满足制作RAID的硬盘分区,如sda1、sdb2等。设备框中是原本系统已经制作好的RAID,如md0、md1等。系装安装时将保留原有的RAID设备。若要制作新RAID,请在原始框中选中硬盘分区后通过点击">",硬盘分区会进入活动框或空闲框中。要制作RAID活动框中必须要有硬盘分区可以有一个或多个。空闲框中硬盘分区是可选的可以有一个或多个,也可以没有。完成上步操作后在级别框中选择raid的级别最后点击"->"在设备框中产生新的mdX设备。
</Chinese>
</text>
<text key='#serial number.help'>
<English>
The serial number is that computer systems security operations of the Linx. In the serial number display frame, please input correct serial number so that the Rocky system can be start after the operating system installed.
How to get the serial number?please contact Linx.
web: www.linx-info.com
</English>
<Chinese>
安装序列号是计算机运行凝思磐石安全操作系统的许可,请在序列号框内输入正确的序列号,以便操作系统的安全功能,能从计算机启动。
如何获取安装序列号请联系北京凝思科技有限公司。
网站www.linx-info.com
</Chinese>
</text>
<text key='#service.help'>
<English>
Display frame illustrate which type of service will be supported after installation. Gray box means this service cann't be supported because there is no match with software package.
</English>
<Chinese>
显示框中表示系统启动过程中自动启动的服务。
灰色选项说明不技持该服务,可能是因为没有选上该服务所对应的软件包。
</Chinese>
</text>
<text key='#software group.help'>
<English>
Package group was divided into required and optional parts. They system will be installed by default which in the Required Software. To install the optional packages, you can first click on an optional package group and find it.
Base package group is required parts. Basic package include required and optional aparts. Required packages are installed by default, the optional package can be free to choose.
Development package group, including C, C++, DDD and other developed tolls are available. You can choose to install.
Graphics software package group, including the various procedures related XII. Graphics software package can be divided into the required and optional package. When you select to choose this kind of package, the required one is installed by default and the optional one is free.
Network service package group is optional package , various network services package and network service software can choose to install.
Internet software, including World Wide Web browser and Firefox, divided into required and optional packages. The first is installed by default and the last one is free to choose.
Multimedia package group, including a variety of media library. Multimedia software packages are optional packages can choose to install.
Another package group is optional one, so you can choose to install freely.
</English>
<Chinese>
软件包组分为必选软件包组和可选软件包。系统默认时会安装必选软件包组里的必选软件包。在安装软件包时,先点击软件包组,在弹出的对话框中选上所须要的软件包。
基础类软件包组(base)是必选组,包括构成系统的基本软件包,分为必选软件包和可选软件包。必选软件包是系统默认安装的,可选包可以自由选择
开发软件包组development包括C、C++(Fortran)、DDD等开发工具都是可选包可以自由选择安装
图形类软件包组gui包括Xll相关的各种程序。图形类软件包分为必选包和可选包当选择安装该软件包组后必选包是默认安装的可选包可以自由选择安装。
网络服务类软件包组network_service包括各种网络服务包。网络服务类软件包都是可选软件包可以自由选择安装。
因特网类软件组(internet)包括万维网浏览器Firefox等。因特网类软件包分为必选包和可选包当选择安装该软件包组后必选包是默认安装的可选包可以自由选择安装。
多媒体类软件包组(multi-media)包括各种媒体库。多媒体类软件包都是可选软件包,可以自由选择安装。
其它软件包组(kde、vm、network_tools)都是可选软件包,可以自由选择安装。
</Chinese>
</text>
<text key='#Welcome'>
<English>Welcome to useLinx Rocky Secure Operating System v4.2</English>
<Chinese>欢迎使用凝思磐石安全操作系统 v4.2</Chinese>
</text>
<text key='#Welcome.help'>
<English>
Respect of user, hello! welcome to use that the operating system. Rocky!
</English>
<Chinese>
尊敬的用户,你好!欢迎使用凝思磐石操作系统。
凝思磐石安全操作系统遵循国内外安全操作系统GB17859、GB/T18336、GJB4936、 GJB4937、GB/T20272以及POSIX、TCSEC、ISO15408等标准进行设计和实现为我国用户提供拥有自主知识产权、高安全、高可用和高效的操作系统平台。凝思科技经过多年的研究开发出的凝思磐石安全操作系统具有以下主要特点
高安全性
安全性是凝思磐石安全操作系统的主要特征充分结合凝思科技的独有技术与国内外多项安全标准的要求在操作系统和应用程序的各个层次进行安全增强使系统成为安全的有机整体。主要安全机制有一下几点强制运行机制MEC、强制能力控制MCC、访问控制列表ACL、强制访问控制MAC、四权分立的系统管理
高可用性
凝思磐石安全操作系统发布前进行了长时间的压力测试能够保证高内存和CPU负载环境下的稳定运行为各类应用提供稳定运行平台。
高兼容性
凝思磐石安全操作系统系列产品包括安全服务器版、安全工作站版、安全专用设备版和安全桌面版,适用于从大型计算到桌面办公等各种环境,支持各类通用和专业应用,具有良好的软、硬件兼容性.
凝思磐石安全操作系统提供丰富的驱动程序,支持各类主流磁盘驱动器、网卡驱动器和显示控制器等硬件设备。兼容国内外各大主流厂商的多款服务器和桌面计算机。凝思科技还可协助第三方硬件厂商完成驱动程序的研发和移植,实现加密卡等专用硬件设备支持。
高效性
凝思磐石安全操作系统的每一款产品均针对服务器、工作站、专用设备和桌面环境进行特别优化,能够获得比通用操作系统更高的运行效率.
易维护性
凝思磐石安全操作系统的配置、使用和维护方法与传统UNIX和Linux保持一致提供丰富的管理和维护软件既可通过命令行工具完成系统配置和维护又可通过图形界面完成相关操作简化用户操作步骤减少系统管理员的维护工作量。
</Chinese>
</text>
<text key='#Installation-confirmation'>
<English>installation Configuration is completed, press the OK button to start the installation</English>
<Chinese>安装配置完成,按确定键开始安装</Chinese>
</text>
<text key='#check-old-config'>
<English>The system detects the presence of the last installation to retain the configuration file, whether to use</English>
<Chinese>系统检测到存在上次安装保留的配置文件,是否使用它</Chinese>
</text>
<text>
<English>Active</English>
<Chinese>使用</Chinese>
</text>
<text>
<English>Cancel</English>
<Chinese>取消</Chinese>
</text>
<text>
<English>Copyright</English>
<Chinese>版权</Chinese>
</text>
<text>
<English>delete</English>
<Chinese>删除</Chinese>
</text>
<text>
<English>dependency</English>
<Chinese>软件依赖</Chinese>
</text>
<text>
<English>Device</English>
<Chinese>设备</Chinese>
</text>
<text>
<English>Directory</English>
<Chinese>目录</Chinese>
</text>
<text>
<English>Domain name</English>
<Chinese>域名</Chinese>
</text>
<text>
<English>dynamic</English>
<Chinese>动态</Chinese>
</text>
<text>
<English>edit</English>
<Chinese>编辑</Chinese>
</text>
<text>
<English>Filesystem</English>
<Chinese>文件系统</Chinese>
</text>
<text>
<English>Format</English>
<Chinese>格式化</Chinese>
</text>
<text>
<English>Gateway</English>
<Chinese>网关</Chinese>
</text>
<text>
<English>host name</English>
<Chinese>主机名</Chinese>
</text>
<text>
<English>install_information</English>
<Chinese>安装信息</Chinese>
</text>
<text>
<English>install sequence</English>
<Chinese>安装顺序</Chinese>
</text>
<text>
<English>IP</English>
<Chinese>IP</Chinese>
</text>
<text>
<English>Level</English>
<Chinese>级别</Chinese>
</text>
<text>
<English>Linx</English>
<Chinese>凝思</Chinese>
</text>
<text>
<English>Mandatory</English>
<Chinese>必选</Chinese>
</text>
<text>
<English>mount</English>
<Chinese>挂载硬盘</Chinese>
</text>
<text>
<English>new</English>
<Chinese>新建</Chinese>
</text>
<text>
<English>Not-Format</English>
<Chinese>不格式化</Chinese>
</text>
<text>
<English>network</English>
<Chinese>网络</Chinese>
</text>
<text>
<English>next</English>
<Chinese>下一步</Chinese>
</text>
<text>
<English>OK</English>
<Chinese>确定</Chinese>
</text>
<text>
<English>Optional</English>
<Chinese>可选</Chinese>
</text>
<text>
<English>previous</English>
<Chinese>上一步</Chinese>
</text>
<text>
<English>Primary DNS</English>
<Chinese>首选DNS</Chinese>
</text>
<text>
<English>quit</English>
<Chinese>退出</Chinese>
</text>
<text>
<English>Raw</English>
<Chinese>原始</Chinese>
</text>
<text>
<English>reset</English>
<Chinese>重置</Chinese>
</text>
<text>
<English>Secondary DNS</English>
<Chinese>备用DNS</Chinese>
</text>
<text>
<English>Select all</English>
<Chinese>全选</Chinese>
</text>
<text>
<English>serial number</English>
<Chinese>序列号</Chinese>
</text>
<text>
<English>service</English>
<Chinese>服务</Chinese>
</text>
<text>
<English>Size</English>
<Chinese>大小</Chinese>
</text>
<text>
<English>software group</English>
<Chinese>软件组</Chinese>
</text>
<text>
<English>Spare</English>
<Chinese>备用</Chinese>
</text>
<text>
<English>Subnet mask</English>
<Chinese>子网掩码</Chinese>
</text>
<text>
<English>static</English>
<Chinese>静态</Chinese>
</text>
<text>
<English>welcome</English>
<Chinese>欢迎</Chinese>
</text>
<sequence name='main'>
<widget name='welcome'/>
<widget name='serial number'/>
<widget name='raid'/>
<widget name='mount'/>
<widget name='network'/>
<widget name='software group'/>
<widget name='dependency'/>
<widget name='service'/>
<widget name='install_information'/>
</sequence>
</interface>