fixes in execution command and install script

This commit is contained in:
2024-12-23 01:20:00 +01:00
parent 7e01e713b7
commit a637a6669d
2 changed files with 12 additions and 16 deletions

View File

@ -16,24 +16,19 @@ This installation script automates the setup of OpenEMS on a server. It performs
### Installation Instructions
You can install OpenEMS by following these steps:
You can install OpenEMS by executing these commands:
1. Download the installation script:
```bash
curl -O https://git.mumme-it.de/Mumme-IT/openems-build/src/branch/main/installation/install-openems.sh
```
# Download the script
curl -sfLO https://git.mumme-it.de/Mumme-IT/openems-build/raw/branch/main/installation/install-openems.sh
2. Review the script contents (recommended for security):
```bash
less install-openems.sh
```
3. Make the script executable:
```bash
# Make it executable
chmod +x install-openems.sh
# Run the installation script
./install-openems.sh
```
4. Run the script with sudo:
```bash
sudo ./install-openems.sh
```
The script will prompt you for:
- The hostname for your server (defaults to current hostname if left empty)
- Whether to set OpenEMS UI as the default site for the server