NGINX is an open-source, high-performance HTTP server and reverse proxy, as well as an IMAP/POP3 proxy server. NGINX is known for its high performance, stability, rich feature set, simple configuration, and low resource consumption.
This past week, out network staff have upgraded the hosting platform for the 10MB free hosting service Register4Less.com provides with every domain name. The server for the http://Register4Less.com website itself has also been upgraded to NGINX. The hosting platform had been using Lighttpd for a number of years before the upgrade.
NGINX provides a number of advantages over Lighttpd or Apache, including:
- possible per-domain customizations if required,
- sub-domains can now be setup by ftping using the same credential as the domain it’s based on, using its own top-level folder,
- no database use for configuration, so even more responsive than before,
- using latest stable Nginx web server for better security.
While our staff are confident that the change from Lighttpd to NGINX will be seamless, we ask that if you are using our basic hosting platform and see any issues to contact our support team.
In the industry today, NGINX is second only to Apache in terms of volume of sites that use it as the web server application.
A few weeks ago we rolled out this feature on the Project Search Results page.
The new feature is available with every search result and will open the Stacks Dialog box just the same way the button would operate on the project page.
Also, please don’t forget that you can add new projects from the Project Search Results page as well!
Softaculous is a robust, software/script installing program which can be accessed through your control panel. With Softaculous you can install a wide range of scripts with a few clicks including WordPress, Joomla etc. Here I am explaining the steps to enable Softaculous on your cPanel server, so that your clients can enjoy trouble free and easy installation and management of common applications.
The PHP extension IonCubeLoader must be enabled on your server for the Softaculous installation. The IonCubeLoader can be enabled as follows:
- Login to WHM (root)
- Go to Server Configuration -> Tweak Settings -> PHP
- Select ioncube check box for cPanel PHP loader
- Click on Save button
That’s it. This will enable Ioncube for you in 3rd party PHP binary.
Now we are going to explain the Softaculous installation steps. The installation is very simple and it has only a few steps.
From server CLI (Command Line Interface)
Step I : Log into server as root user.
Step II : Download the installation script.
wget -N http://files.softaculous.com/install.sh
Step III : Change the file permission and execute the script.
#chmod 755 install.sh #sh install.sh
From WHM control panel
Step I : First you need to download the script into the following location:
cd /usr/local/cpanel/whostmgr/docroot/cgi wget -N http://www.softaculous.com/ins/addon_softaculous.php
Step II : Change the file permission to executable:
chmod 755 addon_softaculous.php
Step III : Log into WHM and complete the installation via
WHM –> Plugins–> softaculous– Instant Installs
Finally, you can see softaculous listed in a cPanel account as below:
The Open Hub is up and running again after a full day of being unavailable. We apologize for any inconvenience this unexpected downtime caused and want to share what we know about what happened.
In brief; while performing a minor version upgrade of our PostgreSQL database from version 9.4 to 9.6, the upgrade process had a catastrophic failure and we lost the entire database.
Fortunately, we had made a backup before starting the process, and were able to restore from it. However, we did loose a few days of data and changes. For that we are truly sorry.
We’ve done these upgrades before. As a general rule, we don’t like to get more than 2 minor revisions behind in anything in our stack. So, we planned for the upgrade, tested it rigorously in our staging environment, carefully documented each step and command that would need to be executed. Normally we would only do this kind of work on a Sunday morning, when the Open Hub has the least amount of traffic.
The decision to proceed with the upgrade rests entirely with me as team lead.
We expected a 20 minute upgrade process, followed by an Analyze to generate the necessary statistics which could have taken up to an hour. We figured the site would be back up in less than 2 hours.
But very early in the process, one of the first pg_upgrade statements generated an error because the target data directory was erroneously entered as the mount point, owned by root, instead of a subdirectory owned by postgres. This should have simply generated the error, we would have fixed the command and continued on our way.
However, when we checked file systems, it was immediately apparent that the data directory in the original 9.4 location was completely gone, along with all our data. We’ve scoured the history files and the logs to see if there was anything else that could have been a factor, but do not see anything else. We have even read the source code of the pg_upgrade feature (available at https://doxygen.postgresql.org/pg__upgrade_8c.html#a3c04138a5bfe5d72780bb7e82a18e627).
We are now looking over the entire site and getting updates we know we’ve made after the database backup was made. Please don’t hesitate to ping us on Twitter at @bdopenhub, or contact us at email@example.com with any observations, insults, questions, or comments, etc.