Skip to content
Snippets Groups Projects
Commit 51251d84 authored by Florent Gluck's avatar Florent Gluck
Browse files

updated install.md

parent 5ab7a741
Branches
No related tags found
No related merge requests found
......@@ -393,13 +393,13 @@ rsync -P --sparse -r 4913a2bb-edfe-4dfe-af53-38197a44523b destination_server:/p
The `genpwd` tools, located in `PREFIX/nexus-server/bin/`, can be used to obtain the hash of a password typed on the keyboard. This can be useful when wanting to update a password by directly editing the config file that stores encrypted user passwords (`PREFIX/nexus-server/config/users.json`).
## Compiling QEMU from source
## Building QEMU from source
1. Retrieve QEMU' source code from [https://www.qemu.org/download/](https://www.qemu.org/download/)
1. Decompress the archive and go into QEMU' source directory:
```sh
tar vfxJ qemu-7.0.0.tar.xz
cd qemu-7.0.0
tar vfxJ qemu-9.2.2.tar.xz
cd qemu-9.2.2
```
1. Install the required dependencies:
```sh
......@@ -409,7 +409,7 @@ The `genpwd` tools, located in `PREFIX/nexus-server/bin/`, can be used to obtain
```sh
./configure --enable-spice --enable-virtfs --enable-libusb --enable-usb-redir
```
1. Compile QEMU:
1. Build QEMU:
```sh
make
```
......@@ -418,6 +418,24 @@ The `genpwd` tools, located in `PREFIX/nexus-server/bin/`, can be used to obtain
make install
```
## Building remote-viewer from source
1. Clone virt-viewer source code from gitlab:
```sh
git clone git@gitlab.com:virt-viewer/virt-viewer.git virt-viewer.git
```
1. Install the required dependencies:
```sh
sudo apt-get install -y meson ninja-build gtk+-3.0 libsystemd-dev
```
1. Build remote-viewer (here in local directory `tmp`)
```sh
meson setup build
meson configure build -Ddefault_library=static -Ddebug=false -Dbuildtype=release -Dstrip=true -Dlibvirt=disabled -Dovirt=disabled -Dvnc=disabled -Dvte=disabled
cd build
meson compile
```
<!-- ============================================================================================================== -->
# Details about requirements
......@@ -444,7 +462,7 @@ The following software is required to run nexus-server:
Note that Ubuntu 20.04 ships with QEMU 4.2 which is too old, but Ubuntu 22.04 ships with QEMU 6.2 and Ubuntu 24.04 with QEMU 8.2.
The latest stable version of QEMU can be downloaded from [https://www.qemu.org/download/](https://www.qemu.org/download/). To compile QEMU from source, read the [Compiling QEMU from source](##Compiling-QEMU-from-source) section at the end of this document.
The latest stable version of QEMU can be downloaded from [https://www.qemu.org/download/](https://www.qemu.org/download/). To build QEMU from source, read the [Building QEMU from source](##Building-QEMU-from-source) section at the end of this document.
To obtain, build, and install nexus-server, these additionnal software are required:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment