Installed MediaWiki

galoisienne2
Posts: 125
Joined: Sun Nov 03, 2013 6:06 am

Installed MediaWiki

Postby galoisienne2 » Thu Nov 07, 2013 3:33 pm

I installed a mediawiki, and it's the standard distribution appears to be running no problem.

I'd like to do some modifications in order to install some extensions that I've done a couple of times on my local mac OS.

However, I don't know where the Mediawiki is housed on the server, that is, it's location, it's directory tree, etc.

To the extent someone could point me to how to find these directories, that would be great.

Thanks

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Installed MediaWiki

Postby bigfoot65 » Thu Nov 07, 2013 4:36 pm

Most all apps are located in /var/hda/web-apps. A simple search for mediawiki will reflect where it lives.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

galoisienne2
Posts: 125
Joined: Sun Nov 03, 2013 6:06 am

Re: Installed MediaWiki

Postby galoisienne2 » Thu Nov 07, 2013 4:47 pm

Thanks. Just managed to do that a little while ago with the find -name command. And confirm the directories you mentioned.

Is there any app that I can use to do whatever manipulations I need to do (mostly copying some new extension files in and modifying some existing files, etc), or, must I do it all via line terminal commands.

Thanks

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Installed MediaWiki

Postby bigfoot65 » Thu Nov 07, 2013 4:50 pm

You can script it to have a repeatable process.

There is no app made to do these sort of tasks. It is understood that performing advanced configuration of apps is a manual process via command line.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

galoisienne2
Posts: 125
Joined: Sun Nov 03, 2013 6:06 am

Re: Installed MediaWiki

Postby galoisienne2 » Thu Nov 07, 2013 8:12 pm

Noted and thanks. I have been able to use the SSH command to log into admin (that's the only user I have set up thus far).

But how can I copy files which I have on my MAC into mediawiki server directories. Is there a command line program that will pull a file off of my local Mac into a subdirectory of the server (in this case, one of the mediawiki files) ? If there is an easy way to use the HDA desktop or some other app I'll do that too.

Thanks.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Installed MediaWiki

Postby bigfoot65 » Thu Nov 07, 2013 8:18 pm

Use WinSCP for Windows to access the HDA for file moving to the web-apps directory.
http://winscp.net/eng/index.php

For MAC, there is this one.
http://cyberduck.ch/
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

galoisienne2
Posts: 125
Joined: Sun Nov 03, 2013 6:06 am

Re: Installed MediaWiki

Postby galoisienne2 » Sat Nov 09, 2013 5:57 am

OK> Will attempt this today. I need to make some change to some files and copy in some others. The easies way to do this, as far as I can tell based on my current knowledge, is to use the editors on my Mac and, save locally, and them attempt to move them onto the mediawiki installation on the server.

--

But just to be clear, and on a somewhat different point, for for far more mundane actions, like say, saving video files, or even better PDFs that I want to have in a central place - i.e., on the server drive -- can I use the Finder to do a save/as to say the books or videos subdirectory ? Again, these basic shares are visible on my Finder (it looks like any other directory, and all I have to do is login as admin in order to save to them). Presume that;s o.k. or is there preferred software or routes I should be using for that as well.

--
Some philosophical points...
From what I've gathered so far Amahi (via articles and some youtube videos) makes it easy on a 1-click basis to install many different sophisticated server apps that would otherwise be difficult to put together by nonspecialists, etc. The ability to create a system based on all that makes it very attractive, and I can see that this ease makes it easy to experiment with building a useful system, installing apps etc that were not originally envisioned. This is an interesting prospect for me too. I understand that this all runs on linux, in my case Fedora 19, but does running Amahi limit, or better, modify one's usual access to the underlying OS because the interactions are mediated via Amahi ? I ask the question because for purposes of making these changes to the MediaWiki, I wonder whether it would be easier to do them via an install of Fedora or Ubuntu directly and to use Gnome, or the like. I would rather stick with what I have now, because if I can succeed in make the changes to the wiki, I will of course, want to look further into the app store, etc. However, given some of the specialist open source math apps which require occasional tweaking etc, I just want to know that this is the right system for those types of purposes. Thanks very much for any advice you could offer.

Best regards again.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Installed MediaWiki

Postby bigfoot65 » Sat Nov 09, 2013 8:36 am

The easies way to do this, as far as I can tell based on my current knowledge, is to use the editors on my Mac and, save locally, and them attempt to move them onto the mediawiki installation on the server.
You can edit files directly on the server via SSH as well. If it's easier for you to do them locally then copy over, that should work. Only issue you may have is the permissions may change. You will have to reset them for each file.
But just to be clear, and on a somewhat different point, for for far more mundane actions, like say, saving video files, or even better PDFs that I want to have in a central place - i.e., on the server drive -- can I use the Finder to do a save/as to say the books or videos subdirectory ?
Yes that should be fine.

I understand that this all runs on linux, in my case Fedora 19, but does running Amahi limit, or better, modify one's usual access to the underlying OS because the interactions are mediated via Amahi ?[/quote]
Not really, but you have to know what you are doing. This is not like MAC or Windows where you just point and click. Linux is more a command line OS. Yes there is a GUI, but that does not eliminate the manual work for some instances.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

galoisienne2
Posts: 125
Joined: Sun Nov 03, 2013 6:06 am

Re: Installed MediaWiki

Postby galoisienne2 » Sat Nov 09, 2013 8:48 am

You can edit files directly on the server via SSH as well. If it's easier for you to do them locally then copy over, that should work. Only issue you may have is the permissions may change. You will have to reset them for each file.
Thanks. Longer term, as I learn this things, and I will, how would I edit directly on the server via SSH. Would I use vi or vim. I am aware of it, but I would be interested to know what you had in mind, either in terms of already exisiting command line programs or app stope editors I could install .
This is not like MAC or Windows where you just point and click. Linux is more a command line OS. Yes there is a GUI, but that does not eliminate the manual work for some instances.
OK, so not limited via command line. That's fair enough as I've heard from a couple of colleagues that quite a bit can be done this way, perhaps more than via GUI, if you've got the skills. You mentioned a that there is a GUI. Which one did you mean.

Thanks again!

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Installed MediaWiki

Postby bigfoot65 » Sat Nov 09, 2013 9:30 am

I use vi myself. Works good for me. vim is very similar.

As for the GUI, I meant desktop. If you install the desktop, more can be done without command line. I don't recommend the GUI though as it takes away resources and disk space.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 11 guests