Update readme.md
This commit is contained in:
parent
924f0b2400
commit
a2bbb757ee
23
readme.md
23
readme.md
@ -5,12 +5,13 @@ If you find this helpful, a small donation is appreciated, [
|
(Tested compatibility: 7.x - 8.2)
|
||||||
|

|
||||||
|
|
||||||
This bash script installs a modification to the Proxmox Virtual Environment (PVE) web user interface (UI) to display sensor readings in a flexible and readable manner. Supported are CPU, NVMe/HDD/SSD temperatures (Celsius/Fahrenheit) and fan speeds.
|
This bash script installs a modification to the Proxmox Virtual Environment (PVE) web user interface (UI) to display sensor readings in a flexible and readable manner. Supported are CPU, NVMe/HDD/SSD temperatures (Celsius/Fahrenheit) and fan speeds.
|
||||||
|
|
||||||
The modification includes three main steps:
|
The modification includes three main steps:
|
||||||
|
|
||||||
1. Create backups of the original files located at `/usr/share/pve-manager/js/pvemanagerlib.js` and `/usr/share/perl5/PVE/API2/Nodes.pm` in the `backup` directory relative to the script location.
|
1. Create backups of the original files located at `/usr/share/pve-manager/js/pvemanagerlib.js` and `/usr/share/perl5/PVE/API2/Nodes.pm` in the the `backup` directory relative to the script location.
|
||||||
2. Add a new code to the `Nodes.pm` file that enables host system sensor readings using the `sensors` command.
|
2. Add a new code to the `Nodes.pm` file that enables host system sensor readings using the `sensors` command.
|
||||||
3. Modify the `pvemanagerlib.js` file to expand the space in the node status view, add new items that display the temperature information in Celsius for CPUs, NVMe drives, HDDs/SSDs and fan speeds (the actual item list depends on the sensor readings available during the installation). The view layout is also adjusted to no longer match the column number setting and always expands to the full width of the browser window. It is also possible to collapse the panel vertically.
|
3. Modify the `pvemanagerlib.js` file to expand the space in the node status view, add new items that display the temperature information in Celsius for CPUs, NVMe drives, HDDs/SSDs and fan speeds (the actual item list depends on the sensor readings available during the installation). The view layout is also adjusted to no longer match the column number setting and always expands to the full width of the browser window. It is also possible to collapse the panel vertically.
|
||||||
4. Finally, the script also restarts the `pveproxy` service to apply the changes.
|
4. Finally, the script also restarts the `pveproxy` service to apply the changes.
|
||||||
@ -26,6 +27,8 @@ Note:
|
|||||||
For HDDs/SSDs readings to work, the kernel module *drivetemp* must be installed.
|
For HDDs/SSDs readings to work, the kernel module *drivetemp* must be installed.
|
||||||
|
|
||||||
### Install
|
### Install
|
||||||
|
Instructions be performed as 'root', as normal users do not have access to the files.
|
||||||
|
|
||||||
```
|
```
|
||||||
apt-get install lm-sensors
|
apt-get install lm-sensors
|
||||||
# lm-sensors need configure, run below to configure your sensors, or refer to lm-sensors manual.
|
# lm-sensors need configure, run below to configure your sensors, or refer to lm-sensors manual.
|
||||||
@ -34,22 +37,28 @@ wget https://raw.githubusercontent.com/Meliox/PVE-mods/main/pve-mod-gui-sensors.
|
|||||||
bash pve-mod-gui-sensors.sh install
|
bash pve-mod-gui-sensors.sh install
|
||||||
# Then clear the browser cache to ensure all changes are visualized.
|
# Then clear the browser cache to ensure all changes are visualized.
|
||||||
```
|
```
|
||||||
|
Additionally, adjustments are available in the first part of the script, where paths can be edited, cpucore offset and display information.
|
||||||

|
|
||||||
|
|
||||||
Adjustments are available in the first part of the script, where paths can be edited, cpucore offset and display information.
|
|
||||||
|
|
||||||
## Nag screen deactivation
|
## Nag screen deactivation
|
||||||
(Tested compatibility: 7.x - 8.2)
|
(Tested compatibility: 7.x - 8.2)
|
||||||
This bash script installs a modification to the Proxmox Virtual Environment (PVE) web user interface (UI) which deactivates the subscription nag screen.
|
This bash script installs a modification to the Proxmox Virtual Environment (PVE) web user interface (UI) which deactivates the subscription nag screen.
|
||||||
|
|
||||||
The script provides two options: `install` and `uninstall`. The `install` option installs the modification, while the `uninstall` option removes it by copying the backup files to their original location.
|
The modification includes two main steps:
|
||||||
|
1. Create backups of the original files in the `backup` directory relative to the script location.
|
||||||
|
2. Modify code.
|
||||||
|
|
||||||
|
The script provides three options:
|
||||||
|
| **Option** | **Description** |
|
||||||
|
|-------------------------|-----------------------------------------------------------------------------|
|
||||||
|
| `install` | Installs the modification by applying the necessary changes. |
|
||||||
|
| `uninstall` | Removes the modification by restoring the original files from backups. |
|
||||||
|
|
||||||
### Install
|
### Install
|
||||||
|
Instructions be performed as 'root', as normal users do not have access to the files.
|
||||||
```
|
```
|
||||||
wget https://raw.githubusercontent.com/Meliox/PVE-mods/main/pve-mod-nag-screen.sh
|
wget https://raw.githubusercontent.com/Meliox/PVE-mods/main/pve-mod-nag-screen.sh
|
||||||
|
bash pve-mod-nag-screen.sh install
|
||||||
```
|
```
|
||||||
Or use git clone.
|
|
||||||
|
|
||||||
## Script to update all containers
|
## Script to update all containers
|
||||||
(Tested compatibility: 7.x & 8.0)
|
(Tested compatibility: 7.x & 8.0)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user