Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:desktop:operating_systems:opensuse [2022/04/27 18:55] – created cocomeat4 | en:desktop:operating_systems:opensuse [2022/10/24 08:24] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 4: | Line 4: | ||
- cocomeat4 | - cocomeat4 | ||
- | ====== | + | ====== |
A good security/ | A good security/ | ||
- | OpenSUSE | + | openSUSE |
- | - OpenSUSE Tumbleweed, a rolling release with fresh software (but that is reliable because it's well-tested by bots and using a nice snapshots system). You want to use this if you have very recent hardware and if you have decent internet bandwidth that can handle the amount of updates it has. | + | ====== The choice ====== |
- | - OpenSUSE | + | The 4 different openSUSE editions are: |
+ | |||
+ | - openSUSE Tumbleweed, a rolling release with fresh software (but that is quite reliable because it's well-tested by an automated system but also by humans and using a snapshots system). It is your only option if you are using a 32 bit computer. | ||
+ | |||
+ | - openSUSE | ||
+ | |||
+ | - openSUSE MicroOS, based on Tumbleweed, MicroOS uses Transactional | ||
+ | |||
+ | - openSUSE Leap Micro, the same as MicroOS, but based on Leap, and server-oriented. This one doesn' | ||
====== Requirements ====== | ====== Requirements ====== | ||
+ | - 2 Ghz dual core processor or better | ||
+ | - 2GB physical RAM + additional memory for your workload | ||
- | ====== Download OpenSUSE ====== | + | - Over 40GB of free hard drive space |
- | For OpenSUSE Tumbleweed, you should download it here: https:// | + | - Either a DVD drive or USB port for the installation media (This guide will only explain how to make an USB stick, not a DVD) |
- | For OpenSUSE Leap, you should download it here: https://get.opensuse.org/ | + | - Internet access is helpful, and required for the Network Installer |
+ | |||
+ | Optionally, you can have: | ||
+ | |||
+ | - UEFI, required for Secure Boot | ||
+ | - Secure Boot, it will improve your security. | ||
+ | |||
+ | ====== Download openSUSE ====== | ||
+ | |||
+ | To download openSUSE, every edition is available at https:// | ||
+ | |||
+ | You should | ||
+ | |||
+ | To verify your download : | ||
+ | |||
+ | - Scoll down on the download page to the " | ||
+ | |||
+ | - There is a line that starts with "It should be [some suite of characters in blue]" | ||
+ | |||
+ | - Click that line of characters, | ||
+ | |||
+ | - Now sroll up to the download section on the download page | ||
+ | |||
+ | - Click the arrow next to the download button and download the " | ||
+ | |||
+ | - Click the arrow again, this time right click on " | ||
+ | |||
+ | - Paste the link you just copied in your browser' | ||
+ | |||
+ | - Now, open a terminal in your downloads folder. If you're on windows, you can use Cygwin: https://www.cygwin.com | ||
+ | |||
+ | - Type the following commands: | ||
+ | |||
+ | //This will import the OpenSUSE GPG key// : | ||
+ | < | ||
+ | |||
+ | //This will verify the checksum file. Do not include "<" | ||
+ | < | ||
+ | |||
+ | You should have a line '' | ||
+ | This means that the checksum file is safe. If you don't have that line, you shouldn' | ||
+ | |||
+ | // This will verify the checksum of the installer iso image. //: | ||
+ | < | ||
+ | |||
+ | You may get an error '' | ||
+ | You should have '' | ||
+ | |||
+ | If everything is fine, your iso image is safe and you can proceed to the creation of a bootable USB stick. | ||
+ | |||
+ | ====== Prepare the USB stick ====== | ||
+ | |||
+ | Now that we made sure that what we downloaded is safe, we should prepare a bootable USB stick. First, you will need a tool such as balenaEtcher: | ||
+ | |||
+ | Once balenaEtcher is downloaded, open it and plug your USB stick into your computer. | ||
+ | |||
+ | Now, click the " | ||
+ | |||
+ | Next, click the " | ||
+ | |||
+ | Now click " | ||
+ | |||
+ | Your USB stick should now be ready to install openSUSE on your computer. | ||
====== Installation ====== | ====== Installation ====== | ||
- | OpenSUSE' | + | Boot your USB stick, you should be prompted by a small menu, select " |
+ | |||
+ | Be aware the following | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Now wait till the installer loads. It may take some time, especially if your USB stick is slow, so grab a coffee ☕️. | ||
+ | |||
+ | Once the installer has started, | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Next, you will be prompted to choose a System Role. This is basically what you want to do with your openSUSE installation. You should choose either GNOME or KDE Plasma when using MicroOS. If you use openSUSE Tumbleweed, you can choose Xfce here, which isn't available in other editions. It is much lighter. On the screenshot, I chose GNOME. As of time of writing, both are still experimental in MicroOS, but I had no issues so far with both. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Next, the installer will prompt you to create a new user, choose whatever you want for your full name, but the username should be kept simple (no caps, no spaces, no special characters, i'd recommend you limit to a-z and 0-9). | ||
+ | |||
+ | Preferably, setup a strong password. You can enable automatic login as we will setup disk encryption later. | ||
+ | |||
+ | You can also use that password for the system | ||
+ | |||
+ | {{: | ||
+ | |||
+ | You should then arrive on the Installation Settings page, skipping the traditional partitioning and software selecting steps. First, go into Partitioning to enable encryption | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Next we will use the Guided Setup, because it is easier and feature complete. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Now enable Disk Encryption and enter a strong passphrase that will be asked every time you start your computer. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Next it will ask what File System to use for the Root partition, keep Btrfs. | ||
+ | |||
+ | Keep the defaults for any other options until you return to the Installation Settings menu. | ||
+ | |||
+ | Once encryption is setup, you can proceed to the install. Everything else that need to be configured will be configured later. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | This will, again, take some time. So grab some chocolate 🍫 (because you're likely out of coffee at this point). | ||
+ | |||
+ | Once the install has finished, the system will automatically reboot... | ||
+ | |||
+ | {{: | ||
+ | |||
+ | And you did it ! openSUSE is installed ! Now the fun begins, let's make it secure and set things up. | ||
+ | |||
+ | ====== First boot ====== | ||
+ | |||
+ | Just after rebooting, you will be prompted by GRUB that will ask you for your encryption passphrase: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | It may look at bit different for you, this is how it looks in my virtual machine. | ||
+ | |||
+ | Once grub has been unlocked, openSUSE will boot automatically after 10 seconds, you can press enter to speed up the process. | ||
+ | |||
+ | openSUSE will ask you your encryption passphrase one more time to unlock the rest of the disk, as you have only unlocked the boot partition so far, which uses an older version of LUKS. | ||
+ | |||