Online Resources

From FSU Fox's Lab Wiki
Revision as of 21:18, 8 April 2022 by Rtang (talk | contribs) (→‎Elog)
Jump to navigation Jump to search

Most of the resources are hosted at fsunuc.

Web

the web service is provided by Apache2 2.4.41. Installed by

$sudo apt install apache2

The webpage is stored at /var/www/html/

There are two "personal" webpage located at /home/<user>/public_html/

Mods

The Apache enabled following mods:

access_compat.load   
alias.conf           
alias.load           
auth_basic.load      
authn_core.load      
authn_file.load      
authz_core.load      
authz_groupfile.load 
authz_host.load      
authz_user.load      
autoindex.conf       
autoindex.load       
deflate.conf         
deflate.load         
dir.conf             
dir.load             
dump_io.load         
env.load             
filter.load          
mime.conf            
mime.load            
mpm_prefork.conf     
mpm_prefork.load     
negotiation.conf     
negotiation.load     
php7.4.conf          
php7.4.load          
proxy_balancer.conf  
proxy_balancer.load  
proxy.conf           
proxy_http.load      
proxy.load           
reqtimeout.conf      
reqtimeout.load      
rewrite.load         
setenvif.conf        
setenvif.load        
slotmem_shm.load     
socache_shmcb.load   
ssl.conf             
ssl.load             
status.conf          
status.load          
userdir.conf         
userdir.load

Configuration

The conf file for the web server is

fsunuc.conf

<VirtualHost *:80>	
	ServerName fsunuc.physics.fsu.edu
	ServerAdmin webadmin@localhost
	DocumentRoot /var/www/html/

	ErrorLog ${APACHE_LOG_DIR}/error.log
	CustomLog ${APACHE_LOG_DIR}/access.log combined
	
	#Redirect hhtp to https
	RewriteEngine On
	RewriteCond %{HTTPS} !=on
	RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R=301,L]
	
	<Directory /var/www/html>
		AllowOverride All
	</Directory>

	<Directory "/*/*/public_html">
		AllowOverride FileInfo AuthConfig Limit
		Options +MultiViews -Indexes +SymLinksIfOwnerMatch +ExecCGI
		<Limit GET POST OPTIONS>
			Order allow,deny
			Allow from all
		</Limit>
	</Directory>
</VirtualHost>

For the https

<VirtualHost *:443>	
	ServerName fsunuc.physics.fsu.edu
	ServerAdmin webadmin@localhost 
	DocumentRoot /var/www/html/

	ErrorLog ${APACHE_LOG_DIR}/error.log
	CustomLog ${APACHE_LOG_DIR}/access.log combined	
	
	SSLEngine on
	SSLCertificateFile /etc/apache2/certificate/localhost.crt
	SSLCertificateKeyFile /etc/apache2/certificate/localhost.key
	
	<Directory /var/www/html>
		AllowOverride All
	</Directory>
	<Directory "/*/*/public_html">
		AllowOverride FileInfo AuthConfig Limit
		Options +MultiViews -Indexes +SymLinksIfOwnerMatch +ExecCGI
		<Limit GET POST OPTIONS>
			Order allow,deny
			Allow from all
		</Limit>
	</Directory>
</VirtualHost>

Elog

Version 3.1.4.3

installation

using apt only give 3.1.3

Download the tar ball

$wget https://elog.psi.ch/elog/download/tar/elog-3.1.4-3.tar.gz

Configuration

Setup Apache2

Grafana

InfluxDB

Git

Wiki