Skip to content

Refactor vst-install.sh#1512

Open
lpalgarvio wants to merge 5 commits into
outroll:masterfrom
lpalgarvio:patch-1
Open

Refactor vst-install.sh#1512
lpalgarvio wants to merge 5 commits into
outroll:masterfrom
lpalgarvio:patch-1

Conversation

@lpalgarvio

@lpalgarvio lpalgarvio commented Mar 15, 2018

Copy link
Copy Markdown
  • Reimplemented os detection:
    Rely on /etc/os-release, lsb_release, /etc/lsb-release, /etc/system-release and /etc/redhat-release to get the proper distribution information for the supported distributions (debian, ubuntu, centos, rhel)

  • Added section to install minimum requirements:
    Install some global requirements, such as package management system (apt/yum) packages, openssl, ca-certificates, gnupg, wget/curl, dialog, which, etc) and configure the package management system, with special provisions for the obsolete CentOS 5

  • Apply coding standards; Change supported OS:
    Reimplemented the remaining portions of the script with coding standards and smaller fixes; Propose different supported operating systems/distributions, using only LTS versions (Debian 7, 8, 9; Ubuntu 12.04, 14.04, 16.04; CentOS/RHEL 5, 6, 7). As for non-LTS versions (Ubuntu 12.10, 13.04, 13.10, 14.10, 15.04, 15.10, 16.10, 17.04, 17.10), i'ts already too hard to track and test this many OS, and they are not suited for servers, so i just recommend dropping them. ***

*** Consider dropping soon CentOS/RHEL 5 - SSLv3/TLSv1 connections are mostly broken today with the openssl version shipped, so it's very hard to update software, download files, etc. I'm trying to fix the issues on CentOS/RHEL 5, but loosing hope.
Also, Debian 7 and Ubuntu 12.04 while still updatable and functional, are increasingly becoming old and are unsupported by their publishers, could become problematic in the next 2 or plus years with further upgrades on important libraries such as openssl as well. No issues at the moment.

*** I'm developing tests in docker to try all these operating systems.

Rely on /etc/os-release, lsb_release, /etc/lsb-release, /etc/system-release and /etc/redhat-release to get the proper distribution information for the supported distributions (debian, ubuntu, centos, rhel)
Install some global requirements, such as package management system (apt/yum) packages, openssl, ca-certificates, gnupg, wget/curl, dialog, which, etc) and configure the package management system, with special provisions for the obsolete CentOS 5
Reimplemented the remaining portions of the script with coding standards and smaller fixes; Propose different supported operating systems/distributions, using only LTS versions
@lpalgarvio

lpalgarvio commented Mar 15, 2018

Copy link
Copy Markdown
Author

With these changes...

Style guides:

Currently Supported Operating Systems:

  • RHEL 5, 6, 7
  • CentOS 5, 6, 7
  • Debian 7, 8, 9
  • Ubuntu LTS 12.04, 14.04, 16.04

…icate records on /etc/apt/sources.list to installer
@lpalgarvio

lpalgarvio commented Mar 16, 2018

Copy link
Copy Markdown
Author

May you review these changes @serghey-rodin ?
I'll have plenty more (multiple php versions, additional repositories, fixes on the specific installers) to submit afterwards that depend on these...

@Skamasle

Copy link
Copy Markdown
Collaborator

Hi @ lpalgarvio you need wait some time, devs are busy but they always read all pull request

@Neustradamus

Copy link
Copy Markdown

Dear all,

@Dennis-SEG has done a very good job here:

What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants