Hopp til innhold

Transfer your own HTML code

Skip to content

This is a machine-translated text that may contain errors!

Transferring your own HTML code

🚧🚧 Work in progress! 🚧🚧

Dubstep Meme

Temporary Task Text

Use the tools git, or ftp / scp to transfer your own HTML files to the web server. Here you may need to search a bit to figure out how this is done.

  • git - Allows you to install GitHub repositories
  • ftp - File Transfer Protocol, a standard network protocol for transferring files between a client and a server on a computer network.
  • scp - Secure Copy Protocol, a network protocol used to copy files between a local and a remote host, or between two remote hosts, using SSH for secure transfer.
  • mv <folder>/* <destination> - Moves all files from one folder to another, e.g. mv My-GitHub-Repo/* /var/www/html/
  • cp -R <folder>/* <destination> - Copies all files from one folder to another, e.g. cp -R My-GitHub-Repo/* /var/www/html/
  • chown -R www-data:www-data /var/www/html/ - Changes the owner of all files in /var/www/html/ to www-data, which is the user the web server runs as. This may be necessary for the web server to have access to the files.