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!
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;
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.