Installing & Using Composer on Ubuntu 16.04

When I previously installed Composer on my dev server, I made the mistake of doing so while logged in as root. This caused all sorts of permissions-related problems.

I recently decided it was time to sort this out by re-installing Composer properly. Although this should be a no-brainer, I decided to research best practices all the same. I’m glad that I did.

The best tutorial I could find was from DigitalOcean: What I like most about their approach, is that it includes instructions for a security check on the installer file.

I also found a lot of very good guidance on the Sitepoint website:

Setting Up Zoho Mail

I was recently called upon to implement a mail hosting account for a client. I’ve had great success with Zoho Mail in the past, so this is my tool of choice once again. Here are the steps:

Step One:

Have the user sign up for a Zoho Account. They’ll need to login, click on the ‘all apps’ link at the bottom of the page, then click on the ‘mail’ icon. At this stage, Zoho will ask them to link a phone number to their account – make sure this step is completed, then have them send you their login credentials.

Step Two:

Login with the account owner’s credentials, then click on the email icon. Select the free ‘Lite’ plan, and click through.

Step Three:

Enter the user’s domain name and click through. This will create an account that serves mail for up to 25 users (aka: email addresses) for a single domain. Now click through the confirmation screen to set up the user’s account.

Step Four:

Verify the domain. Just follow the onscreen instructions to: a) create a CNAME zone record for the domain in GoDaddy; b) click the ‘verify button at the bottom of the Zoho screen.

Step Five:

Assuming all has gone well, Zoho should now be asking for an email address with which to create the first account. Enter the user’s preferred primary email address and click ‘create account’.

Step Six:

Click ‘skip to proceed’ on the next form, since we’re only setting up a single user account here. Same goes for the next screen where we have a chance to set up group emails.

Step Seven:

Set up the MX records on the server per instructions provided. Using , test the domain to make sure the correct MX records are set, then click through to the next step.

Step Eight:

Proceed with adding the SPF/DKIM records to the domain’s zone file per instructions. In GoDaddy, add a TXT record with the SPF string provided by Zoho. Click through to the ‘Proceed to Configure DKIM’ step.

Step Nine:

Follow the DKIM setup instructions to create a key, add a TXT record to the domain’s zone file, and verify the key works. Click “Back to Setup” when verified.

Step Ten:

Skip the “Migrate”  and “Mobile Setup” steps, and proceed to the control panel. Navigate to “Mail Administration>Email Authentication>DKIM” and ‘enable’ DKIM for the domain.

Step Eleven:

Navigate to ‘Email Forwarding>Access>Email forwarding and POP/IMAP, then enable IMAP. Confirm the settings for both POP and IMAP clients are visible.

Step Twelve:

Let the client know to follow the same steps as in Eleven to access their POP/IMAP settings so they can set up their email client.

And that’s it!