Skip to content
Dan Mopsick edited this page Apr 8, 2018 · 5 revisions

SSH onto Development Server

  1. Open terminal
  2. ssh into the server

$ ssh <kaccount>@sga.dev.it.marist.edu

  1. Password is your Marist password
  2. Change directory to the sga web applications

$ cd /data/sga_webapps/htdocs/

  1. Look at all the projects

$ ls

  1. Change directory into the pertinent project. Usually sga-website

$ cd sga-website

You'll follow the same steps for our production (sga.marist.edu) server.

Apache Config

To edit the apache configuration file

  1. Make sure your are ssh onto the server (see above section)
  2. Edit the file

sudo vi /etc/apache2/vhosts.d/lxsga3.conf You may not need to run that as sudo depending on your access.

Starting and stopping

To see the status of the server:

sudo systemctl status apache2

Restart the server:

sudo systemctl restart apache2

There are different ways you can do this like to restart you could also run:

sudo service apache2 restart But what that does is runs sudo systemctl restart apache2

Clone this wiki locally