From 14c42ecc9752b1d2aab9a31ec41e0e5c32b1ef34 Mon Sep 17 00:00:00 2001 From: MacRimi Date: Thu, 20 Mar 2025 20:02:45 +0100 Subject: [PATCH] Update synology page --- web/app/docs/create-vm/synology/page.tsx | 848 ++++++++++++----------- 1 file changed, 451 insertions(+), 397 deletions(-) diff --git a/web/app/docs/create-vm/synology/page.tsx b/web/app/docs/create-vm/synology/page.tsx index 447ab5a..699f6be 100644 --- a/web/app/docs/create-vm/synology/page.tsx +++ b/web/app/docs/create-vm/synology/page.tsx @@ -1,15 +1,15 @@ "use client" -import type React from "react" - import Image from "next/image" -import { Wrench, Target, CheckCircle } from "lucide-react" +import { Wrench, Target, CheckCircle, Github } from "lucide-react" import { useState } from "react" export default function Page() { + const [activeLoader, setActiveLoader] = useState("arc") + return (
-

Create Synology DSM VM using ProxMenux

+

Create VM Synology DSM

Introduction

@@ -18,19 +18,51 @@ export default function Page() { Manager). This script simplifies the process by downloading and adding one of the available loaders to the VM boot, giving you the option between three different choices:

+ +

You also have the option to add a custom loader if you prefer to modify or create your own configuration.

All loaders are similar although each has its own structure and configuration methods. This guide describes the 6 basic steps involved in setting up a Synology DSM loader. The exact steps may vary depending on the - loader and/or changes introduced by the developer, so understanding the basic steps similar in all of them - will help you know how to build the loader of your choice for the proper functioning of Synology DS. + loader and/or changes introduced by the developer, so understanding the basic steps similar in all of them + will help you know how to build the loader of your choice for the proper functioning of Synology DSM.

@@ -40,9 +72,46 @@ export default function Page() { Step-by-Step Guide

- This guide will walk you through the process of configuring the loader and setting up the VM. Each step - includes screenshots to show how the process looks with the three loaders (arc, rr, and tinycore). + This guide will walk you through the process of configuring the loader. Select your + loader type below to see the steps for that loader.

+ + {/* Selector de loader global */} +
+

Select your loader type:

+
+ + + +
+
@@ -51,68 +120,98 @@ export default function Page() { Start the VM and Access the Main Menu

- Once the VM is created, start it. The first time you boot the VM, you'll access the loader's main menu to - select and configure the DSM model you want to build. Once the loader is created, this step will be skipped - unless you manually force a reconfiguration from the boot monitor. + Once the VM is created, start it. The first time you boot the VM, you'll access the loader's main menu to select + and configure the DSM model you want to build. Once the loader is created, this step will be skipped unless you + manually force a reconfiguration from the boot monitor. All loaders also have the option to configure the loader + via a web interface.

- - -
- ), - }, - { - id: "rr", - label: "RR Loader", - content: ( -
-
-

- In the case of RR, you'll need to manually enter the following command to open - the menu: -

-
-                      ./menu.sh
-                    
-
- - -
- ), - }, - { - id: "tinycore", - label: "TinyCore Loader", - content: ( -
- -
- ), - }, - ]} - /> +
+ {activeLoader === "arc" && ( +
+ +

+ Web interface, To access the web interface, simply open a web browser and enter + the IP address shown in the VM's console output. For example, in our case: http://192.169.0.32. +

+ + + +

+ Terminal interface, Access it directly from the VM's console output. +

+ + +
+ )} + + {activeLoader === "rr" && ( +
+ +

+ Web interface, To access the web interface, simply open a web browser and enter + the IP address shown in the VM's console output. For example, in our case: http://192.169.0.33. +

+ + + +

+ Terminal interface, Access it directly from the VM's console output by typing menu.sh on the screen +

+ + + + +
+ )} + + {activeLoader === "tinycore" && ( +
+ +

+ Web interface, To access the web interface, simply open a web browser and enter + the IP address shown in the VM's console output. For example, in our case: http://192.169.0.35. +

+ + + +

+ Terminal interface, Access it directly from the VM's console output. Keep an eye on + the screen, as at some point it may prompt you to press a key to continue or ask if you want to change the language. +

+ + +
+ )} +
@@ -124,50 +223,38 @@ export default function Page() { After loading the menu, select the Synology DSM model you want to install. Depending on the loader, you may sometimes need to expand the options to see more models.

-

Examples:

- - - - ), - }, - { - id: "rr", - label: "RR Loader", - content: ( -
- -
- ), - }, - { - id: "tinycore", - label: "TinyCore Loader", - content: ( -
- -
- ), - }, - ]} - /> + +
+ {activeLoader === "arc" && ( +
+ +
+ )} + + {activeLoader === "rr" && ( +
+ +
+ )} + + {activeLoader === "tinycore" && ( +
+ +
+ )} +

In our example, we'll choose the SA6400 model.

@@ -180,69 +267,57 @@ export default function Page() { After selecting the model, you need to choose the DSM version you want to install.

- - - - - ), - }, - { - id: "rr", - label: "RR Loader", - content: ( -
- - - -
- ), - }, - { - id: "tinycore", - label: "TinyCore Loader", - content: ( -
- - -
- ), - }, - ]} - /> +
+ {activeLoader === "arc" && ( +
+ + +
+ )} + + {activeLoader === "rr" && ( +
+ + + +
+ )} + + {activeLoader === "tinycore" && ( +
+ + +
+ )} +
@@ -252,102 +327,91 @@ export default function Page() {

This step allows you to add additional features or custom configurations to the loader.

- -

- Arc gives you the option to configure automatically or manually adjust the - settings. -

- -

- If we choose not to use automatic mode, we enter the menu to configure different options necessary - for the loader: -

- - - - - - ), - }, - { - id: "rr", - label: "RR Loader", - content: ( -
- - - -
- ), - }, - { - id: "tinycore", - label: "TinyCore Loader", - content: ( -
- - - - -
- ), - }, - ]} - /> +
+ {activeLoader === "arc" && ( +
+

+ Arc gives you the option to configure automatically or manually adjust the settings. + If automatic configuration is selected, the loader will start applying the necessary settings and will + automatically reboot once the process is complete. +

+ +

+ If we choose not to use automatic mode, we enter the menu to configure different options necessary for + the loader: +

+ + + + +
+ )} + + {activeLoader === "rr" && ( +
+ + + +
+ )} + + {activeLoader === "tinycore" && ( +
+ + + + +
+ )} +
@@ -360,50 +424,38 @@ export default function Page() { take a few minutes depending on the loader and the selected configuration. To start, select the "Build the Loader" option.

-

Examples:

- - - - ), - }, - { - id: "rr", - label: "RR Loader", - content: ( -
- -
- ), - }, - { - id: "tinycore", - label: "TinyCore Loader", - content: ( -
- -
- ), - }, - ]} - /> + +
+ {activeLoader === "arc" && ( +
+ +
+ )} + + {activeLoader === "rr" && ( +
+ +
+ )} + + {activeLoader === "tinycore" && ( +
+ +
+ )} +
@@ -415,50 +467,38 @@ export default function Page() { Once the loader has been built, it will prompt you to boot. The VM will restart with the configuration you've created and start the DSM installation.

-

Examples:

- - - - ), - }, - { - id: "rr", - label: "RR Loader", - content: ( -
- -
- ), - }, - { - id: "tinycore", - label: "TinyCore Loader", - content: ( -
- -
- ), - }, - ]} - /> + +
+ {activeLoader === "arc" && ( +
+ +
+ )} + + {activeLoader === "rr" && ( +
+ +
+ )} + + {activeLoader === "tinycore" && ( +
+ +
+ )} +
{/* STARTING DSM INSTALLATION */} @@ -487,57 +527,71 @@ export default function Page() {
-

+

Tips

-
    +
    • Keep in mind that available options may change depending on the loader version and developer updates. If you - encounter issues during the loader creation process, consult the loader documentation. ProxMenux does not - provide support for the different loaders. + encounter issues during the loader creation process, consult the loader documentation:
    • -
    • Some loaders offer the possibility of configuration via web with ip:7080 or 7090.
    • + + +
    • Some older DSM models may have issues recognizing disks or the network card. It is recommended to use more recent models.
    • + +
      +

      Update:

      +

      + Some loaders offer the option to update the loader directly from the menu. +

      +
      + +
      +

      Important:

      +

      + ProxMenux does not provide support for the different loaders. +

      +
      +
) } - -interface Tab { - id: string - label: string - content: React.ReactNode -} - -function TabGroup({ tabs }: { tabs: Tab[] }) { - const [activeTab, setActiveTab] = useState(tabs[0].id) - - return ( -
-
- {tabs.map((tab) => ( - - ))} -
-
{tabs.find((tab) => tab.id === activeTab)?.content}
-
- ) -} - function ImageWithCaption({ src, alt, caption }: { src: string; alt: string; caption: string }) { return (