+ Reply to Thread
Results 1 to 8 of 8

Thread: a how to guide for installing wikimedia

  1. #1
    trainzguy1160 is offline x10Hosting Member trainzguy1160 is an unknown quantity at this point
    Join Date
    Aug 2007
    Posts
    13

    Exclamation a how to guide for installing wikimedia

    Hi there. I'd like to put a wiki on my site, but find the instructions confusing and hard to follow.
    Does anyone know how to install a wiki?
    If so, could a guide be written to help others out?
    It'd have to be easy to follow though.
    Thanks for helping me to install a wiki on my site.
    trainzguy

  2. #2
    trainzguy1160 is offline x10Hosting Member trainzguy1160 is an unknown quantity at this point
    Join Date
    Aug 2007
    Posts
    13

    Re: a how to guide for installing wikimedia

    Does anyone know how to install a wiki for a website here at x10?

  3. #3
    Xemnas's Avatar
    Xemnas is offline x10 Elder Xemnas is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    812

    Re: a how to guide for installing wikimedia

    To install MediaWiki:
    1. Download the latest version as a compressed file from the MediaWiki website (Wikimedia is an NPO, or non-profit organisation)
    2. Upload the file to your public_html directory. The cPanel File Manager has an upload function, but I prefer to use an FTP client.
    3. Extract the files and folders.
    4. You'll now need to create a MySQL database. In cPanel select "MySQL databases" and follow the instructions to create the DB. You can name it whatever you want, but make sure to remember the name.
    5. Next, follow the instructions to create a MySQL user. Make sure to remember the username and password. Once created, there should be an option to add the user to your wiki's database. Select it and give the user ONLY the following permissions:
    create
    select
    insert
    update
    delete
    alter
    lock tables
    6. In your web browser, navigate to the wiki directory of your site (if you installed MediaWiki into a folder named "wiki" in public_html, on a site name "example.x10hosting.com", the path will be "example.x10hosting.com/wiki").
    7. There should be a link to the installation script. Click it and follow the instructions to set up your wiki.
    8. Once the wiki has been installed successfully, go to your wiki directory and delete the folder named "config".
    Note that you can expect to be following these same steps for nearly every kind of site software out there.

    Once you've installed MediaWiki, you may want to look at the MW web site for extensions and ways to rewrite the URL to look like "/wiki/Page_Title" using a .htaccess file.
    Last edited by Xemnas; 01-26-2008 at 10:42 PM.

  4. #4
    trainzguy1160 is offline x10Hosting Member trainzguy1160 is an unknown quantity at this point
    Join Date
    Aug 2007
    Posts
    13

    Re: a how to guide for installing wikimedia

    Hey, thanks Xemnas!
    trainzguy
    PS. Could we sticky this to help other people out?
    Edit:
    Xemnas, when I finish installing MW, it tells me to move LocalSettings.php back to the parent directory. And when I delete the config file and follow the link to my wiki, it comes back up with "set up" mediawiki link.
    I followed all your instructions to the letter.
    PS. I'll see if I need to move the LocalSettings.php first
    What am I doing wrong?
    EDIT: All fixed!
    Last edited by trainzguy1160; 01-27-2008 at 08:52 PM. Reason: Automerged Doublepost

  5. #5
    slpixe is offline x10Hosting Member slpixe is an unknown quantity at this point
    Join Date
    Mar 2008
    Posts
    23

    Re: a how to guide for installing wikimedia

    Hey, sorry, but I encountered a problem, I upgraded to intermediate PHP as I looked up I needed to do before, and I followed these instructions perfectly, and after loading up wiki, and clicking set up wiki, it gives me a instilation but looks stuck on this

    Warning: shell_exec() has been disabled for security reasons in /home/******/public_html/wiki/config/index.php on line 1822

    so I look into it, and I find this

    http://forums.x10hosting.com/free-ho...wiki-help.html
    we need to stop the shell_exec by looks of it

    so to stop posting on there, I will ask here, I had a go at commenting out the function, the whole "locate_executable" function, and have just been having it load, the solution on the other thread, was to install it on home pc, and then upload it all, is there any way of being able to easily do it on this remote server?
    Last edited by slpixe; 04-02-2008 at 10:23 PM. Reason: more information on what i need help with.

  6. #6
    TechAsh's Avatar
    TechAsh is offline Retired TechAsh is an unknown quantity at this point
    Join Date
    Oct 2007
    Location
    UK
    Posts
    5,853

    Re: a how to guide for installing wikimedia

    You could see if the Admins will let you have the Advanced PHP version as shell_exec() is enabled in that version.
    Useful Links:
    Terms of Service | Server News | Buy a Domain
    Free Domains: co.cc | Dot.tk -- Free File Storage: Dropbox -- Website Monitoring: Service Uptime


    My Websites:
    Earthtime Games & TechAsh's Blog

  7. #7
    slpixe is offline x10Hosting Member slpixe is an unknown quantity at this point
    Join Date
    Mar 2008
    Posts
    23

    Re: a how to guide for installing wikimedia

    I would love to apply for it, but as it appears some people have been able to get around the exec, and after looking it up, theres been messages saying you can chance the exec to a different sort of execute command, but I have just been unable to find the exec in any of the codes (yes I ran a find).

    so if I am unable to receive either the exact part I need to change, then I may as well ask for the advanced, as I still plan to install an image galley, and I believe it may require the exec as well.

    Anyway I'm still awaiting methods around this.

    Thanks in advance

  8. #8
    Travian Wiki Network is offline x10Hosting Member Travian Wiki Network is an unknown quantity at this point
    Join Date
    Nov 2006
    Posts
    41

    Re: a how to guide for installing wikimedia

    Did you figure out how to get around shell_exec()? I am also having this problem!

+ Reply to Thread

Similar Threads

  1. Linux GUIDE
    By manzoor in forum The Marketplace
    Replies: 7
    Last Post: 01-18-2008, 11:12 PM
  2. BB Code Guide
    By Jober68 in forum Tutorials
    Replies: 1
    Last Post: 01-10-2008, 05:12 PM
  3. Need Php Platinum installation Guide !
    By Awarapan in forum Scripts & 3rd Party Apps
    Replies: 22
    Last Post: 07-27-2007, 02:15 AM
  4. Wikimedia Ads
    By Timhortons in forum Scripts & 3rd Party Apps
    Replies: 2
    Last Post: 08-25-2006, 08:34 PM
  5. v2.0 CSS guide
    By scylla in forum Scripts & 3rd Party Apps
    Replies: 1
    Last Post: 03-01-2005, 01:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers