Is your password protected page on WordPress not working? Does it keep reloading the same page even though you’ve entered the correct password? Do you get a blank page that has this in the URL: /wp-login.php?action=postpass If your WordPress site has Sucuri installed and the Firewall running, you may encounter . . . Read more
Well now here’s an interesting error that mysteriously "just started happening" for no apparent rhyme or reason. We were working on a Cpanel server that we’re very familiar with, and went through the usual process of creating a new mysql database, creating a new mysql user, and then adding that . . . Read more
When dealing with larger databases, it’s often useful to know which tables are actually taking up the space. We can do this with a couple handy SQL commands. *Note: With the commands shown below, you need to substitute your particular values for @DB_NAME and @TABLE_NAME. Or you could set the . . . Read more
In order to setup a custom domain on the New Kajabi publishing system, you need to setup your nameservers to run over the Cloudflare.com system. There’s an excellent “how-to” article available here for that process: How Do I Configure a Custom Domain for My Kajabi Site. Now, the thing is: . . . Read more
Stripe is needed to take payments in your New Kajabi account. If you already have a Stripe account created, you will still need to create a “sub-account” specifically for Kajabi. Please follow the steps below to create your sub-account. Log into your Stripe account. Make sure the account is . . . Read more
Mod_pagespeed is an *amazing* tool for improving page load speeds and improving the performance speed of your website. In many cases, it can double the speed of your website, cutting the average page load time in half, or more! This page speed optimization tool has been fully implemented on the . . . Read more
I wanted to write some quick notes regarding the feedback that we got from our developers about how to export and import databases using WP-CLI. What a wonderful tool it is! WP-CLI stands for “WordPress Command Line Interface”. There are a bunch of commands you can use to manage WordPress . . . Read more
This is needed when Grunt and SASS plus all dependencies are not installed on a Shared host. This is pretty typical for LiquidWeb shared hosting. Start by using SSH to log-in to the server as the relevant account. Example: ssh account@server.com Install RubyGems + SASS Issue these commands to download . . . Read more
This is needed when you need GIT and the server you are using is a shared host that does not already have GIT installed globally (eg. in /etc/bin or /usr/local/bin) Step-by-step guide First run gcc –version to make sure the compiler is installed and supports the installation. Edit the .bashrc . . . Read more
Rsync is an amazing tool for direct server-to-server data transfers. Very speedy, and very smart! You can use rsync to do synchronizations between source and destination, comparing them, and copying only what’s changed. What’s especially amazing is that rsync only transfers the “parts” of files that are different. This works . . . Read more
We sure would love it if git were installed on our server. So let’s do that! [root@sunshine /var/cpanel/easy/apache/profile]# yum install git Loaded plugins: fastestmirror, priorities, security Loading mirror speeds from cached hostfile stable-arch | 951 B 00:00 stable-generic | 951 B 00:00 stable-noarch | 951 B 00:00 system-base | . . . Read more
Sometimes we have the need to recursively change the permissions, but only for either files or directories. Here’s a handy way to do this, from the command line. *Note: Being recursive, these are powerful commands, and can change a whole bunch of things, in a very short amount of time. Please do . . . Read more
The purposes of this how-to is to give detailed instruction on how to setup a client code project so that it can be used with source control via BitBucket. The same procedure can be used whether the codebase already exists or not. By the end of this how-to you will have . . . Read more
Import an Existing Repo, Hosted on a Remote, eg: BitBucket or GitHub: cd /your/local/directory git clone git@github.com:reponame/domainname.git Create a Brand New (Local) Repo, & Add a (Bare) Remote: cd /your/local/directory git init git add . git commit -m “Begin! Import all existing web files” Then we add the remote (bare) . . . Read more
The SpamAssassin server-side spam email filter employs Bayesian statistical algorithms to tell the difference between spam and ham. As such, these filters do their best when they’re “learned”. Here are some examples from a sample account. Let’s assume we’re working with a cpanel account called “oicom”, and we want to . . . Read more
On a WHM/Cpanel server, the main php.ini file is located thusly: /usr/local/lib/php.ini See also: http://docs.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/PhpIni Related articles Page: Install Git on Centos Page: EasyApache & Recompiling Apache / PHP (Easy Apache) Page: How to Recursively Change Permissions, Only Files / Directories, Chmod Page: How To Restart Various Server Services . . . Read more
Note: These notes pertain to PM servers. Other servers may vary… Loadwatch Logs Located In: /root/loadwatch To Summarize a Particular Logfile: (when in the “/root/loadwatch” directory, as root) /scripts/loadparse <filename_of_logfile> Cumulative Log of Loads: /root/loadwatch/checklog See also: http://linux.about.com/cs/linux101/g/loadwatch.htm http://www.xaprb.com/blog/2006/06/08/how-to-monitor-server-load-on-gnulinux/ Related articles Page: Install GIT on shared hosting . . . Read more
The first tool to reach for when analyzing and/or diagnosing a server is likely: top Top will give you a real-time, interactive view of the top processes consuming memory, cpu, etc… Which is probably why it’s called “top”. There’s a lot of rather cryptic keystrokes that you can use while . . . Read more
Let’s say you’ve got root privileges, and you’re working along, and you want to quickly backup a database for USERNAME on the PM servers… cd /home/USERNAME/_back mysqldump -uroot DATABASENAME > DATABASENAME_YYYYMMDD_shortDescription.sql (Check the size of the backup file, always a good idea) ls -lah DATABASENAME_YYYYMMDD_shortDescription.sql (Change the owner and group . . . Read more
Running as root, this command will repair all mysql databases on the server. Yes, this will take some time! Note, on PM servers, if you’re logged in as root, then you do not need to specify the password. Other servers may vary. mysqlcheck -Aao –auto-repair -u root where: “A” == . . . Read more