Report this

What is the reason for this report?

How do I upload banner images to my ubuntu droplet?

Posted on June 17, 2015

Please pardon my knowledge here, I am about 24 hours into even using an Ubuntu server, and my knowledge of Linux is limited to Debian on a Raspberry Pi.

I’m trying to locally host the banner/favicon images on my Droplet for the Discourse distro I have hosted. I can’t seem to find anything in a gui that allows me to upload images to some sort of repository on the Droplet, so I am guessing I will need to upload them in a more direct way.

How would I do this? Do I use the virtual console? Or SSH?

I suppose SSH would be the best, since I have the files on the computer I’d want to use for SSH.

Any help whatsoever would be appreciated, I am way out of my field.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

If you have an scp client on your local machine you can use scp to transfer files over ssh.

You can also use an SFTP client like Filezilla to upload your files. To use filezilla you will set up a connection with the following details:

Protocol: SFTP Port: 22 Server: [your droplet’s IP] User: root Password: [ your droplet’s root password]

This will start you off in the /root directory but you are not locked in this directory. If you are using Apache to serve your web files the default web root is /var/www/html. If you’re using nginx it would be /usr/share/nginx/html

You can install Apache with the commands:

apt-get update;
apt-get install apache2;

Or nginx with:

apt-get update;
apt-get install nginx;

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.