Changes between Version 5 and Version 6 of Documentation/Community/HowTo/ThePerfectEboxSetup/Install
- Timestamp:
- 06/16/09 05:47:48 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Documentation/Community/HowTo/ThePerfectEboxSetup/Install
v5 v6 1 1 == Install == 2 2 3 You should get the latest eBox Platform installer based on Ubuntu GNU/Linux installer from the download page. #FIXME i386 vs amd64 download4 5 === Assumptions used below ===3 You 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 === 6 6 7 7 ==== Language and Location ==== 8 For this guide we will assuming an English Speaker from the USA.8 For this guide we will be assuming an English Speaker from the USA. 9 9 10 10 ==== Networking ==== … … 18 18 Server Name will be : '''ebox''' 19 19 20 User Full Name : '''user''' 21 22 User Name : '''user''' 23 24 User Password ''' GoodPassword''' - will be displayed as ****20 User Full Name : '''user''' #FIXME ''- Should be '''eBox Administrator Full Name''' in pictures and here.'' 21 22 User Name : '''user''' #FIXME ''- Should be '''eBoxAdministrator''' in pictures and here.'' 23 24 User Password '''AGoodPassword''' - will be displayed as **** 25 25 26 26 eBox HTTPS Port: '''443''' … … 43 43 ==== General settings ==== 44 44 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.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. This is set in the BIOS of your computer. 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. 48 48 49 49 [[Image(ebox_install_01.png, 300)]] … … 51 51 On the main screen we can do 5 different actions: 52 52 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)'' 58 58 59 59 [[Image(ebox_install_02.png, 300)]] 60 60 61 The next step is to choose your system language: We will select '''English'''. 61 The next step is to choose your system language: 62 63 We will select '''English'''. 62 64 63 65 [[Image(ebox_install_03.png, 300)]] 64 66 65 The next step is to chose your system Localization: We will select '''USA'''. 67 The next step is to chose your system Localization: 68 69 We will select '''United States'''. #FIXME ''(The picture showes ''''Ireland'''')'' 66 70 67 71 [[Image(ebox_install_04.png, 300)]] … … 69 73 After 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: 70 74 71 First we will select '''No''' 75 First where it asks us ''Detect keyboard layout?''. 76 77 We will select '''No''' 72 78 73 79 [[Image(ebox_install_05.png, 300)]] 74 80 81 Where it next asks for ''The origin of the keyboard:''. 82 75 83 We will then select '''USA'''. 76 84 77 85 [[Image(ebox_install_06.png, 300)]] 78 86 79 We will again select '''USA''' 87 Where it asks for the ''Keyboard layout:''. 88 89 We will again select '''USA''' 80 90 81 91 [[Image(ebox_install_07.png, 300)]] … … 91 101 Select 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. 92 102 103 '''Please note that the text after the ":" will be based on your hardware not what we have installed here for this trial.''' 104 105 Where it asks for ''Primary network interface:''. 106 107 We will will select '''eth0:''' 108 93 109 [[Image(ebox_install_09.png, 300)]] 94 110 95 Next then the installer will ask us for a hostname for the machine. In this example we will use '''ebox'''. 111 Next then the installer asks us for a ''hostname:'' for the machine. 112 113 We will type in '''ebox'''. 96 114 97 115 [[Image(ebox_install_10.png, 300)]] 98 116 117 ==== #FIXME RAID ==== 99 118 ==== Partitioning ==== 100 119 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: 120 Probably 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: 104 121 105 122 || Partition || Size || Format || Mount Point || Comments || … … 116 133 We 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. 117 134 118 That's why we will choose ''Manual'' partitioning: 135 ===== /boot ===== 136 137 That's why we will choose '''Manual''' partitioning. 119 138 120 139 [[Image(ebox_install_11.png, 300)]] 121 140 122 Will go over the ''FREE SPACE'' with the rows and will press ''Enter'' to create a new partition there: 141 The 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 143 We will move the highlighted area over the line that says: ''pri/log 8.6 GB FREE SPACE''. 144 145 We select it by hitting ''Enter''. 123 146 124 147 [[Image(ebox_install_12.png, 300)]] 125 148 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''' 149 That will mark this area as marked and partitioned. 150 The 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 152 So where it asked us ''How to use this free space:'' 153 154 We Select '''Create a new partition'''. 129 155 130 156 [[Image(ebox_install_13.png, 300)]] 131 157 132 We selected '''256M''' here, but you should select '''????''' or the size you need for '''/boot'''. 158 We will select '''256M''' here, but you should select '''????''' or the correct size you need for '''/boot'''. 159 160 Where it asks us for the ''New partition size:''. 161 162 We type in '''256M'''. 133 163 134 164 [[Image(ebox_install_14.png, 300)]] 135 165 136 Select '''Primary''' 166 Where it asks us ''Type for the new partition:''. 167 168 We Select '''Primary'''. 137 169 138 170 [[Image(ebox_install_15.png, 300)]] 139 171 140 Select '''Beginning''' 172 Where it asks us ''Location for he new partition:'' 173 174 We select '''Beginning''' 141 175 142 176 [[Image(ebox_install_16.png, 300)]] 143 177 144 The file system should be '''ext3''', the mount point is '''/boot''', Leave the other settings as their defaults. 178 Where 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 180 So where under ''Partition settings'' is says ''Use as:''. 181 182 We should select '''Ext3 journaling file system''' 145 183 146 184 [[Image(ebox_install_17.png, 300)]] 147 185 186 So where under ''Partition settings'' it says ''Mount point''. 187 188 We should select '''/boot'''. 189 190 [[Image(ebox_install_18.png, 300)]] 191 148 192 And this is the state after creating the system partition: 149 193 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'': 194 So we select ''Done setting up the partition''. 153 195 154 196 [[Image(ebox_install_19.png, 300)]] 155 197 198 199 ===== Logical Volume Manager ===== 200 156 201 The 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: 157 202 158 Select the FREE SPACE203 Select the ''FREE SPACE''. 159 204 160 205 [[Image(ebox_install_20.png, 300)]] 161 206 162 Select '''Create a new partition''' 207 Select '''Create a new partition'''. 163 208 164 209 [[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:167 210 168 211 Next 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. … … 183 226 [[Image(ebox_install_25.png, 300)]] 184 227 185 Now we are done with this partition. So we select '''Don setting up the partition'''.228 Now we are done with this partition. So we select '''Done setting up the partition'''. 186 229 187 230 [[Image(ebox_install_26.png, 300)]] 188 231 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'': 232 Select '''Configure the Logical Volume Manager''': 193 233 194 234 [[Image(ebox_install_27.png, 300)]] 195 235 196 Now the partition needs to be put on disk so Select '''Yes''', and wait a little while. 236 Now the partition needs to be put on disk. 237 238 Where it asks ''Write the changes to disks and configure LVM?'' 239 240 We select '''Yes''', and wait a little while. 197 241 198 242 [[Image(ebox_install_28.png, 300)]] 199 243 200 Now we have to create a volume group so select '''Create volume group''' 244 245 ====== Logical Volume Group ====== 246 247 Now we have to create a volume group. 248 249 Where it says ''LVM configuration action:'' 250 251 We select '''Create volume group'''. 201 252 202 253 [[Image(ebox_install_29.png, 300)]] 203 254 204 Now we give the volume group a name. We selected '''ebox''' 255 Now we give the volume group a name. 256 257 Where it says ''Volume group name:'' 258 259 We will type in '''ebox'''. 205 260 206 261 [[Image(ebox_install_30.png, 300)]] 207 262 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'''. 263 Now we select the devices for the new volume group. We only have one device, so that is what we select. 264 265 Where it says ''Devices for the new volume group:'' We highlight the only disk we have. 266 267 Then we select '''Continue'''. 209 268 210 269 [[Image(ebox_install_31.png, 300)]] 211 270 212 Next we see the '''Summary of current LVM configuration:''' here we will select the '''Create logical volume''' 271 ====== Logical Volumes ====== 272 273 274 Now 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 276 Next we see the '''Summary of current LVM configuration:''' with the current summary. 277 278 Where it says ''LVM configuration action:'' 279 280 We will select the '''Create logical volume''' 213 281 214 282 [[Image(ebox_install_32.png, 300)]] 215 283 216 Next we have to select the volume group where the new logical volume will be created. We have only one choice '''ebox''' 284 Next we have to select the volume group where the new logical volume will be created. We have only one choice '''ebox'''. 285 286 Where it says ''Volume group:'' 287 288 We select '''ebox''', our only choice. 217 289 218 290 [[Image(ebox_install_33.png, 300)]] 219 291 220 So now we have to name the new logical volume, this one will be '''root''' 292 So now we have to name the new logical volume, this one will be '''root'''. 293 294 Where it says ''Logical volume name:'' 295 296 We will type in '''root'''. 221 297 222 298 [[Image(ebox_install_34.png, 300)]] 223 299 224 Now we enter the size of the new logical volume, we select '''4G''' 300 Now we enter the size of the new logical volume, we select '''4G'''. 301 302 Where it says ''Logical volume size:'' 303 304 We will type in '''4g'''. 225 305 226 306 [[Image(ebox_install_35.png, 300)]] 227 307 308 We 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 228 314 Now we are done with creating the logical volumes... 229 315 316 So where it says ''LVM configuration action:'' 317 318 We select '''Finish'''. 319 230 320 [[Image(ebox_install_36.png, 300)]] 231 321 232 322 This 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 330 Now we will put the file system on the ''root'' logical volume 331 332 Select the line that says ''#1 4.2GB'' 242 333 243 334 [[Image(ebox_install_37.png, 300)]] 335 336 Now we will tell it what file system we want on it. 337 338 We select ''Use as:'' 339 244 340 [[Image(ebox_install_38.png, 300)]] 341 342 Now we will select the file system we want. 343 344 Select ''Ext3 journaling file system''. 345 245 346 [[Image(ebox_install_39.png, 300)]] 246 347 348 Now we will mark it and go to the next one. 349 350 Select ''Done setting up the partition''. 351 247 352 [[Image(ebox_install_40.png, 300)]] 248 [[Image(ebox_install_41.png, 300)]] 353 354 We have to do the same things for ''swap'' and ''/var'' only the file systems will be different. 355 356 This 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 364 Now we have configured the file system we want to write it to the disk. 365 366 Select ''Finish partitioning and write changes to disk''. 367 368 [[Image(ebox_install_41.png, 300)]] 369 370 It checks to make sure that your done. 371 372 Where it says ''Write the changes to disks?'' 373 374 Select ''Yes'' 375 249 376 [[Image(ebox_install_42.png, 300)]] 250 377 378 We are done with the storage sub-system at this point. 379 380 === Setup the eBox Administrators Account === 381 382 Where it asks ''Full name for the new user:'' 383 384 We will type in the eBox administrators full name. 385 386 We will type in '''user''' #FIXME ''- Should be '''eBox Administrator Full Name''' 387 251 388 [[Image(ebox_install_43.png, 300)]] 389 390 Where it asks ''Username for the new user:'' 391 392 We will type in the eBox administrators username. 393 394 We will type in '''user''' #FIXME ''- Should be '''eBoxAdministrator''' 395 252 396 [[Image(ebox_install_44.png, 300)]] 397 398 Where it asks ''Choose a password for the new user:'' 399 400 We will type in the eBox administrators password. 401 402 We will type in '''AGoodPassword''' - will be displayed as ************* 403 253 404 [[Image(ebox_install_45.png, 300)]] 254 405 406 Where it asks ''Re-enter password to verify:'' 407 408 We will type in the eBox administrators password again. 409 410 We will type in '''AGoodPassword''' - will be displayed as *************, again 411 255 412 [[Image(ebox_install_46.png, 300)]] 413 414 At this point it will install the software from the CD or DVD and it may take a while.... 415 256 416 [[Image(ebox_install_47.png, 300)]] 417 418 === System Clock === 419 420 At 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 422 Where it asks ''Is the system clock set to UTC?'' 423 424 Select '''Yes'''. 425 257 426 [[Image(ebox_install_48.png, 300)]] 258 427 428 The 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 430 Select '''Continue''' 431 259 432 [[Image(ebox_install_49.png, 300)]] 433 ==== eBox Web Interface Setup ==== 434 435 Now we have to set two values for the eBox Web Interface and then we can reboot. 436 437 ===== Web Interface Password ===== 438 439 We need a password for the Web Interface. 440 441 Where it says ''eBox administrator password:'' 442 443 Type in '''AGoodPassword''' 444 260 445 [[Image(ebox_install_50.png, 300)]] 446 447 Where it says ''Confirm password:'' 448 449 Type in '''AGoodPassword''' 450 261 451 [[Image(ebox_install_51.png, 300)]] 262 452 453 Now we have to configure the port that the eBox Web server listens on. 454 455 Where it says ''eBox HTTPS port:'' 456 457 Type in ''443'' or accept the default and select ''<Ok>'' 458 263 459 [[Image(ebox_install_52.png, 300)]] 460 461 Once the above is done the server will shutdown and reboot. 462 463 presenting you with a console login prompt. 464 465 The password is the one for the eBox Administrator, not the one for the eBox Web Interface. 466 264 467 [[Image(ebox_install_53.png, 300)]]