Attempted NC14 Installation
System Info
- CentOS7
- Apache 2.4.34
- MariaDB 10.3
- PHP 7.2.10
User
Bit of a linux n00b and complete n00b with CentOS and NC. Forgive me for any dumb comments please.
Situation
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;
- Complete
- Up-to-date
- Simple install
- Simple maintenance
Problems
- PHP support for 7.0 and 7.1 ending or ended.
- Mcrypt is deprecated in 7.2
- Multiple repoās required
Background
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.
Proposed Solution?
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?