MediaWiki Install 2022-01-22: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
[[Category:OpenDevOps]] | [[Category:OpenDevOps]] | ||
First version: | * First version: https://wiki.heatsynclabs.org/wiki/MediaWiki_On_Lightsail | ||
https://wiki.heatsynclabs.org/wiki/MediaWiki_On_Lightsail | * See Also: [[MediaWiki_On_Lightsail]], a copy of HSL install. | ||
* I feel like I got really far with this, even building in automated backup to S3, but I can't find the documentation. | |||
See Also: [[MediaWiki_On_Lightsail]], a copy of | * [[MediaWikiHerdSecuritiesInstall]] | ||
I feel like I got really far with this, even building in automated backup to S3, but I can't find the documentation. | |||
= HerdSecurities Install = | = HerdSecurities Install = |
Revision as of 02:05, 12 January 2022
- First version: https://wiki.heatsynclabs.org/wiki/MediaWiki_On_Lightsail
- See Also: MediaWiki_On_Lightsail, a copy of HSL install.
- I feel like I got really far with this, even building in automated backup to S3, but I can't find the documentation.
- MediaWikiHerdSecuritiesInstall
HerdSecurities Install
Lightsail Instance
Initialization Script
apt update -y apt upgrade -y apt install -y emacs-nox apt install -y apache2 certbot python3-certbot-apache apt install -y mariadb-server php php-mysql libapache2-mod-php php-xml php-mbstring # Extra Features: apt install -y php-apcu php-intl imagemagick php-cli php-curl git
OS Only, Debian Latest, Second Smallest Instance Type
Set a static IP (35.81.57.143)
DNS A record pointing wiki.herdsecurities.com to 35.81.57.143
Certbot SSL
Create the wiki conf
$ sudo emacs -nw /etc/apache2/sites-available/003-wiki.conf <VirtualHost *:80> ServerName wiki.herdsecurities.com ServerAdmin webmaster@localhost DocumentRoot /var/www/mediawiki ErrorLog ${APACHE_LOG_DIR}/wiki-error.log CustomLog ${APACHE_LOG_DIR}/wiki-access.log combined </VirtualHost>