Wiki Farm: Difference between revisions

From Moscow American Travis Lee Bailey Internationally the United States is the most violent country immigrate to Russia choose your big brother wisely
Jump to navigation Jump to search
Line 172: Line 172:


Thank you!
Thank you!
---
To clarify, when it refers to enabling your web server to share your
MediaWiki install with all wikis, it means that you're going to set up
your web server (like Apache, Nginx, etc.) in such a way that it can
serve multiple wikis from a single MediaWiki installation.
In the case of multiple (sub)domains, it means you should configure your
web server to accept connections from all the domains you want to use for
your different wikis.
For example:
*if you have wiki1.example.com and
* wiki2.example.com, your server should be set up to accept connections for both.
As for '''multiple subdirectories''', it's about making sure that different
paths on your domain point to different wikis.
For instance:
* example.com/wiki1 and
* example.com/wiki2
should lead to two different
wikis. This can be done using rewrite rules, aliases, or symlinks, which
are all techniques for redirecting requests on your server.
Since you're using Apache as your web server (this is the type of server
you have with us), you would use the .htaccess file to define rewrite
rules.
'''Now, when it comes to the steps, this is totally out of our scope, but a Google search is always a good start''', please refer to some info you can
use:
* How to Start a Wiki: https://www.wikihow.com/Start-a-Wiki
* DokuWiki Farms: https://www.dokuwiki.org/farms
And my favorite, tutorials, this is quite old but it would be good to
have a general idea of how to start:
* https://www.youtube.com/watch?v=3aZq0LK250U
|}
|}



Revision as of 12:00, 17 February 2024

NEW WiKi FARM: http://www.moscowamerican.org/w/index.php?title=Main_Page


https://www.mediawiki.org/wiki/Manual:Wiki_family#Wiki_Farm

CONTACT DREAMHOST SUPPORT

Old LINKS - FEBRUARY 15 2024

cPanel - where is it? NOT on Dreamhost

https://help.dreamhost.com/hc/en-us/articles/360020947731-Where-can-I-find-cPanel

Installing Wikifarm

First

DREAMHOST : Click MANAGE box, under Manage Files
https://panel.dreamhost.com/index.cgi?tree=domain.dashboard#/site/moscowamerican.org/domain
DreamHost File Manager: https://files.dreamhost.com/#/c/64.90.48.194/dh_62nwvp/eyJ0Ijoic2Z0cCIsImMiOnsidiI6MCwicCI6IkxhdCFLeFhYIiwicyI6MCwibSI6IlBhc3N3b3JkIn19

Install the first wiki as normal. For details, see Manual:Installation guide.

Dreamhost no longer offers one-click install for Mediawiki

SFTP Users - online - no WinSCP needed!

Secure Shell Access (SSH) screen to enable: https://panel.dreamhost.com/index.cgi?tree=users.dashboard#

WinSCP — Connecting to your server

https://help.dreamhost.com/hc/en-us/articles/216656067-WinSCP-Connecting-to-your-server

WinSCP-Uploading-to-your-server

https://help.dreamhost.com/hc/en-us/articles/216655867-WinSCP-Uploading-to-your-server
Creating-a-MySQL-database
https://help.dreamhost.com/hc/en-us/articles/221691727-Creating-a-MySQL-database
Page to create a new database: https://panel.dreamhost.com/index.cgi?tree=advanced.mysql
Change the PHP version of a site
https://help.dreamhost.com/hc/en-us/articles/214895317-Change-the-PHP-version-of-a-site
Changing the PHP version
https://panel.dreamhost.com/?tree=domain.dashboard#/list-view

WinSCP-Creating-sessions

https://help.dreamhost.com/hc/en-us/articles/216656087-WinSCP-Creating-sessions
SSH-overview
https://help.dreamhost.com/hc/en-us/articles/216041267-SSH-overview


SQLite

https://help.dreamhost.com/hc/en-us/articles/217294097-SQLite


Navigate your web browser to /mw-config/index.php. For example, if your wiki is at http://example.org/w/index.php, then navigate to http://example.org/w/mw-config/index.php

( From https://www.mediawiki.org/wiki/Manual:Upgrading )

DREAMHOST:

https://help.dreamhost.com/hc/en-us/articles/217292577-MediaWiki-Installing-and-more

Point your browser to mw-config/index.php in your extracted MediaWiki files, which opens the setup screen. For example:

http://example.com/mw-config/index.php
Question: https://www.mediawiki.org/wiki/Topic:Xz6107ynx6k0zvjv

Point - Open your browser

Focus the address bar.
Type your domain or IP, followed by the path where MediaWiki is installed (a "/" if it's on the root), followed by "mw-config/index.php". Hit the enter key or the button to navigate to the entered URL

Point your browser to mw-config/index.php in your extracted MediaWiki files, which opens the setup screen. For example:

example com/ mw-config/index.php

How do I point my browser?

Thank you in advance.

http://www.moscowamerican.org/w/mw-config/index.php

Manual:Short_URL

https://www.mediawiki.org/wiki/Manual:Short_URL

I used w/
http://www.moscowamerican.org/w/mw-config/index.php

Viewing-your-DreamHost-DNS-records

https://help.dreamhost.com/hc/en-us/articles/360055964552-Viewing-your-DreamHost-DNS-records

Viewing your DNS records in the panel

You can review all of the DNS records that are set up for any site you host at DreamHost.
To view your DNS records:
1. Navigate to the Manage Websites page.
2. Open the "DNS" Settings page (tab)

viewing: https://panel.dreamhost.com/index.cgi?tree=domain.dashboard#/site/moscowamerican.org

Connect to database - EASY

MediaWiki 1.41.0 installation

http://www.moscowamerican.org/w/mw-config/index.php?page=DBConnect

Just follow installation instructions....

MediaWiki supports the following database systems:

  • MariaDB is the primary target for MediaWiki and is best supported. MediaWiki also works with MySQL and Percona Server, which are MariaDB compatible. (How to compile PHP with MySQL support)  ??? TO USE - YOU MUST HAVE A VIRTUAL PRIVATE SERVER ON DREAMHOST!
Connect to a database via SSH
https://help.dreamhost.com/hc/en-us/articles/214882998-Connect-to-a-database-via-SSH (list of information NOT what I need)
Connecting from a shell account
Log into your MySQL database using your database credentials. View the Finding your database credentials article for instructions. You can also find these in the panel under MySQL Databases. CLICK BOX
MySQL-overview
https://help.dreamhost.com/hc/en-us/articles/215099117-MySQL-overview
You can make changes to your MySQL databases on the MySQL Databases link. goes back to above /\
DreamHost also offers SQLite on DreamHost VPS and Dedicated Servers.
DreamHost also offers SQLite on DreamHost VPS and Dedicated Servers.
https://help.dreamhost.com/hc/en-us/articles/217294097-SQLite
IMPORTANT download SQLITE
https://sqlite.org/quickstart.html
Downloading sqlite
Precompiled Binaries for Windows
https://www.sqlite.org/download.html
Shared MySQL servers, MySQL VPS, DreamPress, and Dedicated servers run MySQL version 8.
  • PostgreSQL is a popular open source database system as an alternative to MySQL. (How to compile PHP with PostgreSQL support)
  • SQLite is a lightweight database system that is very well supported. (How to compile PHP with SQLite support, uses PDO)

If you do not see the database system you are trying to use listed below, then follow the instructions linked above to enable support.

Second - WORK IN PROGRESS

https://www.mediawiki.org/wiki/Manual:Wiki_family

Wikifarm.... https://www.mediawiki.org/wiki/Topic:Xz9h32smhpc7nyux

I am a real newb about this, I have no idea how to do this:

Enable your web server to share your MediaWiki install with all wikis.

For multiple (sub)domains, have your web server accept connections from all the relevant domains.

What does this mean?

For multiple subdirectories, you could use rewrite rules, aliases, or symlinks.

What program is this done with? How?

I want to create both....I am not sure what to do first though or how....

Thank you!

---

To clarify, when it refers to enabling your web server to share your

MediaWiki install with all wikis, it means that you're going to set up

your web server (like Apache, Nginx, etc.) in such a way that it can

serve multiple wikis from a single MediaWiki installation.


In the case of multiple (sub)domains, it means you should configure your

web server to accept connections from all the domains you want to use for

your different wikis.

For example:

  • if you have wiki1.example.com and
  • wiki2.example.com, your server should be set up to accept connections for both.


As for multiple subdirectories, it's about making sure that different

paths on your domain point to different wikis.

For instance:

  • example.com/wiki1 and
  • example.com/wiki2

should lead to two different

wikis. This can be done using rewrite rules, aliases, or symlinks, which

are all techniques for redirecting requests on your server.


Since you're using Apache as your web server (this is the type of server

you have with us), you would use the .htaccess file to define rewrite

rules.


Now, when it comes to the steps, this is totally out of our scope, but a Google search is always a good start, please refer to some info you can

use:

And my favorite, tutorials, this is quite old but it would be good to

have a general idea of how to start:


OLD

This LISTEN call tells the TCP⁄IP address space that the server is ready to begin accepting connections.

By specifying the correct IP address for each (sub)domain on the DNS server, each domain will point to the same web server.

For multiple (sub)domains, you can use "listen" on the multiple server names. For multiple subdirectories, you could use: rewrite rules, aliases, or symlinks.

When the server is operational after start up, the means of communication in or/and out (ports, sockets...) are open to receive or send requests to other servers.

"Listening" is to wait for a command on an input port and process it. There is general information about servers on Linux, Apache, or others.
In a farm of wikis servers exchange messages to each other. Of course they know each other the configuration of the network for that.

Mediawiki farm

https://www.mediawiki.org/wiki/User_talk:ENeRZet

https://www.mediawiki.org/wiki/User_talk:Shirayuki

https://www.mediawiki.org/w/index.php?title=User_talk%3AErnstkm#Manual:Wiki_family_-_installing_a_wiki_farm

https://www.mediawiki.org/w/index.php?title=User_talk:Ciencia_Al_Poder&oldid=6341416

https://www.mediawiki.org/w/index.php?title=User_talk:Yaron_Koren&oldid=6341417

https://discord.com/channels/@me/1176546705139830784

https://www.mediawiki.org/w/index.php?title=User_talk:Yaron_Koren&oldid=6341417

https://www.mediawiki.org/wiki/Topic:Xyclvgw76mj6xu97

https://www.mediawiki.org/w/index.php?title=User_talk%3AJustin_C_Lloyd#Manual:Wiki_family_-_installing_a_wiki_farm Manual:Wiki family - installing a wiki farm

https://www.mediawiki.org/wiki/Topic:Xycm2dwatncr6h0t