header

blocks
Donations
HELP SUPPORT NUKECODE.COM!
Make donations with PayPal!
Donat-o-Meter Stats

September´s Goal: $50.00
Due Date: Sep 30
Amount in: $0.00
Balance: $0.00
Left to go: $50.00

Donations

blocks
Community
 Home

 Forums & Discussions
· Forums
 Feedback
 Private Messages
· Recommend Us
· Sentinel Users Guide

 Downloads & Links
 Downloads
· Nuke Topsites
· Supporters
· Services
 Theme Gallery
· Our Themes
· Web Links

 News
· AvantGo
· Stories Archive
· Topics

 Tools and Reference
· PHP-Nuke_Tools
· Color_Chart
· HTML_Reference
· PHP Reference
· Idiots_Guide
· Intro_php
· ThemeTutorial
· PHP-Nuke_HOWTO
· PHP_Manual
· IFrame
· Tutoriaux

 Web Hosting
 Web Hosting
 Domain Names

 Info
· Statistics
· Search
· Top 10
· Your Account

blocks
Google Search
Google
Web nukecode.com

blocks
Ads By Google

blocks
The Hot Sites
The Hot Sites Web Directory
The Hot Sites Pixel Ads

blocks
Forums
Topics 1901
Posts 8212
Views 1577228
Replies 6317
Members 32635
Last 20 Forum Messages

Nuke-Cast Problem
Last post by slavko89 in Modules on 09/01/2010 03:30 am
userinfo block
Last post by badger413 in Blocks on 08/31/2010 10:19 pm
Avail Block
Last post by Kevz09 in Blocks on 08/26/2010 04:17 am
forum block
Last post by NukeCode in Blocks on 08/12/2010 11:43 pm
Awesome Site (a thank you)
Last post by glasser3 in Off Topic on 07/29/2010 03:55 pm
admin.php?op
Last post by NukeCode in Bug Reports and Fixes [nCo Mod] on 07/24/2010 05:08 pm
Cant find the theme nct_black to download
Last post by Pahkiller in Themes on 05/28/2010 04:21 pm
Hi New here
Last post by Pahkiller in Installation on 05/27/2010 06:51 pm
Need some assistance with a membership module
Last post by Weightlift in Modules on 05/21/2010 08:46 pm
forums showing not active to non admin accounts
Last post by Weightlift in Modules on 05/19/2010 06:09 pm
Surveys
Last post by gsgrego in Modules on 05/03/2009 12:18 am
user cannot change themes
Last post by NukeCode in Post Installation Help on 04/27/2009 06:58 pm
vb and php nuke
Last post by Houdini in Installation on 04/22/2009 11:28 am
Nuke match
Last post by HoRrOr-CoDe in Modules on 04/20/2009 04:05 pm
Display news which are match with the user interest.
Last post by han in Modules on 04/20/2009 02:24 am
Concerning Ported MODS
Last post by Houdini in Off Topic on 04/17/2009 09:34 am
Forums Search
Profile Inbox

blocks
Supporters
Supported by

Toasted Blog

TheTechGame

PHPNukeTurkiye

PHPNuke-Extreme

nukeSEO

NukeCode TopSites

Nuke Scripts

Nuke Fixes

Mangione

HTMLCoders

FLASH-FOR-NUKE

Firefox

Disipal Site

DaDaNuke

Codezwiz

Code Authors

CMS Find

Auto Theme

[ NukeSupporters(tm) ]

blocks
Nuke Find
Nuke Find Php-Nuke Site Locator

Review NukeCode

blocks
Tutorials
01:First Time Install Of PHP-Nuke
(6587 x gelesen)
02:Adding New Blocks
(3725 x gelesen)
03:Adding New Modules
(2378 x gelesen)
04:Installing nCo Ultra 7.6
(2267 x gelesen)
05:Adding Downloads
(2209 x gelesen)



Tutoriaux

blocks
URL Encryption
URL To Encrypt Here:


Output:


blocks
Stats
· Os: Linux b
· Post syntax highlighted PHP-code: [php]code[/php]. Must start with <? and end with ?> 5.2.13
· MySQL: 5.1.47-community-log
· Time: 18:43:30
· Date 02 Sep 2010
· GMT: -0600

blocks
Yahoo Mail
User name:
Password:

blocks
Link To Us

nukecode


NukeCode PHP-Nuke Blocks Modules and Themes: Tutorials

[ Tutorials in progress | Top 10 | Tutorials ]

 More information
First Time Install Of PHP-Nuke
6588 reads | Write a comment | Comment(s) posted for this tutorial.

Welcome To PHP-Nuke
Welcome!
So you have decided to bite the bullet and build your first web site and quickly realized you don't even know where to begin. You don't know HTML an Using and Online service to make your site doesn't seem very appealing. You decided to check out various Content Management Systems and settled on PHP-Nuke which bought you to this site. Were glad you did.

I am not going to bore you with the history of PHP-Nuke what I will do though is give you a straight forward hands on approach to installing PHP-Nuke and since I wrote this tutorial with the beginner in mind I will try not to get too technical, however this guide will assume that you have a host that has PHP and MYSql on their server and is running phpMyAdmin (check with your host if you are unsure about these things). If you are using tripod then you don?t have these things that much I can tell you. We are also going to assume that you have setup your FTP client. This tutorial will only cover installing PHP-Nuke if you are looking for answers on how to install other components then this tutorial isn?t for you.

Ok Now What?
Now that you have settled on using PHP-Nuke to make your website you need to obviously pick a version. I recommend that you always pick one of the latest if not the latest version of PHP-Nuke and of course if need be all the latest patches (Usually we have pre-patched versions available for download). Once downloaded, extract the entire contents of the archive (.zip, .tar.gz or .rar) to a folder on your local computer, I like to use the sites name for the name of the folder nukecode_com for example. Once the archive is extracted you should have the following sub-folders inside of it:
    html
    sql
    upgrades

The html folder should have the following sub-folders inside of itself:
    admin
    blocks
    db
    images
    includes
    language
    modules
    themes

    as well as several .php files


The Database
The next step in setting up PHP-Nuke is installing the database. Assuming your host provided you with some sort of a Control Panel, you should have an icon in it called MYSql Databases. Once opened you will need to provide the SQL server with a database name, a user name and a password, ask your host if you are unsure what icon to use. Try to not use the same user name and password that you used for the control panel.

The names of the SQL database, username and password should also not be common dictionary word or name. Use gibberish like the following:
    Username: nuk3r5
    Password: a2389qsdr
    Database Name: nuk3r5

These are just examples you can name them whatever you like just remember to write them down you will need them again later. Create your database put in the name and click Add Db it?s that simple Once the database is named and you have created a user you will need to add the user to the database. If you are unsure of any of the steps ask someone who knows. Like your host or a friend who already has a PHP-Nuke Website. Now that you have that done you can open phpMyadmin and run your SQL query which will set up the database tables and the initial data. To do this click on your database then click the tab at the top of the screen that is aptly named SQL. You will see 2 text boxes on the browser now one will be called location of text file. Click browse and of course browse to the location of the nuke.sql file which you extracted from the archive earlier. Once you have found that click Open and the location of the nuke.sql file will be given to phpMyadmin simply click go and depending on the speed of your internet connection and the server you should have a functional database in about 2 minutes.

The config.php file
The heart of PHP-Nuke has to be the config.php file without it your Nuke install will not function. That being said we have to know how to edit it, with that being said there is only one small section of this rather large file that we need to concern ourselves with. That would be the Database and System config section. It looks something like this before it is edited:
PHP-Code:
<?php $dbhost "localhost";
$dbuname "root";
$dbpass "";
$dbname "nuke";
$prefix "nuke";
$user_prefix "nuke";
$dbtype "MySQL";
$sitekey "SdFk*fa28367-dm56w69.3a2fDS+e9";
$gfx_chk 7;
$subscription_url ""?>

You can edit this file with any HTML editor or notepad (be careful with notepad it tends to put extra lines at the end of the file, which will hinder the operation of your website. Below is a config.php file edited with the names and passwords we created earlier:
PHP-Code:
<?php $dbhost "localhost";
$dbuname "nuk3r5"//Username you created for the database
$dbpass " a2389qsdr "//Password you created
$dbname "nuk3r5"//Database name you created
$prefix "nuke";
$user_prefix "nuke";
$dbtype "MySQL";
$sitekey "SdFk*fa283g67-dm5dd6w69.3a2dfsfDS+e9";
$gfx_chk 7//Controls the login security code. This is set to all logins.
$subscription_url ""?>

The above config.php file was taken from PHP-Nuke 7.3 depending on what version you use there could be a few minor differences. You should notice that the $dbname, $dbuser and $dbpass have all been filled in or replaced with the names and passwords we created earlier. Also take note of the $sitekey we changed it and you should also when editing your config.php file. Do not change any other settings below this section unless you really know what you are doing. Now save the file and get ready to upload.

Uploading the files:

This is the easy part all we have to do is decide folder or not to folder. I prefer not putting my Nuke installations in a folder some modules and add-ons don?t seem to like it very much. While others say it makes no difference. It?s all just personal preference I suppose. For the sake of the tutorial we will put everything into root (public_html). To do this we need to open the folder we extracted the archive too, then navigate to the html folder (provided it isn?t already open). Then upload everything in the html folder (except the folder itself) to our website. Depending on the speed of your internet connection and the server the upload time can take anywhere from 10 minutes to a couple hours. Either way once it is done and if you followed all these steps you should have a working Nuke installation. So go ahead take a look open your site. If you have no errors and see a blue and white website then you have successfully installed PHP-Nuke. Now go ahead to your admin page. http://mywebsite.com/admin.php and create your Admin God account (this is the main admin account) and your first user. Remember make this username and password different then your cpanel username and password.

In our next tutorial we will cover the initial setup of PHP-Nuke. We hope you found this tutorial useful and informative. We welcome you to comment on this tutorial or make suggestions on bettering it.

Tutoriaux ©
footer
            1: PHP Nuke Super BB Code Box
     45 times
 2: Blog Module for phpNuke
     71 times
 3: Forum Addon Pack v1.0
     17 times
 4: Forum Addon Pack v2.0
     39 times
 5: Random Photo Block NG v2.0
     49 times
 6: Multi Search Engines Module v1.0
     26 times
 7: MySQL Manual for phpNuke v2008
     12 times
 8: Forms Pro for PHP-Nuke CMS v2.0
     23 times
 9: Members Module TS v2.1
     51 times
 10: YouTube phpuke Video Block v1.0
     167 times
Web site powered by PHP-Nuke nCo Modified PHP-Nuke Ultra 7.6 nCo Modified PHP-Nuke Ultra 7.6 Valid robots.txt Add to My Yahoo!Add to Technorati Favorites
NukeCode News NukeCode Forums NukeCode DownloadsGet Firefox!
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, the rest © 2005 NukeCode.
Search engine crawling improved by sitemapper script

Page Generation: 0.184 Seconds
            1: Projects
     20 times
 2: Projects
     151 times
 3: Projects
     208 times
 4: Projects
     287 times
 5: oxiro.net
     1104 times
 6: jhondoe.info
     1043 times
 7: Dada Nuke
     1991 times
 8: Phpnuke database and services
     2202 times
 9: NSN
     817 times
 10: UlSoft
     872 times