Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
blocks:server:proxmox [2025-09-10 18:07] – created adminblocks:server:proxmox [2025-09-10 19:31] (current) admin
Line 53: Line 53:
   - Enter your domain name, or make something up if you don't have one    - Enter your domain name, or make something up if you don't have one
   - Enter your desired root password    - Enter your desired root password
-  - Enter a user name, such as your own name  +  - Enter a user name, such as your own nameDo not use the name "blocks" here, as that will be added later.
-  Do not use the name "blocks" here, as that will be added later+
   - Enter the password for this user    - Enter the password for this user
   - When asked to "Partition disks" select "Guided - use entire disk"    - When asked to "Partition disks" select "Guided - use entire disk"
Line 77: Line 76:
   - Type the password you chose while installing the OS    - Type the password you chose while installing the OS
 ====Removing CD-ROM from the list of repositories====  ====Removing CD-ROM from the list of repositories====
-   Enter the following command to edit the list of repositories  +Enter the following command to edit the list of repositories 
-   nano /etc/apt/sources.list+<code> 
 +nano /etc/apt/sources.list 
 +</code>
   - Type a # sign at the beginning of the line containing "cdrom"    - Type a # sign at the beginning of the line containing "cdrom"
   - Press Ctrl-O followed by the Enter key to save the file    - Press Ctrl-O followed by the Enter key to save the file
   - Press Ctrl-X to exit the editor    - Press Ctrl-X to exit the editor
-  - Type the following command to install the sudo utility  +  - Type the following command to install the sudo utility 
-   apt install sudo +<code>apt install sudo</code>
-  +
 ====Installing Blocks ==== ====Installing Blocks ====
-While logged in as root, follow the instructions under "Install Blocks" at https://github.com/pixilab/net-blocks +While logged in as root, follow the instructions under [[https://github.com/pixilab/net-blocks|Install Blocks]]
-  +
   - Start with the command //sudo apt update//   - Start with the command //sudo apt update//
   - Proceed with the remaining commands    - Proceed with the remaining commands
Line 93: Line 92:
   - Enter the desired password for this user    - Enter the desired password for this user
   - Obtain the IP address of your Blocks server by typing //ip a//   - Obtain the IP address of your Blocks server by typing //ip a//
-  - Make a note of the IP address shown for the en-something interface +  - Make a note of the IP address shown for the en-something interface 
 ====Using a Physical USB license key==== ====Using a Physical USB license key====
-   - Plug your USB license key to a USB port on the VM host computer +  - Plug your USB license key to a USB port on the VM host computer
   - Select "Hardware" in the list for your VM    - Select "Hardware" in the list for your VM
-  - Select "Add" and chose USB Device 20.57.43 +  - Select "Add" and chose USB Device 
-  In the dialog box, select "Use USB Vendor/Device ID" 20.59.14+{{ :blocks:server:proxmox:screenshot_2025-09-01_at_20.57.43.png?nolink |}} 
 +In the dialog box, select "Use USB Vendor/Device ID"  
 +{{ :blocks:server:proxmox:screenshot_2025-09-01_at_20.59.14.png?nolink |}}
   - Select WIBU-SYSTEMS AG CodeMeter-Stick"    - Select WIBU-SYSTEMS AG CodeMeter-Stick"
   - Click Add    - Click Add
 +
  ==== Using a cloud-based Blocks license ====   ==== Using a cloud-based Blocks license ====
 Transfer the license file to the blocks user's home directory using a command like this:  Transfer the license file to the blocks user's home directory using a command like this:
-<code>  +<code>scp <your-local-license-file> blocks@<ip-of-your-server>:~</code>
-scp <your-local-license-file> blocks@<ip-of-your-server>:~ +
-</code>+
 After logging in as the blocks user (see below), run the following command to install the license:  After logging in as the blocks user (see below), run the following command to install the license:
-<code>  +<code> cmu --import --file <license-file-name></code> 
-cmu --import --file <license-file-name> +
-</code>  +
   - Return to the Console view    - Return to the Console view
   - Follow the instructions under "Enable the server, start now and on boot"    - Follow the instructions under "Enable the server, start now and on boot"
   - Log in as the blocks user directly in the Console or    - Log in as the blocks user directly in the Console or
   - Connect as the blocks user over SSH from another computer   - Connect as the blocks user over SSH from another computer
-<code>  +<code>ssh blocks@<ip-address.-of-blocks-server></code> 
-ssh blocks@<ip-address.-of-blocks-server> +
-</code> +
 Verify that your license has been connected  Verify that your license has been connected
- <code>  +<code>cmu -l</code> 
-cmu -l +
-</code> +
   - Make sure your license's serial number appears    - Make sure your license's serial number appears
   - Enable and start Blocks using this command   - Enable and start Blocks using this command
- <code>  +<code>systemctl --user enable --now blocks</code> 
- systemctl --user enable --now blocks +
- </code> +