bachir and Claude Sonnet 5
7ff4df1173
Fix installer bugs: broken root checks, PHP version mismatches, dead paths
...
- Replace $EUID with $(id -u) for root checks across all bin/*.sh and
install.sh: dash (Debian's /bin/sh) never sets $EUID, so the check was
silently broken everywhere.
- lemp.sh: make apt-get upgrade non-interactive (--yes), align the Redis
PHP module and php-fpm restart with $PHP_VERSION instead of a hardcoded
8.1, and template the nginx PHP-FPM socket path via a PHP_FPM_SOCK
placeholder substituted at install time.
- nginx-phpmyadmin.conf: fix docroot to match the actual phpMyAdmin
symlink location created by lemp.sh.
- mysql-db.sh: inline the root check instead of sourcing the
nonexistent bin/checkroot.sh.
- webhook.sh: fix chowm typo (chown).
- urbackup.sh: copy the systemd unit from assets/ instead of a relative
path to a file that doesn't exist in the repo.
- _addUserSite.sh: fix invalid `$var=value` assignment and an empty
if-block that was a POSIX sh syntax error.
Also carries over pending fixes to deploy-drupal.sh (drush now
invoked via vendor/bin/drush) and gitbarrerepos.sh (comment cleanup).
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com >
2026-09-04 09:28:08 +02:00
bachir
d4cfa267de
deb13 & changed php version
2026-06-02 16:55:33 +02:00
bachir
207a05f75b
some updates
2025-03-13 21:43:02 +01:00
bachir
308b65e7be
drupal deploy git submodul init fix
2024-07-29 12:15:04 +02:00
bachir
6efc4fba23
lemp php8.1 fix, drupal deploy git submodul init fix
2024-07-29 12:06:35 +02:00
bachir
cdcb034b6b
improved webhook install, mysql comment innodb_buffer_pool_size
2023-11-26 17:59:15 +01:00
bachir
c409589eab
misc fixes
2023-11-19 11:04:50 +01:00
bachir
8ecaf8d78a
reverted php to 8.1, fixed nginx-badbots
2023-10-09 11:09:50 +02:00
bachir
cb915edc33
fixed php version on nginx conf files
2023-06-30 12:31:39 +02:00
bachir
f317ded417
updated php in lemp to php8.2
2023-06-30 12:17:04 +02:00
bachir
4b3ccb3fff
added nginx-badbots fail2ban rule https://stackoverflow.com/a/65552146
2023-03-31 11:27:55 +02:00
bachir
d2380db06b
misc
2023-03-31 11:16:46 +02:00
bachir
1272de1add
updated php version
2021-11-08 15:53:04 +01:00
bachir
e9f4ea86f5
webhook deploy fix
2021-05-18 15:29:06 +02:00
bachir
0af76cdd60
webhook deploy install
2021-05-18 13:58:50 +02:00
bachir
198036de8d
fixed nginx conf
2021-05-18 11:49:33 +02:00
bachir
a79e147c3a
added php7.4 install
2021-05-18 10:48:24 +02:00
bachir
cecb09a12e
misc
2021-05-12 11:31:55 +02:00
bachir
5de5b48682
postgresql backup
2021-04-29 15:35:41 +02:00
bachir
fcfeda8999
started pgsql backup script
2021-04-29 14:43:46 +02:00
bachir
a96979f219
added ipv6 support to vhosts
2020-12-14 16:34:41 +01:00
bachir
6fd0b7c443
fixed phpmyadmin install (not secured yet
2020-03-30 12:07:00 +02:00
bachir
9b3ba02e1d
updated nginx conf to php7.3-fpm
2019-10-22 09:46:14 +02:00
bachir
67b84ed088
some updates for buster
2019-10-21 16:00:06 +02:00
bachir
84691bb6d5
fix fail2ban
2019-06-12 15:24:07 +02:00
bachir
934874b297
changed nginx X-Frame-Option to SAMEORIGIN
2019-04-29 13:07:14 +02:00
bachir
ad10f722ea
changed rolling time in mysqlbackups
2019-01-23 13:13:28 +01:00
bachir
d8fe6562ae
konckd allowing ssh without ip restriction as it would not work with 4g connection
2019-01-23 13:12:25 +01:00
bachir
1eaabe41cd
using find's -delete option, it's safer
2019-01-22 12:56:03 +01:00
bachir
0842f3f99e
removed folder compression, added rotation to mysqlbackups
2019-01-22 12:53:27 +01:00
bachir
97ee1ffbb9
compressing the mysql backup folders
2019-01-22 12:43:37 +01:00
bachir
1df4d6a72f
added zabbix systemd units template
2019-01-22 12:42:54 +01:00
bachir
e79ca699cb
changed knockd timeout, added php7.0-imagick to lemp
2019-01-21 16:15:55 +01:00
bachir
db2fcd1f6d
updated urbackup client, added systemd monitoring
2019-01-21 16:14:09 +01:00
bachir
10f038f0dc
fixed zabbix nginx status install
2018-10-29 16:38:01 +01:00
bachir
b9d8d77d3a
misc
2018-10-29 15:20:43 +01:00
bachir
6d41024a76
better mysql config
2018-10-29 13:26:53 +01:00
bachir
4d7fa59a86
added .sql to mysql dumps file name
2018-05-02 12:04:14 +02:00
bachir
5396130b53
fix mysql backups permissions
2018-04-29 12:06:16 +02:00
bachir
69e53da217
created mysqlbackup.sh
2018-04-28 23:33:07 +02:00
bachir
0ed87e11ee
urbackup client install functional
2018-04-28 23:19:51 +02:00
bachir
3736ad1e06
fix urbackup.service file name
2018-04-28 22:37:37 +02:00
bachir
4718725c87
started urbackup headless client install script
2018-04-28 22:36:29 +02:00
bachir
3b75438c05
fixed knocd.conf, added etckeeper to misc
2018-04-28 15:15:53 +02:00
bachir
ec941fac00
fixed wrong letsencrypt certifcate replaced cert.pem by fullchain.pem
2018-04-18 00:59:31 +02:00
bachir
a278a28042
fixed zabbix install
2018-04-16 16:31:10 +02:00
Bachir Soussi Chiadmi
735faaac3d
added zabbix-agent install
2018-04-10 21:16:15 +02:00
Bachir Soussi Chiadmi
930616c71d
gitbarrerepo.sh fix
2018-04-07 17:18:51 +02:00
Bachir Soussi Chiadmi
a587dc0847
some fix
2018-04-07 16:44:29 +02:00
Bachir Soussi Chiadmi
0be97f397c
added default index.php
2018-04-07 16:06:11 +02:00