Site configuration: file sharing notes

Easiest way to share files is ssh onto the carlboettiger.info server,  change into the directory carlboettiger.info/ and create a new directory there – i.e. share/.  This behaves as a regular static webpage directory that will list the files provided.

Secure access can be created by going to the goodies –>htaccess/WebDav page and selecting the option to make a directory or subdirectory secure, and then specifying the passwords, etc.  Have created the subdirectory https://carlboettiger.info/share/secure as an example of this.  See DreamHost wiki entry for Htaccess.

Dreamhost FTP access requires an FTP user account.  Anonymous FTP can be set up at an additional cost but is not generally advised.  This may be a good way to allow users to upload large content to me.  At the moment I don’t seem to have the root access to allow me to directly copy files from the guest ftp to my own user directory.

Looks like can make a page WebDAV enabled, an http protocol.  Not sure that this will be very useful.  Currently sample webdav page doesn’t even display in browser.

Git on server

Configure a root (user carlroot) account for dreamhost through the panel.

Git dreamhost wiki

For instance, this works:

  • log in to server, go to carlboettiger.info/git
  • pull a public repo (read-only), i.e.
git clone git://github.com/cboettig/dryad.git

and run

git update-server-info

in that directory.  Then anyone can clone using:

git clone https://carlboettiger.info/git/dryad/.git

but cannot push changes back.  Can clone with ssh too.