Hopp til innhold

Üren your own HTML code

Skip to content

This here’s a machine-translated text that might contain some errors!

Transferrin’ Your Own HTML Code

🚧🚧 Work in progress! 🚧🚧

Dubstep Meme

Temporary Task Description

Use the tools git, or ftp / scp to transfer your own HTML files up to the web server. You might have to do a little huntin’ around here to figure out how that’s done.

  • git - Lets you install GitHub repositories
  • ftp - File Transfer Protocol, a standard network protocol for movin’ 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 host and an external one, or betwixt two external hosts, usin’ SSH for safe passage.
  • mv <map>/* <destination> - Moves all files from one folder into another, like so: mv My-GitHub-Repo/* /var/www/html/
  • cp -R <map>/* <destination> - Copies every file from one folder over to another, say, cp -R My-GitHub-Repo/* /var/www/html/
  • chown -R www-data:www-data /var/www/html/ - Changes ownership of everything in /var/www/html/ to www-data, which is who runs the show as the user for the webserver. This might be necessary ‘cause the webserver needs access rights to them docs.