Diskussion:Server/srs13/2022: Unterschied zwischen den Versionen

Aus Wiki StuRa HTW Dresden
Zur Navigation springen Zur Suche springen
KKeine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
== 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>
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.
<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
; Was wohl gemacht werden müsste:
Installieren von ''memcached''
: <code>pkg install -y [[freshports:databases/memcached|memcached]]</code>
: <code>sysrc memcached_enable="YES"</code>
Installieren vom Modul für den Webserver (hier Apache&nbsp;2.4)?
: <code>pkg install -y [[freshports:www/mod_memcache|ap24-mod_memcache]]</code>
:* Modul bei ''/usr/local/etc/apache24/httpd.conf'' eintragen?
: <code>[[mediawikiwiki:Memcached#Setup | $EDITOR /usr/local/www/mediawiki/LocalSettings.php]]</code>
:* Verwendung bei MediaWiki eintragen und einstellen.


or
; weitere wohl möglicher hilfreiche Links:
 
* [[mediawikiwiki:memcached]]
#!/usr/bin/env perl
* http://coreboarder.com/blog/?p=61
 
The first one will only work if you have a /usr/local/bin/perl,
the second will work as long as perl is in PATH.
</pre>
<pre>
Message from python27-2.7.11_2:
===========================================================================
 
Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:
 
bsddb          databases/py-bsddb
gdbm            databases/py-gdbm
sqlite3        databases/py-sqlite3
tkinter        x11-toolkits/py-tkinter
 
===========================================================================
</pre>
<pre>
Message from mysql56-client-5.6.30:
* * * * * * * * * * * * * * * * * * * * * * * *
 
Please be aware the database client is vulnerable
to CVE-2015-3152 - SSL Downgrade aka "BACKRONYM".
You may find more information at the following URL:
 
http://www.vuxml.org/freebsd/36bd352d-299b-11e5-86ff-14dae9d210b8.html
 
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.
 
* * * * * * * * * * * * * * * * * * * * * * * *
</pre>
<pre>
Message from ghostscript9-agpl-base-9.16_5:
Note: in order to use the script "dvipdf", dvips must be installed.
This program is provided by another package print/tex-dvipsk.
 
FAPIfontmap and FAPIcidfmap in /usr/local/share/ghostscript/9.16/Resource/Init
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.
 
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.
 
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
- apache24 default build changed from static MPM to modular MPM
- more modules are now enabled per default in the port
- icons and error pages moved from WWWDIR to DATADIR
 
  If build with modular MPM and no MPM is activated in
  httpd.conf, then mpm_prefork will be activated as default
  MPM in etc/apache24/modules.d to keep compatibility with
  existing php/perl/python modules!
 
Please compare the existing httpd.conf with httpd.conf.sample
and merge missing modules/instructions into httpd.conf!
 
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
</pre>
<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
 
Install them as occasion demands.
====
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>
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
 
/usr/local/www/mediawiki/UPGRADE
 
for details
</pre>
<pre>
Message from git-2.8.1:
------------------------------------------------------------------------
*************************** GITWEB *************************************
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>
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.
 
*********************************** NOTE **********************************
 
This package installs symlinks to support root certificates discovery by
default for software that uses OpenSSL.
 
This enables SSL Certificate Verification by client software without manual
intervention.
 
If you prefer to do this manually, replace the following symlinks with
either an empty file or your site-local certificate bundle.
 
  * /etc/ssl/cert.pem
  * /usr/local/etc/ssl/cert.pem
  * /usr/local/openssl/cert.pem
 
***************************************************************************
</pre>
 
== 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.
 
Um "auf die Schnelle" das Problem zu beheben wurde sendmail (in der Jail) erlaubt.
: <code>ee /usr/local/www/mediawiki/LocalSettings.php</code>
<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>

Version vom 15. Mai 2016, 22:18 Uhr

Nachfolgend wird eine Vorüberlegung für die Einführung der Benutzung von memcache angestellt.

Darauf gekommen ist 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.

Was wohl gemacht werden müsste

Installieren von memcached

pkg install -y memcached
sysrc memcached_enable="YES"

Installieren vom Modul für den Webserver (hier Apache 2.4)?

pkg install -y ap24-mod_memcache
  • Modul bei /usr/local/etc/apache24/httpd.conf eintragen?
$EDITOR /usr/local/www/mediawiki/LocalSettings.php
  • Verwendung bei MediaWiki eintragen und einstellen.
weitere wohl möglicher hilfreiche Links