XF 1.0 Installation Walk-Through (Alpha Build)

  • Thread starter Thread starter Floris
  • Start date Start date
Please note this is an early build, and things might still change between now and 'gold' release.
And that the steps of uploading the files and downloading the config.php has been skipped.

To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.
 
can we have a step-by-step instruction for XF for dummies ?

Many thanks !
This is how to create a database and a user using cPanel.
  • Log in to your CPanel using your username and password
  • Click on MySQL Databases
    • Create a new database
      • Database name - myxfdatabase
      • Assign a table prefix if the option is available and if you want to do so, e.g. xen_
    • Create a new user for the database
      • Username dbadmin
      • Password dbpassword
    • Add the user to the database
      • Set user permissions to full
You will then use the database and user created above in your config.php file (or eqivalent).
For example:

PHP:
$dbms = 'mysqli';
$dbhost = 'localhost';
$dbport = '';
$dbname = 'myxfdatabase';
$dbuser = 'dbadmin';
$dbpasswd = 'dbpassword';
$table_prefix = 'xen_';

To install the XF software you will have to create a directory on your domain server and upload the files.
Then enter the install/index.php url in your browser's address bar.

That's where Floris' video starts from.
 
You will then use the database and user created above in your config.php file (or eqivalent).


PHP:
$dbms = 'mysqli';
$dbhost = 'localhost';
$dbport = '';
$dbname = 'myxfdatabase';
$dbuser = 'dbadmin';
$dbpasswd = 'dbpassword';
$table_prefix = 'xen_';

To install the XF software you will have to create a directory on your domain server and upload the files.
Then enter the install/index.php url in your browser's address bar.

That's where Floris' video starts from.
You will not have to fill in the config file (unless something drastic happens).
Trust me, this installation is very, very easy.
 
This is how to create a database and a user using cPanel.
  • Log in to your CPanel using your username and password
  • Click on MySQL Databases
    • Create a new database
      • Database name - myxfdatabase
      • Assign a table prefix if the option is available and if you want to do so, e.g. _xen
    • Create a new user for the database
      • Username dbadmin
      • Password dbpassword
    • Add the user to the database
      • Set user permissions to full
You will then use the database and user created above in your config.php file (or eqivalent).
For example:

PHP:
$dbms = 'mysqli';
$dbhost = 'localhost';
$dbport = '';
$dbname = 'myxfdatabase';
$dbuser = 'dbadmin';
$dbpasswd = 'dbpassword';
$table_prefix = 'xen_';

To install the XF software you will have to create a directory on your domain server and upload the files.
Then enter the install/index.php url in your browser's address bar.

That's where Floris' video starts from.


You can't set a prefix, it's set to xf_
It's expected (i guess) each xenforo instances uses it's own database.
 
You can't set a prefix, it's set to xf_
It's expected (i guess) each xenforo instances uses it's own database.
Fair enough, that was more of a generic guide on how to create a database and then link it to the installation, etc.

Contrary to what people think, it really is very easy to configure a database, upload the installation files and install a forum.
If the steps are written down then it's almost impossible to go wrong.

I say almost...
 
And if you have more than 1 database configured?
How does the script know which one to choose?
More than one db configured for your XF installation?
That would be where the "unless something drastic happens" part that I mentioned comes into play.
 
More than one db configured for your XF installation?
That would be where the "unless something drastic happens" part that I mentioned comes into play.
Aha.

It's just that for a lot of people, there will be 2 databases configured - 1 for their existing forum and the new database for the XF install.

So in those cases the automatic script won't work?
 
In the movie it shows confirming the database to use. You mean that screen? To specify a different target database?

I just looked at the video again. At about 40-50 seconds into it, there is a way to specify a different database.
 
In the movie it shows confirming the database to use. You mean that screen? To specify a different target database?
Hmmm, I must have missed the "Edit Configuration" button when I watched the video.
So that's how the config.php file is populated.
 
Aha.

It's just that for a lot of people, there will be 2 databases configured - 1 for their existing forum and the new database for the XF install.

So in those cases the automatic script won't work?
It sounds like you're talking about importing, which is a separate system (and it asks you for the source DB info before it starts).

Before installation there is also some chmod'ing that needs to be done so that some files can be written out. It's easy to do, though it could be a stumbling block for some people. This is checked as part of the requirements step.

And the config file will probably need to be re-uploaded separately, as it's generally something that shouldn't be writable by the web server. Also quite easy if you uploaded the files in the first place. :)
 


Write your reply...
Back
Top Bottom