1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Installation Guide

Discussion in 'Tips and Guides [Archive]' started by Jake Bunce, Nov 16, 2010.

  1. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    This is a guide for installing xenForo on your web server. Special attention is paid to uploading the files using FTP because some people have trouble with FTP.

    Step 1) Download xenForo

    Login to the customer area and download the xenForo zip file:

    http://xenforo.com/customers/

    Save the zip file to your desktop. Unzip the file. Find the upload folder inside.

    Step 2) Upload The Files

    The normal upload method is FTP. Your web host will provide you with a FTP login which you can enter into a FTP client. If you don't have a FTP client then I recommend FileZilla:

    http://filezilla-project.org/
    > http://filezilla-project.org/download.php?type=client

    I will use FileZilla for this guide.

    Enter your FTP info (provided by your host) into the FileZilla window:

    filezilla1.png

    Then click Quickconnect. If the connection is successful then you will see files listed on the right side for the Remote site:

    filezilla2.png

    Now you need to create a directory on the Remote site for your xenForo forum. Use the Remote site window to navigate the remote files and create a new directory. In my case the web root is public_html so I created the directory in there:

    filezilla3.png

    Now you need to open the aforementioned upload folder on your computer using the Local site window on the left. Select all files from inside the upload folder and drag them onto the Remote site window on the right:

    filezilla4.png

    Now you will see FileZilla uploading the files. This can take 5-10 minutes:

    filezilla5.png

    Step 3) Run The Install Script

    Visit your forum URL in your web browser. For example:

    http://www.yoursite.com/community/

    It should automatically direct you to the install URL. Otherwise you can go directly to the install URL:

    http://www.yoursite.com/community/install/

    You should see the Welcome screen:

    install1.png

    If you are prompted to make data and internal_data writable then you need to use FileZilla to edit the permissions on those directories before you can proceed.

    Click Begin Installation to proceed. Enter your MySQL info when prompted. The MySQL info is provided by your host:

    install2.png

    On some servers the install script is able to automatically write the config.php file to the server. If it is able to do this then it will tell you. Otherwise it will allow you to download the file to your computer where you can then upload it using FileZilla.

    Once the config.php file is in place and working then you can begin the installation:

    install3.png

    Wait for it to finish. Then it will prompt you to setup an admin account:

    install4.png

    Then it will let you setup your forum information (this should be automatically filled in):

    install5.png

    Then it will direct you to your Admin CP.

    All done.
     
    tomay3000, Craig, 3rd AnGle and 5 others like this.
  2. Peggy

    Peggy Well-Known Member

    Fantastic. A detailed, comprehensive installation guide for the new xF site owner.
    Well done. :)
     
  3. Kevin Union

    Kevin Union New Member

    I had zero problems with the install but would like to have the site at www.my-domain.com/forums but need users to go directly to the forum with just www.my-domain.com. How would I do that. I may possibly have a website at the core address but for now I need the request to go straight to the xenforo forum. Thank you in advance for your help.
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    You can use a 301 redirect and .htaccess to achieve that.

    I do that on my own forum.
     
  5. Digital Doctor

    Digital Doctor Well-Known Member

    Make sure you know about ...
    URLs in Xenforo.
    FYI:
    Implications of running xenforo from a subdirectory (ie. /community or /forums )

    http://xenforo.com/community/thread...m-a-subdirectory-ie-community-or-forums.9789/

    Note: xenforo.com has the forum installed in the /community subdirectory.

    Hope that helps.
    :)
     
  6. yessir

    yessir Active Member

    Are we supposed to remove this directory when the install is done?
     
  7. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Nope. You don't have to remove anything after the install.
     
    yessir likes this.
  8. yessir

    yessir Active Member

    Man I don't like a login form protecting that.
     
  9. Brogan

    Brogan XenForo Moderator Staff Member

  10. Glen Gentz

    Glen Gentz New Member

    Very detailed instruction. Thanks Jake.
     

Share This Page