The following command will convert the key generated from “PuTTYgen” to something that OpenSSH can use. In other-words, if you want to use putty, you must do this. This is done on the Linux server as the user who wants the key: ssh-keygen -i -f puttygen_key >> ~/.ssh/authorized_keys First you
Read moreContact our friendly team to get started.
Force to HTTPS for Basic Authentication | Apache & .htaccess
This article demonstrates how to force a browser from “http” to “https” before sending credentials across the Internet. Put the following into your “.htaccess” file. If will first force the connection to “https” and then it will prompt for the credentials. Notice the “commented out” IF statement. IF statements only
Read moreSecure your Web Site with a .htaccess file
A simple way to secure your website is with a “.htaccess” file. When i say “secure” i simply mean the website (or sub directory) will require a password to gain access. This is great for when you are still developing the website or when you have a directory within the
Read moreHow to Mount a Windows share from Linux
This article demonstrates how to mount a windows CIFS/SMB share from a Linux host. TIP: You should test that your mount configuration works before rebooting. If you reboot with a bad mount configuration, the Linux server may not boot back up as normal. TIP2: You can (and possibly should) put
Read moreRestore a single MySQL DB from a Dump using –all-databases
The link below shows a simple way to restore one the MySQL database that you want from a dump that included all databases. Extracting a Database From a mysqldump File The good people who wrote that article (can) take credit for the following: shell> sed -n ‘/^– Current Database: `mydb`/,/^–
Read moreOpenShift and PHP Fatal error: Allowed memory size of 134217728 bytes exhausted
This article explains how to solve the “PHP Fatal error: Allowed memory size of 134217728 bytes exhausted ” problem on OpenShift. The issue is that the OpenShift application is using too much memory. The solution was to put the following into the “.htaccess” file in the root of the OpenShift
Read morePreparing Windows 7/8 for kids
This article is for those looking to prepare a Windows 7 or 8 computer for kids. These are the steps i take as a minimum. 1. Remove all unnecessary software from the PC. Unnecessary software (such as download assistant software, assistive software, adware software, etc can lead kids (and adults)
Read moreAdding Neo4J to OpenShift
This article shows how to add a Neo4J cartridge to your OpenShift application. We’re assuming you have an application already created and that you’re simply needing to add the Neo4J database to your existing app. The YML file is: https://raw.githubusercontent.com/danielnatali/openshift-neo4j-cartridge/master/metadata/manifest.yml You can add Neo4J via the command line as follows:
Read moreMinimal Apache SSL Configuration (Redhat)
This document shows the minimal information you need to have a working Apache server serving HTTPS requests. It’s typical to put your configuration files in (when using Redhat) “/etc/httpd/conf.d/”. We’re using certificates supplied to us and not self signed certificates. <VirtualHost *:443> LogLevel warn SSLEngine on SSLCertificateFile /etc/httpd/keys/www.example.com.crt SSLCertificateKeyFile /etc/httpd/keys/www.example.com.key
Read moreOpenShift – PHP not sending email. An SELinux problem.
This is an email i sent to the OpenShift user group which may be of interest to others. Hence it’s place on this blog. Subject: Openshift and php mail not sending – SELinux issue – SOLVED From: Andrew Galdes <[email protected]> To: “[email protected]” <[email protected]> Hi all, I want to share my
Read more