<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://selfgravitatingfluids.education/JETohline/index.php?action=history&amp;feed=atom&amp;title=A2HostingEnvironment</id>
	<title>A2HostingEnvironment - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://selfgravitatingfluids.education/JETohline/index.php?action=history&amp;feed=atom&amp;title=A2HostingEnvironment"/>
	<link rel="alternate" type="text/html" href="https://selfgravitatingfluids.education/JETohline/index.php?title=A2HostingEnvironment&amp;action=history"/>
	<updated>2026-05-06T20:07:28Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://selfgravitatingfluids.education/JETohline/index.php?title=A2HostingEnvironment&amp;diff=2194&amp;oldid=prev</id>
		<title>Joel2: Created page with &quot;__FORCETOC__  &lt;!-- __NOTOC__ will force TOC off --&gt; =a2Hosting MediaWiki Environment=  ==Tests and Lessons in 2021== ===June 4===  r-mode image (300 x 225 px)  I successfully uploaded the &quot;r-mode image&quot; &amp;#8212; shown here, on the right &amp;#8212; from my Mac to the a2Hosting file system. &lt;ol&gt;   &lt;li&gt;I pointed my browser to the URL: Tohline.education/SelfGravitatingFluids; this opened the &quot;Main Page&quot; of my MediaWiki app&lt;/li&gt;   &lt;li&gt;I logged...&quot;</title>
		<link rel="alternate" type="text/html" href="https://selfgravitatingfluids.education/JETohline/index.php?title=A2HostingEnvironment&amp;diff=2194&amp;oldid=prev"/>
		<updated>2024-07-11T22:12:05Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__FORCETOC__  &amp;lt;!-- __NOTOC__ will force TOC off --&amp;gt; =a2Hosting MediaWiki Environment=  ==Tests and Lessons in 2021== ===June 4===  &lt;a href=&quot;/JETohline/index.php/File:RmodeHBookImage3.png&quot; title=&quot;File:RmodeHBookImage3.png&quot;&gt;right|r-mode image (300 x 225 px)&lt;/a&gt;  I successfully uploaded the &amp;quot;r-mode image&amp;quot; — shown here, on the right — from my Mac to the a2Hosting file system. &amp;lt;ol&amp;gt;   &amp;lt;li&amp;gt;I pointed my browser to the URL: Tohline.education/SelfGravitatingFluids; this opened the &amp;quot;Main Page&amp;quot; of my MediaWiki app&amp;lt;/li&amp;gt;   &amp;lt;li&amp;gt;I logged...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__FORCETOC__ &lt;br /&gt;
&amp;lt;!-- __NOTOC__ will force TOC off --&amp;gt;&lt;br /&gt;
=a2Hosting MediaWiki Environment=&lt;br /&gt;
&lt;br /&gt;
==Tests and Lessons in 2021==&lt;br /&gt;
===June 4===&lt;br /&gt;
&lt;br /&gt;
[[File:RmodeHBookImage3.png|right|r-mode image (300 x 225 px)]]&lt;br /&gt;
&lt;br /&gt;
I successfully uploaded the &amp;quot;r-mode image&amp;quot; &amp;amp;#8212; shown here, on the right &amp;amp;#8212; from my Mac to the a2Hosting file system.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;I pointed my browser to the URL: Tohline.education/SelfGravitatingFluids; this opened the &amp;quot;Main Page&amp;quot; of my MediaWiki app&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;I logged into the MediaWiki site; as a result, the &amp;quot;Upload file&amp;quot; link was added to the left-hand menu&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;Clicking on this &amp;quot;Upload file&amp;quot; link, a familiar MediaWiki page opened; it allowed me to upload a selected r-mode image from my Mac&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;From the a2Hosting&amp;#039;s cPanel, I double-clicked on the &amp;quot;File Manager&amp;quot;; I located the file under public_html/SelfGravitatingFluids/images/3/3b&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===June 5===&lt;br /&gt;
I found [https://www.siteground.com/kb/how_to_change_my_mediawiki_logo_image/ this URL] useful as I attempted to change my MediaWiki Logo image.&lt;br /&gt;
&lt;br /&gt;
Via a cPanel-Terminal session, I changed directory to &amp;quot;~/public_html/SelfGravitatingFluids&amp;quot; and &amp;amp;hellip;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;Found &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;index.php&amp;lt;/font&amp;gt;; its contents were not immediately useful.&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;Found &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;LocalSettings.php&amp;lt;/font&amp;gt;&lt;br /&gt;
  &amp;lt;ol type=&amp;quot;a&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;$wgServer = &amp;quot;https://tohline.education&amp;quot;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;$wgScriptPath = &amp;quot;/SelfGravitatingFluids&amp;quot;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;$wgResourceBasePath = $wgScriptPath&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;$wgLogos = [ &amp;#039;1x&amp;#039; =&amp;gt; &amp;quot;$wgResourceBasePath/resources/assets/wiki.png&amp;quot; ];&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ol&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I realized that, when using the cPanel-File_Manager, I must click on the **name** (e.g., SelfGravitatingFluids) of a directory folder as well as the tiny folder icon in order to see all of the directory&amp;#039;s files and sub-directories.&lt;br /&gt;
&lt;br /&gt;
[[File:RmodeImage5big.png|right|200px|r-mode image (300 x 300 px)]]&lt;br /&gt;
&lt;br /&gt;
I successfully uploaded the &amp;quot;r-mode image&amp;quot; &amp;amp;#8212; shown here, on the right &amp;amp;#8212; from my Mac to the a2Hosting file system.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;It is 135 x 135 pixels, which is the size used for the replacement MediaWiki Logo; actually, what is displayed here is a 300 x 300 pixel image.&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;From the a2Hosting&amp;#039;s cPanel, I double-clicked on the &amp;quot;File Manager&amp;quot;; I located the file under public_html/SelfGravitatingFluids/images/8/8b; actually, the displayed image is in ~/images/9/97&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;Now, let&amp;#039;s try opening the &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;LocalSettings.php&amp;lt;/font&amp;gt; file and changing the $wgLogos specification to read:&amp;lt;br /&amp;gt;$wgLogos = [ &amp;#039;1x&amp;#039; =&amp;gt; &amp;quot;$wgResourceBasePath/images/8/8a/RmodeHBookImage6.png&amp;quot; ];&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;That did not work, but the following did:&amp;lt;br /&amp;gt;$wgLogos = [ &amp;#039;1x&amp;#039; =&amp;gt; &amp;quot;images/8/8a/RmodeHBookImage6.png&amp;quot; ];&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;I added the &amp;quot;Self-Gravitating Fluids&amp;quot; label to the same image, then repeated the above-enumerated upload steps.  Now the appropriate Logo can be found at the following location:&amp;lt;br /&amp;gt;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;$wgLogos = [ &amp;#039;1x&amp;#039; =&amp;gt; &amp;quot;images/d/d3/RmodeImage8.png&amp;quot; ];&amp;lt;/font&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where do new MediaWiki pages get stored?&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;Looks like one &amp;#039;&amp;#039;test&amp;#039;&amp;#039; example is at:  ~/www/SelfGravitatingFluids/tests/phpunit/includes/page/&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;Perhaps the real thing is at:  ~/www/SelfGravitatingFluids/includes/page/&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;Even more likely to be useful:  ~/www/SelfGravitatingFluids/includes/content/&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;maroon&amp;quot;&amp;gt;88% into &amp;#039;&amp;#039;TextContent.php&amp;#039;&amp;#039; &amp;amp;hellip;&amp;lt;/font&amp;gt; &amp;quot;Generates an HTML version of the content, for display.  Used by fillParserOutput() to provide HTML for the ParserOutput object.&amp;quot;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===June 8===&lt;br /&gt;
SSH and SFTP.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;After reading [https://www.a2hosting.com/kb/getting-started-guide/accessing-your-account/using-ssh-secure-shell this document], I learned how &amp;amp;#8212; from my iMac &amp;amp;#8212; to log into the a2Hosting linux servers via a secure shell (SSH; port 7822) session.&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;After reading [https://www.a2hosting.com/kb/getting-started-guide/accessing-your-account/using-ftp-with-linux-hosting-accounts a separate document], I followed a2Hosting&amp;#039;s advice and installed [https://filezilla-project.org/download.php FileZilla] on my iMac.  This allows me &amp;amp;#8212; via a very pleasant &amp;quot;windowed&amp;quot; interface &amp;amp;#8212; to establish and use SFTP to transfer files from the iMac to my account on a2Hosting servers.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Contemplate installation of &amp;quot;Math&amp;quot; extension.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;Consider reading &amp;lt;font color=&amp;quot;darkgreen&amp;quot;&amp;gt;www.mediawiki.org/wiki/Manual:Configuration_settings&amp;lt;/font&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;Steps drawn from: [https://www.mediawiki.org/wiki/Extension:Math#Installation Extension:Math#Installation]&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Download and place the file(s) in a directory called Math in your extensions/ folder.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Add the following code at the bottom of your ~/SelfGravitatingFluids/LocalSettings.php:&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;wfLoadExtension( &amp;#039;Math&amp;#039; );&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Run the update script which will automatically create the necessary database tables that this extension needs.  According to [https://www.mediawiki.org/wiki/Manual:Update.php this documentation], updating involves the following: (1) Change to the &amp;#039;&amp;#039;&amp;#039;maintenance&amp;#039;&amp;#039;&amp;#039; directory, then at the command-line prompt, type &amp;#039;&amp;#039;&amp;#039;php update.php&amp;#039;&amp;#039;&amp;#039;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===June 9===&lt;br /&gt;
Download and Install Extension:Math&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;From Safari on my iMac, I went to the page titled, [https://www.mediawiki.org/wiki/Special:ExtensionDistributor/Math Download MediaWiki extension]; this means that the downloaded file(s) will initially end up on my iMac, under folder &amp;amp;hellip; ~/myMediaWiki/Math&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;It asked for MediaWiki version number &amp;amp;hellip;&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Under the &amp;#039;&amp;#039;Tools&amp;#039;&amp;#039; subsection of the Main_Page sidebar, click on &amp;#039;&amp;#039;&amp;#039;special pages&amp;#039;&amp;#039;&amp;#039;;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Then, under the &amp;#039;&amp;#039;Data &amp;amp;amp; Tools&amp;#039;&amp;#039; subheading, click on &amp;#039;&amp;#039;&amp;#039;Version&amp;#039;&amp;#039;&amp;#039;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;ANS:  the a2Hosting installation was &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Version = 1.36.0&amp;lt;/font&amp;gt;, which is the version number labeled &amp;quot;latest stable MediaWiki&amp;quot; on the extension download page.&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;table border=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot; width=&amp;quot;80%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;&lt;br /&gt;
[[File:READMEdownloadMathExtension.png|600px|README download Math Extension (9 June 2021)]]&lt;br /&gt;
  &amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;I directed the &amp;quot;snapshot URL&amp;quot; download link to put the ~.tar.gz file directly into the ~/myMediaWiki/Math folder on my iMac.  From the command line of my iMac&amp;#039;s &amp;#039;&amp;#039;terminal&amp;#039;&amp;#039; screen I typed:  &amp;lt;font color=&amp;quot;darkgreen&amp;quot;&amp;gt;tar -xzvf Math-REL1_36-8c7c35b.tar.gz&amp;lt;/font&amp;gt;.  Looks like this file was unwrapped properly; the unpacking involved (1) creation of a subfolder named &amp;quot;Math&amp;quot; and (2) storing all files in this newly created folder.  Note that, since the unpacking self-generated the new &amp;quot;Math&amp;quot; subfolder, I ended up with a ~/Math/Math/ folder construction.&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;Using &amp;#039;&amp;#039;FileZilla&amp;#039;&amp;#039; on my iMac, I transferred (via SFTP) the original ~.tar/gz file into the extensions subfolder of my SelfGravitating wiki site on the a2Holding server.  Then, using the cPanel terminal app, I changed into the ~/SelfGravitatingFluids/extensions folder and typed the same command, namely: &amp;lt;font color=&amp;quot;darkgreen&amp;quot;&amp;gt;tar -xzvf Math-REL1_36-8c7c35b.tar.gz&amp;lt;/font&amp;gt;.  A new &amp;quot;Math&amp;quot; subfolder was created within the &amp;quot;extensions&amp;quot; subfolder and all of the &amp;quot;unpacked&amp;quot; files appear to have been properly stored there.&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;&lt;br /&gt;
Carry out the last couple of 8 June &amp;#039;&amp;#039;contemplated steps&amp;#039;&amp;#039;.&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Add the following code at the bottom of your ~/SelfGravitatingFluids/LocalSettings.php:&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;wfLoadExtension( &amp;#039;Math&amp;#039; );&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Run the update script which will automatically create the necessary database tables that this extension needs.  According to [https://www.mediawiki.org/wiki/Manual:Update.php this documentation], updating involves the following: (1) Change to the &amp;#039;&amp;#039;&amp;#039;maintenance&amp;#039;&amp;#039;&amp;#039; directory, then at the command-line prompt, type &amp;#039;&amp;#039;&amp;#039;php update.php&amp;#039;&amp;#039;&amp;#039;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;HOORAY!!&amp;#039;&amp;#039;&amp;#039;&amp;lt;/font&amp;gt; As is illustrated in Table 1, the LaTex instructions appear to work:  (&amp;#039;&amp;#039;left&amp;#039;&amp;#039;) a few lines of plain text, and (&amp;#039;&amp;#039;right&amp;#039;&amp;#039;) the &amp;quot;Extension:Math&amp;quot; rendering results.  NOTE:  These (admittedly simple) math expressions are &amp;#039;&amp;#039;not&amp;#039;&amp;#039; embedded .png images but, rather, have each letter placed individually; this is illustrated by the fact that the light-blue background color is able to color throughout the expressions.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot; cellpadding=&amp;quot;8&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td colspan=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;Table 1&amp;#039;&amp;#039;&amp;#039;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;Plain Text&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;Rendering&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
I&amp;#039;m just testing to see if I&amp;#039;m properly editing.&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E = mc^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;H = \int\frac{dP}{\rho}&amp;lt;/math&amp;gt; .&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
  &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td align=&amp;quot;left&amp;quot; bgcolor=&amp;quot;lightblue&amp;quot;&amp;gt;&lt;br /&gt;
I&amp;#039;m just testing to see if I&amp;#039;m properly editing.&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E = mc^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;H = \int\frac{dP}{\rho}&amp;lt;/math&amp;gt; .&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{SGFfooter}}&lt;/div&gt;</summary>
		<author><name>Joel2</name></author>
	</entry>
</feed>