Difference between revisions of "Web Services"
From Systems Group
Primetoxinz (Talk | contribs) |
Primetoxinz (Talk | contribs) |
||
Line 21: | Line 21: | ||
$ webcli start | $ webcli start | ||
Username: <username> | Username: <username> | ||
− | Password: | + | Password: ********** |
Service is starting. It will be available at <nowiki>https://web.cs.odu.edu/~<username></nowiki> soon. | Service is starting. It will be available at <nowiki>https://web.cs.odu.edu/~<username></nowiki> soon. | ||
This may take a few moments. | This may take a few moments. |
Revision as of 17:51, 12 February 2020
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 new 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.