node.js allows you to run javascript in the Terminal as appose to a regular browser which makes for a modern workflow in web development, with node.js installed an associated package called npm (Node Package Manager) is also installed which can manage other applications that utilize node.js, one of the main ones being grunt.js. OSX Yosemite …
Read More
How to Install mcrypt for php on Mac OSX 10.9 Mavericks for a Development Server
The mcrypt extension is missing. Please check your PHP configuration. The above error appears after you successfully get phpMyAdmin up and running on OS X, generally you don’t have to worry about it, you only need to address the error if you are going to use a web application that requires it, for example Magento, the shopping …
Read More
Upgrading to Ruby 2 on OSX 10.8 Mountain Lion
An older version of Ruby ships with OSX by default, the version is 1.8.7 which is now officially retired by its developers. To upgrade to the latest stable version of Ruby, you going to need Xcode and Homebrew installed first, Xcode does the heavy lifting for compiling programs and Homebrew works as the package manager …
Read More
Restarting Apache Web Server from the command line
To restart, start or stop Apache web server from the command line interface using either Linux or Mac OSX, use the commands below, these commands should be executed as the root user otherwise prefix them with ‘sudo‘
Installing phpMyAdmin on Mac OSX 10.9 Mavericks & 10.8, 10.7, 10.6
To interact with MySQL by instead of using the command line, phpMyAdmin comes to the rescue, to get it running as part of your local development set up on OS X, a couple of steps need to be done. phpMyAdmin is a browser application that interacts with the underlying mysql data. These steps will work on …
Read More
Redirect HTTP to HTTPS on Tomcat
You’ve bought your SSL secure certificate and successfully installed on Tomcat with the keytool but how do your redirect the entire site to go HTTPS and redirect any HTTP connection straight over to HTTPS. You need to edit the 2 Tomcat configuration files; server.xml and web.xml and then when edited restart the tomcat service. Open …
Read More
How to Install mcrypt for php on Mac OSX Lion 10.8 & 10.7 Development Server
The mcrypt extension is missing. Please check your PHP configuration. The above error appears after you successfully get phpMyAdmin up and running on OS X, generally you don’t have to worry about it, you only need to address the error if you are going to use a web application that requires it, for example Magento, the shopping …
Read More
Secure Remote SSH Connection with no passwords OSX 10.8 and Linux
How to generate public and private keys for SSH on Mac OS X 10.8 Mountain Lion and then share that public key on another device and have it so that no password is prompted for a secure connection to a remote computer. First thing that you need to do on your OSX machine is to …
Read More