Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

INFO: run netdata on ubuntu 14.04 LTS #8905

Closed
ktsaou opened this issue May 5, 2020 · 16 comments
Closed

INFO: run netdata on ubuntu 14.04 LTS #8905

ktsaou opened this issue May 5, 2020 · 16 comments
Assignees
Labels
area/docs area/packaging Packaging and operating systems support no changelog Issues which are not going to be added to changelog

Comments

@ktsaou
Copy link
Member

ktsaou commented May 5, 2020

Ubuntu 14.04 LTS is EOL, but still if you have such a server, netdata can be run with this:

add a repo to get libuv1-dev (https://stackoverflow.com/a/49628607/4525767)

add-apt-repository ppa:acooks/libwebsockets6

export CFLAGS to disable the requirement of openssl host verification. This will lesser your security, but still the version of openssl installed on ubuntu 14.04 LTS cannot do better.

# as root, run:
export CFLAGS="-DACLK_SSL_ALLOW_SELF_SIGNED"
bash <(curl -Ss https://my-netdata.io/kickstart.sh)

With the above netdata is installed and it can communicate with netdata.cloud too.

(I haven't verified the kickstart works, because I used netdata-installer.sh from the go-live branch)

@ktsaou ktsaou added area/packaging Packaging and operating systems support no changelog Issues which are not going to be added to changelog labels May 5, 2020
@prologic prologic self-assigned this May 6, 2020
@lassebm
Copy link
Contributor

lassebm commented May 14, 2020

I've observed that while CFLAGS are persisted in .environment by kickstart.sh, it's ignored and overwritten by netdata-updater.sh, breaking the workaround during the nightly updates.

@prologic
Copy link
Contributor

I've observed that while CFLAGS are persisted in .environment by kickstart.sh, it's ignored and overwritten by netdata-updater.sh, breaking the workaround during the nightly updates.

I have noticed this too. Btw what CFLAGS are you referring to here? I need to get back to this and get this working and working with Netdata cloud. The PR changes are not quite enough.

@lassebm
Copy link
Contributor

lassebm commented May 21, 2020

@prologic I need -DACLK_SSL_ALLOW_SELF_SIGNED for cloud connectivity on Ubuntu 14.04.

@prologic
Copy link
Contributor

@prologic I need -DACLK_SSL_ALLOW_SELF_SIGNED for cloud connectivity on Ubuntu 14.04.

Perfect! Let me add that to this PR and do you mind helping me re-test this? I'm not sure I have an Ubuntu 14.04 VM but I'll go spin one up...

@lassebm
Copy link
Contributor

lassebm commented May 21, 2020

@prologic Sure, no problem.

@zack-shoylev
Copy link
Contributor

There are (related) CentOS, Ubuntu 14, Debian 7 issues:
#9152
#9153
@ktsaou told me this is probably caused by SSL problems with self-signed certs. On some systems autoconf may have to allow self-signed and also host verification will have to be disabled.

@prologic
Copy link
Contributor

Allowing self-signed certs is one thing, turning off host verification is rather dangerous and should be considered very carefually/seriously. @amoss What do you want to have happen here?

@amoss
Copy link
Contributor

amoss commented May 28, 2020

I don't think that we should turn off security features without explicit consent from the user.

@prologic
Copy link
Contributor

I don't think that we should turn off security features without explicit consent from the user.

110% Agreed.

@stale
Copy link

stale bot commented Jun 27, 2020

This issue has been inactive for 30 days. It will be closed in one week, unless it is updated.

@stale stale bot added the stale label Jun 27, 2020
@prologic
Copy link
Contributor

Waiting on reviews for the final PR #8916

@stale stale bot removed the stale label Jun 29, 2020
@stale
Copy link

stale bot commented Jul 29, 2020

This issue has been inactive for 30 days. It will be closed in one week, unless it is updated.

@stale stale bot added the stale label Jul 29, 2020
@prologic
Copy link
Contributor

What are we ding about this issue? Its been open for some time now... I've sort of lost the plot a bit here.

@stale stale bot removed the stale label Jul 30, 2020
@amoss
Copy link
Contributor

amoss commented Jul 30, 2020

@joelhans Please can you confirm that this is documented and then close the issue?

@joelhans
Copy link
Contributor

Installing on 14.04 should be possible with the PR Costa himself wrote to address this issue: #9198

The caveats of installing on 14.04 are documented in two places:

https://learn.netdata.cloud/docs/agent/packaging/installer#older-distributions-ubuntu-1404-debian-8-centos-6-and-openssl
https://learn.netdata.cloud/docs/agent/claim#claiming-on-older-distributions-ubuntu-1404-debian-8-centos-6

This seems sufficient to me, so I'm closing the issue.

@prologic
Copy link
Contributor

Thanks @joelhans !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docs area/packaging Packaging and operating systems support no changelog Issues which are not going to be added to changelog
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants