The host name of the server is cs3.calstatela.edu. The server supports remote access through SecureShell (SSH). To log on to the server, you need to use an SSH client such as PuTTY. For file transfer, use WinSCP (Windows only), or FileZilla (Windows, MacOS, Linux), or some software that supports the Secure File Transfer Protocol (SFTP). Here are a couple of videos showing how to use WinSCP and FileZilla:

Resources

Please see the table below for the resources available for a particular course:

  CS1220 CS1222 CS3220 CS4222 CS4961/4962 CS5220
NGINX / PHP 7 Y Y Y Y Y Y
Tomcat 9     Y   Y Y
MySQL 8   Y Y Y Y Y

NGINX/PHP

Once you log on to the server, you will see a public_html directory under your home directory. You may place your HTML and PHP files under this directory, and access them using the URL http://cs3.calstatela.edu/~<username>/filename. Note that there is a ~ in the URL, and you should replace <username> with your actual login name on the server.

Tomcat

Once you log on to the server, you will see a www directory under your home directory. Under www, the following directories are created for you (the directory names are case sensitive). Please do not remove or change the file permissions of these directories.

Directory Description
WEB-INF  
WEB-INF/classes for servlets and other Java classes.
WEB-INF/lib for libraries packaged in jar files.

You may place your web.xml file, servlet class files and JSP files in the proper subdirectories, and access them using the following URLs:

Note that you should replace <username> with your actual login name on the server, and the ServletName depends the URL mapping specified in the @WebServlet annotation of the servlet, i.e. it's not necessarily the name of the servlet class.

MySQL

The easiest way to access your MySQL database on CS3 is to use Adminer at http://cs3.calstatela.edu/adminer-mysql.php. Adminer is a web application, so no additional software installation is needed. Just enter your username and password and that's it.

If you use MySQL Workbench, use the following for the database connection:

Last Updated: 01/08/2021 15:24 Views: 509