Server Guide - marist-sga/documentation GitHub Wiki
- Open terminal
- ssh into the server
$ ssh <kaccount>@sga.dev.it.marist.edu
- Password is your Marist password
- Change directory to the sga web applications
$ cd /data/sga_webapps/htdocs/
- Look at all the projects
$ ls
- 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.
To edit the apache configuration file
- Make sure your are ssh onto the server (see above section)
- Edit the file
sudo vi /etc/apache2/vhosts.d/lxsga3.conf
You may not need to run that assudo
depending on your access.
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 runssudo systemctl restart apache2