Wednesday, May 2, 2012

Mount Rackspace clound files

We will cloud fuse to mount cloud files. first we download cloud fuse into the server where we want to mount the cloud files.
git clone git://github.com/redbo/cloudfuse.git

We need the below libraries into our system installed.
sudo apt-get update
sudo apt-get install libcurl4-openssl-dev libxml2-dev libssl-dev libfuse-dev libxml2 gcc fuse-utils

Then we go to the folder and run the make command:
cd cloudfuse/
./configure 
make
sudo make install
which cloud fuse

And then we create a file under the user which will own this file.
sudo vim ~/.cloudfuse

These are the username, api key and auth url to the Rackspace cloud.
username=[username]
api_key=[key]
authurl=https://auth.api.rackspacecloud.com/v1.0

Go to /etc/fstab and add the following command:
cloudfuse       /media/cloudfile       fuse    defaults,gid=33,umask=000,allow_other  0 0

Change the group id, file path and umask as your need.
Now make a folder to the mounting point.
mkdir /media/cloudfile
And finally we mount it.
sudo mount /media/cloudfile

See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide




List of my works:

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide

No comments: