Online Resources: Difference between revisions

From FSU Fox's Lab Wiki
Jump to navigation Jump to search
Line 4: Line 4:


the web service is provided by Apache2 2.4.41. Installed by  
the web service is provided by Apache2 2.4.41. Installed by  
$sudo apt install apache2


The webpage is stored at /var/www/html/
The webpage is stored at /var/www/html/
Line 11: Line 9:
There are two "personal" webpage located at /home/<user>/public_html/
There are two "personal" webpage located at /home/<user>/public_html/


=== Mods ===
people requires a "personal" webpage could contact Ryan mailto:rtang@fsu.edu
 
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>


= postfix =
= postfix =

Revision as of 02:06, 25 April 2022

Most of the resources are hosted at fsunuc.

Web

the web service is provided by Apache2 2.4.41. Installed by

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

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

people requires a "personal" webpage could contact Ryan mailto:rtang@fsu.edu

postfix

The university forbids the use of port 25 for stmp.

change the local stmp port to be 9896. Any stmp service can be sent to localhost:9896.

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

installation

Configuration

Apache2 Proxy

Connect InfluxDB

InfluxDB

Git

We use Gogs as the git repository "manager".

installation

Settings

a complete settings can be found here

Apache Proxy

Wiki