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/07/15 09:30] – external edit 127.0.0.1 | secure_ubuntu_system:install_the_base_ubuntu_system [2022/07/19 10:11] (current) – 85.203.36.238 | ||
---|---|---|---|
Line 73: | Line 73: | ||
* 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. | ||
Line 82: | Line 82: | ||
**NOTE: | **NOTE: | ||
</ | </ | ||
- | |||
9. Create a standard (non-LVM) primary partition for the **/boot** file system. | 9. Create a standard (non-LVM) primary partition for the **/boot** file system. | ||
- | |||
- | Select the physical disk shown under **Available Devices**. | ||
- | |||
- | Select **Add GPT Partition**. | ||
- | |||
- | Set: | ||
- | |||
- | * Size: **1G**. | ||
- | * Format: | ||
- | * Mount: **/boot**. | ||
- | |||
- | |||
- | |||
- | <WRAP info> | ||
- | Recent versions of Linux and Ubuntu do support having the **/boot** volume within the LVM. | ||
- | |||
- | See Grub2. | ||
- | |||
- | However, this sometimes still causes issues, especially after updates, so the instructions we use is to put the boot partition into a non-LVM partition. | ||
- | </ | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | xxxx9. | ||
- | |||
- | Select **Create Volume Group (LVM)**. | ||
- | |||
- | Set the following: | ||
- | |||
- | * Name: **vg01**. | ||
- | * Devices: | ||
- | * Created encrypted volume: | ||
- | |||
- | Select **Create**. | ||
- | |||
- | |||
- | 10. Create a Logical Volume for the **boot** partition. | ||
- | |||
- | Select the **vg01** logical volume. | ||
- | |||
- | Select **Create Logical Volume**. | ||
- | |||
- | Set the following: | ||
- | |||
- | * Name: **boot**. | ||
- | * Size: **1G**. | ||
- | * Format: | ||
- | * Mount: **/boot**. | ||
- | |||
- | Select **Create**. | ||
- | |||
- | |||
- | 11. Repeat about steps for the other volumes. | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | 20. Create a standard (non-LVM) primary partition for the **/boot** file system. | ||
<WRAP info> | <WRAP info> | ||
Line 168: | 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 186: | 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 193: | 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 226: | 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 241: | 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 " |
- | 27. Afterwards, your new partitions are being created and formatted. | + | 16. Afterwards, your new partitions are being created and formatted. |
Line 250: | Line 187: | ||
---- | ---- | ||
- | 8. Enter the hostname. | + | 17. Enter the hostname. |
<WRAP info> | <WRAP info> | ||
Line 257: | Line 194: | ||
- | 9. Enter the full name of the Administrator of the system. | + | 18. Enter the full name of the Administrator of the system. |
- | 10. Enter the username for the Administrator account. | + | 19. Enter the username for the Administrator account. |
For example enter the user name <color red> | For example enter the user name <color red> | ||
Line 268: | Line 205: | ||
- | 11. Enter a password for this Administration account. | + | 20. Enter a password for this Administration account. |
<WRAP info> | <WRAP info> | ||
Line 277: | Line 214: | ||
</ | </ | ||
- | 12. Re-enter exactly the same password. | + | 21. Re-enter exactly the same password. |
<WRAP info> | <WRAP info> | ||
Line 284: | Line 221: | ||
- | 13. We don't need an encrypted private directory, so choose " | + | 22. We don't need an encrypted private directory, so choose " |
- | 14. The system will attempt to set the clock. | + | 23. The system will attempt to set the clock. |
If it successfully shows the correct time zone then select " | If it successfully shows the correct time zone then select " | ||
Line 300: | Line 237: | ||
- | 28. Now the base system will be being installed. | + | 24. Now the base system will be being installed. |
<WRAP info> | <WRAP info> | ||
Line 309: | 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 316: | Line 253: | ||
- | 30. Next the package manager apt gets configured. | + | 26. Next the package manager apt gets configured. |
<WRAP info> | <WRAP info> | ||
Line 327: | 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 340: | 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.1594805433.txt.gz · Last modified: 2020/07/15 09:30 by 127.0.0.1