How to mount a remote directory in Linux using sshfs

Step1: Installing Package

On Ubuntu/Debain

apt-get install build-essential libcurl4-openssl-dev libxml2-dev libfuse-dev comerr-dev libfuse2 libidn11-dev libkadm55 libkrb5-dev libldap2-dev libselinux1-dev libsepol1-dev pkg-config fuse-utils sshfs

If you get any errors just remove the package that gave the error. In my case I had to remove  libkadm55.

Step2: Once the packages are installed we have to create a mount point and mount our  server data using sshfs command, for which we require  username/password. Here are my details for this task. (more…)

Zimbra 8 restrict sending to external domains

vim /opt/zimbra/conf/zmconfigd/ check_sender_access hash:/opt/zimbra/postfix/conf/restricted_senders NExt vim /opt/zimbra/conf/ Search for “SECTION mta” and append directly under POSTCONF smtpd_restriction_classes local_only POSTCONF local_only FILE so it should now look like: SECTION mta DEPENDS amavis POSTCONF smtpd_restriction_classes local_only POSTCONF local_only FILE Next Read more…

Installing Django 1.5.1 with python 2.7.4 on Bluehost

First SSH Into your account (using putty, or terminal if you are on linux) where we will start by moving to our home directory (~) and creating a directory for the latest python.

cd ~
mkdir python27
tar xzvf Python-2.7.4.tgz
cd Python-2.7.4
./configure -prefix=/homeX/your_username/python27 --enable-unicode=ucs4
make install

We then add this python directory to our PATH environment variable and load it (more…)