Pages

Tuesday, September 8, 2009

DotNetNuke Installation

Views

How to install DNN on your website

DotNetNuke application is no longer compatible with SiteGround hosting services!

To be able to setup the Dot Net Nuke application on your ASP hosting account, first you should configure the application's requirements as appropriate. The Dot Net Nuke application requires a MSSQL database and Virtual Web directory to be created trough your Plesk control panel.

Go to the Plesk login page and enter your login credentials. Confirm them by clicking on the Log in button.

Choose the domain name you want to operate over by clicking on it at the bottom of the page as it is shown on the picture bellow.

How to create a MSSQL database

Here first you should create a MSSQL database. To be able to manipulate your databases and database usernames you should click on the Databases icon.

The Dot Net Nuke application requires a new empty database for its installation. Here you will be able to create it by clicking on the Add new database icon.

Choose your Dot Net Nuke database name and select MSSQL as a database type. Please note that the Dot Net Nuke application currently is not compatible with the MySQL database and thus it would not work with it.

Add a username assigned to have privileges to the database you have just created by simply clicking on the Add new database user icon.

Fill the form as appropriate and confirm the action by clicking on the OK.

How to create a Virtual Web directory

Go back to the domain name by clicking on it at the top of the page as it is shown on the picture below where you should now create a new web virtual directory.

This could be easily done by clicking on the Web Directories icon.

You need a new one, so choose the Add the new virtual directory icon.

Choose the virtual name and enter the path to your web root folder.

If you are planning to install the DNN application in a subfolder of your domain name (for example in http://win.lamzo.com/newdnn) please make sure that you have entered the full path to that directory (in this case /httpdocs/newdnn).

The Dot Net Nuke application requires special permissions in order to operate normally so tick the boxes as shown on the picture. Select the script and executables for Execute permissions and apply the changes by pressing the OK button.

Download and Install DNN

You are now ready with the dependencies (MSSQL database, Virtual Directory) for your new Dot Net Nuke portal.

It is time to download the application itself. The Dot Net Nuke project has its own web page which is located at http://www.dotnetnuke.com/. Open this page and please point your browser to the Downloads button.

The Dot net nuke authors require FREE registration process to be passed before you can download the application. Click on the register hyperlink and follow the registration instructions. If you are already registered you could simply skip this step and go to the download section directly.

Fill the required boxes and click register. Once you are done you will receive an auto-generated e-mail message with the account activation code on the e-mail address you will enter in this step so make sure you will provide a valid one.

Get the account activation code by checking your e-mail box and copy it. Click on the login button. Once you have entered your username and password you will be asked you for the Verification code. Enter it as appropriate and click login.

Here you will need to download the Dot Net Nuke SOURCE files (the highlighted one on the picture bellow) by clicking on the Download hyperlink at the right side of your browser.

You will be redirected to the Source Forge download page where you should select the mirror to download the application from and click the download button.

The download process will be started shortly and when it is finished please, save the application archive in a separate folder on your computer.

You should extract the archive you have just downloaded in a separate folder.

Go to the extracted files directory.

Navigate to the "Website" subfolder.

Copy the relase.config file to a file with a name web.config. You can simply rename the relase.config file to web.config but if you mess up something you will have the core relase.config file untouched.

Rename the copy to web.config

In order to be able to make your new Dot Net Nuke application to work properly your should modify the web.config file. This could be easily done by open it with the text editor of your choice such as WordPad and Notepad.

Find the highlighted lines delete them by pressing your DEL button or choose the Cut option from the right-click menu

Cut the commentary closing tag as shown on the picture and paste it at the end of the line as it is shown on the next picture.

Paste the closing tag here or you can simply enter it manually.

Adjust the settings on the following line with the database details you have created via the Plesk control panel (see above) in the initial step.

There is one more connection string you should adjust in the web.confg file.

Find and delete the following lines using the cut/DEL button of your text editor.

Cut this tag and paste it 2 lines above, at the end.

Paste it here.

Modify the database details as appropriate.

The editing of the web.config file is now finished. Please save the changes you have just made by clicking on the File -> Save button.

There is one more file you will need to edit. Once you are done with it you will be ready to upload and install your Dot Net Nuke portal.

You should locate the DotNetNuke.install.config file which is typically located in the Install subfolder. Once you find it please open the file with your favorite text editor.

Find the following line:

http://www.dotnetnuke.com

and replace it with your website address:

http://www.your-new-dot-net-nuke-portal.com

When you are done, please save the changes and proceed to the next step.

Upload the contents of the Website folder to the desired location of your website using your favorite FTP client application.

Once the upload process has finished you should give read, write and execute permissions for the IUSR and IWAM users for all of the DotNetNuke application files and folders. This can be easily done via the File manager of your Plesk control panel. Once you apply them proceed to the next step. If you experience any difficulties to do this by yourself, please do not hesitate to post a ticket and our support team will be more than happy to assist you.

Now it is time to finish your Dot Net Nuke installation by pointing your web browser to the URL where you have just uploaded the files. The installation process will begin automatically and after a short period of time a screen similar to the picture bellow should appear in your web browser.

Click on the link at the bottom of the page and you will be redirected to your new DNN portal.

You are now ready with the Dot Net Nuke portal base installation.

Please bear in mind that the first thing you should do after the installation process is to change the default passwords with a more complex one for the admin and host accounts due to security reasons. The application comes with 2 default accounts installed. The main superuser account username is host. The administration username is admin. Their default log in details are as follows:

Login: host
Password: dnnhost

Login: admin
Password: dnnadmin

The default passwords could be easily changed by logging into your portal with each of these accoutnts and proceeding as shown on the pictures bellow.

Click on the SuperUser account hyperlink at the right side of your portal.

From this page you should modify your personal settings. To change your password click on the Manage Password hyperlink.

Enter your current Dotnetnuke password and confirm the new one by entering it twice.

To change the password for the admin account the steps you should take are the same.

Well done! Now you are ready with your DotNetNuke installation!

0 comments:

Post a Comment

 

Web Design Company karimnagar, Web Designing warangal, Logo Design Company nizamabad, Indian Website Design Company, maddysoft.co.in