Attempted NC14 Installation
- Apache 2.4.34
- MariaDB 10.3
- PHP 7.2.10
Bit of a linux n00b and complete n00b with CentOS and NC. Forgive me for any dumb comments please.
Attempted to install following a couple of tutorials neither of which worked for me.
I am researching a simple install of NC14 following the Server Admin Manual and online tuts. I would like to get an install that is;
- Simple install
- Simple maintenance
- PHP support for 7.0 and 7.1 ending or ended.
- Mcrypt is deprecated in 7.2
- Multiple repo’s required
I would like to have a complete install, even if some of the requirements aren’t used at the start, they may be in the future. Once things are set up I don’t want to have to muddy the waters by adding/removing pieces. I’m not that skilled to fix things if they break.
I have noted another thread regarding mcrypt. I don’t feel any the wiser for having read it. There appears to be a solution in there but this seems more of a hack than a fix and fails points 2 and 3 of my simple install rules.
My first attempt used multiple repos, CODEIT for Apache, MariaDB’s own repo, IUS for PHP and NUC for ffmpeg. I have, well lets call them reservations, about some of these repos and some others that I haven’t mentioned but could use.
On further inspection of the IUS repo it seems possible to remove CODEIT and MariaDB and get IUS version of Apache and MariaDB. Their versions at the moment aren’t the very latest but are not far off. I’m prepared to be at the cutting edge rather than the bleeding edge by trading off for simplicity, stability and ease of maintenance.
Looking further into the mcrypt issue, I note that mcrypt is replaced by sodium. I have no idea what the implications of that are. Will NC be incorporating sodium in lieu of mcrypt? At some point I assume that will have to happen.
I can’t see a way around ffmpeg without using another repo for that one package.
I have raised an issue with the IUS team on GitHub with proposals to solve my problems.
- Add NC14 and the missing packages or,
- Just add the missing packages.
Unless I’m missing something that makes life easier.
That just leaves the sodium/mcrypt situation. I’m not an expert but sooner or later sodium will need to be incorporated surely?
It occurred to me that a single voice may not have much weight with IUS. I posted this in the hope that the NC community might see the benefit of a one stop shop for installs and lend their weight.
IUS have responded. They still have an open request for NC12! They won’t do ffmpeg as it isn’t in the base or epel.
More importantly they suggest using PHP 7.1 for mcrypt and referred me to Remi’s blog about it. On top of the obvious concerns this has for security 7.1 only has a couple of months before support ends.
I can live with an additional repository for one package as I can’t see a way around it. But the outdated encryption issue is of far greater concern. Can anyone give a definitive response on the way forward please?