Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
blocks:server:tweaks [2020-06-21 18:53] admin Added offline option |
blocks:server:tweaks [2024-10-08 11:01] (current) admin Change "orange suitcase" |
||
---|---|---|---|
Line 3: | Line 3: | ||
PIXILAB regularly revisits and improves the Linux server image, resulting in newer releases. The release is indicated by the date shown as part of the filename. However, for a running installation, | PIXILAB regularly revisits and improves the Linux server image, resulting in newer releases. The release is indicated by the date shown as part of the filename. However, for a running installation, | ||
- | This article describes how to update server images based on Ubuntu 18. If you're using server image version 200525 or later, | + | This article describes how to update server images based on Ubuntu 18. If you're using server image version 200525 or later, based on Ubuntu 20, most of what's described below is already been taken care of. However, you may still want to update your operating system from time to time to keep up-to-date with security patches. |
:!: If you're using an older version of server, based on Ubuntu 16, released before 2019-05-28, first follow [[blocks: | :!: If you're using an older version of server, based on Ubuntu 16, released before 2019-05-28, first follow [[blocks: | ||
Line 13: | Line 13: | ||
- Make sure the server has Internet access (test by opening the pre-installed web browser and going to a web address). | - Make sure the server has Internet access (test by opening the pre-installed web browser and going to a web address). | ||
- Switch to the pixi-admin user (password is " | - Switch to the pixi-admin user (password is " | ||
- | - Click the orange " | + | - Click the gray A-in-a-circle |
- | - Select the " | + | - If it indicates that software |
- | - If you see " | + | - Restart the server to make sure the updates take effect. |
- | - Restart the server to make the updates take effect. | + | |
===== Update Java ===== | ===== Update Java ===== | ||
- | Blocks 4.1 and later uses a newer version of Java. Before updating | + | Blocks 4.1 and later uses a newer version of Java. If your server currently has an older version of Blocks, you need to update Java to version 11 (see below for how to check what version |
- Switch to the pixi-admin user. | - Switch to the pixi-admin user. | ||
- | - Open a terminall | + | - Open a terminal |
- Copy and paste the following commands into the terminal window: | - Copy and paste the following commands into the terminal window: | ||
< | < | ||
- | wget -qO - https:// | ||
- | sudo apt-get install -y software-properties-common | ||
- | sudo add-apt-repository --yes https:// | ||
sudo apt-get update | sudo apt-get update | ||
- | sudo apt-get install | + | sudo apt-get install -y wget apt-transport-https |
+ | sudo wget -O - https:// | ||
+ | sudo echo "deb [signed-by=/ | ||
+ | sudo apt-get update | ||
+ | sudo apt-get install -y temurin-11-jdk | ||
</ | </ | ||
Line 40: | Line 40: | ||
</ | </ | ||
- | When prompted, type the number corresponding to "adoptopenjdk-11-hotspot-amd64" | + | When prompted, type the number corresponding to "temurin-11-jdk-amd64" |
Finally, verify that Java 11 is now selected: | Finally, verify that Java 11 is now selected: | ||
Line 48: | Line 48: | ||
</ | </ | ||
- | The output should indicate " | + | The output should indicate " |
- | === Offline Procedure === | + | ==== Offline Procedure |
If your Linux-based Blocks server doesn' | If your Linux-based Blocks server doesn' | ||
- | - On a computer with internet access, open a web browser and go [[https://adoptopenjdk.jfrog.io/adoptopenjdk/ | + | - On a computer with internet access, open a web browser and go [[https://packages.adoptium.net/ui/native/ |
- | - Doing so shows a list of files. If you receive an error message, the offline files may have been moved, in which case a google search for "adoptopenjdk | + | - Doing so shows a list of files. If you receive an error message, the offline files may have been moved, in which case a google search for "temurin |
- | - Download the file named adoptopenjdk-11-hotspot_11.0.7+10-2_arm64.deb, or some later version if available. | + | - Download the file named temurin-11-jdk_11.0.15.0.0+10_amd64.deb, or some later version if available. |
- | - Move the downloaded | + | - Move the downloaded |
- | - On your Blocks server, | + | - On your Blocks server, |
+ | - Open a terminal window and type the following command (but don't press Enter). | ||
< | < | ||
Line 64: | Line 65: | ||
</ | </ | ||
- | Make sure there' | + | Make sure there' |
===== Updating Blocks ===== | ===== Updating Blocks ===== | ||
Line 71: | Line 72: | ||
- | ===== Removing Unifi Wifi Support ===== | ||
- | If you're not using your Blocks server as a Unifi wifi network controller, we recommend that you remove that software: | ||
- | - Switch to the pixi-admin user. | ||
- | - Open a terminall window using the terminal icon on the left hand side. | ||
- | - Type (or copy/paste) the following commands into the terminal window: | ||
- | |||
- | < | ||
- | sudo apt remove mongodb-org | ||
- | sudo apt remove unifi | ||
- | </ |