question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Community maintained: CentOS 7 Support

See original GitHub issue

Can we get some CentOS support with the installer? I’m not a python dev so I can’t write code but I managed to remove the parts that were Ubuntu specific.

Basically the Ubuntu detection could check for Cent OS and run yum commands instead of apt-get

This was my very rough guide/edits

yum install -y epel-release
yum install -y python3 python3-devel git curl python3-virtualenv python3-pip
yum groupinstall -y "Development Tools"
yum install -y libcurl libcurl-devel openssl-libs openssl-devel

curl -sL https://rpm.nodesource.com/setup_10.x | bash -
yum install -y nodejs

Edit bootstrap.py - Remove apt and ubuntu checks and check for systemd, change pip to pip3
Edit /opt/tljh/hub/lib64/python3.6/site-packages/tljh/installer.py - Remove all apt checks
Edit bootstrap.py - Remove line that does pip3 update on and the repo

Edit /opt/tljh/hub/lib64/python3.6/site-packages/systemdspawner/systemd.py - Comment out this line (55) "run_cmd.append('--property=WorkingDirectory={}'.format(shlex.quote(working_dir)))"

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:3
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
adamboutchercommented, Jul 13, 2021

If I get time and need to reinstall my tljh setup then I’ll push a CentOS/Fedora installer.

1reaction
consideRatiocommented, Oct 25, 2021

We’ve deliberated a bit about maintenance of a TLJH installation against other distributions than Ubuntu LTS, but for now I think the answer is that we won’t try to go for that.

I’ve marked this as a “wontfix” issue to indicate that, but I figure it would be good to retain this issue as it contains a lot of effort to make a CentOS installation possible.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Long-Term Outlook for CentOS 7 Support - OpenLogic
Yes, CentOS 7 is currently the only supported CentOS version: CentOS Linux 7 will continue to receive community security patches and bug fix ......
Read more >
CentOS® 7 End-of-Life Extended Lifecycle Support - TuxCare
TuxCare provides extended lifecycle support for CentOS 7, which means you can get consistent Cybersecurity updates and maintenance support beyond the ...
Read more >
About/Product - CentOS Wiki
CentOS Linux 7 CentOS Stream 8 Full Updates 2020‑08‑06 2024‑05‑31 Maintenance Updates 2024‑06‑30 2024‑05‑31 CentOS Linux 7 CentOS Stream 8
Read more >
CentOS EOL guidance | Compute Engine Documentation
While a few community tools might be available for converting your workloads from CentOS to another distribution, Google Cloud does not provide or...
Read more >
CentOS Linux is dead—and Red Hat says Stream is “not a ...
On Tuesday, Red Hat CTO Chris Wright and CentOS Community Manager Rich ... (CentOS 7 will still be supported alongside RHEL 7, through...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found