nuBuilder Installation Guide - nuBuilder/nuBuilder-4.5 GitHub Wiki
nuBuilder requirements
In order to run nuBuilder, you will need to have MySQL 5.7 (or greater) OR MariaDB 10.3 (or greater) installed, along with a web server (e.g. Apache or Nginx) that supports PHP (Version 7.0.33 and newer)
Advice: With the help of a local server (one that is hosted on your own machine or local computer), you can test your website as many times you want before updating it to the web server. It saves your time as well as it is easy to use. There are packages for different platforms, e.g: XAMPP, WAMP, LAMP, MAMP, Uniform Server etc.
If you would like your nuBuilder site to send emails, you will also need access to an SMTP server.
1. Download
Download the nuBuilder 4 files from either Github or Sourceforge.
2. Unpack
Unpack the files into a directory on your server. E.g \nubuilder4
3. Create a database
Create a new MySQL or Maria DB database:
Using a tool like ‘phpMyAdmin’, or some other application provided by your hosting provider, create a database and assign it a user-name and password. The name of the database can be whatever you need it to be. (e.g. nubuilder4) (For detailed instructions, see here)
4. Rename nuconfig-sample.php
Make a copy of the nuconfig-sample.php file and save the new file as nuconfig.php
5. Settings in nuconfig.php
Update the following variables in nuconfig.php:
- nuConfigDBHost
- nuConfigDBName
- nuConfigDBUser
- nuConfigDBPassword
- nuConfigDBGlobeadminUsername
- nuConfigDBGlobeadminPassword
e.g.
$nuConfigDBHost = "127.0.0.1"; //-- Use an IP address or server name e.g., 127.0.0.1 or localhost
$nuConfigDBName = "nubuilder4"; //-- Database name
$nuConfigDBUser = "root"; //-- Database username
$nuConfigDBPassword = ""; //-- Database password
$nuConfigDBGlobeadminUsername = "globeadmin"; //-- globeadmin username
$nuConfigDBGlobeadminPassword = "notpassword"; //-- globeadmin password
As a best practice, please create a new MySQL user and do not use root!
6. (Optional) Settings under Linux (sometimes also under Windows)
Edit the file /etc/alternatives/my.cnf and add this configuration at the bottom:
[client]
port=3306
socket=/tmp/mysql.sock
[mysqld]
port=3306
socket=/tmp/mysql.sock
key_buffer_size=16M
max_allowed_packet=8M
sql-mode=NO_ENGINE_SUBSTITUTION
[mysqldump]
quick
7. Log in
After you have completed these steps you should be able to go to a URL that will look something like the following: http://yoursitename.com/nubuilder4/index.php
Log in using globeadmin as the user-name and the password you specified.
8. Setup inside nuBuilder
Click the Setup Button on the Setup Tab of the Home Form to edit the following...
Timeout Time Zone
Language: Set the language for the globeadmin user.
Email Settings Header The Header is placed in the HTML5 header of nuBuilder Forte and can be used for adding...
- JavaScript libraries
- JavaScript functions
- Style Sheets
Style
- CSS Styles
Settings
Various configuration settings
9. Next steps
Read the nuBuilder Forte User Guide (see link below), join the Forums to search for answers or ask questions.
Useful links:
- nuBuilder Forte User Guide 1
- nuBuilder Forte User Guide 2
- Wiki Documentation
- Forums
- Installing nuBuilder on Windows using XAMPP
- Installing nuBuilder on Windows Using WAMP
- Installing nuBuilder on Ubuntu
- Installing nuBuilder in an LXD container
- Installing nuBuilder on bluehost.com (1)
- Installing nuBuilder on bluehost.com (2)
- Installation of nuBuilder through CPANEL
- Updating nuBuilder