Recently i gave a talk on OpenShift to the LinuxSA community group. The discussion topic each month ranges from simple to complex, trending to bleeding-edge and this particular presentation was on the OpenShift platform. Openshift is the platform of choice for Web-App and Mobile-App development for those who know about
Read moreLatest Articles
Hardening a Postfix Relay mail server
This article is about hardening a Linux Postfix mail server. We’re discussing a Postfix mail server used as a relay to our company Exchange server. When the business uses Microsoft Exchange to host the company email, Postfix can easily be the mail filter blocking out the spam and virus infected
Read moreHow to convert a PuTTYgen key to SSH format
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 moreForce 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 moreConfigure Squid to Filter Based on MAC Address
In this article we are going to add some details to squid in order to allow it to filter based on MAC address and block certain clients from having full access. Alternatively you could reverse the rule and only allow the listed clients to have full access. First we are
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 moreInstall KVM (QEMU) Gentoo
In this article we are going to detail how to install KVM on Gentoo, for the most part it is a normal KVM install but with some Gentoo differences. Going to be installed: QEMU/KVM – Our Base libvirt – For Management virt-manager – For Extra Tools virt-manager – On our
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 more