Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| blocks:server:tweaks [2020-07-12 20:34] – [Linux Server Improvements] admin | blocks:server:tweaks [2024-10-08 11:01] (current) – Change "orange suitcase" admin | ||
|---|---|---|---|
| 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 ==== | ||
| Line 54: | Line 54: | ||
| 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 deb file using a USB stick to your Blocks server. | - Move the downloaded deb file using a USB stick to your Blocks server. | ||
| - On your Blocks server, log in as the pixi-admin user. | - On your Blocks server, log in as the pixi-admin user. | ||
| Line 65: | Line 65: | ||
| </ | </ | ||
| - | Make sure there' | + | Make sure there' |
| ===== Updating Blocks ===== | ===== Updating Blocks ===== | ||
| Line 72: | 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 | ||
| - | </ | ||