• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

How to install jForum onto XAMPP for Windows

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have most recently switched from a Tomcat server with MySQL and PHP to an all in one package that has all of that and more in one simple Windows Installer (they have versions for other OS too). It is called XAMPP. This guide was created to help you get jForum up and running as fast as possible using the XAMPP engine. This guide is strictly for the Windows people but you can get an understanding on what to do if you need to use XAMPP on a different OS also.

Install XAMPP 1.6.6a Basic for Windows(you can use a different version but for this guide, this is the one im using)
  • You can get the file from here: http://www.apachefriends.org/en/xampp-windows.html#641
  • Download the installer version
  • Install all items as services

  • Install Java SE Development Kit 6 update 5 ***Regular Java 6 Will NOT Work!!!***
  • To get Java SE Dev Kit 6 Update 5 (JDK 6 update 5), go here: http://java.sun.com/javase/downloads/index.jsp
  • Make sure you have uninstalled any older versions of Java
  • Copy the file "msvcr71.dll" from the Program Files\Java\jre1.6.0_05\jre\bin to your Windows\System32 folder

  • Install Tomcat 6.0.14 Addon
  • You can get the file from: http://www.apachefriends.org/en/xampp-windows.html#644
  • Once installed go to xampp\tomcat\bin directory and run tomcat_service_install.bat

  • Set mod_jk paths
  • To do this, simply go to xampp and run xampp_setup.bat
  • Select option 5 and hit enter

  • Extract Jforum
  • Extract jforum into the xampp\tomcat\webapps folder into a folder named jforum

  • Set java servlet for apache
  • Go to xampp\apache\conf\extra and edit mod_jk.conf with an editor
  • Add "JkMount /jforum/* ajp13" without the quotes below "JkMount /examples/* ajp13"
  • Save

  • Start Services
  • Start/Restart(some should already be running) the following services
  • Apache Tomcat Tomcat6
  • Apache2.2
  • FileZilla Server FTP server
  • mysql

  • Launch browser portion
  • Navigate to http://localhost

  • Set security settings
  • After clicking on English on the opening page, click on Security on the left side
  • The click the link on the page that says http://localhost/security/xamppsecurity.php (about half way down the page)
  • Do one section at a time (should be self explanitory & by the way, whatever you set for a password for mysql, that is your login for phpmyadmin too)

  • Go back to the main XAMPP page
  • Close out of the security window and get back to just localhost

  • Create your MySQL DB (optional if you plan on using something else for the DB rather than MySQL but I tend to like it more)
  • Once you are back at the main localhost page, click on phpmyadmin in the list on the left
  • You need to use your login information that you set in the security settings for MySQL a few steps back (your username is root by default and the password is what you set it to)
  • Once phpMyAdmin is up and running, click inside the box that is labeled Create Database and type in jforum
  • Once you have typed in jforum into the box, click on create
  • You should then get a page saying that it has created the DB correctly

  • Test java servlet
  • Head back to localhost once again
  • Click on the Java link on the left side
  • Click on the JSP examples or Servlet examples link
  • If the page loads and you can navigate through there, Tomcat is working correctly and so is your Java

  • Start your jForum install
  • Navigate your browser to http://localhost/jforum/install.jsp
  • If you see the Squirell at the top of the page, you are in great shape
  • Follow through the standard directions from the jforum website to complete installation
  • You shouldnt have to use the manual installation

  • Enjoy jForum!!!

    If you have any issues, just post a reply and I can see what I can do to help.

    ***Special Thanks to Izzy on the ApacheFriends.org forum for figuring out some issues with getting jForum setup***
    [originally posted on jforum.net by confused2gether]
     
    I was her plaything! And so was this tiny ad:
    Gift giving made easy with the permaculture playing cards
    https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
    reply
      Bookmark Topic Watch Topic
    • New Topic