Changes between Version 5 and Version 6 of Documentation/Community/HowTo/ThePerfectEboxSetup/Install

Show
Ignore:
Timestamp:
06/16/09 05:47:48 (4 years ago)
Author:
poundjd (IP: 68.32.33.27)
Comment:

Lots of #FIXME's, edits and comments. This is very very detailed. Getting closer to being done.

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/Community/HowTo/ThePerfectEboxSetup/Install

    v5 v6  
    11== Install == 
    22 
    3 You should get the latest eBox Platform installer based on Ubuntu GNU/Linux installer from the download page. #FIXME i386 vs amd64 download 
    4  
    5 === Assumptions used below === 
     3You should get the latest eBox Platform installer based on Ubuntu GNU/Linux installer from the [http://ebox-platform.com/download/ download page]. #FIXME i386 vs amd64 download 
     4 
     5=== Assumptions Used Below === 
    66 
    77==== Language and Location ==== 
    8 For this guide we will assuming an English Speaker from the USA. 
     8For this guide we will be assuming an English Speaker from the USA. 
    99 
    1010==== Networking ==== 
     
    1818Server Name will be : '''ebox''' 
    1919 
    20 User Full Name : '''user''' 
    21  
    22 User Name : '''user''' 
    23  
    24 User Password '''GoodPassword''' - will be displayed as **** 
     20User Full Name : '''user''' #FIXME ''- Should be '''eBox Administrator Full Name''' in pictures and here.'' 
     21 
     22User Name : '''user''' #FIXME ''- Should be '''eBoxAdministrator''' in pictures and here.'' 
     23 
     24User Password '''AGoodPassword''' - will be displayed as **** 
    2525 
    2626eBox HTTPS Port: '''443''' 
     
    4343==== General settings ==== 
    4444 
    45 You should check that your server is configured to boot up from the CD or DVD ROM unit otherwise the installer won't start. Most of the times this is the default behavior but if it doesn't check your hardware vendor documentation. 
    46  
    47 The first screen that appears lets us choose the installer language. Just press ''enter'' to select English or move with the arrows to select the desired language. 
     45You should check that your server is configured to boot up from the CD or DVD ROM unit otherwise the installer won't start. Most of the times this is the default behavior but if it doesn't check your hardware vendor documentation.  This is set in the BIOS of your computer. 
     46 
     47The first screen that appears lets us choose the installer language. Just press ''Enter'' to select English or move with the arrows to select the desired language. 
    4848 
    4949[[Image(ebox_install_01.png, 300)]] 
     
    5151On the main screen we can do 5 different actions: 
    5252 
    53   * Install eBox Platform (selected by default, this is the option we should go for) 
    54   * Check CD for defects (we can use this option to check that the image was properly burned) 
    55   * Rescue a broken system (we will use this option to rescue the system on a fatal error) 
    56   * Test memory (the installer includes a memory tester application, we should check our server memory if it does random weird things) 
    57   * Boot from first hard disk (we will use this option to boot the system on a boot loader fatal error) 
     53  * Install eBox Platform ''(Selected by default, this is the option we will select)'' 
     54  * Check CD for defects ''(We can use this option to check that the image was properly burned)'' 
     55  * Rescue a broken system ''(We will use this option to rescue the system if we have a fatal error)'' 
     56  * Test memory ''(The installer includes a memory tester application, we should check our server memory if it does random weird things)'' 
     57  * Boot from first hard disk ''(We will use this option to boot the system if we have a boot loader fatal error)'' 
    5858 
    5959[[Image(ebox_install_02.png, 300)]] 
    6060 
    61 The next step is to choose your system language: We will select '''English'''. 
     61The next step is to choose your system language:  
     62 
     63We will select '''English'''. 
    6264 
    6365[[Image(ebox_install_03.png, 300)]]  
    6466 
    65 The next step is to chose your system Localization: We will select '''USA'''. 
     67The next step is to chose your system Localization: 
     68 
     69We will select '''United States'''.  #FIXME ''(The picture showes ''''Ireland'''')'' 
    6670 
    6771[[Image(ebox_install_04.png, 300)]] 
     
    6973After that we will have to choose the keyboard layout, the installer can auto detect it or we can select it by hand, we prefer to do it this way:  
    7074 
    71 First we will select '''No''' 
     75First where it asks us ''Detect keyboard layout?''.  
     76 
     77We will select '''No''' 
    7278 
    7379[[Image(ebox_install_05.png, 300)]]  
    7480 
     81Where it next asks for ''The origin of the keyboard:''.  
     82 
    7583We will then select '''USA'''. 
    7684 
    7785[[Image(ebox_install_06.png, 300)]] 
    7886 
    79  We will again select '''USA''' 
     87Where it asks for the ''Keyboard layout:''.  
     88 
     89We will again select '''USA''' 
    8090 
    8191[[Image(ebox_install_07.png, 300)]] 
     
    91101Select the network interface.  Usually if only one network cable is installed you will only have one option. In this case we have three to choose from, we select the one that is connected to the internal LAN. 
    92102 
     103'''Please note that the text after the ":" will be based on your hardware not what we have installed here for this trial.''' 
     104 
     105Where it asks for ''Primary network interface:''. 
     106 
     107We will will select '''eth0:'''   
     108 
    93109[[Image(ebox_install_09.png, 300)]]  
    94110 
    95 Next then the installer will ask us for a hostname for the machine. In this example we will use '''ebox'''. 
     111Next then the installer asks us for a ''hostname:'' for the machine.  
     112 
     113We will type in '''ebox'''. 
    96114 
    97115[[Image(ebox_install_10.png, 300)]] 
    98116 
     117==== #FIXME RAID ==== 
    99118==== Partitioning ==== 
    100119 
    101 #FIXME RAID 
    102  
    103 Probably this is the most complex step and where you have to make more choices but this is very important for your server future. Our install will be using LVM (Linux Volume Manager) and the partition scheme we recommend would be something like: 
     120Probably this is the most complex step and where you have to make more choices but this is also very important for your server future. Our install will be using LVM (Linux Volume Manager) and the partition scheme we recommend would be something like: 
    104121 
    105122|| Partition || Size || Format || Mount Point || Comments || 
     
    116133We shouldn't forget to leave some free space on the LVM volume in order to create the snapshots used for safe upgrades. This size usually should be around 2G but probably you will need more if you want to make snapshots on data partitions volumes, in that case 2G+15% of your other volumes size should be OK. 
    117134 
    118 That's why we will choose ''Manual'' partitioning: 
     135===== /boot ===== 
     136 
     137That's why we will choose '''Manual''' partitioning. 
    119138 
    120139[[Image(ebox_install_11.png, 300)]] 
    121140 
    122 Will go over the ''FREE SPACE'' with the rows and will press ''Enter'' to create a new partition there: 
     141The Installer displays a summary of the disks and partitions we currently have on the system next.  Sense this picture is from a virtual install we only have a 8.6 GB virtual hard disk. 
     142 
     143We will move the highlighted area over the line that says: ''pri/log   8.6 GB   FREE SPACE''. 
     144 
     145We select it by hitting ''Enter''. 
    123146 
    124147[[Image(ebox_install_12.png, 300)]] 
    125148 
    126 Next steps will be to configure the size as a primary partition at the beginning of the hard disk, the file system and the mount point are selected by default: 
    127  
    128 Select '''Create a new partition''' 
     149That will mark this area as marked and partitioned.  
     150The next few steps will be to configure the ''/boot'' partition, marking it as a primary partitions and placing it at the beginning of the hard disk 
     151 
     152So where it asked us ''How to use this free space:''  
     153 
     154We Select '''Create a new partition'''. 
    129155 
    130156[[Image(ebox_install_13.png, 300)]]  
    131157 
    132 We selected '''256M''' here, but you should select '''????''' or the size you need for '''/boot'''. 
     158We will select '''256M''' here, but you should select '''????''' or the correct size you need for '''/boot'''. 
     159 
     160Where it asks us for the ''New partition size:''. 
     161 
     162We type in '''256M'''. 
    133163 
    134164[[Image(ebox_install_14.png, 300)]]  
    135165 
    136 Select '''Primary''' 
     166Where it asks us ''Type for the new partition:''. 
     167 
     168We Select '''Primary'''. 
    137169 
    138170[[Image(ebox_install_15.png, 300)]]  
    139171 
    140 Select '''Beginning''' 
     172Where it asks us ''Location for he new partition:'' 
     173 
     174We select '''Beginning''' 
    141175 
    142176[[Image(ebox_install_16.png, 300)]]  
    143177 
    144 The file system should be '''ext3''', the mount point is '''/boot''', Leave the other settings as their defaults. 
     178Where it asks us ''Partition settings''. We should be able to accept all but two of the defaults, and they should be:  The file system should be '''ext3''', the mount point is '''/boot''', leave the other settings as their defaults. 
     179 
     180So where under ''Partition settings'' is says ''Use as:''. 
     181 
     182We should select '''Ext3 journaling file system'''  
    145183 
    146184[[Image(ebox_install_17.png, 300)]] 
    147185 
     186So where under ''Partition settings'' it says ''Mount point''. 
     187 
     188We should select '''/boot'''. 
     189 
     190[[Image(ebox_install_18.png, 300)]] 
     191 
    148192And this is the state after creating the system partition: 
    149193 
    150 [[Image(ebox_install_18.png, 300)]] 
    151  
    152 Now we are going to create a LVM volume on the free space going over ''FREE SPACE'' and pressing ''Enter'': 
     194So we select ''Done setting up the partition''. 
    153195 
    154196[[Image(ebox_install_19.png, 300)]] 
    155197 
     198 
     199===== Logical Volume Manager ===== 
     200 
    156201The steps now will be the same as before, creating the partition with the maximum size, but on the last one will have to change the defaults: 
    157202 
    158 Select the FREE SPACE 
     203Select the ''FREE SPACE''. 
    159204 
    160205[[Image(ebox_install_20.png, 300)]]  
    161206 
    162 Select '''Create a new partition''' 
     207Select '''Create a new partition'''. 
    163208 
    164209[[Image(ebox_install_21.png, 300)]] 
    165  
    166 #FIX IT -- Will go over ''Use as:'' and will press ''Enter'' selecting ''physical volume for LVM'' and finishing: 
    167210 
    168211Next we select the maximum size we can for the LVM partition. Our example will be using '''8.3 GB''', you should select '''max''', or perhaps the default will be the max. 
     
    183226[[Image(ebox_install_25.png, 300)]]  
    184227 
    185 Now we are done with this partition.  So we select '''Don setting up the partition'''. 
     228Now we are done with this partition.  So we select '''Done setting up the partition'''. 
    186229 
    187230[[Image(ebox_install_26.png, 300)]]  
    188231 
    189  
    190 Now with LVM setup is in place we can create the logical volumes for every partition we want, probably swap, /var, /home and /var/vmail. 
    191  
    192 Select ''Configure the Logical Volume Manager'': 
     232Select '''Configure the Logical Volume Manager''': 
    193233 
    194234[[Image(ebox_install_27.png, 300)]] 
    195235 
    196 Now the partition needs to be put on disk so Select '''Yes''', and wait a little while. 
     236Now the partition needs to be put on disk. 
     237 
     238Where it asks ''Write the changes to disks and configure LVM?'' 
     239 
     240We select '''Yes''', and wait a little while. 
    197241 
    198242[[Image(ebox_install_28.png, 300)]]   
    199243 
    200 Now we have to create a volume group so select '''Create volume group''' 
     244 
     245====== Logical Volume Group ====== 
     246 
     247Now we have to create a volume group. 
     248 
     249Where it says ''LVM configuration action:'' 
     250 
     251We select '''Create volume group'''. 
    201252 
    202253[[Image(ebox_install_29.png, 300)]]  
    203254 
    204 Now we give the volume group a name.  We selected '''ebox''' 
     255Now we give the volume group a name.   
     256 
     257Where it says ''Volume group name:''  
     258 
     259We will type in '''ebox'''. 
    205260 
    206261[[Image(ebox_install_30.png, 300)]] 
    207262 
    208 Now we select the devices for the new volume group.  We only have one device, so that is what we select.  Then we select '''Continue'''. 
     263Now we select the devices for the new volume group.  We only have one device, so that is what we select.   
     264 
     265Where it says ''Devices for the new volume group:'' We highlight the only disk we have. 
     266 
     267Then we select '''Continue'''. 
    209268 
    210269[[Image(ebox_install_31.png, 300)]]  
    211270 
    212 Next we see the '''Summary of current LVM configuration:''' here we will select the '''Create logical volume''' 
     271====== Logical Volumes ====== 
     272 
     273 
     274Now with the LVM setup we can create the logical volumes for every partition we want, usually that would probably be /root, swap, /var, /home and /var/vmail. But for this guide we will only do /root, swap and /var. 
     275 
     276Next we see the '''Summary of current LVM configuration:''' with the current summary.  
     277 
     278Where it says ''LVM configuration action:'' 
     279 
     280We will select the '''Create logical volume''' 
    213281 
    214282[[Image(ebox_install_32.png, 300)]]  
    215283 
    216 Next we have to select the volume group where the new logical volume will be created.  We have only one choice '''ebox''' 
     284Next we have to select the volume group where the new logical volume will be created.  We have only one choice '''ebox'''. 
     285 
     286Where it says ''Volume group:''  
     287 
     288We select '''ebox''', our only choice. 
    217289 
    218290[[Image(ebox_install_33.png, 300)]]  
    219291 
    220 So now we have to name the new logical volume, this one will be '''root''' 
     292So now we have to name the new logical volume, this one will be '''root'''. 
     293 
     294Where it says ''Logical volume name:'' 
     295 
     296We will type in '''root'''. 
    221297 
    222298[[Image(ebox_install_34.png, 300)]]  
    223299 
    224 Now we enter the size of the new logical volume, we select '''4G''' 
     300Now we enter the size of the new logical volume, we select '''4G'''. 
     301 
     302Where it says ''Logical volume size:'' 
     303 
     304We will type in '''4g'''. 
    225305 
    226306[[Image(ebox_install_35.png, 300)]]  
    227307 
     308We have to repeat the last 2 steps and create the following logical volumes 
     309 
     310|| Name ||  Size  || 
     311|| swap || 536.9M || 
     312|| var  ||  2.1G  || 
     313 
    228314Now we are done with creating the logical volumes... 
    229315 
     316So where it says ''LVM configuration action:'' 
     317 
     318We select '''Finish'''. 
     319 
    230320[[Image(ebox_install_36.png, 300)]] 
    231321 
    232322This is what our partitions now look like,  
    233 || Partition || Size     || File System || Comments || 
    234 || 1 /boot   || 255MB    ||    ext3     ||  || 
    235 || 2         || 8.3 GB   ||    LVM      || Volume Group || 
    236 || 2a root   || 4.3 GB   ||    LVM      ||  /root in the LVM || 
    237 || 2b swap   || 536.9 MB ||    LVM      ||  || 
    238 || 2c var    || 2.1 GB   ||    LVM      ||  /var in the LVM || 
    239  
    240 MORE EDITING TO COME>>>> 
    241  
     323|| Partition ||    Phy/Log   || Size     || File System || Comments || 
     324|| 1 /boot   || Phy Partion  || 255MB    ||    ext3     ||  || 
     325|| 2         || Log V Group  || 8.3 GB   ||    lvm      || Volume Group || 
     326|| 2a root   || Log Volume   || 4.3 GB   ||             ||  /root in the LVM || 
     327|| 2b swap   || Log Volume   || 536.9 MB ||             ||   swap in the LVM || 
     328|| 2c var    || Log Volume   || 2.1 GB   ||             ||  /var in the LVM || 
     329 
     330Now we will put the file system on the ''root'' logical volume  
     331 
     332Select the line that says ''#1 4.2GB'' 
    242333 
    243334[[Image(ebox_install_37.png, 300)]]  
     335 
     336Now we will tell it what file system we want on it. 
     337 
     338We select ''Use as:'' 
     339 
    244340[[Image(ebox_install_38.png, 300)]]  
     341 
     342Now we will select the file system we want. 
     343 
     344Select ''Ext3 journaling file system''. 
     345 
    245346[[Image(ebox_install_39.png, 300)]] 
    246347 
     348Now we will mark it and go to the next one. 
     349 
     350Select ''Done setting up the partition''. 
     351 
    247352[[Image(ebox_install_40.png, 300)]]  
    248 [[Image(ebox_install_41.png, 300)]]  
     353 
     354We have to do the same things for ''swap'' and ''/var'' only the file systems will be different. 
     355 
     356This is what our partitions now look like,  
     357|| Partition ||    Phy/Log   || Size     || File System || Comments || 
     358|| 1 /boot   || Phy Partion  || 255MB    ||    ext3     ||  || 
     359|| 2         || Log V Group  || 8.3 GB   ||    lvm      || Volume Group || 
     360|| 2a root   || Log Volume   || 4.3 GB   ||    ext3     ||  / in the LVM || 
     361|| 2b swap   || Log Volume   || 536.9 MB ||    swap     ||   swap in the LVM || 
     362|| 2c var    || Log Volume   || 2.1 GB   ||    xfs      ||  /var in the LVM || 
     363 
     364Now we have configured the file system we want to write it to the disk. 
     365 
     366Select ''Finish partitioning and write changes to disk''. 
     367 
     368[[Image(ebox_install_41.png, 300)]] 
     369 
     370It checks to make sure that your done. 
     371 
     372Where it says ''Write the changes to disks?'' 
     373 
     374Select ''Yes'' 
     375 
    249376[[Image(ebox_install_42.png, 300)]] 
    250377 
     378We are done with the storage sub-system at this point. 
     379 
     380=== Setup the eBox Administrators Account === 
     381 
     382Where it asks ''Full name for the new user:'' 
     383 
     384We will type in the eBox administrators full name. 
     385 
     386We will type in '''user''' #FIXME ''- Should be '''eBox Administrator Full Name'''  
     387 
    251388[[Image(ebox_install_43.png, 300)]]  
     389 
     390Where it asks ''Username for the new user:'' 
     391 
     392We will type in the eBox administrators username. 
     393 
     394We will type in '''user''' #FIXME ''- Should be '''eBoxAdministrator'''  
     395 
    252396[[Image(ebox_install_44.png, 300)]]  
     397 
     398Where it asks ''Choose a password for the new user:'' 
     399 
     400We will type in the eBox administrators password. 
     401 
     402We will type in '''AGoodPassword''' - will be displayed as ************* 
     403 
    253404[[Image(ebox_install_45.png, 300)]] 
    254405 
     406Where it asks ''Re-enter password to verify:'' 
     407 
     408We will type in the eBox administrators password again. 
     409 
     410We will type in '''AGoodPassword''' - will be displayed as *************, again 
     411 
    255412[[Image(ebox_install_46.png, 300)]]  
     413 
     414At this point it will install the software from the CD or DVD and it may take a while.... 
     415 
    256416[[Image(ebox_install_47.png, 300)]]  
     417 
     418=== System Clock === 
     419 
     420At this point we have to tell the Operating System whether the system clock is set to normal time or to Coordinated Universal Time, or UTC.  If you plan to use Network Time Protocol (NTP) for setting the time and keeping it accurate, then this is needed. 
     421 
     422Where it asks ''Is the system clock set to UTC?'' 
     423 
     424Select '''Yes'''. 
     425 
    257426[[Image(ebox_install_48.png, 300)]] 
    258427 
     428The Ubuntu installation is complete so now you just have to remove the CD or DVD and reboot the system.  But first we have to configure some things for eBox. 
     429 
     430Select '''Continue''' 
     431 
    259432[[Image(ebox_install_49.png, 300)]]  
     433==== eBox Web Interface Setup ==== 
     434 
     435Now we have to set two values for the eBox Web Interface and then we can reboot. 
     436 
     437===== Web Interface Password ===== 
     438 
     439We need a password for the Web Interface. 
     440 
     441Where it says ''eBox administrator password:'' 
     442 
     443Type in '''AGoodPassword'''   
     444 
    260445[[Image(ebox_install_50.png, 300)]]  
     446 
     447Where it says ''Confirm password:'' 
     448 
     449Type in '''AGoodPassword''' 
     450 
    261451[[Image(ebox_install_51.png, 300)]] 
    262452 
     453Now we have to configure the port that the eBox Web server listens on. 
     454 
     455Where it says ''eBox HTTPS port:'' 
     456 
     457Type in ''443'' or accept the default and select ''<Ok>'' 
     458 
    263459[[Image(ebox_install_52.png, 300)]]  
     460 
     461Once the above is done the server will shutdown and reboot. 
     462 
     463presenting you with a console login prompt. 
     464 
     465The password is the one for the eBox Administrator, not the one for the eBox Web Interface. 
     466 
    264467[[Image(ebox_install_53.png, 300)]]