Hopp til innhold

Transfur yer own HTML code

Skip to content

Avast ye, this be a machine-translated text an’ may contain errors, aye!

Translatin’ yer own HTML codin’

🚧🚧 Still buildin’ me ship o’ knowledge! 🚧🚧

Dubstep Meme

Temporary Assignment Text

Use the tools git, or ftp / scp fer t’ transfer yer own HTML files tae th’ webserv’r. Ye might need t’search a bit here t’figure out how this be done.

  • git - Allows ye t’instantiate GitHub repositories
  • ftp - File Transfer Protocol, a standard network protocol fer transferring files between a client and a server on a computer network.
  • scp - Secure Copy Protocol, a network protocol used t’to copy files between a local an’d external host, o’er betwixt two external hosts, using SSH fer secure transfer.
  • mv <map>/* <destination> - Moves all files from one folder to another, f.ex. mv My-GitHub-Repo/* /var/www/html/
  • cp -R <map>/* <destination> - Copies all files from one folder to another, f.ex. cp -R My-GitHub-Repo/* /var/www/html/
  • chown -R www-data:www-data /var/www/html/ - Changes th’ owner of all files in `/var/www/html/’ t‘“www-data”, which is th’user th’e webserver runs as’. This may be necessary so that the webserver has access t’the files.