No edit summary
No edit summary
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:IT]]
= Stuff on how the servers work =
= Stuff on how the servers work =


Line 4: Line 5:
* [[Beaker DNS]]
* [[Beaker DNS]]
* [[Favog Wiki Backups]]
* [[Favog Wiki Backups]]
== Apple devices on site ==
For some reason best known only to Apple, their devices don't want to connect to a network that doesn't have a default gateway they can reach. Back in Preston, the gateway is their router (10.0.0.2), but that's not reachable from the field.
If you shut down DHCP on beaker and instead run it on merple, devices will get told the default gateway is 10.0.0.19 (merple), which they can reach, and therefore will connect happily to the network.
1. On beaker, open <code>Services</code> and find <code>DHCP Server</code>. Stop it, but don't change its startup settings (we want it running when it goes back to Preston).
1. On merple, run <code>systemctl start dhcpd.service</code>
This will need to be done after the servers are rebooted.


== Changing a Wiki User password ==
== Changing a Wiki User password ==


* Go to the directory for the wiki. eg <code>cd /srv/www/htdocs/mediawiki-crew-empire</code>
Ideally, they go to the password reset page - https://www.profounddecisions.co.uk/empireplotwiki/Special:PasswordReset for the plot wiki - and that works.
* Run the script e.g <code>php maintenance/changePassword.php --user=aquarion --password=VerySecurePassword</code>
 
If not, ssh in:
 
* SSH into the server
* Go to the directory for the wiki:
** Plot Wiki <code>cd /srv/www/htdocs/mediawiki-crew-empire</code>
** Public Wiki <code>cd /srv/www/htdocs/mediawiki-public</code>
** Crew Wiki <code>cd /srv/www/htdocs/mediawiki-crew-pd</code>
* Run the script: <code>php maintenance/changePassword.php --user={USERS_USER_NAME} --password=VerySecurePassword</code>
 
* Suggest they go to change it at <code>https://www.profounddecisions.co.uk/empireplotwiki/Special:ChangeCredentials/</code> (replace for correct wiki location)


That's it.
That's it.
== Clearing a wiki cache ==
ssh in, go to the directory for the wiki (same as above)
Then run: <code>php maintenance/purgeList.php --all -v</code>
== Adding a page to the dropdowns ==
Simply add it to the list in [[Imperial:TitleBar]]

Latest revision as of 13:04, 9 June 2023

Stuff on how the servers work

Apple devices on site

For some reason best known only to Apple, their devices don't want to connect to a network that doesn't have a default gateway they can reach. Back in Preston, the gateway is their router (10.0.0.2), but that's not reachable from the field.

If you shut down DHCP on beaker and instead run it on merple, devices will get told the default gateway is 10.0.0.19 (merple), which they can reach, and therefore will connect happily to the network. 1. On beaker, open Services and find DHCP Server. Stop it, but don't change its startup settings (we want it running when it goes back to Preston). 1. On merple, run systemctl start dhcpd.service

This will need to be done after the servers are rebooted.

Changing a Wiki User password

Ideally, they go to the password reset page - https://www.profounddecisions.co.uk/empireplotwiki/Special:PasswordReset for the plot wiki - and that works.

If not, ssh in:

  • SSH into the server
  • Go to the directory for the wiki:
    • Plot Wiki cd /srv/www/htdocs/mediawiki-crew-empire
    • Public Wiki cd /srv/www/htdocs/mediawiki-public
    • Crew Wiki cd /srv/www/htdocs/mediawiki-crew-pd
  • Run the script: php maintenance/changePassword.php --user={USERS_USER_NAME} --password=VerySecurePassword

That's it.

Clearing a wiki cache

ssh in, go to the directory for the wiki (same as above)

Then run: php maintenance/purgeList.php --all -v

Adding a page to the dropdowns

Simply add it to the list in Imperial:TitleBar