The way I've been setting up and testing our drupal installs has always involved the command line and a few symbolic links.

We're going to swing a few of our sites to another host and wished to avoid the extra cost of a command line via SSH
and just use the standard cpanel interface.

This trick retained our ability to manage things via symbolic links:

on a local unix/linux system make the sym link

localhost% ln -sf ../target linkname
localhost% tar zcvf linkname.tgz linkname

Then use cpanel to download and untar the linkname.tgz at the appropriate directory location, and the sym link seems to point to
the target directory on the remote linux box.
All managed from cpanel.

try it with a few tests to convince yourself it works on your system. . .

Comments

mrtoner’s picture

I find using the PHP symlink function is easier and faster:

symlink( '/home/myaccount/public_html/', 'test' );
CCSJ’s picture

Thank you both.

ddease2’s picture

so how would I remove a symlink that was created this way? I keep deleting the directory, but it keeps coming back.

thanks