### Install OpenMediaVault Package (Shell) Source: https://wiki.friendlyelec.com/wiki/index.php/Getting_Started_with_OpenMediaVault/zh This command demonstrates how to install a specific OpenMediaVault package using the apt package manager. The example installs 'openmediavault-diskstats', which provides disk usage statistics. Users can replace this with any other available OpenMediaVault plugin package. ```shell apt install openmediavault-diskstats ``` -------------------------------- ### Test NFS Mounting on Linux Source: https://wiki.friendlyelec.com/wiki/index_action=edit&title=Getting_Started_with_OpenMediaVault Guides users through installing the NFS client on Linux, mounting an NFS share, checking its status, and configuring automatic mounting at boot using /etc/fstab. ```bash sudo apt install nfs-common ``` ```bash sudo mount -t nfs YourIPAddress:/export/nfs /mnt/nfs ``` ```bash # df -h | grep nfs YourIPAddress:/export/nfs 7.3G 3.5M 6.8G 1% /mnt/nfs ``` ```bash YourIPAddress:/export/nfs /mnt/nfs nfs defaults 0 0 ``` -------------------------------- ### Install openmediavault-compose Plugin and Docker Source: https://wiki.friendlyelec.com/wiki/index_diff=26648&oldid=26174&title=Getting_Started_with_OpenMediaVault This snippet describes the process of installing the 'openmediavault-compose' plugin and subsequently installing Docker. It involves navigating the OpenMediaVault web interface to System -> Plugins and then Services -> Compose -> Settings. ```text * Go to '''System -> Plugins''', search for and install the '''openmediavault-compose''' plugin, then refresh the page after installation. * Go to '''Services -> Compose -> Settings''', scroll down to the bottom of the page, click on '''Enable Docker repo''', and click on '''Reinstall Docker''' to install Docker. ``` -------------------------------- ### Install Docker (OpenMediaVault) Source: https://wiki.friendlyelec.com/wiki/index_diff=27374&oldid=25772&title=Getting_Started_with_OpenMediaVault Steps to install Docker on OpenMediaVault using the openmediavault-compose plugin. This involves installing the plugin, enabling the Docker repository, and reinstalling Docker through the GUI. ```bash # Navigate to System -> Plugins, search for and install 'openmediavault-compose'. # Refresh the page after installation. # Go to Services -> Compose -> Settings, scroll down, click 'Enable Docker repo', then click 'Reinstall Docker'. ``` -------------------------------- ### Install Docker - OpenMediaVault Source: https://wiki.friendlyelec.com/wiki/index_diff=27374&oldid=25796&title=Getting_Started_with_OpenMediaVault Instructions for installing Docker on OpenMediaVault. This involves installing the 'openmediavault-compose' plugin and enabling the Docker repository before reinstalling Docker. ```bash Enable Docker repo Reinstall Docker ``` -------------------------------- ### OpenWrt opkg Common Usage Examples Source: https://wiki.friendlyelec.com/wiki/index_oldid=22860&title=NanoPi_NEO_Core2 Illustrates practical examples of using the opkg package manager for common tasks like updating the package list, listing available and installed packages, installing and removing packages, and checking package contents or configuration changes. ```shell # Update Package List $ opkg update # Check Available Packages $ opkg list # Check Installed Packages $ opkg list-installed # Install/Delete Packages $ opkg install $ opkg remove # Check Files Contained in Installed Packages $ opkg files # Install Chinese Language Package for LuCI $ opkg install luci-i18n-base-zh-cn # Check Changed Files $ opkg list-changed-conffiles ``` -------------------------------- ### Install and Configure Docker on OpenMediaVault Source: https://wiki.friendlyelec.com/wiki/index_oldid=26727&title=Getting_Started_with_OpenMediaVault%2Fzh Steps to install the openmediavault-compose plugin and enable/install Docker through the OpenMediaVault web interface. This involves navigating through system and service menus. ```bash ## Install openmediavault-compose plugin (via web interface) # Navigate to System -> Plugins, search for 'openmediavault-compose', and install. ## Enable and Install Docker (via web interface) # Navigate to Services -> Compose -> Settings. # Scroll down and click 'Enable Docker registry'. # Click 'Reinstall Docker'. ``` -------------------------------- ### Install Docker Source: https://wiki.friendlyelec.com/wiki/index_diff=26647&oldid=26173&title=Getting_Started_with_OpenMediaVault%2Fzh This section outlines the process of installing Docker on OpenMediaVault via plugins. It involves installing the 'openmediavault-compose' plugin, enabling the Docker repository, and then reinstalling Docker through the web interface. ```bash # Instructions are GUI-based, no direct code snippet provided for installation itself, but references plugin installation via System -> Plugins and Docker setup via Services -> Compose -> Settings. ``` -------------------------------- ### Install openmediavault-compose Plugin Source: https://wiki.friendlyelec.com/wiki/index.php/Getting_Started_with_OpenMediaVault Installs the openmediavault-compose plugin required for managing Docker compose files. This is a prerequisite for several Docker-related operations. ```shell sudo apt update sudo apt install -y openmediavault-compose ``` -------------------------------- ### Install openmediavault-compose Plugin and Docker Repository Source: https://wiki.friendlyelec.com/wiki/index_diff=27374&oldid=26174&title=Getting_Started_with_OpenMediaVault This section describes how to install the openmediavault-compose plugin and enable the Docker repository to install Docker. It involves navigating the system's plugin interface and enabling specific settings. ```text 1. Go to **System - > Plugins**, search for and install the **openmediavault-compose** plugin, then refresh the page after installation. 2. Go to **Services - > Compose -> Settings**, scroll down to the bottom of the page, click on **Enable Docker repo** , and click on **Reinstall Docker** to install Docker. ``` -------------------------------- ### Install OpenMediaVault Package via apt Source: https://wiki.friendlyelec.com/wiki/index_action=edit&title=Getting_Started_with_OpenMediaVault%2Fzh Demonstrates how to install a specific OpenMediaVault plugin or package using the `apt` package manager. This is a standard way to extend OpenMediaVault's functionality. ```bash apt install openmediavault-diskstats ``` -------------------------------- ### Install openmediavault-compose Plugin and Update Source: https://wiki.friendlyelec.com/wiki/index_oldid=26648&title=Getting_Started_with_OpenMediaVault This command installs the openmediavault-compose plugin, which is necessary for managing Docker and Docker Compose configurations within OpenMediaVault. It also updates the package list. ```shell sudo apt update sudo apt install -y openmediavault-compose ``` -------------------------------- ### Install Docker via openmediavault-compose Plugin Source: https://wiki.friendlyelec.com/wiki/index_diff=27373&oldid=25074&title=Getting_Started_with_OpenMediaVault%2Fzh This process involves installing the 'openmediavault-compose' plugin through the OpenMediaVault web interface. After installation and a page refresh, Docker can be enabled and reinstalled via the 'Services -> Compose -> Settings' menu. ```Shell su root systemctl stop docker.socket docker.service mv /var/lib/docker/* /srv/dev-disk-by-uuid-XXYYZZ/docker/ ``` -------------------------------- ### Create Filebrowser Directories Source: https://wiki.friendlyelec.com/wiki/index_oldid=25093&title=Getting_Started_with_OpenMediaVault Sets up the directory structure for the Filebrowser Docker installation, including a directory for configuration and database files. Uses 'readlink -f' to get the absolute path of the Docker app directory. ```bash su root cd $(readlink -f /srv/dev-disk-by-uuid-*/docker-app) mkdir filebrowser cd filebrowser ``` -------------------------------- ### Install Jellyfin with Docker (Bash) Source: https://wiki.friendlyelec.com/wiki/index_diff=27374&oldid=25088&title=Getting_Started_with_OpenMediaVault This script installs Jellyfin, a media server, using Docker. It requires creating a 'media' shared folder for storing multimedia resources. The Jellyfin web interface is accessible after setup. ```bash su root # (Remaining commands for Jellyfin installation not fully provided in source text) # After installation, access via http://YourIPAddress:8096/ ``` -------------------------------- ### Install OpenMediaVault Packages via apt Source: https://wiki.friendlyelec.com/wiki/index_diff=27374&oldid=26648&title=Getting_Started_with_OpenMediaVault This snippet demonstrates how to install OpenMediaVault packages using the apt command-line tool. It's a common method for managing software on Debian-based systems like OpenMediaVault. ```shell sudo apt update sudo apt install openmediavault ``` -------------------------------- ### Install Jellyfin Media Server via Docker Source: https://wiki.friendlyelec.com/wiki/index_diff=27373&oldid=25085&title=Getting_Started_with_OpenMediaVault%2Fzh Installs Jellyfin, a free and open-source media system, on your device using Docker. Access the web interface at http://YourIPAddress:8096/ after installation. Ensure you have a shared folder named 'media' for storing your media resources. ```bash su root cd / tar --warning=no-file-changed -cvpzf /rootfs.tar.gz \ --exclude=/rootfs.tar.gz --exclude=/var/lib/docker/runtimes \ --exclude=/etc/firstuser --exclude=/etc/friendlyelec-release \ --exclude=/usr/local/first_boot_flag --one-file-system / ``` -------------------------------- ### Install and Run Qt5.10 Examples Source: https://wiki.friendlyelec.com/wiki/index_printable=yes&title=How_to_Build%2C_Install_and_Setting_Qt_Application Commands to decompress and run Qt5.10 example packages on a development board. This includes extracting the tarball and executing specific examples like the opengl 'hellowindow'. ```shell sudo tar xvzf Qt-5.10.0-rk64one-examples.tgz -C / ``` ```shell export DISPLAY=:0.0 /usr/local/Trolltech/Qt-5.10.0-rk64one/examples/opengl/hellowindow/hellowindow ``` -------------------------------- ### Install OpenMediaVault Packages Source: https://wiki.friendlyelec.com/wiki/index_diff=27374&oldid=25767&title=Getting_Started_with_OpenMediaVault Demonstrates how to install OpenMediaVault packages using the `apt` command on a Debian-based system. This is a standard method for package management in Debian and its derivatives. ```bash apt install ``` -------------------------------- ### Install Jellyfin with Docker Source: https://wiki.friendlyelec.com/wiki/index_diff=27374&oldid=25764&title=Getting_Started_with_OpenMediaVault Steps to install Jellyfin using Docker on OpenMediaVault. This involves creating a media folder and then running the Docker command. ```bash Go to '''Storage -> Shared Folders''', click the '''+''' icon to create a "media" folder for storing multimedia resources. Then, in the command-line terminal, you can run the following command to install Jellyfin: ``` -------------------------------- ### Install Docker in OpenMediaVault Source: https://wiki.friendlyelec.com/wiki/index_diff=27373&oldid=25795&title=Getting_Started_with_OpenMediaVault%2Fzh Steps to install Docker in OpenMediaVault using the openmediavault-compose plugin. This involves installing the plugin, enabling the Docker repository, and then reinstalling Docker through the web interface. ```bash # In OpenMediaVault web interface: # 1. Navigate to System -> Plugins, search for and install 'openmediavault-compose'. # 2. Refresh the page. # 3. Navigate to Services -> Compose -> Settings. # 4. Scroll down and click 'Enable Docker repository'. # 5. After completion, click 'Reinstall Docker'. ``` -------------------------------- ### Install Docker on OpenMediaVault (Plugin Method) Source: https://wiki.friendlyelec.com/wiki/index_diff=27373&oldid=25080&title=Getting_Started_with_OpenMediaVault%2Fzh Installs Docker on OpenMediaVault using the graphical interface and the 'openmediavault-compose' plugin. This method simplifies the installation process by leveraging the OMV plugin system. ```bash # Steps typically involve: # 1. Install 'openmediavault-compose' plugin via System -> Plugins. # 2. Navigate to Services -> Compose -> Settings. # 3. Enable Docker registry and then Reinstall Docker. ``` -------------------------------- ### Install Jellyfin with Docker (Bash) Source: https://wiki.friendlyelec.com/wiki/index_diff=27374&oldid=25095&title=Getting_Started_with_OpenMediaVault This command installs Jellyfin, a media server, using Docker. It requires prior setup of a 'media' shared folder. The command executes as root, navigates to a Docker app directory, and then runs the Jellyfin Docker container with persistent storage and network access. Access the Jellyfin web interface at http://YourIPAddress:8096/. ```bash su root cd $(readlink -f /srv/dev-disk-by-uuid-*/docker-app) # Adjust path if necessary docker run -d -v /path/to/your/media:/media -p 8096:8096 --name jellyfin jellyfin/jellyfin ``` -------------------------------- ### Install OpenMediaVault Packages with apt Source: https://wiki.friendlyelec.com/wiki/index_diff=27373&oldid=25766&title=Getting_Started_with_OpenMediaVault%2Fzh Demonstrates how to install OpenMediaVault packages using the apt command-line tool. This is a fundamental package management command in Debian-based systems. ```bash sudo apt install openmediavault ``` -------------------------------- ### Install Jellyfin Media Server Source: https://wiki.friendlyelec.com/wiki/index_diff=27373&oldid=25770&title=Getting_Started_with_OpenMediaVault%2Fzh Installs Jellyfin, a free and open-source media server, on OpenMediaVault. It requires creating a 'media' shared folder first to store media resources. Specific installation commands will vary based on the Jellyfin documentation. ```bash # Example command structure - specific commands may vary # docker run -d -p 8096:8096 -v /srv/dev-disk-by-uuid-*/media:/media --name jellyfin jellyfin/jellyfin ``` -------------------------------- ### Test NFS Mounting on Mac Source: https://wiki.friendlyelec.com/wiki/index_action=edit&title=Getting_Started_with_OpenMediaVault Provides command-line examples for viewing NFS share information and instructions for connecting to an NFS share from a Mac Finder. ```bash # showmount -e YourIPAddress Exports list on YourIPAddress: /export 192.168.1.0/24 /export/nfs 192.168.1.0/24 ``` ```bash nfs://YourIPAddress/export/nfs ``` -------------------------------- ### Install Qt5 Examples and Documentation Source: https://wiki.friendlyelec.com/wiki/index.php/NanoPC_T6/zh Installs Qt5 example projects and documentation, including HTML-formatted documentation, to aid in learning and development. Dependencies: apt-get. ```bash sudo apt-get install qt5-doc qtbase5-examples qtbase5-doc-html ``` -------------------------------- ### Install Docker in OpenMediaVault Source: https://wiki.friendlyelec.com/wiki/index_diff=27373&oldid=25770&title=Getting_Started_with_OpenMediaVault%2Fzh This describes the process of installing Docker within OpenMediaVault via the 'openmediavault-compose' plugin. It involves installing the plugin, enabling the Docker repository, and then reinstalling Docker through the web interface. ```bash # Update package list (usually done via GUI after enabling repo) apt update ``` -------------------------------- ### Install Portainer with Docker (Bash) Source: https://wiki.friendlyelec.com/wiki/index_diff=27374&oldid=25088&title=Getting_Started_with_OpenMediaVault This section outlines the steps to install Portainer, a Docker management UI, using Docker. The specific command for installation is indicated but not fully provided in the source text. ```bash # (Command to install Portainer - not provided in full in the source text) ``` -------------------------------- ### Install Latest Linux Kernel Source: https://wiki.friendlyelec.com/wiki/index_action=edit&title=Getting_Started_with_OpenMediaVault%2Fzh This sequence downloads a specific kernel .deb package from a provided URL, installs it using `dpkg`, and then reboots the system. Replace `` with the correct CPU architecture. Ensure the URL is valid and the package is compatible. ```bash wget http://112.124.9.243/archives//linux-image-6.1.99-latest.deb sudo dpkg -i linux-image-6.1.99-latest.deb sudo reboot ``` -------------------------------- ### Install openmediavault-compose Plugin and Docker Source: https://wiki.friendlyelec.com/wiki/index_diff=27374&oldid=27061&title=Getting_Started_with_OpenMediaVault Instructions for installing the `openmediavault-compose` plugin and enabling the Docker repository within the OpenMediaVault web interface. This is a prerequisite for managing Docker containers. ```bash # Install plugin via web interface: System -> Plugins # Enable Docker repo and reinstall Docker via web interface: Services -> Compose -> Settings ``` -------------------------------- ### Install Qt5.10 Examples Source: https://wiki.friendlyelec.com/wiki/index.php/How_to_Build%2C_Install_and_Setting_Qt_Application/zh Instructions for installing Qt5.10 example applications. It involves downloading a compressed archive and extracting it to the root directory. The example provided is for the RK3399 FriendlyDesktop system. ```bash sudo tar xvzf Qt-5.10.0-rk64one-examples.tgz -C / ``` -------------------------------- ### Mounting NFS Share on Linux Source: https://wiki.friendlyelec.com/wiki/index.php/Getting_Started_with_OpenMediaVault Commands for installing the NFS client, mounting an NFS share, and configuring automatic mounting at boot time. This enables Linux systems to access network-attached storage via NFS. ```bash sudo apt install nfs-common ``` ```bash sudo mount -t nfs YourIPAddress:/export/nfs /mnt/nfs ``` ```bash YourIPAddress:/export/nfs /mnt/nfs nfs defaults 0 0 ``` -------------------------------- ### Setup x11vnc Server Source: https://wiki.friendlyelec.com/wiki/index_limit=500&offset=0&title=Special%3ALongPages This guide outlines the steps to set up an x11vnc server, enabling VNC access to your graphical desktop environment. It involves installing the vnc server package and starting the service. Ensure that your system has a graphical environment installed. ```bash # Install x11vnc sudo apt update sudo apt install x11vnc # Start x11vnc server (you may need to specify display number, e.g., :0) x11vnc -display :0 -usepw -forever -repeat -quiet # To create a password file (recommended): x11vnc -storepasswd # Then start with the password file: x11vnc -display :0 -usepw -forever -repeat -quiet -rfbauth ~/.vnc/passwd # For persistence, consider setting up x11vnc as a systemd service. ``` -------------------------------- ### Install Qt5.10 Examples (Shell) Source: https://wiki.friendlyelec.com/wiki/index.php/How_to_Build%2C_Install_and_Setting_Qt_Application Decompresses and installs Qt5.10 example packages on a development board. The command uses tar to extract the archive to a specified directory, followed by a command to run a specific example like 'hellowindow'. ```shell sudo tar xvzf Qt-5.10.0-rk64one-examples.tgz -C / export DISPLAY=:0.0 /usr/local/Trolltech/Qt-5.10.0-rk64one/examples/opengl/hellowindow/hellowindow ``` -------------------------------- ### Install OpenMediaVault Packages with apt Source: https://wiki.friendlyelec.com/wiki/index_diff=27373&oldid=26173&title=Getting_Started_with_OpenMediaVault%2Fzh This code snippet demonstrates how to install OpenMediaVault packages using the apt command-line tool. It's a fundamental operation for managing software on Debian-based systems like OpenMediaVault. ```bash sudo apt install ``` -------------------------------- ### Test NFS Share Mounting on Linux Source: https://wiki.friendlyelec.com/wiki/index_diff=27374&oldid=25767&title=Getting_Started_with_OpenMediaVault Guide for mounting an NFS share on a Linux system. This covers installing the necessary client package, mounting the share manually, checking the mount status, and configuring automatic mounting via `/etc/fstab`. ```shell # Install NFS client sudo apt install nfs-common # Mount the NFS share sudo mount -t nfs YourIPAddress:/export/nfs /mnt/nfs # Check mount status df -h | grep nfs # Add to /etc/fstab for auto-mount YourIPAddress:/export/nfs /mnt/nfs nfs defaults 0 0 ``` -------------------------------- ### Install Portainer Docker Management Tool Source: https://wiki.friendlyelec.com/wiki/index_diff=27373&oldid=25084&title=Getting_Started_with_OpenMediaVault%2Fzh Installs Portainer, a web-based graphical user interface for managing Docker environments. The command pulls the latest `portainer-ce` image and starts a container, making the management interface accessible via a web browser. ```bash docker run -d -p 9000:9000 -p 9443:9443 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest ``` -------------------------------- ### Install Jellyfin Media Server via Docker Source: https://wiki.friendlyelec.com/wiki/index_diff=27373&oldid=25079&title=Getting_Started_with_OpenMediaVault%2Fzh Installs and runs Jellyfin, a free and open-source media system, using Docker. The command mounts the necessary directories for configuration and media storage. ```bash docker run -d -v $(readlink -f /srv/dev-disk-by-uuid-*):/srv \ -v $PWD/filebrowserconfig.json:/etc/config.json \ -v $PWD/database.db:/etc/database.db -p 8080:80 \ --restart=always --name filebrowser \ filebrowser/filebrowser ``` -------------------------------- ### Install NFS Client on Debian/Ubuntu Source: https://wiki.friendlyelec.com/wiki/index.php/Getting_Started_with_OpenMediaVault6 This command installs the necessary NFS client package ('nfs-common') on Debian-based Linux distributions like Ubuntu. This package provides the tools required to mount NFS shares. ```bash sudo apt install nfs-common ``` -------------------------------- ### Clone and Compile OpenWrt Examples Source: https://wiki.friendlyelec.com/wiki/index_printable=yes&title=NanoPi_R5S This snippet demonstrates how to clone example source code from a GitHub repository, copy it to the package directory, and then compile individual example packages using make commands. It also shows how to find the compiled .ipk files. ```shell git clone https://github.com/mwarning/openwrt-examples.git cp -rf openwrt-examples/example* package/ rm -rf openwrt-examples/ make menuconfig make package/example1/compile V=99 make package/example2/compile V=99 make package/example3/compile V=99 find ./bin -name example*.ipk ``` -------------------------------- ### Install and Mount NFS Client on Linux Source: https://wiki.friendlyelec.com/wiki/index_diff=27374&oldid=27061&title=Getting_Started_with_OpenMediaVault This snippet covers installing the NFS client package on Debian-based systems and mounting an NFS share to a local directory. It includes commands for installation, mounting, and verifying the mount status. ```bash sudo apt install nfs-common sudo mount -t nfs YourIPAddress:/export/nfs /mnt/nfs # df -h | grep nfs ``` -------------------------------- ### Install and Configure Docker on OpenMediaVault (Bash) Source: https://wiki.friendlyelec.com/wiki/index_diff=27373&oldid=25771&title=Getting_Started_with_OpenMediaVault%2Fzh This snippet outlines the process of installing Docker on OpenMediaVault. It involves installing the 'openmediavault-compose' plugin, enabling the Docker repository, and then triggering the Docker reinstallation via the web interface. It also mentions creating shared folders for Docker-related data. ```bash # Instructions within the wiki are primarily GUI-based, but this represents the underlying actions. # Install openmediavault-compose plugin (via GUI or CLI: apt install openmediavault-compose) # Enable Docker repository (via GUI) # Reinstall Docker (via GUI) ``` -------------------------------- ### Install Nextcloud via Docker Source: https://wiki.friendlyelec.com/wiki/index_diff=27373&oldid=25085&title=Getting_Started_with_OpenMediaVault%2Fzh Installs Nextcloud using Docker by running a command that sets up the necessary volumes and ports. Access to the Nextcloud instance is then available via a web browser at a specified IP address and port. ```bash # Assuming the user has already set up docker-compose and docker-data shared folders # and configured Docker storage path in GUI. # The actual command to run Nextcloud would typically be part of a docker-compose.yml file # or a docker run command. The provided text implies these steps are completed and # the user should access Nextcloud via http://YourIPAddress:8888/ ``` -------------------------------- ### Install Jellyfin Media Server with Docker Source: https://wiki.friendlyelec.com/wiki/index_diff=27373&oldid=25084&title=Getting_Started_with_OpenMediaVault%2Fzh Installs Jellyfin, a free and open-source media system, using Docker. This involves creating a media storage directory and then executing the Docker command to pull and run the Jellyfin container. Access is provided via a web browser. ```bash su root docker run -d \ --name=jellyfin \ -e PUID=1000 \ -e PGID=1000 \ -e TZ=Etc/UTC \ -p 8096:8096 \ -v /path/to/config:/config \ -v /path/to/tv:/data/tv \ -v /path/to/movies:/data/movies \ --restart unless-stopped jellyfin/jellyfin ``` -------------------------------- ### Create VM with qm Source: https://wiki.friendlyelec.com/wiki/index_diff=27229&oldid=26406&title=Getting_Started_with_Proxmox Creates a new virtual machine with specified parameters including name, memory, network configuration, BIOS, and CPU settings. This is a foundational step for setting up virtualized environments. ```bash qm create 200 --name example --memory 1024 --net0 virtio,bridge=wan --bios ovmf --cores 1 --cpu host ``` -------------------------------- ### Install JellyFin Media Server using Docker Source: https://wiki.friendlyelec.com/wiki/index.php/NanoPi_R3S/zh Instructions to install JellyFin media server using Docker. This section refers to an external guide for detailed setup. ```shell # Please refer to the external guide for JellyFin installation steps: # How to setup JellyFin media system on NanoPi-R2S/zh ``` -------------------------------- ### OpenMediaVault 系统更新 - Bash Source: https://wiki.friendlyelec.com/wiki/index_diff=26647&oldid=26173&title=Getting_Started_with_OpenMediaVault%2Fzh 提供用于OpenMediaVault系统更新的两个核心命令。`omv-upgrade` 用于更新当前已安装的软件包到最新版本,而 `omv-release-upgrade` 则用于执行大版本之间的升级,例如从OMV 5.x升级到6.x。 ```bash omv-upgrade # 更新当前软件包到新版本 omv-release-upgrade # 大版本升级,例如从5.6.x升级到6.x ``` -------------------------------- ### Mounting NFS Share on Linux Source: https://wiki.friendlyelec.com/wiki/index.php/Getting_Started_with_OpenMediaVault6/zh Instructions for mounting an NFS share on a Linux system. This involves installing the necessary package and using the 'mount' command. The example shows mounting to '/mnt/nfs'. ```bash sudo apt install nfs-common sudo mount -t nfs YourIPAddress:/export/nfs /mnt/nfs ``` -------------------------------- ### Install Jellyfin via Docker Source: https://wiki.friendlyelec.com/wiki/index_diff=27373&oldid=25083&title=Getting_Started_with_OpenMediaVault%2Fzh Installs Jellyfin, a media server, using Docker. This involves creating a shared folder for media resources and then executing the Docker command to run the Jellyfin container. The installation ensures that your media library is accessible for streaming. ```bash # The specific docker run command to install Jellyfin is missing from the provided text. ``` -------------------------------- ### Install and Access Nextcloud Source: https://wiki.friendlyelec.com/wiki/index_diff=27374&oldid=25764&title=Getting_Started_with_OpenMediaVault Instructions for installing Nextcloud using openmediavault-compose and accessing its web interface. The default port is 8888. ```bash Install the openmediavault-compose plugin, login via SSH and excute the following command: you can access the Nextcloud web interface by opening a web browser and navigating to http://YourIPAddress:8888/ (replace YourIPAddress with the actual IP address of your device). ``` -------------------------------- ### Launch npi-config Utility in FriendlyCore Source: https://wiki.friendlyelec.com/wiki/index_oldid=22860&title=NanoPi_NEO_Core2 Shows the command to launch the npi-config utility, a command-line tool for initializing system configurations like user passwords, language, timezone, hostname, SSH, and auto-login. ```bash $ sudo apt-npi_config ``` -------------------------------- ### Install Jellyfin Media Server using Docker Source: https://wiki.friendlyelec.com/wiki/index_diff=27373&oldid=25083&title=Getting_Started_with_OpenMediaVault%2Fzh This snippet shows the bash commands to install Jellyfin, a media server, using Docker. After installation, it can be accessed via a web browser. ```bash su root cd / tar --warning=no-file-changed -cvpzf /rootfs.tar.gz \ --exclude=/rootfs.tar.gz --exclude=/var/lib/docker/runtimes \ --exclude=/etc/firstuser --exclude=/etc/friendlyelec-release \ --exclude=/usr/local/first_boot_flag --one-file-system / ``` -------------------------------- ### Configure OpenMediaVault Software Repositories Source: https://wiki.friendlyelec.com/wiki/index_diff=27373&oldid=25771&title=Getting_Started_with_OpenMediaVault%2Fzh Instructions for setting specific OpenMediaVault APT repository URLs, including main, alternative, kernel backports, security, OMV-Extras, Docker, and Proxmox. This is crucial for managing package sources and ensuring proper updates. ```bash omv-env set OMV_APT_REPOSITORY_URL "https://mirrors.bfsu.edu.cn/OpenMediaVault/public" omv-env set OMV_APT_ALT_REPOSITORY_URL "https://mirrors.bfsu.edu.cn/OpenMediaVault/packages" omv-env set OMV_APT_KERNEL_BACKPORTS_REPOSITORY_URL "https://mirrors.bfsu.edu.cn/debian" omv-env set OMV_APT_SECURITY_REPOSITORY_URL "https://mirrors.bfsu.edu.cn/debian-security" omv-env set OMV_EXTRAS_APT_REPOSITORY_URL "https://mirrors.bfsu.edu.cn/OpenMediaVault/openmediavault-plugin-developers" omv-env set OMV_DOCKER_APT_REPOSITORY_URL "https://mirrors.bfsu.edu.cn/docker-ce/linux/debian" omv-env set OMV_PROXMOX_APT_REPOSITORY_URL "https://mirrors.bfsu.edu.cn/proxmox/debian" # 使得环境变量更改生效 omv-salt stage run all ``` -------------------------------- ### Install Jellyfin via Docker (Bash) Source: https://wiki.friendlyelec.com/wiki/index_diff=27373&oldid=25074&title=Getting_Started_with_OpenMediaVault%2Fzh Installs Jellyfin, a media server, using a Docker container. It maps configuration, cache, and media directories, and exposes the Jellyfin interface on port 8096. ```bash su root cd $(readlink -f /srv/dev-disk-by-uuid-*/docker-app) mkdir jellyfin cd jellyfin mkdir config cache docker run -d --name jellyfin \ -v $PWD/config:/config \ -v $PWD/cache:/cache \ -v $(readlink -f /srv/dev-disk-by-uuid-*/media):/media \ -p 8096:8096 \ --restart=always \ jellyfin/jellyfin ``` -------------------------------- ### Change IP Address Before System Installation (Shell) Source: https://wiki.friendlyelec.com/wiki/index.php/Getting_Started_with_Proxmox This method involves mounting an SD card with flashed firmware and modifying a configuration file to set the Proxmox IP address before installing the system. The setting is appended to the kernel boot parameters. ```shell mount /dev/sdX1 /mnt ``` ```shell bootargs-ext=proxmox_ip=192.168.100.200 ``` -------------------------------- ### Install Portainer Docker Container Management Tool Source: https://wiki.friendlyelec.com/wiki/index_diff=27373&oldid=25082&title=Getting_Started_with_OpenMediaVault%2Fzh Command to install Portainer, a lightweight management UI for Docker. After installation, access the Portainer interface via a web browser. ```bash portainer/portainer-ce:latest ``` -------------------------------- ### Install Docker via APT (Bash) Source: https://wiki.friendlyelec.com/wiki/index_diff=27373&oldid=25082&title=Getting_Started_with_OpenMediaVault%2Fzh Installs Docker CE (Community Edition) and its related components on a Debian-based system. This script adds the official Docker repository, GPG keys, and then installs the necessary packages. It also adds the current user to the `docker` group. Dependencies: `apt`, `curl`, `gpg`. ```bash apt update apt -y install apt-transport-https ca-certificates curl gnupg curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /usr/share/keyrings/docker.gpg echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker.gpg] https://download.docker.com/linux/debian bookworm stable" | \ tee /etc/apt/sources.list.d/docker.list > /dev/null apt update apt -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin gpasswd -a pi docker ``` -------------------------------- ### Install Portainer Docker Management Tool Source: https://wiki.friendlyelec.com/wiki/index_diff=27373&oldid=25081&title=Getting_Started_with_OpenMediaVault%2Fzh Installs Portainer, a visual container management tool, using Docker. Access the Portainer web interface using default admin credentials. ```bash docker run -d -p 9000:9000 -p 8000:8000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest ``` -------------------------------- ### Initialize and Run IPFS Node on Development Board Source: https://wiki.friendlyelec.com/wiki/index.php/Special%3ASearch/1-bay_NAS_Dock_v1.2_for_NanoPi_NEO/NEO2 These commands guide the initialization and installation of an IPFS node on a development board. It involves extracting the IPFS tarball, installing the binary, initializing the node, and starting the daemon in the background. ```shell $ tar xzf go-ipfs_v0.4.17_linux-amd64.tar.gz $ cd go-ipfs $ ./install Moved ./ipfs to /usr/local/bin $ ipfs init initializing IPFS node at /root/.ipfs generating 2048-bit RSA keypair...done peer identity: QmT7rYxLVhkhCWnLg7URJcubZvEnJmtiXQ5LYwr5XXXXXX to get started, enter: ipfs cat /ipfs/QmS4ustL54uo8FzR9455qaxZwuMiUhyvMcX9Ba8nXXXXXX/readme $ ipfs daemon & ``` -------------------------------- ### Install Portainer via Docker (Bash) Source: https://wiki.friendlyelec.com/wiki/index_diff=27373&oldid=25074&title=Getting_Started_with_OpenMediaVault%2Fzh Installs Portainer, a Docker management UI, using a Docker container. It maps the Docker socket and a data volume, and exposes the Portainer interface on ports 8000 and 9000. ```bash su root cd $(readlink -f /srv/dev-disk-by-uuid-*/docker-app) mkdir portainer cd portainer mkdir data docker run -d \ --name portainer \ --restart=always \ -e TZ=Asia/Shanghai \ -p 8000:8000 \ -p 9000:9000 \ -v /var/run/docker.sock:/var/run/docker.sock \ -v $PWD/data:/data \ portainer/portainer-ce:latest ``` -------------------------------- ### Wipe Drive Partition for OpenMediaVault Source: https://wiki.friendlyelec.com/wiki/index.php/Getting_Started_with_OpenMediaVault This command erases all partition information and file system signatures from a specified device, preparing it for a new file system setup in OpenMediaVault. Use with extreme caution as all data will be lost. Replace '/dev/mdX' with your actual device name. ```bash # Note: All data on the drive will be lost sudo wipefs --all /dev/mdX ``` -------------------------------- ### Download QCOW2 Disk Image Source: https://wiki.friendlyelec.com/wiki/index_diff=27229&oldid=26406&title=Getting_Started_with_Proxmox This command downloads a QCOW2 disk image file from a GitHub release. Ensure the URL and filename are correct for your specific needs. The downloaded file is saved as 'example.qcow2'. ```bash wget https://github.com/xxx/yyy/releases/download/armv8/example-armv8-efi.qcow2 -O example.qcow2 ``` -------------------------------- ### Download FriendlyThings Examples Source: https://wiki.friendlyelec.com/wiki/index.php/FriendlyThings/zh This provides the GitHub repository URL for hardware example programs developed using the FriendlyThings SDK. These examples serve as practical demonstrations and starting points for your own projects. ```bash https://github.com/friendlyarm/friendlythings-examples ``` -------------------------------- ### Install Jellyfin Media Server with Docker Source: https://wiki.friendlyelec.com/wiki/index_diff=27373&oldid=25081&title=Getting_Started_with_OpenMediaVault%2Fzh Installs Jellyfin media server using Docker. Requires creating a 'media' shared folder for storing media resources. Access the Jellyfin web interface via HTTP. ```bash su root # Add Jellyfin installation commands here if available in the original text # The provided text only mentions accessing the web interface after setup. ``` -------------------------------- ### Mount NFS Share on Linux Source: https://wiki.friendlyelec.com/wiki/index.php/OpenMediaVault/zh These commands guide the process of mounting an NFS share on a Linux client. It includes installing the necessary package, mounting the share to a local directory, checking the mount status, and configuring automatic mounting via /etc/fstab. ```bash sudo apt install nfs-common sudo mount -t nfs YourIPAddress:/export/nfs /mnt/nfs # df -h | grep nfs YourIPAddress:/export/nfs 7.3G 3.5M 6.8G 1% /mnt/nfs # 设置开机自动挂载,添加如下内容到 /etc/fstab YourIPAddress:/export/nfs /mnt/nfs nfs defaults 0 0 ``` -------------------------------- ### Install openmediavault-compose Plugin and Prepare Docker Storage Source: https://wiki.friendlyelec.com/wiki/index_diff=27374&oldid=25086&title=Getting_Started_with_OpenMediaVault Commands to install the `openmediavault-compose` plugin and create necessary shared folders for Docker data, compose files, and persistent container data. It also includes commands to stop Docker services, move data, and configure Docker storage path. ```bash sudo apt update sudo apt install -y openmediavault-compose ``` ```bash docker -> The Docker data directory, defined in /etc/docker/daemon.json docker-compose -> Location of compose files docker-data -> Location of persistent container data docker-app -> For personal use, storing Dockerfiles and data ``` ```bash su root systemctl stop docker.socket docker.service mv /var/lib/docker/* /srv/dev-disk-by-uuid-XXYYZZ/docker/ ``` -------------------------------- ### Install Portainer Docker Management Tool Source: https://wiki.friendlyelec.com/wiki/index_diff=27373&oldid=25083&title=Getting_Started_with_OpenMediaVault%2Fzh This bash command installs Portainer, a visual Docker container management tool. Access is provided via a web browser after installation. ```bash docker run -d -p 9000:9000 -p 9443:9443 --restart=always \ -v /var/run/docker.sock:/var/run/docker.sock \ -v portainer_data:/data \ portainer/portainer-ce:latest ``` -------------------------------- ### Install Nextcloud with Docker (Bash) Source: https://wiki.friendlyelec.com/wiki/index_diff=27374&oldid=25095&title=Getting_Started_with_OpenMediaVault This command initiates the installation of Nextcloud using Docker. It requires the terminal to be in the correct directory, likely containing Docker-related configurations or scripts. The command pulls the Nextcloud Docker image and starts a container, mapping necessary ports. ```bash # Placeholder for the actual Nextcloud docker run command # Example: docker run -d -p 8080:80 --name nextcloud nextcloud ``` -------------------------------- ### Install Jellyfin with Docker (Bash) Source: https://wiki.friendlyelec.com/wiki/index_diff=27374&oldid=25093&title=Getting_Started_with_OpenMediaVault This command installs Jellyfin, a media server, using Docker. It requires creating a 'media' shared folder beforehand to store multimedia resources. After installation, Jellyfin is accessible via a web browser. ```bash su root ``` -------------------------------- ### Run Qt Example Program Source: https://wiki.friendlyelec.com/wiki/index.php/NanoPi_M1_Plus/zh This command executes a provided Qt example demonstration program. ```bash $ sudo /opt/QtE-Demo/run.sh ``` -------------------------------- ### Mount NFS Share on Linux Source: https://wiki.friendlyelec.com/wiki/index_oldid=26648&title=Getting_Started_with_OpenMediaVault This snippet demonstrates how to install the NFS client, mount an NFS share, and configure automatic mounting at boot time on a Linux system. It requires the 'nfs-common' package and specifies the NFS server IP, share path, and local mount point. ```shell sudo apt install nfs-common ``` ```shell sudo mount -t nfs YourIPAddress:/export/nfs /mnt/nfs ``` ```shell YourIPAddress:/export/nfs /mnt/nfs nfs defaults 0 0 ``` -------------------------------- ### OpenWrt CPU Frequency and Temperature Monitoring Source: https://wiki.friendlyelec.com/wiki/index_oldid=22860&title=NanoPi_NEO_Core2 Demonstrates how to check the current CPU frequency and temperature using the `cpu_freq` command on OpenWrt. It also shows how to set a specific CPU frequency. ```shell # Check current CPU frequency and temperature $ cpu_freq # Set CPU frequency $ cpu_freq -s 1008000 ``` -------------------------------- ### Customize Welcome Message (MOTD) Source: https://wiki.friendlyelec.com/wiki/index.php/NanoPi_NEO_Plus2 This example shows how to modify the 'Custom welcome message' that appears when logging into the system. It involves changing a specific line in the '/etc/update-motd.d/10-header' script to alter the displayed text or logo. ```bash # Original line: TERM=linux toilet -f standard -F metal $BOARD_VENDOR # Modified line: TERM=linux toilet -f standard -F metal HELLO ``` -------------------------------- ### Install Jellyfin with Docker Command Source: https://wiki.friendlyelec.com/wiki/index_diff=27374&oldid=25769&title=Getting_Started_with_OpenMediaVault This command installs Jellyfin using Docker, mapping local directories for configuration and database, exposing the web interface port, and setting the container to restart automatically. It requires Docker to be installed. ```bash docker run -d \ -v $PWD/filebrowserconfig.json:/etc/config.json \ -v $PWD/database.db:/etc/database.db \ -p 8080:80 \ --restart=always \ --name filebrowser \ filebrowser/filebrowser ``` -------------------------------- ### Install Docker CE on Debian Source: https://wiki.friendlyelec.com/wiki/index_diff=27373&oldid=25770&title=Getting_Started_with_OpenMediaVault%2Fzh Installs Docker CE and its components on a Debian-based system. This involves adding the Docker repository, installing necessary packages, and adding the current user to the 'docker' group. ```bash apt -y install apt-transport-https ca-certificates curl gnupg curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /usr/share/keyrings/docker.gpg echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker.gpg] https://download.docker.com/linux/debian bookworm stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null apt update apt -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin gpasswd -a pi docker ``` -------------------------------- ### Install Jellyfin Media Server with Docker Source: https://wiki.friendlyelec.com/wiki/index_diff=27373&oldid=25080&title=Getting_Started_with_OpenMediaVault%2Fzh Installs and runs Jellyfin, a free and open-source media server, using Docker. It requires creating a shared folder for media storage and executing a Docker run command, specifying volumes for configuration and media access. ```bash su root # Example command to run Jellyfin. Adjust volume paths as needed. docker run -d \ --name=jellyfin \ -e 'TZ=Asia/Shanghai' \ -p 8096:8096 \ -p 8920:8920 \ -v /srv/dev-disk-by-uuid-XXYYZZ/media:/media \ -v /srv/dev-disk-by-uuid-XXYYZZ/jellyfin/config:/config \ --restart unless-stopped jellyfin/jellyfin:latest ``` -------------------------------- ### Install Nextcloud with Docker (Bash) Source: https://wiki.friendlyelec.com/wiki/index_diff=27374&oldid=25088&title=Getting_Started_with_OpenMediaVault This command initiates the installation of Nextcloud using Docker. It assumes Docker and Docker Compose are already set up and accessible. The Nextcloud interface can then be accessed via a web browser. ```bash # (Command to install Nextcloud - not provided in full in the source text) # After installation, access via http://YourIPAddress:8888/ ``` -------------------------------- ### Install ir-keytable - Debian/Ubuntu Source: https://wiki.friendlyelec.com/wiki/index.php/NanoPi_NEO_Core2 This command installs the ir-keytable utility, which is used for configuring and testing infrared remote control devices on Linux systems. ```bash apt-get install ir-keytable ``` -------------------------------- ### Install Jellyfin with Docker Source: https://wiki.friendlyelec.com/wiki/index_action=edit&title=Getting_Started_with_OpenMediaVault Deploys Jellyfin, a media server, in a Docker container. It sets up directories for configuration and cache, maps a media shared folder into the container, exposes the Jellyfin port, and configures the container for automatic restarts. ```bash su root cd $(readlink -f /srv/dev-disk-by-uuid-*/docker-app) mkdir jellyfin cd jellyfin mkdir config cache docker run -d --name jellyfin \ -v $PWD/config:/config \ -v $PWD/cache:/cache \ -v $(readlink -f /srv/dev-disk-by-uuid-*/media):/media \ -p 8096:8096 \ --restart=always \ jellyfin/jellyfin ``` -------------------------------- ### Install Docker on OMV Source: https://wiki.friendlyelec.com/wiki/index_action=edit&title=Getting_Started_with_OpenMediaVault Installs Docker CE and related components on Debian-based systems using apt. This involves adding the Docker GPG key and repository, updating the package list, and installing the necessary packages. It also adds the current user to the 'docker' group. ```bash apt update apt -y install apt-transport-https ca-certificates curl gnupg curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /usr/share/keyrings/docker.gpg echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker.gpg] https://download.docker.com/linux/debian bookworm stable" | \ tee /etc/apt/sources.list.d/docker.list > /dev/null apt update apt -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin gpasswd -a pi docker ``` -------------------------------- ### Install Docker CE on Debian-based Systems (Commented Out) Source: https://wiki.friendlyelec.com/wiki/index_diff=27373&oldid=25074&title=Getting_Started_with_OpenMediaVault%2Fzh This commented-out code block provides the bash commands to install Docker Community Edition (CE) on Debian-based systems. It includes adding the Docker repository, GPG keys, and installing the necessary packages. ```bash apt update apt -y install apt-transport-https ca-certificates curl gnupg curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /usr/share/keyrings/docker.gpg echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker.gpg] https://download.docker.com/linux/debian bookworm stable" | \ tee /etc/apt/sources.list.d/docker.list > /dev/null apt update apt -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin gpasswd -a pi docker ``` -------------------------------- ### Print Current Kernel Command Line Arguments Source: https://wiki.friendlyelec.com/wiki/index_action=edit&title=NanoPi_M3 This command retrieves and displays the current kernel command line arguments stored in the environment variables of the SD card. This is useful for diagnosing boot issues or understanding system configuration. ```bash cd sd-fuse_s5p6818/tools ./fw_printenv /dev/sdc | grep bootargs ``` -------------------------------- ### Download QCOW2 Image and Create VM with QEMU commands Source: https://wiki.friendlyelec.com/wiki/index_diff=27229&oldid=26406&title=Getting_Started_with_Proxmox This snippet demonstrates downloading a QCOW2 disk image compatible with ARMv8 EFI systems using wget, then creating a virtual machine with a specified ID, name, memory, network settings, BIOS, and CPU cores. It also configures the EFI disk and boot parameters. ```shell # download https://github.com/xxx/yyy/releases/download/armv8/example-armv8-efi.qcow2 -O example.qcow2 # create vm with id(200) qm create 200 --name example --memory 1024 --net0 virtio,bridge=wan --bios ovmf --cores 1 --cpu host # create EFI disk for id(200) qm set 200 --bios ovmf qm set 200 --efidisk0 local:1 qm set 200 --boot c --bootdisk scsi0 qm set 200 --scsihw virtio-scsi-pci ``` -------------------------------- ### Install Nextcloud with Docker (Bash) Source: https://wiki.friendlyelec.com/wiki/index_diff=27373&oldid=25087&title=Getting_Started_with_OpenMediaVault%2Fzh This command deploys Nextcloud using Docker. It maps necessary ports and volumes for data persistence and configuration. Access Nextcloud via http://YourIPAddress:8888. ```bash # Assumes Docker and necessary shared folders are already configured. # The exact docker run command for Nextcloud is not provided in the text, # but the context implies its installation via docker run or docker-compose. # Example placeholder for the actual command: docker run -d \ --name nextcloud \ -p 8888:80 \ -v /path/to/nextcloud/data:/var/www/html \ -v /path/to/nextcloud/config:/var/www/html/config \ nextcloud ``` -------------------------------- ### Install Jellyfin via Docker (Bash) Source: https://wiki.friendlyelec.com/wiki/index_diff=27373&oldid=25082&title=Getting_Started_with_OpenMediaVault%2Fzh Installs Jellyfin, a media server, using Docker. This command creates a 'media' shared folder for storing media resources and then runs Jellyfin in a container, mapping necessary volumes and ports. Dependencies: Docker, `mkdir`. ```bash mkdir media ``` -------------------------------- ### eflasher Confirmation Prompt (Linux/Shell) Source: https://wiki.friendlyelec.com/wiki/index.php/NanoPi_NEO_Core2 This snippet shows the confirmation prompt from the eflasher utility before starting the installation process to the eMMC. Users must type 'yes' to confirm and initiate the flashing operation. ```bash Type "yes" to start installation: ``` -------------------------------- ### Install OpenMediaVault Packages (Bash) Source: https://wiki.friendlyelec.com/wiki/index_diff=27374&oldid=25769&title=Getting_Started_with_OpenMediaVault Installs OpenMediaVault packages using the apt package manager. This command is used to add new software or update existing packages on Debian-based systems like OpenMediaVault. ```bash sudo apt update sudo apt install openmediavault ``` -------------------------------- ### Verify Cross Compiler Installation Source: https://wiki.friendlyelec.com/wiki/index.php/Special%3ASearch/Smart4418 Displays the version information of the installed 'arm-linux-gcc' compiler, confirming that it has been correctly installed and is accessible in the system's PATH. ```text arm-linux-gcc -v Using built-in specs. COLLECT_GCC=arm-linux-gcc COLLECT_LTO_WRAPPER=/opt/FriendlyARM/toolchain/4.9.3/libexec/gcc/arm-cortexa9-linux-gnueabihf/4.9.3/lto-wrapper Target: arm-cortexa9-linux-gnueabihf Configured with: /work/toolchain/build/src/gcc-4.9.3/configure --build=x86_64-build_pc-linux-gnu --host=x86_64-build_pc-linux-gnu --target=arm-cortexa9-linux-gnueabihf --prefix=/opt/FriendlyARM/toolchain/4.9.3 --with-sysroot=/opt/FriendlyARM/toolchain/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root --enable-languages=c,c++ --with-arch=armv7-a --with-tune=cortex-a9 --with-fpu=vfpv3 --with-float=hard ... Thread model: posix gcc version 4.9.3 (ctng-1.21.0-229g-FA) ``` -------------------------------- ### Run Network and Time Zone Configuration (Bash) Source: https://wiki.friendlyelec.com/wiki/index_diff=27374&oldid=25796&title=Getting_Started_with_OpenMediaVault This command executes the `omv-firstaid` utility, which is part of OpenMediaVault's initial setup and configuration. It guides the user through setting up the network interface, time zone, and other essential system parameters. This is typically run via SSH. ```bash omv-firstaid ``` -------------------------------- ### Enable and Start x11vnc Service Source: https://wiki.friendlyelec.com/wiki/index.php/Debian_Buster_Desktop/zh Enables the x11vnc systemd service to start automatically on boot and starts the service immediately. This completes the setup for remote desktop access. ```bash sudo systemctl daemon-reload sudo systemctl enable x11vnc.service sudo systemctl start x11vnc ``` -------------------------------- ### Install openmediavault-compose and Prepare Docker Storage Directories Source: https://wiki.friendlyelec.com/wiki/index_diff=27374&oldid=26174&title=Getting_Started_with_OpenMediaVault This command sequence installs the openmediavault-compose plugin via apt and sets up essential directories for Docker storage: 'docker', 'docker-compose', 'docker-data', and 'docker-app'. These directories are crucial for organizing Docker data and configurations. ```bash sudo apt update sudo apt install -y openmediavault-compose ``` ```text Create the following folders: ``` docker -> The Docker data directory, defined in /etc/docker/daemon.json docker-compose -> Location of compose files docker-data -> Location of persistent container data docker-app -> For personal use, storing Dockerfiles and data ``` ``` -------------------------------- ### Clone and Prepare OpenWrt Example Packages Source: https://wiki.friendlyelec.com/wiki/index_diff=27359&oldid=26437&title=NanoPC-T6 This section details how to clone example packages from a GitHub repository, copy them into the OpenWrt package directory, and then prepare for compilation using `make menuconfig`. ```shell git clone https://github.com/mwarning/openwrt-examples.git cp -rf openwrt-examples/example* package/ rm -rf openwrt-examples/ make menuconfig ``` -------------------------------- ### Run Filebrowser Docker Container Source: https://wiki.friendlyelec.com/wiki/index_action=edit&title=Getting_Started_with_OpenMediaVault6%2Fzh This command initiates the installation and execution of the Filebrowser Docker image. It sets up a container for managing files through a web interface, mapping ports and volumes for persistence. ```bash su root cd $(readlink -f /srv/dev-disk-by-uuid-*) ```