secure_ubuntu_system:install_the_base_ubuntu_system
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
secure_ubuntu_system:install_the_base_ubuntu_system [2020/05/27 17:00] – peter | secure_ubuntu_system:install_the_base_ubuntu_system [2022/07/19 10:11] (current) – 85.203.36.238 | ||
---|---|---|---|
Line 12: | Line 12: | ||
**NOTE: | **NOTE: | ||
- | It is recommended to select the update. | + | It is recommended to select the update, **Update to the new installer**. |
</ | </ | ||
Line 18: | Line 18: | ||
3. Select the Language to be used during the installation process. | 3. Select the Language to be used during the installation process. | ||
- | 4. Select your Location. | ||
- | <WRAP info> | + | 4. Choose |
- | If you've selected an uncommon combination of language and location (like English as the language and Germany as the location), the installer might tell you that there is no locale defined for this combination; | + | |
- | </ | + | |
- | + | Select | |
- | 5. Choose | + | |
- | + | ||
- | Select "**No**" unless you have an unusual keyboard layout when it may be best to select "**Yes**", and then you will be asked to press a few keys, and the installer will try to detect your keyboard | + | |
- | + | ||
- | 6. Choose the Keyboard Country, followed by any additional Keyboard settings. | + | |
- | + | ||
- | 7. The installer then checks the installation CD or USB, your hardware, and configures the network with DHCP if there is a DHCP server in the network. | + | |
- | + | ||
- | 8. Enter the hostname. | + | |
<WRAP info> | <WRAP info> | ||
- | If the system is to be called <color red> | + | If unsure or you have an unusual keyboard layout when it may be best to select **Identify Keyboard**, and then you will be asked to press a few keys, and the installer will try to detect your keyboard layout based on the keys you pressed. |
</ | </ | ||
- | 9. | + | 5. |
- | 10. Enter the username for the Administrator account. | + | Start with the default DHCP option if there is a DHCP server in the network. |
- | + | ||
- | For example enter the user name <color red> | + | |
- | + | ||
- | <WRAP important> | + | |
- | **IMPORTANT**: | + | |
- | </ | + | |
- | + | ||
- | + | ||
- | 11. Enter a password for this Administration account. | + | |
<WRAP info> | <WRAP info> | ||
- | This should be the <color red> | + | **NOTE: |
- | + | ||
- | It's best to use a combination of letters, numbers and other characters. | + | |
</ | </ | ||
- | 12. Re-enter exactly the same password. | ||
- | <WRAP info> | + | 6. Configure Proxy. |
- | If you used a very weak password that consists of less than 8 characters you will be prompted whether you actually do want to use this weak password. As we want a very secure server, select " | + | |
- | </ | + | |
+ | Just leave blank unless you do use an HTTP Proxy Server. | ||
- | 13. We don't need an encrypted private directory, | + | If so then enter the address of the Proxy. |
- | 14. The system will attempt to set the clock. | ||
- | If it successfully shows the correct time zone then select " | + | 7. Configure Ubuntu Archive Mirror. |
- | <WRAP info> | + | Keep the default, unless you specifically know an alternative mirror site you want to use. |
- | The system will try to get the time from a network time server. | + | |
- | This may take some time, and the system may not be successful in doing this, as it might not have external internet access yet. | ||
- | Ignore | + | 8. Now you have to partition |
- | </ | + | |
- | + | Select **Custom Storage Layout**. | |
- | 15. Now you have to partition the hard disk. | + | |
We want to use Logical Volume Manger, or LVM, which allows administrators to create logical volumes out of one or multiple physical hard disks. | We want to use Logical Volume Manger, or LVM, which allows administrators to create logical volumes out of one or multiple physical hard disks. | ||
Line 92: | Line 61: | ||
<WRAP info> | <WRAP info> | ||
- | **NOTE: | + | **NOTE: |
- | </ | + | |
+ | Ultimately, our goal is to use just enough space to get the system up and running, and leave the rest for when we need to grow logical volumes. | ||
+ | </ | ||
- | 16. | + | <WRAP info> |
+ | Configuring LVM in Ubuntu takes place in 5 steps: | ||
* Create a non-LVM boot partition. | * Create a non-LVM boot partition. | ||
* Create Physical Volume (PV). | * Create Physical Volume (PV). | ||
* Create a Volume Group (VG), and assign the PV created earlier to the VG. | * Create a Volume Group (VG), and assign the PV created earlier to the VG. | ||
- | * Create the Logical Volumes within the VG. | + | * Create the Logical Volumes |
* Assign file-systems and mounts points to the logical volumes created earlier. | * Assign file-systems and mounts points to the logical volumes created earlier. | ||
- | |||
- | 17. Select “**Manual**” to manually partition the disk on the system. | ||
- | |||
- | <WRAP info> | ||
- | **NOTE: | ||
- | |||
- | Ultimately, our goal is to use just enough space to get the system up and running, and leave the rest for when we need to grow logical volumes. | ||
</ | </ | ||
- | |||
- | 18. Select the physical disk that will be partitioned. | ||
<WRAP info> | <WRAP info> | ||
- | This is usually the option right in the middle, such as **SCSI1 (0, 0, 0) (sda)**. | + | **NOTE:** |
</ | </ | ||
- | 19. Select “**Yes**” to create new empty partition table. | + | 9. Create a standard (non-LVM) primary partition for the **/boot** file system. |
- | + | ||
- | <WRAP important> | + | |
- | **WARNING**: | + | |
- | </ | + | |
- | + | ||
- | + | ||
- | 20. Create a standard (non-LVM) primary partition for the **/boot** file system. | + | |
<WRAP info> | <WRAP info> | ||
Line 150: | Line 105: | ||
* Select “**Done setting up the partition**”. | * Select “**Done setting up the partition**”. | ||
- | 21. The next step is to use the unallocated space to create a physical volume. | + | 10. The next step is to use the unallocated space to create a physical volume. |
- | 22. A Physical volume (PV) is the first major component of LVM, and can be created from a disk partition or a full disk drive. | + | 11. A Physical volume (PV) is the first major component of LVM, and can be created from a disk partition or a full disk drive. |
* Select the “**pri/ | * Select the “**pri/ | ||
Line 168: | Line 123: | ||
* Select “**Yes**” to “Write the changes to disk”, hit <color green> | * Select “**Yes**” to “Write the changes to disk”, hit <color green> | ||
- | 23. The next step is to create a Volume Group (VG). | + | 12. The next step is to create a Volume Group (VG). |
* Select the “**Create Volume Group**” option, hit <color green> | * Select the “**Create Volume Group**” option, hit <color green> | ||
Line 175: | Line 130: | ||
* Select **Continue**. | * Select **Continue**. | ||
- | 24. Next, create the Logical Volumes. | + | 13. Next, create the Logical Volumes. |
With the PV and VG created, and the PV assigned to the VG, the next step is to create the Logical Volumes. | With the PV and VG created, and the PV assigned to the VG, the next step is to create the Logical Volumes. | ||
Line 208: | Line 163: | ||
- | 25. The final task is to assign a file-system and a mount point to each LV. | + | 14. The final task is to assign a file-system and a mount point to each LV. |
* Select the line “**# | * Select the line “**# | ||
Line 223: | Line 178: | ||
* Repeat the last five steps for the other logical volumes that you created. | * Repeat the last five steps for the other logical volumes that you created. | ||
- | 26. Finally, select " | + | 15. Finally, select " |
+ | |||
+ | 16. Afterwards, your new partitions are being created and formatted. | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | 17. Enter the hostname. | ||
+ | |||
+ | <WRAP info> | ||
+ | If the system is to be called <color red> | ||
+ | </ | ||
+ | |||
+ | |||
+ | 18. Enter the full name of the Administrator of the system. | ||
+ | |||
+ | 19. Enter the username for the Administrator account. | ||
+ | |||
+ | For example enter the user name <color red> | ||
+ | |||
+ | <WRAP important> | ||
+ | **IMPORTANT**: | ||
+ | </ | ||
+ | |||
+ | |||
+ | 20. Enter a password for this Administration account. | ||
+ | |||
+ | <WRAP info> | ||
+ | This should be the <color red> | ||
+ | |||
+ | It's best to use a combination of letters, numbers and other characters. | ||
+ | |||
+ | </ | ||
+ | |||
+ | 21. Re-enter exactly the same password. | ||
+ | |||
+ | <WRAP info> | ||
+ | If you used a very weak password that consists of less than 8 characters you will be prompted whether you actually do want to use this weak password. | ||
+ | </ | ||
+ | |||
+ | |||
+ | 22. We don't need an encrypted private directory, so choose " | ||
+ | |||
+ | 23. The system will attempt to set the clock. | ||
+ | |||
+ | If it successfully shows the correct time zone then select " | ||
+ | |||
+ | <WRAP info> | ||
+ | The system will try to get the time from a network time server. | ||
+ | |||
+ | This may take some time, and the system may not be successful in doing this, as it might not have external internet access yet. | ||
+ | |||
+ | Ignore the error. | ||
+ | </ | ||
- | 27. Afterwards, your new partitions are being created and formatted. | ||
- | 28. Now the base system will be being installed. | + | 24. Now the base system will be being installed. |
<WRAP info> | <WRAP info> | ||
Line 236: | Line 246: | ||
- | 29. Leave the HTTP proxy line empty unless you're using a proxy server to connect to the Internet. | + | 25. Leave the HTTP proxy line empty unless you're using a proxy server to connect to the Internet. |
<WRAP info> | <WRAP info> | ||
Line 243: | Line 253: | ||
- | 30. Next the package manager apt gets configured. | + | 26. Next the package manager apt gets configured. |
<WRAP info> | <WRAP info> | ||
Line 254: | Line 264: | ||
- | 31. To update the server manually in order to have more control, select **No automatic updates**. | + | 27. To update the server manually in order to have more control, select **No automatic updates**. |
- | 32. Only select the **OpenSSH Server**, by pressing the <color green> | + | 28. Only select the **OpenSSH Server**, by pressing the <color green> |
<WRAP info> | <WRAP info> | ||
Line 267: | Line 277: | ||
</ | </ | ||
- | 33. The installation continues. | + | 29. The installation continues. |
- | 34. Select **Yes** to install GRUB boot loader to the master boot record. | + | 30. Select **Yes** to install GRUB boot loader to the master boot record. |
- | 35. The base system installation is now finished. | + | 31. The base system installation is now finished. |
Remove the installation CD from the CD drive and hit **Continue** to reboot the system. | Remove the installation CD from the CD drive and hit **Continue** to reboot the system. |
secure_ubuntu_system/install_the_base_ubuntu_system.1590598820.txt.gz · Last modified: 2020/07/15 09:30 (external edit)