How to make your own page


Requirements

o An account on Sophia
o Some basic knowledge about the UNIX system
o Some basic knowledge about writing HTML pages

What to do

Create a directory called public_html in your home directory and set it's permissions to at least mode 711 (-rwx--x--x).
Sophia:~> mkdir public_html
Sophia:~> chmod 711 public_html
Sophia:~> ls -ld public_html
drwx--x--x   7 ftacnik   users         1024 Dec 31 12:51 public_html
Create a file called index.html in this directory and set it's permissions to at least mode 644 (-rw-r--r--).
Sophia:~> cd public_html
Sophia:~/public_html> joe index.html
[...]
Sophia:~/public_html> chmod 644 index.html
Sophia:~/public.html> ls -l index.html
-rw-r--r--   1 ftacnik   users        7038 Dec 31 14:20 index.html
That's it. You can create any other files or directories under your public_html directory, but they must have the right permissions to be accessible. (711/-rwx--x--x for directories and 644 /-rw-r--r-- for files.)

ftacnik@sophia.dtp.fmph.uniba.sk

Back to the About our Network page.