RADIUSdesk

This is an old revision of the document!


Themed RADIUSdesk on Ubuntu 20.04

Use As Reference

  • We assume the following:
    • You have ssh access to a server that already have RADIUSdesk installed
    • There is a user called system with sudo rights

Install Java with Apt on Ubuntu

  • Update the package index
sudo apt update
  • Check if Java is already installed
java -version
  • If Java is not currently installed, you’ll see the following output
java -version

Command 'java' not found, but can be installed with:

sudo apt install default-jre            
sudo apt install openjdk-11-jre-headless
sudo apt install openjdk-8-jre-headless 
  • Execute the following command to install the default Java Runtime Environment (JRE), which will install the JRE from OpenJDK 11
sudo apt -y install default-jre
  • Verify the installation with
sudo apt install default-jre
  • You’ll see output similar to the following
openjdk version "11.0.14.1" 2022-02-08
OpenJDK Runtime Environment (build 11.0.14.1+1-Ubuntu-0ubuntu1.18.04)
OpenJDK 64-Bit Server VM (build 11.0.14.1+1-Ubuntu-0ubuntu1.18.04, mixed mode, sharing)

Install Sencha Command

  • We need to download and install the Sencha Command in order to build the custom theme for ExtJS.
  • Refer to this URL to see which one you will need to download (32 or 64 bit) https://www.sencha.com/products/extjs/cmd-download/
  • We have a 64 bit system where we are doing the download and install to.
#Download the Sencha Command zip file
wget https://trials.sencha.com/cmd/7.5.1/no-jre/SenchaCmd-7.5.1.20-linux-amd64.sh.zip
#Install the unzip program
sudo apt-get install unzip
#Unzip the zipfile
unzip SenchaCmd-7.5.1.20-linux-amd64.sh.zip
#Run the installer script
./SenchaCmd-7.5.1.20-linux-amd64.sh
  • When you run the installer script you have to accept various EULAs. Selecting the defaults in most cases should be fine.
  • These steps are once off steps. Once they are completed we can get our hands dirty by starting with the customization of the theme.