Permission denied: FastCGI: failed to connect to server “/usr/lib/cgi-bin/php5-fcgi”: connect() failed – Apache 2.2 / PHP-FPM 5.4 – CentOS
Have been working on setting up a server without a control panel with Apache and…
You need Java JDK installed, see this link Install Java JDK 1.8
Download the package from: maven.apache.org
Move the compressed archive to the location you want and extract.
Create the following symlink: (note: /opt/maven is where I extracted the archive on this server)
Create a file maven.sh under /etc/profile.d/ and fill it with the following based on where you extracted the maven archive.
Make this file executable:
Issue the following to make the variables permanent:
Reboot. Issue the following to verify that it’s correctly installed:
You should see something like the following to signal that it’s successfully done: