similar topic as been discussed before and mainly Nethserver is probably installed in an office (SOHO, SME) so speed of query don’t really matter, but sometimes, it is.
With the new cockpit, it make it easier to remove apache dependency (simply have to remove web under Applications) and it liberate the port 80 and 443 for another web engine such as NGINX and/or OpenLiteSpeed.
Why OpenLiteSpeed over NGINX ?
- OpenLiteSpeed is the little cousin of LiteSpeed which is 100% compatible with apache and his .htaccess.
- Since he is compatible apache this means less job to convert Netherser Application
- Since he is compatible apache you could integrate ModSecurity3
- OpenLiteSpeed is faster than NGINX so faster than Apache too
Now on the other hand, maybe simply not installing web by default would be also an option to explore.
How to do it
remove web from https://:9090$yourIP/nethserver#/applications
than via cli
## source curl -fsSLo /etc/yum.repo.d/litespeed.repo http://rpms.litespeedtech.com/centos/litespeed.repo curl -fsSLo /etc/pki/rpm-gpg/RPM-GPG-KEY-litespeed http://rpms.litespeedtech.com/centos/RPM-GPG-KEY-litespeed ## OpenLiteSpeed yum install -y openlitespeed ## EPEL yum install -y epel-release ## PHP 7.4 yum install -y lsphp74 lsphp74-common lsphp74-mysqlnd lsphp74-gd lsphp74-process lsphp74-mbstring lsphp74-xml lsphp74-mcrypt lsphp74-pdo lsphp74-imap lsphp74-soap lsphp74-bcmath
Use the following to reset: /usr/local/lsws/admin/misc/admpass.sh
don’t forget to open port 7080