Web Services
From Systems Group
Revision as of 17:58, 12 February 2020 by Primetoxinz (Talk | contribs)
The ODU CS Department provides faculty and students the ability to host web pages from their CS Unix Account.
Users interact with this system through two main components, the ~/secure_html
directory and the command line tool webcli
Basic Usage
- Initial setup
- SSH into the department's Linux servers (linux-new.cs.odu.edu)
- Run the following commands to create a directory at /home/<username>/secure_html and give read and directory listing permissions to other user set:
mkdir ~/secure_html chmod o+rx ~/secure_html
- Add some serve-able content to your ~/secure_html directory, a simple example:
echo "Hello world!" > ~/secure_html/index.html chmod o+r ~/secure_html/index.html
- To start the personal webserver, users must use the
webcli
tool:
webcli start
- This command will prompt for your CS account password, to ensure only you can start your own webpage.
- A successful command will look like so:
$ webcli start Username: <username> Password: ********** Service is starting. It will be available at https://web.cs.odu.edu/~<username> soon. This may take a few moments.