How to install Java SDK on CentOS?

The following command will return a list of all packages directly related to Java. They will be in the format of java-<version>. $ yum search java | grep ‘java-‘ If there are no available packages, then you may need to download a new repository to search through. I suggest taking a look at Dag Wieers’ … Read more

PHP Warning: exec() unable to fork

Process limit “Is there a process limit I should look into” It’s suspected somebody (system admin?) set limitation of max user process. Could you try this? $ ulimit -a …. …. max user processes (-u) 16384 …. Run preceding command in PHP. Something like : echo system(“ulimit -a”); I searched whether php.ini or httpd.conf has … Read more

Upgrade python without breaking yum

I have written a quick guide on how to install the latest versions of Python 2 and Python 3 on CentOS 6 and CentOS 7. It currently covers Python 2.7.13 and Python 3.6.0: # Start by making sure your system is up-to-date: yum update # Compilers and related tools: yum groupinstall -y “development tools” # … Read more

How to redirect HTTPS requests to HTTP without a certificate (Apache VirtualHosts) and avoid a certificate warning

Fundamentally, that’s a problem. When communicating over HTTPS, the TLS communication layer is set up before anything is exchanged, i.e. the warning about the certificate happens before any information about the website is transferred. So a Certificate is needed to allow a browser to connect when https is defined, self signed or not. Ideally, and … Read more

tech