45 Commits

Author SHA1 Message Date
bf955b86f9 Update 'Installer.sh'
Set Test all but one variables to =no.
Added test variable that times the installer in order to measure performance gains.
Added change to Governer when installer starts, to speed up a little Governer is set to Performce for the duration of the install.
Changed NodeRed installation behaviour to remove Clear in their script for debugging purposes.
Removed Domoticz dialog to choose the correct option (update or reconfigure), this is deprecated since Domoticz now installs unattended.
Added custom backgrounds for all other Domoticz themes that support backgrounds when the user Jarno is detected.
Deleted libx11 from the deinstallation list, this was causing conflicts with Nginx when trying to Remove or Autoremove.
2023-09-13 03:22:53 +02:00
62ef92c74d Update 'Installer.sh'
Added dialog to ensure the device has an static ip.
Added option to install SmartPing and it's dependencies when Domoticz is selected.
Added unzip as default pre-requirement.
Fixed NodeJS by installing it's dependencies first with the install.list, afterwards install the program.
Added Personalisation for username Jarno
Added different greetings depending on the selected options in the installer menu.
2023-09-12 20:40:00 +02:00
7152c8bf13 Update 'Installer.sh'
Removed duplicate line
2023-09-12 16:24:18 +02:00
0dd0add335 Update 'Installer.sh'
Removed NodeRed from auto installing in unattended mode
2023-09-12 16:15:17 +02:00
0cd6f11d88 Update 'Installer.sh'
Removed redundant echo's for curl to install while this is already a pre-requirement installed before the script runs.
2023-09-04 23:32:57 +02:00
aaa748a758 Update 'Installer.sh'
Updated repository for nodejs since older install methods are soon to be deprecated.
Added more bloat removal
2023-09-04 20:55:23 +02:00
14cfd5e2bd Update 'Installer.sh'
Updated repo url's to reflect new Git server
2023-08-25 05:09:29 +02:00
Beeranco
fbcf9d78bc
Update Installer.sh
Enabled Test Vars.

Added static core count var.

Removed MQTT-Broker from the installer options to choose from and added the mosquitto packages permanently to the requirements of Node-RED and Zigbee2MQTT.

Fixed check if Node-RED won't be installed to manually install Node with Zigbee2MQTT.

Fixed error where build dependencies for rsync where not added to the install.list.

Added rsync to build from source instead of using the outdated repo.

Added extra dialogs to show what the system currently is doing, installing or configuring.

Fixed Nginx failing to start after a reboot.

Added dialog when Domoticz is going to be installed to select the update button.

Added UFW rules for mosquitto when Zigbee2MQTT is installed (need to do this for Node-RED too in the future).

Added SED to change the IP addresses in Homer to link from the template holder to the correct address of the services installed.

Moved the uninstall portion of packages to the end of the installer so cleaning up of the build tools used by rsync is possible.
2023-08-24 19:01:08 +02:00
Beeranco
d3ec394284
Update Installer.sh
Added Test Variables to skip Homer dialogs.
Added check if skip options or skip homer is enabled, if yes then set variables.

Fixed Nginx error because /var/log/nginx/ does not exist.
Enabled Nginx --now to create default config, removing it immediately.
Stopping Nginx to overwrite configs and work in the /var/www/ directory.

Added SED for Homer when ISP is configured to change the name and logo to the provider set in the dialog options.

Fixed dialog for Zigbee2MQTT USB stick not showing at the end of the installer when Homer is the selected dashboard,
the dialog now always shows when Zigbee2MQTT is enabled in the installer options.
2023-08-24 15:30:18 +02:00
Beeranco
8ad9dddf24
Update Installer.sh
Turned off SKIPoptions in Test Vars to do a full installer run.
Added Homer in Test Vars.

Added Homer ISP Dialog.

Removed old fkms overlay for the Pi 4.

Changed nginx enable --now to nginx enable.

Added configurtion options for Homer.
Checks if ISP has been set and what services are active and installed.

Changed ending dialogs if Homer is installed to redirect to the Homer IP
instead of showing all dialogs for active and installed services and ports.
2023-08-24 14:40:51 +02:00
Beeranco
fb64936a88
Update Installer.sh
Added Homer (Dashboard) as an installer option.
Added dependencies for Homer: nginx, unzip.
Opening ports in UFW if Homer is selected.

To do:
Make basic config for Homer and the installer options / services that are selected.
Test this new configuration.
2023-08-23 05:09:46 +02:00
Beeranco
ebeebdb21e
Update Installer.sh
Added Test Vars and enabled these vars for now.

Added extra Whiptail dialogs reflecting the status of the installer.

Fixed typo in HOST setup.
Added Var cleaner removing non AZ-09 characters.

Fixed wireless lan check, enabler and now showing the correct IP address!

Moved the uninstallment of the dphys-swapfile down where all unnecessary packages are removed to streamline the installer.

Removed check if nodered is active and running.

Fixed oopsie, added port 5002 to the UFW. Now ZB2MQTT is available.
Ordered UFW ports from highest to lowest.
Only open UFW ports if the service is selected in the Options menu.

Disabled X11 change in sshd_config

Set the display of the message to insert the Zigbee Dongle to only appear when ZB2MQTT is selected in the options menu.
2023-08-16 19:25:58 +02:00
Beeranco
572a51a78a
Update Installer.sh
Fixed oopsie
2023-08-16 02:04:58 +02:00
Beeranco
6e280be558
Update Installer.sh
Fixed Wifi NOW FOR GOOD I PROMISE
2023-08-15 21:22:13 +02:00
Beeranco
7c5f8eb1a8
Update Installer.sh
Fixed wifi? Maybe?
2023-08-15 19:00:22 +02:00
Beeranco
c4619cf7d8
Update Installer.sh
Fixed Wifi IP check
2023-08-15 17:38:27 +02:00
Beeranco
10572130c8
Update Installer.sh
Added check for compatible Pi's

Added check if Pi 4 but a 2GB or higher model enable mounting /tmp to RAM.
If model is a Pi 4 1GB, 3B of 3B+ RAM mounting /tmp is disabled automaticly.

Added check if Pi 4 but a 2GB or higher model set Log2Ram to 256MB of storage space in RAM.
Otherwise keep it to it's default of 128MB.

Added check if not a Pi 4 series set CPU power to performance so the older architectures can keep up.
Otherwise set CPU power to conservative since the Pi 4's have a newer more effecient and powerfull architecture.
2023-08-15 16:43:31 +02:00
Beeranco
b3484ab3a9
Update Installer.sh
Made changes to Wifi config to display the correct IP address
2023-08-14 23:41:37 +02:00
Beeranco
8b06deaa7a
Update Installer.sh
Disabled X11 forwarding in the sshd config preventing cli errors when logging in over ssh.
2023-08-14 22:49:30 +02:00
Beeranco
de9ab23b22
Update Installer.sh
Fixed oopsie
2023-08-14 21:59:05 +02:00
Beeranco
47a62bd2aa
Update Installer.sh
Added "dirty" "fix" to remove nagging output of the monitor-service line 22 blablabla ufw command not found
2023-08-14 21:53:46 +02:00
Beeranco
e00b505be8
Update Installer.sh
Disabled "fix" by enabling the fakekms overlay to prevent video output from stopping after updates were installed.
2023-08-14 21:45:19 +02:00
Beeranco
8da977ab6e
Update Installer.sh
Added UFW to the install list
Added UFW config
Disabled IPv6
2023-08-14 18:05:34 +02:00
Beeranco
23b088f2b8
Update Installer.sh
Added check if Wifi is enabled or not before shutting down the installer.
2023-08-14 17:19:49 +02:00
Beeranco
31d92656f8
Update Installer.sh
Fixed oopsie
2023-08-14 16:52:19 +02:00
Beeranco
95dc9bbf8e
Update Installer.sh
Added Monitor-Service installer option
2023-08-14 16:11:22 +02:00
Beeranco
473eb8d511
Update Installer.sh
Enabled Wifi when configured wpa_supplicant.conf
2023-08-14 04:39:52 +02:00
Beeranco
0d5e8c0cae
Update Installer.sh
Removed all logs after install to prevent Log2Ram from nagging
2023-08-14 03:35:58 +02:00
Beeranco
267cf79785
Update Installer.sh
Fixed oopsie with Wifi config
2023-08-14 02:24:55 +02:00
Beeranco
3787fc5a6d
Update Installer.sh
Fixed oopsie with Log2Ram
2023-08-14 02:17:02 +02:00
Beeranco
cc0dcfb5ba
Update Installer.sh
Fixed errors in CLI when using sudo, now this script also updates /etc/hosts to reflect the new set Hostname

Added Pi Optimizations:
	Reduce GPU_Mem
	Moved /tmp to RAM
	Added Log2Ram
	Set CPU Governer to conservative
2023-08-14 01:32:03 +02:00
Beeranco
20cf36427f
Update Installer.sh
Cleaned login messages on CLI
2023-08-13 16:56:44 +02:00
Beeranco
08a440b1d4
Update Installer.sh
Fixed $DATE formatting
Added progress UI for APT
2023-08-13 15:50:15 +02:00
Beeranco
f0d22668ec
Update Installer.sh
Fixed DistroVersion check
2023-08-13 15:18:27 +02:00
Beeranco
6c2c97cfda
Update Installer.sh
Added datestamps to use in the Updater.sh script.
Now saving username entered in the installer.
2023-08-13 15:14:28 +02:00
Beeranco
cd1f56b647
Update Installer.sh
Optimized installer speed by installing Domoticz last
2023-08-12 04:45:26 +02:00
Beeranco
49b917a397
Update Installer.sh
Added IP addresses and Ports for installed packages
2023-08-12 04:04:57 +02:00
Beeranco
c3faa18dbf
Update Installer.sh
Added Name and Hostname dialogs.
Added MOTD and Updater.sh downloads.
2023-08-12 03:40:19 +02:00
Beeranco
49d8506d3f
Update Installer.sh
Added Wifi and Timezone check
2023-08-12 03:03:44 +02:00
Beeranco
93bb7502f7
Update Installer.sh
Added reboot dialog
2023-08-12 02:22:51 +02:00
Beeranco
cf8a145990
Update Installer.sh
Added OS and Version check.
Fixed oopsie
2023-08-12 02:12:42 +02:00
Beeranco
0228d12ccb
Update Installer.sh 2023-08-12 01:28:05 +02:00
Beeranco
d92ed2131c
Update Installer.sh 2023-08-12 01:27:31 +02:00
Beeranco
79caabf77e
Update Installer.sh 2023-08-12 01:15:49 +02:00
Beeranco
d21b822907
Create Installer.sh 2023-08-12 01:08:39 +02:00