Infrastructure: Difference between revisions

imported>Echarlie
→Current Setup: milton is dead
imported>Echarlie
→Current Setup: milton is dead, thank god!
Line 97: Line 97:
=== Current Setup ===
=== Current Setup ===


All vtluug websites are run on nginx on [[sczi|Infrastructure:Sczi]]. These sites are currently functional:
All vtluug websites are run on nginx on [[Infrastructure:Sczi|sczi]]. These sites are currently functional:
* gobblerpedia.org
* gobblerpedia.org
* hokieprivacy.org
* hokieprivacy.org
Line 104: Line 104:
* wiki.vtluug.org (this redirects to vtluug.org/wiki/)
* wiki.vtluug.org (this redirects to vtluug.org/wiki/)


All of these sites exclusively allow for the use of TLS connections. Hokie Privacy has a cert from letsencrypt,
All of these sites exclusively allow for the use of TLS connections. All services use automatically updated
while all other services are verified by StartCom.
letsencrypt certs.
 
Currently, milton has '''no startup script''' for the website. If things go down, someone has to run
<pre>root@milton:/srv/http/vtluug.org# sudo -u www-data uwsgi --yaml uwsgi.yml</pre>
in a tmux session, to restart [https://uwsgi-docs.readthedocs.org/en/latest/ uWSGI]. It is also
unlikely that nginx will start properly because of weird dependencies on uWSGI, though it can be started with
<pre># /etc/init.d/nginx restart</pre>


==== Main Page ====
==== Main Page ====
The main VTLUUG page has a lot of cruft from lack of maintenance. There is a non-functional drupal
The main VTLUUG page was scraped from the [[Internet Archive]] and added created as a github page at
backend, the wsgi apps that do nothing more than reload from the git repo for the site, and some
[vtluug.github.io], and is reverse-proxied through sczi.
django serving little-to-no content.
 
It currently appears that the main vtluug page (mostly written in php), is or was managed from
[https://vtluug.org/atrium Drupal] as a backend, but for that to function, mysql needs to be running.
uWSGI, django, and PHP appear make up most of the important features of the website in unknown ways.
 
In short, [[user:echarlie|echarlie]] doesn't want to try to maintain what is in place, but would rather
start from scratch and the existing HTML for the website.
 
The site currently runs on milton, but is reverse-proxied through sczi for TLSv1.2 support.


==== Wiki ====
==== Wiki ====


The wiki currently runs fully on MediaWiki hosted on nginx (as opposed to the default include of apache2,
The wiki currently runs fully on MediaWiki hosted on nginx. Postgres is used for the database and authentication
demanded by the Debian package). Postgres is used for the database management, AFAIK, and authentication
is through LDAP. MediaWiki is running the current stable version as of March 2017, courtesy hard work by
is through LDAP. MediaWiki is a dated git version from the stablerepository, as of March 2016, however
[[user:pew|pew]].
updating is more complicated than a git pull. [[user:echarlie|echarlie]] ran a database update in mid-March.
 
The wiki currently runs on milton, but is reverse-proxied through sczi for TLSv1.2 support.


===== Gobblerpedia =====
===== Gobblerpedia =====


All but disabled currently, due to spam. Runs on MediaWiki on milton.
Runs on the same Mediawiki instance as this wiki, with its schema in the same Postgres database. Currently, you can auth
with LDAP, pre-existing accounts, or a Google account in the VT hosted domain.


==== Linx ====
==== Linx ====
Line 145: Line 127:
[https://linx.li linx.li]. One of the few sites with a complete startup script. The maintenance is currently the responsibility
[https://linx.li linx.li]. One of the few sites with a complete startup script. The maintenance is currently the responsibility
of aam, however this is subject to change, pending his retaining root access on sczi.
of aam, however this is subject to change, pending his retaining root access on sczi.
Runs on sczi.


=== Historically ===
=== Historically ===