Simple Machines Community Forum

Customizing SMF => Tips and Tricks => Topic started by: aishaweb on January 27, 2010, 01:27:03 PM

Title: [GUIDE] Installing SMF on a cPanel™ host.
Post by: aishaweb on January 27, 2010, 01:27:03 PM
Open cpanel's file manager:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi790.photobucket.com%2Falbums%2Fyy183%2Faishawebz%2Fsmf_tut%2F1.jpg&hash=0563e3a6f28c100c5d38f9cad4754a7ee4298893)

Select "new folder" Give it a name, i chose "smf". Click "create new folder"

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi790.photobucket.com%2Falbums%2Fyy183%2Faishawebz%2Fsmf_tut%2F2.jpg&hash=0e37922734af07ed34986ba2980d04683923ce0f)

Open the folder you created:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi790.photobucket.com%2Falbums%2Fyy183%2Faishawebz%2Fsmf_tut%2F3.jpg&hash=1c9734bda1084384e701e8bea472fc56575598eb)

Click "upload"

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi790.photobucket.com%2Falbums%2Fyy183%2Faishawebz%2Fsmf_tut%2F4.jpg&hash=623848801239603e5953866c1b965293f0d63a4e)

Click "browse"  Navigate to the smf install file, click "open"

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi790.photobucket.com%2Falbums%2Fyy183%2Faishawebz%2Fsmf_tut%2F5.jpg&hash=9c3eb1b16d37bf3410bf0b58e3873d3de1e2d50b)

Wait till it gets to "100% complete" Click "back to..."

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi790.photobucket.com%2Falbums%2Fyy183%2Faishawebz%2Fsmf_tut%2F6.jpg&hash=be8090a0777d2c143370cf65526da882e5cf20a2)

Right click the uploaded file and select "extract"

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi790.photobucket.com%2Falbums%2Fyy183%2Faishawebz%2Fsmf_tut%2F7.jpg&hash=b475a2aea3e66bc1f351b3c9b4ed8a5c842586bb)

MMMM..lovely new files...

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi790.photobucket.com%2Falbums%2Fyy183%2Faishawebz%2Fsmf_tut%2F8.jpg&hash=0012d92fa2d208ddffb2702f09ca3b13318a0885)

Now to create a database.  Click "mysql databases"

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi790.photobucket.com%2Falbums%2Fyy183%2Faishawebz%2Fsmf_tut%2F9.jpg&hash=fea339b0e8b6f1a6cb67ca155e4019c81c48cda9)

Name your database, i called mine "smf".  Click "create database"

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi790.photobucket.com%2Falbums%2Fyy183%2Faishawebz%2Fsmf_tut%2F10.jpg&hash=31de87867cf7383a0374277726a5e84a0468f397)

Create a new database user and password, click "create user"

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi790.photobucket.com%2Falbums%2Fyy183%2Faishawebz%2Fsmf_tut%2F11.jpg&hash=2e6c3b992869b0cbf7038e6fadd6ef0901bdea1e)

go to the "add user to database" bit. Find the user you just created and the database, click "add"
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi790.photobucket.com%2Falbums%2Fyy183%2Faishawebz%2Fsmf_tut%2F12.jpg&hash=6fac7cc0194b46ccccbf0b7c1cc4513122f4acd6)

Tick / check the "all privileges" box, then click "make changes"

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi790.photobucket.com%2Falbums%2Fyy183%2Faishawebz%2Fsmf_tut%2F13.jpg&hash=83f44c0a4007b31802abdf2d600de62eb35e8a1b)

Now we need to open the installer in your browser, goto your sites web address:  http://www.yoursite.com/smf/ (http://www.yoursite.com/smf/)  Note the /smf/ on the end.This is mostly self explanatory, give your forum a name, leave all the other stuff until you get to the mysql database stuff, input the the database username and pass you created earlier, input the database name too, leave the table prefix as "smf_"  Click "proceed"

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi790.photobucket.com%2Falbums%2Fyy183%2Faishawebz%2Fsmf_tut%2F14.jpg&hash=3ce50f535230fbc8682ec303527b4bb15fd9102e)

Again self explanatory, click "finish" after creating the admin account:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi790.photobucket.com%2Falbums%2Fyy183%2Faishawebz%2Fsmf_tut%2F15.jpg&hash=153e84f35654b90b29a69bd1d8996b7ce26ac176)

Tick / check the box to remove the install.php file, click the text "your newly installed forum"

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi790.photobucket.com%2Falbums%2Fyy183%2Faishawebz%2Fsmf_tut%2F16.jpg&hash=528091829f3abe3de5fe7411d594457e43d63536)

Voila!  You new forum is ready to use, checkout the shiny new "admin" button.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi790.photobucket.com%2Falbums%2Fyy183%2Faishawebz%2Fsmf_tut%2F17.jpg&hash=ae2276b16765074dbc02ddbc2c2733d2e1dc1072)

Take daily backups and enjoy!
Title: Re: [GUIDE] Installing SMF on a cPanel™ host.
Post by: kingkingston on January 27, 2010, 01:29:20 PM
Or you can use fantastico
Title: Re: [GUIDE] Installing SMF on a cPanel™ host.
Post by: aishaweb on January 27, 2010, 01:32:18 PM
Quote from: kingkingston on January 27, 2010, 01:29:20 PM
Or you can use fantastico

If you want to have a forum that is possibly buggy and has other issues, yes you can.
Title: Re: [GUIDE] Installing SMF on a cPanel™ host.
Post by: Matthew K. on January 27, 2010, 01:33:04 PM
Fantastico does not have bugs in it for SMF.

However, Fantastico is only SMF 1.1, not SMF 2.0.
Quote from: aishaweb on January 27, 2010, 01:32:18 PM
Quote from: kingkingston on January 27, 2010, 01:29:20 PM
Or you can use fantastico

If you want to have a forum that is possibly buggy and has other issues, yes you can.
Title: Re: [GUIDE] Installing SMF on a cPanel™ host.
Post by: aishaweb on January 27, 2010, 01:36:47 PM
My experiance has always been, A: Its an outdated version. B: It installs it as English-utf8.
Title: Re: [GUIDE] Installing SMF on a cPanel™ host.
Post by: kingkingston on January 27, 2010, 01:39:03 PM
Quote from: aishaweb on January 27, 2010, 01:36:47 PM
My experiance has always been, A: Its an outdated version. B: It installs it as English-utf8.
You can always change that
Title: Re: [GUIDE] Installing SMF on a cPanel™ host.
Post by: aishaweb on January 27, 2010, 01:40:07 PM
You know what, i put quite a bit of effort into that tutorial, just coming in and basically saying dont bother just use fantastico is a bit off.
Title: Re: [GUIDE] Installing SMF on a cPanel™ host.
Post by: Matthew K. on January 27, 2010, 01:47:06 PM
No, apparently I came across the wrong way, very nice tutorial!
Title: Re: [GUIDE] Installing SMF on a cPanel™ host.
Post by: aishaweb on January 27, 2010, 01:54:57 PM
Thanks, sorry, just it took me quite a while to edit and crop all the images, and im my opinion this method of installing gives the admin a better understanding of the forum and database system and should be used in preference to fantastico.
Title: Re: [GUIDE] Installing SMF on a cPanel™ host.
Post by: Matthew K. on January 27, 2010, 01:56:14 PM
I'm not saying Fantastico is better, I use the manual way as well, but it's definitely an alternative to those who don't feel comfortable with all of these edits.
Title: Re: [GUIDE] Installing SMF on a cPanel™ host.
Post by: aishaweb on January 27, 2010, 01:58:14 PM
Quote from: Labradoodle-360 on January 27, 2010, 01:56:14 PM
I'm not saying Fantastico is better, I use the manual way as well, but it's definitely an alternative to those who don't feel comfortable with all of these edits.

Thats kinda the point of the guide, to show newbies that it really isnt that daunting to do it manually.
Title: Re: [GUIDE] Installing SMF on a cPanel™ host.
Post by: Matthew K. on January 27, 2010, 01:59:04 PM
To some it is too much, that's why Fantastico is there.
Title: Re: [GUIDE] Installing SMF on a cPanel™ host.
Post by: kingkingston on January 27, 2010, 02:00:50 PM
Quote from: aishaweb on January 27, 2010, 01:40:07 PM
You know what, i put quite a bit of effort into that tutorial, just coming in and basically saying dont bother just use fantastico is a bit off.
I'm not having a go at you,i was just saying that you can use fantastico as well :)
Title: Re: [GUIDE] Installing SMF on a cPanel™ host.
Post by: adbrad on January 27, 2010, 03:15:23 PM
nice tutorial would of been nice to have it when i installed my forum. although it never took me much to figure it out
Title: Re: [GUIDE] Installing SMF on a cPanel™ host.
Post by: tumbleweed on January 27, 2010, 03:26:03 PM
Thanks for the tut is awesome!!!!

Fantastico
Webinstall
Installatron
Softaculous

All those minus Webinstall can install SMF on cPanel servers if they are running those scripts. Almost every cPanel provider runs at least one of those scripts.

WebInstall that is SMF special located here: http://docs.simplemachines.org/index.php?topic=941.0

Frank

Title: Re: [GUIDE] Installing SMF on a cPanel™ host.
Post by: hadesflames on January 27, 2010, 03:50:27 PM
This should be in Tips and Tricks (http://www.simplemachines.org/community/index.php?board=72.0)
Title: Re: [GUIDE] Installing SMF on a cPanel™ host.
Post by: aishaweb on January 27, 2010, 03:52:53 PM
mere mortals cannot post a new topic there.
Title: Re: [GUIDE] Installing SMF on a cPanel™ host.
Post by: hadesflames on January 27, 2010, 04:03:13 PM
Please read this:

http://www.simplemachines.org/community/index.php?topic=52589.0
Title: Re: [GUIDE] Installing SMF on a cPanel™ host.
Post by: aishaweb on January 27, 2010, 04:05:27 PM
could someone move it for me?
Title: Re: [GUIDE] Installing SMF on a cPanel™ host.
Post by: kat on January 27, 2010, 04:20:28 PM
Done!


FWIW, I used Fantastico, once.


I won't be using it, again.  ;)
Title: Re: [GUIDE] Installing SMF on a cPanel™ host.
Post by: DoctorMalboro on January 27, 2010, 07:45:54 PM
Quote from: Kat on January 27, 2010, 04:20:28 PMDone!


FWIW, I used Fantastico, once.


I won't be using it, again.  ;)
what? It's the best panel i ever use, even better than elserver panel :O
Title: Re: [GUIDE] Installing SMF on a cPanel™ host.
Post by: aishaweb on January 27, 2010, 07:47:39 PM
fantastico isnt a panel, its an autoinstaller...
Title: Re: [GUIDE] Installing SMF on a cPanel™ host.
Post by: TheListener on January 27, 2010, 07:56:50 PM
Where the heck was the tutorial when I needed it?

;D

Good job.

This topic should be glued to the forum ( I mean stickied sorry)
Title: Re: [GUIDE] Installing SMF on a cPanel™ host.
Post by: bsrforum on February 11, 2010, 01:35:49 PM
great info. 
Title: Re: [GUIDE] Installing SMF on a cPanel™ host.
Post by: Shole on February 11, 2010, 03:28:30 PM
Oh men there is a video too o wait i made it :P
Enjoy it (if you can)
http://www.youtube.com/watch?v=t5Pd_PJ36Kw
Title: Re: [GUIDE] Installing SMF on a cPanel™ host.
Post by: rd on February 15, 2010, 07:19:06 PM
Original Poster, can I publish this tutorial in my website? Or you can publish it there, just PM me for URL.

On Topic: I like this a lot :) Would have been useful if I had C Panel :P I use Webmin

Anyway, doesn't the autoinstaller only install the latest stable version? Meaning SMF 1.1.11 only?
Title: Re: [GUIDE] Installing SMF on a cPanel™ host.
Post by: aishaweb on February 16, 2010, 05:03:41 AM
Quote from: Royalduke on February 15, 2010, 07:19:06 PM
Original Poster, can I publish this tutorial in my website?

Go ahead, just link back to this thread

Quote from: Royalduke on February 15, 2010, 07:19:06 PM
On Topic: I like this a lot :) Would have been useful if I had C Panel :P I use Webmin
Then make one for webmin.   ;)

Quote from: Royalduke on February 15, 2010, 07:19:06 PM
Anyway, doesn't the autoinstaller only install the latest stable version? Meaning SMF 1.1.11 only?

Depends on the host and how quickly smf updates, a lot  hosts are usually a version or 2 behind, dont forget, fantastico has a lot of scripts in it to keep up to date.
Title: Re: [GUIDE] Installing SMF on a cPanel™ host.
Post by: rd on February 16, 2010, 10:05:09 PM
I PMed you.
Title: Re: [GUIDE] Installing SMF on a cPanel™ host.
Post by: aishaweb on February 20, 2010, 04:59:15 PM
Quote from: Royalduke on February 16, 2010, 10:05:09 PM
I PMed you.

I saw, not sure why tho, why dont you just post it yourself?
Title: Re: [GUIDE] Installing SMF on a cPanel™ host.
Post by: pizmit on February 25, 2010, 02:26:03 PM
Great work, this is a nice tutorial.
Title: Re: [GUIDE] Installing SMF on a cPanel™ host.
Post by: mdj on February 28, 2010, 05:07:58 AM
im a complete newb and rookie at this, so please bear with me, ive followed the directions above and have managed to load up smf 2.0 to my database, thats the good news, however i cant manage to get the database to load to my domain, i dont see the last stages of the directions when i load up my browser, i just see error page 404 no page exists, what am i not doing?

many thanks.
Title: Re: [GUIDE] Installing SMF on a cPanel™ host.
Post by: mdj on February 28, 2010, 07:29:08 AM
ok, ive managed to overcome the problem, cheers anyhow
Title: Re: [GUIDE] Installing SMF on a cPanel™ host.
Post by: Joe_Dean on October 17, 2010, 09:23:59 AM
That's really the only good thing about cPanel's file manager...uploading archives and extracting them. Saves LOADS of time as opposed to mass-uploading all files using FTP.
Title: Re: [GUIDE] Installing SMF on a cPanel™ host.
Post by: Dharshan on October 20, 2010, 02:55:00 AM
agreed aisha, thanks for the tutorial, IMO this should be practiced by SMF admins, it gives better understanding of the forum and DB and also Fantastico SUCKS!

i used it once and had issues updating the auto-installed SMF 1.1.11, and that was the last time i used fantastico for SMF.

(being that said fantastico is good for other softwares like joomla etc)
Title: Re: [GUIDE] Installing SMF on a cPanel™ host.
Post by: sadaam on October 30, 2010, 05:54:06 PM
I used Fantastico, once.
I won't be using it, again
Title: Re: [GUIDE] Installing SMF on a cPanel™ host.
Post by: NanoSector on October 30, 2010, 06:20:08 PM
Quote from: K@ on January 27, 2010, 04:20:28 PM
Done!


FWIW, I used Fantastico, once.


I won't be using it, again.  ;)
At my host they put an icon to Fantastico but it doesn't work at all. Endless maintenance, or how they may call that ;)

Nice tutorial. Be warned every host is different so some settings may not be the same :)
Title: Re: [GUIDE] Installing SMF on a cPanel™ host.
Post by: Aleksi "Lex" Kilpinen on November 03, 2010, 10:12:06 AM
Nice guide, and if this helps even one person stay away from fantastico - then it was worth it IMO :)