Web Design

Explore the principles of web design

How to “Un-Mount” (umount) a Remote SSHFS Drive on Mac OS 10.9

In my post, SSH functionality with RackSpace Cloud Sites we explore mounting a remote server using sshfs. It is common to have issues with the connection fall asleep and then not being able to un-mount the drive and subsequently not being able to re-mount the drive. After much searching I found the following solution for… Read more How to “Un-Mount” (umount) a Remote SSHFS Drive on Mac OS 10.9

SSH functionality with RackSpace Cloud Sites via SSHFS

Working with RackSpace Clouds Sites has its advantages. One drawback though, is the lack of SSH access to you sites. This makes the routine advantages of SSH inaccessible. There is a work-around though. Enter sshfs. SSHFS is a way to mount a file system over SSH. The client interacts with the remote file system via… Read more SSH functionality with RackSpace Cloud Sites via SSHFS

How To Make Directory Recursive Command Line Make Directory Recursive mkdir -p

On occasion, like when working with ZendFramework, you may want to build a directory tree. Did you know you can build a recursive directory tree? Here’s how: mkdir normaly works like this: promt$> mkdir directory-name directory-name To build a directory and another directory inside of it you can do the following: promt$> mkdir -p parent-directory/child-directory… Read more How To Make Directory Recursive Command Line Make Directory Recursive mkdir -p

Where is httpd.conf file?

Looking for Apache 2 web server configuration file httpd.conf? The httpd.conf directory may be found in different directories depending on which linux flavor you are using. ( Red Hat, CentOS, Ubuntu and XAMPP, Mac OS X). httpd.conf location for each operating system: Operating System / Linux Distro httpd.conf Location CentOS 5.2 /etc/httpd/conf/httpd.conf CentOS 5.3 /etc/httpd/conf/httpd.conf… Read more Where is httpd.conf file?

How To Reset Drupal 7 Password from Within the Database

On occasion, you may be hired to take over the code on a Drupal 7 application where the previous site administrator has not provided the needed credentials to administer the site. As the new developer, you will likely have the credentials for the database. If you have access to the database there are a few… Read more How To Reset Drupal 7 Password from Within the Database

drush cc Not Showing All Options (only showing 2 options cancel and drush)

Trying to clear your Drupal site chache with drusch cc or drush cc all? Drush should out put a list in response that looks like this: promt$> drush cc Enter a number to choose which cache to clear. [0] : Cancel [1] : all [2] : drush [3] : theme-registry [4] : menu [5] :… Read more drush cc Not Showing All Options (only showing 2 options cancel and drush)

Drupal: How to solve Warning: file_put_contents The file could not be created

Sometimes when migrating or setting up a local development site you may run into an error that looks like this: Warning: file_put_contents(temporary://file8UThke): failed to open stream: “DrupalTemporaryStreamWrapper::stream_open” call failed in file_unmanaged_save_data() (line 1898 of /Users/YouUserName/path/to/docroot/includes/file.inc). Likely the Drupal temp directory isn’t writable. An easy fix for this is to navigate to /admin/config/media/file-system and enter the… Read more Drupal: How to solve Warning: file_put_contents The file could not be created

Linux Find Command: Searching Within a Directory

The Linux find command starts looking wherever you tell it to. This Post is about how to tell it where to start looking for the files you specify when you type out the rest of the find command line. Specifying the directory is as simple as typing it immediately after the word find, like this:… Read more Linux Find Command: Searching Within a Directory