Anyone with a CSE account has access to a personal web site. All files placed in the public_html
subdirectory of your home directory will appear as https://www.cs.nmt.edu/~<username>
visible to the whole internet. For an example if you CSE account username is riley
than your personal website would be at the url https://www.cs.nmt.edu/~riley
SSH into the login server. In your home directory, create a 'public_html' directory and set permissions likeso:
mkdir ~/public_html
chmod -R 755 ~/public_html
Your browser may not automatically show you your changes. If you see no changes after reloading the page, try clearing the browser's cache and reloading the page again.
Every time you add files to your 'public_html' folder, run the command:chmod -R 755 ~/public_html
In your public_html, create index.html
and write some content. This content will make up the home page of your website.
cd ~/public_html
vim index.html
To see it, go to https://www.cs.nmt.edu/~<username>
.
In your public_html, create <page_name>.html
and write some content.
cd ~/public_html
vim page_name.html
To see it, go to https://www.cs.nmt.edu/~<username>/page_name.html
.
Copy your file into public_html
. You can add CSS and JS scripts to enhance your HTML pages. There are many ways to copy a file to the login server. SCP is a popular method.
To copy a file on linux:
scp <file_name> <username>@login.cs.nmt.edu:/fserv/home/<username>/public_html/<file_name>
If you perfer a GUI, FileZilla is good option. Just remember to specify the port as 22.
To see it, go to https://www.cs.nmt.edu/~<username>/<file>
.
For example, if you upload resume.pdf
in your public_html
you can see it by going to https://www.cs.nmt.edu/~<username>/resume.pdf
.
To create a folder, create a directory and set permission.
mkdir ~/public_html/<folder>
chmod -R 755 ~/public_html
To see the index of the folder(list of files within the folder),
go to https://www.cs.nmt.edu/~<username>/<folder>
.
To see a file within a folder,
go to https://www.cs.nmt.edu/~<username>/<folder>/<file>
.
Faculty can request a Wordpress webserver with a custom subdomain (example.cs.nmt.edu
) by emailing cshelp@nmt.edu.