How to install Nucleus CMS in XAMPP Windows 11


Nucleus CMS is an open-source, lightweight content management system. It was developed by The Nucleus Group. It was first released in 2022 and its final release was on September 22, 2014. For this tutorial, we are going to create a website out of it for free using XAMPP in our Windows pc. But first, you need to download the given files below.


Requirements:



Assuming that you already downloaded the XAMPP and Nucleus CMS zip file, continue doing the tutorial below.


Table of Contents


  • XAMPP Installation
  • Opening XAMPP Control Panel and running Apache and MySQL
  • Copying and pasting Nucleus CMS installation folder to HTDOCS
  • Creating a Database for Nucleus CMS installation using phpMyAdmin
  • Installing Nucleus CMS using XAMPP localhost via web browser
  • Opening Nucleus website homepage
  • Opening Nucleus website admin page

Here are the steps on how to install Nucleus CMS using XAMPP in Windows pc


XAMPP Installation


1. Open the XAMPP file that you downloaded. In the Installer Language, select English and press OK to proceed.


xampp installation select language

2. In the Welcome to XAMPP 1.6.3 Setup Wizard, just press NEXT to proceed.


xampp installation welcome page

3. In the Choose Install Location, do not change the default location. Press NEXT to proceed.


xampp installation choose install location

4. In the XAMPP Options, uncheck every option and press INSTALL to proceed.


xampp installation options

5. Wait for the installation to finish.


installing xampp

6. When done, click Finish to exit the installer.


successfully installed xampp

Opening XAMPP Control Panel and running Apache and MySQL


1. To open XAMPP Control Panel, just click its shortcut in your desktop or go to Start and search for "xampp" and press ENTER. Inside, click on the Start buttons for Apache and MySQL.


open xampp control panel

2. Apache and MySQL are both running now.


xampp apache and mysql are running

Copying and pasting Nucleus CMS installation folder to HTDOCS


1. Extract the Nucleus zip file that you downloaded. Rename the extracted folder as "nucleus". Make sure all the content of your nucleus folder is not inside a sub-folder. Copy your nucleus folder. Go to This PC.


search for this pc windows 11

2. Inside This PC, open C drive.


windows 11 c drive

3. Then open xampp folder.


xampp folder located in c drive windows 11

4. Inside xampp, open htdocs folder.


htdocs folder located in xampp folder c drive windows 11

5. And inside htdocs, paste your nucleus folder.


copying and pasting the nucleus cms installation folder inside xampp htdocs

Creating a Database for Nucleus CMS installation using phpMyAdmin


1. We are going to create database needed for our Nucleus website installation. Open your web browser and go to 127.0.0.1 and press ENTER. In the Language selection, click English.


opening xampp via web browser with english language

2. Inside, under Tools, click phpMyAdmin.


opening phpmyadmin via xampp using web browser

3. In the Create new database, name your database as nucleus_db. Next to it, set it to utf8_unicode_ci and press Create.


creating database for nucleus cms installation via xampp phpmyadmin

4. In the Create new table, name your table as nucleus_table and set the Number of fields to 4. Press Go to proceed.


creating database table for nucleus cms installation via xampp phpmyadmin

5. In the Field, name it as nucleus and set the Type to INT.


creating database field for nucleus cms installation via xampp localhost phpmyadmin

6. Set Collation to utf8_unicode_ci and leave all the other fields blank.


setting utf8_unicode_ci collation for nucleus cms database

7. Save your work.


saving database created for nucleus cms installation

8. And you have successfully created the database with its table needed for our Nucleus website installation.


successfully created database and table needed for nucleus cms installation

Installing Nucleus CMS using XAMPP localhost via web browser


1. We are now ready to install our website. Open your web browser and go to 127.0.0.1/nucleus/install.php and press ENTER.


accessing nucleus installation folder via xampp localhost using web browser

2. We are now inside the installation page.


install nucleus cms

3. Under General Database Settings, do the following: Hostname - localhost, Username - root, Password - blank or none, Database - nucleus_db. Leave table prefix as it is.


nucleus cms installation general database settings

4. Leave Directories and URLs to default. Do not change its values.


nucleus cms installation directories and url

5. Under Administrator User, do the following: Display Name - admin, Real Name - Administrator, Password - your desired admin password and confirm it (do not forget it), Email address - enter a valid email.


nucleus cms installation administrator user

6. For Weblog Data do the following: Blog Name - name your blog or website, Blog Short Name - just the short name for your blog/website. Leave Weblog Ping as it is and press Install Nucleus to start the installation.


nucleus cms installation weblog data and weblog ping

7. Nucleus installation is completed!


nucleus cms installation completed

8. After a successful installation, you need first to delete both the install.php and install.sql files located inside your nucleus folder in the htdocs directory.


delete nucleus install files

9. To delete these files, go to This PC > C drive > xampp > htodcs > nucleus. Find and delete the install.sql and install.php files.


delete install php install sql files inside nucleus root folder

Opening Nucleus website homepage


1. To open your Nucleus website homepage, go to 127.0.0.1/nucleus or localhost/nucleus.


sample nucleus website homepage

Opening Nucleus website admin page


1. To open your Nucleus website admin account, go to 127.0.0.1/nucleus/nucleus. If a "Security Risk" page appears instead of the Login page, then, you need to fixed it first. Do the tutorial below.


How to change the permissions on config.php back to 444 for security


  • Go to c:\xampp\htdocs\nucleus and find config.php
  • Right-click open with Notepad
  • Find include($DIR_LIBS.'globalfunctions.php');
  • Below it type this line of code chmod('C:\xampp\htdocs\nucleus\config.php', 0444);
  • Save Notepad

cannot access nucleus admin login page

2. Refresh the 127.0.0.1/nucleus/nucleus page and the page below should be shown now.


sample nucleus admin login page

3. Login your username which is admin and your password. Press Log In to proceed.


enter nucleus admin username and password

4. Inside your administration page, you will see links, and settings, that you can use to modify settings and contents of your Nucleus website. This is only available to you as the owner and administrator of your website.


sample nucleus website administration page

Thank you for reading this tutorial guys. I do hope that you have learned a lot while doing this. If you have a question, you can leave a comment below. Cheers!

No comments:

123how.xyz only wants on-topic comment. Do not include any link, else your comment won't be published. Thanks!

Most Read Tutorials:

Powered by Blogger.