Bearbeiten von „Diskussion:Server/srs13/2022

Zur Navigation springen Zur Suche springen
Warnung: Du bist nicht angemeldet. Deine IP-Adresse wird bei Bearbeitungen öffentlich sichtbar. Melde dich an oder erstelle ein Benutzerkonto, damit Bearbeitungen deinem Benutzernamen zugeordnet werden. Ein eigenes Benutzerkonto hat eine ganze Reihe von Vorteilen.

Die Bearbeitung kann rückgängig gemacht werden. Bitte prüfe den Vergleich unten, um sicherzustellen, dass du dies tun möchtest, und veröffentliche dann unten deine Änderungen, um die Bearbeitung rückgängig zu machen.

Aktuelle Version Dein Text
Zeile 1: Zeile 1:
== memcache ==
== Aktualisierung auf MediaWiki (von 1.23.10_2) 1.23.13 ==


Nachfolgend wird eine Vorüberlegung für die Einführung der Benutzung von ''memcache'' angestellt.
: <code>pkg update && pkg upgrade -y</code>
<pre></pre>
<pre>
Message from perl5-5.20.3_13:
The /usr/bin/perl symlink has been removed starting with Perl 5.20.
For shebangs, you should either use:
 
#!/usr/local/bin/perl


Darauf gekommen ist [[Benutzer:PaulRiegel|Paul]] wegen der [[mediawikiwiki:Extension:SpecialNamespaces]]. (Eigentlich ging es nur darum die Verwaltung von Namensräumen im MediaWiki richtig ordentlich zu machen.) Diese Extension setzt wohl die Verfügbarkeit zur Verwendung von ''memcache'' voraus.
or


; Was wohl gemacht werden müsste:
#!/usr/bin/env perl
Installieren von ''memcached''
 
: <code>pkg install -y [[freshports:databases/memcached|memcached]]</code>
The first one will only work if you have a /usr/local/bin/perl,
: <code>sysrc memcached_enable="YES"</code>
the second will work as long as perl is in PATH.
Installieren vom Modul für den Webserver (hier Apache&nbsp;2.4)?
</pre>
: <code>pkg install -y [[freshports:www/mod_memcache|ap24-mod_memcache]]</code>
<pre>
:* Modul bei ''/usr/local/etc/apache24/httpd.conf'' eintragen?
Message from python27-2.7.11_2:
: <code>[[mediawikiwiki:Memcached#Setup | $EDITOR /usr/local/www/mediawiki/LocalSettings.php]]</code>
===========================================================================
:* Verwendung bei MediaWiki eintragen und einstellen.


; weitere wohl möglicher hilfreiche Links:
Note that some standard Python modules are provided as separate ports
* [[mediawikiwiki:memcached]]
as they require additional dependencies. They are available as:
* http://coreboarder.com/blog/?p=61


== Aktualisierung von MediaWiki ==
bsddb          databases/py-bsddb
gdbm            databases/py-gdbm
sqlite3        databases/py-sqlite3
tkinter        x11-toolkits/py-tkinter


* (Jail stoppen)
===========================================================================
* (rekursiven Snapshot vom Dataset machen)
</pre>
<pre>
Message from mysql56-client-5.6.30:
* * * * * * * * * * * * * * * * * * * * * * * *


* gemäß [[mediawikiwiki:Manual:Upgrading]] erst einmal einen Dump der Datenbank erstellen
Please be aware the database client is vulnerable
*: <code>mysqldump --user=wikidb_user --password=wikidb_userpassword wikidb > file.sql</code>
to CVE-2015-3152 - SSL Downgrade aka "BACKRONYM".
* Datenbank sichern!
You may find more information at the following URL:


* Pakete innerhalb der Jail aktualisieren
http://www.vuxml.org/freebsd/36bd352d-299b-11e5-86ff-14dae9d210b8.html
*: <code>pkg update && pkg upgrade -y</code>


== Aktualisierung 2017-06-05 ==
Although this database client is not listed as
"affected", it is vulnerable and will not be
receiving a patch. Please take note of this when
deploying this software.


: <code>pkg update && pkg upgrade -y</code>
* * * * * * * * * * * * * * * * * * * * * * * *
</pre>
<pre>
<pre>
Updating FreeBSD repository catalogue...
Message from ghostscript9-agpl-base-9.16_5:
[srs13] Fetching meta.txz: 100%    964 B  1.0kB/s    00:01   
Note: in order to use the script "dvipdf", dvips must be installed.
[srs13] Fetching packagesite.txz: 100%    5 MiB  2.9MB/s    00:02   
This program is provided by another package print/tex-dvipsk.
Processing entries: 100%
FreeBSD repository update completed. 25079 packages processed.
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
New version of pkg detected; it needs to be installed first.
The following 1 package(s) will be affected (of 0 checked):


Installed packages to be UPGRADED:
FAPIfontmap and FAPIcidfmap in /usr/local/share/ghostscript/9.16/Resource/Init
pkg: 1.8.7_1 -> 1.9.4_1
have to be configured if you want to use FAPI feature.
Message from apache24-2.4.20_1:
To run apache www server from startup, add apache24_enable="yes"
in your /etc/rc.conf. Extra options can be found in startup script.


Number of packages to be upgraded: 1
Your hostname must be resolvable using at least 1 mechanism in
/etc/nsswitch.conf typically DNS or /etc/hosts or apache might
have issues starting depending on the modules you are using.


2 MiB to be downloaded.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[srs13] Fetching pkg-1.9.4_1.txz: 100%    2 MiB  2.2MB/s    00:01   
Checking integrity... done (0 conflicting)
[srs13] [1/1] Upgrading pkg from 1.8.7_1 to 1.9.4_1...
[srs13] [1/1] Extracting pkg-1.9.4_1: 100%
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
Checking for upgrades (99 candidates): 100%
Processing candidates (99 candidates): 100%
The following 100 package(s) will be affected (of 0 checked):


New packages to be INSTALLED:
- apache24 default build changed from static MPM to modular MPM
libnghttp2: 1.18.0
- more modules are now enabled per default in the port
- icons and error pages moved from WWWDIR to DATADIR


Installed packages to be UPGRADED:
  If build with modular MPM and no MPM is activated in
zsh: 5.2_3 -> 5.3.1
  httpd.conf, then mpm_prefork will be activated as default
xproto: 7.0.28 -> 7.0.31
  MPM in etc/apache24/modules.d to keep compatibility with
xcb-util: 0.4.0_1,1 -> 0.4.0_2,1
  existing php/perl/python modules!
webp: 0.5.0 -> 0.5.2
vim: 7.4.1832 -> 8.0.0134_1
videoproto: 2.3.2 -> 2.3.3
trousers: 0.3.13 -> 0.3.14_1
tiff: 4.0.6_2 -> 4.0.7_1
tcl86: 8.6.6 -> 8.6.6_2
subversion: 1.9.4 -> 1.9.5
sqlite3: 3.13.0_2 -> 3.15.1_1
serf: 1.3.8_1 -> 1.3.9_1
ruby: 2.2.5,1 -> 2.2.6_1,1
python27: 2.7.12 -> 2.7.13_1
png: 1.6.23 -> 1.6.27
pkgconf: 1_1 -> 1.1.0
php56-zlib: 5.6.24_1 -> 5.6.29
php56-xmlreader: 5.6.24_1 -> 5.6.29
php56-xml: 5.6.24_1 -> 5.6.29
php56-sockets: 5.6.24_1 -> 5.6.29
php56-session: 5.6.24_2 -> 5.6.29
php56-readline: 5.6.24_1 -> 5.6.29
php56-mysql: 5.6.24_1 -> 5.6.29
php56-mbstring: 5.6.24_1 -> 5.6.29
php56-json: 5.6.24_1 -> 5.6.29
php56-iconv: 5.6.24_1 -> 5.6.29
php56-hash: 5.6.24_1 -> 5.6.29
php56-dom: 5.6.24_1 -> 5.6.29
php56-ctype: 5.6.24_1 -> 5.6.29
php56: 5.6.24_1 -> 5.6.29
perl5: 5.20.3_14 -> 5.24.1.r4_1
pcre: 8.39 -> 8.39_1
pciids: 20160621 -> 20161225
p5-Socket: 2.021 -> 2.024
p5-Net-SSLeay: 1.77 -> 1.78
p5-Net-SMTP-SSL: 1.03 -> 1.04
p5-IO-Socket-SSL: 2.034 -> 2.038
p5-IO-Socket-IP: 0.37_1 -> 0.38
p11-kit: 0.23.2 -> 0.23.3
openssl: 1.0.2_14 -> 1.0.2j_1,1
openjpeg: 2.1.1 -> 2.1.2_1
nettle: 3.2 -> 3.3
mysql56-server: 5.6.30 -> 5.6.34
mysql56-client: 5.6.30 -> 5.6.34
mpfr: 3.1.4 -> 3.1.5
mod_php56: 5.6.24_1 -> 5.6.29
mediawiki123: 1.23.14 -> 1.23.15
mDNSResponder: 625.41.2 -> 765.20.4
llvm37: 3.7.1_2 -> 3.7.1_4
libxml2: 2.9.3 -> 2.9.4
libxcb: 1.11.1 -> 1.12
liblqr-1: 0.4.1_8 -> 0.4.2
libiconv: 1.14_9 -> 1.14_10
libgpg-error: 1.24 -> 1.26
libgcrypt: 1.7.2 -> 1.7.5
libXvMC: 1.0.9 -> 1.0.10
libXv: 1.0.10_3,1 -> 1.0.11,1
libXrender: 0.9.9 -> 0.9.10
libXrandr: 1.5.0 -> 1.5.1
libXpm: 3.5.11_4 -> 3.5.12
libXi: 1.7.6,1 -> 1.7.8,1
libXfixes: 5.0.1_3 -> 5.0.3
libX11: 1.6.3,1 -> 1.6.4,1
lcms2: 2.7_2 -> 2.8
jpeg-turbo: 1.4.2 -> 1.5.1
inputproto: 2.3.1 -> 2.3.2
indexinfo: 0.2.4 -> 0.2.6
icu: 55.1,1 -> 58.2,1
harfbuzz: 1.3.0 -> 1.3.4
gtk2: 2.24.29_2 -> 2.24.29_3
gsfonts: 8.11_6 -> 8.11_8
graphite2: 1.3.8 -> 1.3.9
gnutls: 3.4.14 -> 3.4.17
glib: 2.46.2_2 -> 2.46.2_4
git: 2.9.2_1 -> 2.11.0_3
giflib: 5.1.3 -> 5.1.4
gettext-runtime: 0.19.8.1 -> 0.19.8.1_1
gcc: 4.8.5_2 -> 4.9.4
fontconfig: 2.11.1_3,1 -> 2.12.1,1
fftw3: 3.3.3_2 -> 3.3.5
expat: 2.2.0 -> 2.2.0_1
dejavu: 2.35 -> 2.37
dbus: 1.8.20 -> 1.10.14
db5: 5.3.28_4 -> 5.3.28_6
cvsps: 2.1_1 -> 2.1_2
curl: 7.50.1 -> 7.52.1
cups: 2.1.4 -> 2.2.1
ca_root_nss: 3.26 -> 3.28
binutils: 2.25.1_3,1 -> 2.27_5,1
bash: 4.3.46_1 -> 4.4.5
apr: 1.5.2.1.5.4_1 -> 1.5.2.1.5.4_2
apache24: 2.4.23_1 -> 2.4.25_1
ImageMagick-nox11: 6.9.5.5_1,1 -> 6.9.6.4,1


Installed packages to be REINSTALLED:
Please compare the existing httpd.conf with httpd.conf.sample
p5-Mozilla-CA-20160104 (direct dependency changed: perl5)
and merge missing modules/instructions into httpd.conf!
p5-GSSAPI-0.28_1 (direct dependency changed: perl5)
p5-Error-0.17024 (direct dependency changed: perl5)
p5-Digest-HMAC-1.03_1 (direct dependency changed: perl5)
p5-Authen-SASL-2.16_1 (direct dependency changed: perl5)
libEGL-11.2.2 (needed shared library changed)


Number of packages to be installed: 1
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Number of packages to be upgraded: 93
</pre>
Number of packages to be reinstalled: 6
<pre>
Message from ruby-2.2.5,1:
====
Some of the standard commands are provided as separate ports for ease
of upgrading:
 
devel/ruby-gems: gem - RubyGems package manager
devel/rubygem-rake: rake - Ruby Make
 
And some of the standard libraries are provided as separate ports
since they require extra dependencies:
 
databases/ruby-gdbm: GDBM module


The process will require 141 MiB more space.
Install them as occasion demands.
273 MiB to be downloaded.
====
Message from openssl-1.0.2_12:
Copy /usr/local/openssl/openssl.cnf.sample to /usr/local/openssl/openssl.cnf
and edit it to fit your needs.
Message from mysql56-server-5.6.30:
************************************************************************
 
Remember to run mysql_upgrade the first time you start the MySQL server
after an upgrade from an earlier version.
 
************************************************************************
</pre>
</pre>
<pre></pre>
<pre>
Message from mod_php56-5.6.21:
***************************************************************
 
Make sure index.php is part of your DirectoryIndex.
 
You should add the following to your Apache configuration file:
 
<FilesMatch "\.php$">
    SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch "\.phps$">
    SetHandler application/x-httpd-php-source
</FilesMatch>
 
***************************************************************
Message from mediawiki123-1.23.13:
**** NOTE ****
Remember to check
 
/usr/local/www/mediawiki/INSTALL
 
and


== [https://shorturls.redwerks.org/?source=userdata&url=https%3A%2F%2Fwiki.stura.htw-dresden.de%2Findex.php%2FHauptseite&server=apache&mod_php=1&script=%2Findex.php&fcgi_pass=127.0.0.1%3A9000&hashed_uploads=1&articlepath=%2F%241 Redwerks ''MediaWiki ShortURL Builder''] ==
/usr/local/www/mediawiki/UPGRADE


These rules go inside the .htaccess file at "/.htaccess". If a .htaccess file already exists there you should merge these rules in with it. However if you have any existing rewrite rules for your article path or thumbnail handler you should probably erase those to avoid conflicting with these.
for details
</pre>
<pre>
<pre>
RewriteEngine On
Message from git-2.8.1:
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f
------------------------------------------------------------------------
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d
*************************** GITWEB *************************************
RewriteRule ^(.*)$ %{DOCUMENT_ROOT}/index.php [L]
If you installed the GITWEB option please follow these instructions:
 
In the directory /usr/local/share/examples/git/gitweb you can find all files to
make gitweb work as a public repository on the web.
 
All you have to do to make gitweb work is:
1) Copy the files /usr/local/share/examples/git/gitweb/* to a directory on
  your web server (e.g. Apache2) in which you are able to execute
  CGI-scripts.
2) In gitweb.cgi, adjust the variable $projectroot to point to
  your git repository (that is where you have your *.git project
  directories).
*************************** GITWEB *************************************
 
*************************** CONTRIB ************************************
If you installed the CONTRIB option please note that the scripts are
installed in /usr/local/share/git-core/contrib. Some of them require
other ports to be installed (perl, python, etc), which you may need to
install manually.  
*************************** CONTRIB ************************************
------------------------------------------------------------------------
</pre>
</pre>
<pre>
Message from ca_root_nss-3.22.2:
********************************* WARNING *********************************
FreeBSD does not, and can not warrant that the certification authorities
whose certificates are included in this package have in any way been
audited for trustworthiness or RFC 3647 compliance.
Assessment and verification of trust is the complete responsibility of the
system administrator.


This configuration is meant to go into your LocalSettings.php. There should be a small block already in there that is similar to this, replace that with these settings to setup the MediaWiki side of the Short URL config.
*********************************** NOTE **********************************
<pre>
 
## The URL base path to the directory containing the wiki;
This package installs symlinks to support root certificates discovery by
## defaults for all runtime URL paths are based off of this.
default for software that uses OpenSSL.
## For more information on customizing the URLs please see:
 
## http://www.mediawiki.org/wiki/Manual:Short_URL
This enables SSL Certificate Verification by client software without manual
$wgScriptPath = "";
intervention.
$wgScriptExtension = ".php";
$wgArticlePath = "/$1";
</pre>


== webproxy ==
If you prefer to do this manually, replace the following symlinks with
either an empty file or your site-local certificate bundle.


srs13 (aka die Instanz fürs MediaWiki vom StuRa) wird gerade durch einen (vorgeschalteten) Webproxy ausgeliefert.
  * /etc/ssl/cert.pem
  * /usr/local/etc/ssl/cert.pem
  * /usr/local/openssl/cert.pem


Er wurde durch Clemens 2020-09-0d erstellt.
***************************************************************************
</pre>


Nachfolgend ist Platz für weitere Dokumentation.
== Versenden von Mails von MediaWiki für MediaWiki ==
Seit dem Umzug 2015 ging das Versenden von Mails für das MediaWiki nicht. Die bisherige Konfiguration beabsichtigte das Versenden von Mails - wie es eigentlich auch richtig ist - über den zentralen Dienst für SMTP beim StuRa.


Da sowohl www.wiki.stura.htw-dresden.de als auch wiki.stura.htw-dresden.de als DNS-Einträge existieren haben Sören und Paul versucht, über die nginx config beide Domains auf das Wiki zu leiten. Das funktioniert aber mit dem Zertifikat nicht, da das nur für wiki.stura.htw-dresden.de gültig ist.
Um "auf die Schnelle" das Problem zu beheben wurde sendmail (in der Jail) erlaubt.
Die Einstellungen in der confconsole scheinen nicht angewendet zu werden, daher konnte das Problem nicht behoben werden.
: <code>ee /usr/local/www/mediawiki/LocalSettings.php</code>
Mit der momentanen Konfiguration leitet anscheinend der Wiki-Server selbst von www.wiki.stura.htw-dresden.de auf wiki.stura.htw-dresden.de um.
<pre>
#$wgSMTP = array (                                                                                 
</pre>
<pre>
#   
</pre>
<pre>
#);
</pre>
: <code>ee /etc/rc.conf</code>
<pre>
#sendmail_enable="NO"
sendmail_enable="YES"
</pre>
: <code>service sendmail start</code>

Bitte beachte, dass alle Beiträge zu Wiki StuRa HTW Dresden von anderen Mitwirkenden bearbeitet, geändert oder gelöscht werden können. Reiche hier keine Texte ein, falls du nicht willst, dass diese ohne Einschränkung geändert werden können.

Du bestätigst hiermit auch, dass du diese Texte selbst geschrieben hast oder diese von einer gemeinfreien Quelle kopiert hast (weitere Einzelheiten unter StuRa HTW Dresden:Urheberrechte). ÜBERTRAGE OHNE GENEHMIGUNG KEINE URHEBERRECHTLICH GESCHÜTZTEN INHALTE!

Bitte beantworte die folgende Frage, um diese Seite speichern zu können (weitere Informationen):

Abbrechen Bearbeitungshilfe (wird in einem neuen Fenster geöffnet)