How do I upload banner images to my ubuntu droplet?

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.

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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;