mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-26 06:55:52 +03:00
[PR #2047] Make install.sh work with RHEL-based distros #3844
Labels
No labels
In Process
bug
bug
dev-triage
documentation
duplicate
enhancement
fixed
good first issue
help wanted
integration
invalid
pull-request
question
requires agent update
security
ui tweak
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tacticalrmm#3844
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/amidaware/tacticalrmm/pull/2047
Author: @egg82
Created: 10/25/2024
Status: 🔄 Open
Base:
develop← Head:rhel-installer📝 Commits (2)
b0aa813Update install.sh for RHEL-based systems0d73425Fix postgres service names📊 Changes
1 file changed (+260 additions, -92 deletions)
View changed files
📝
install.sh(+260 -92)📄 Description
Similar to #2046
Changes made:
/etc/os-releaseto determine OS typecommand -v dnfto determine ifdnfis available, and falls back toyumif notyum/dnfin place ofaptandapt-getwhere applicablewww-datafornginxuser/group where applicablepango,pango-devel,cairo,cairo-devel, andlibffi-develfrom proper sources when in a RHEL environmentpyenvto install proper python version when in RHEL environmentdnf/yuminstall when in a RHEL environmentpython manage.pytopython3.11 manage.pyto be consistent/etc/nginx/sites-availableto/etc/nginx/conf.dwhen in a RHEL environment/rmm/api/tacticalrmm/tacticalrmm.sock(nginx can't access socket)Additionally, the contents of
/rmm/api/tacticalrmm/tacticalrmm/local_settings.py($local_settingsor$localvars) to includeCORS_ALLOW_HEADERSandCORS_ALLOW_METHODSbecause otherwise Firefox refuses to load anything and breaks.The biggest change, as earlier, is the use of
pyenv.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.