Installation on Linux/Debian: Difference between revisions
(Created page with " == '''LAMP server installation on Linux Debian''' == '''Before nuBuilder Forte installation on your server you need to make sure that Apache2, MariaDB and PHP are properly ...") |
No edit summary |
||
Line 3: | Line 3: | ||
'''Before nuBuilder Forte | '''Before installing nuBuilder Forte on your server you need to make sure that Apache2, MariaDB and PHP are properly installed, configured and fully operational.''' | ||
To do this you can follow any Linux/Debian installation guide | To do this, you can follow any Linux/Debian installation guide. A few links which can be helpful are listed below: | ||
''( | ''(It is best to just apply the recommended settings during the installation process)'' | ||
https://www.cyberciti.biz/faq/how-to-install-lamp-on-debian-10-buster/ | https://www.cyberciti.biz/faq/how-to-install-lamp-on-debian-10-buster/ | ||
Line 22: | Line 22: | ||
The database for nuBuilder Forte can be created from the command line or with phpMyAdmin which will allow a more user friendly way to perform that process. | |||
(installation of phpMyAdmin is included in the last link). | (The installation of phpMyAdmin is included in the last link). | ||
'''Example''' | '''Example''' | ||
( | (Name of database: TestDB) | ||
In case of mysql command line the database can be created as following: | In case of mysql command line the database can be created as following: | ||
First | First, open the mysql command line from the system terminal with: | ||
>>> ''mysql -u root -pYourRootPsw'' | >>> ''mysql -u root -pYourRootPsw'' | ||
Next DB and user can be created as | Next, the DB and user can be created as follows: | ||
>>> ''create database TestDB;'' | >>> ''create database TestDB;'' | ||
Line 50: | Line 50: | ||
>>>> ''wget https://sourceforge.net/projects/nubuilder/files/latest/download'' | >>>> ''wget https://sourceforge.net/projects/nubuilder/files/latest/download'' | ||
Unpack downloaded file | Unpack the downloaded file | ||
>>> ''unzip download'' | >>> ''unzip download'' | ||
Rename to desired name (it can have the name of | Rename to desired name (it can have the name of the DB or any other name): | ||
>>> ''mv nubuilder4-master TestDB'' | >>> ''mv nubuilder4-master TestDB'' | ||
Line 70: | Line 70: | ||
>>> ''nano /var/www/html/TestDB/nuconfig.php'' | >>> ''nano /var/www/html/TestDB/nuconfig.php'' | ||
For simplicity the same name and password both for DB and nuBuilder accounts were used here - but different can be used as well. | For simplicity the same name and password both for DB and nuBuilder accounts were used here - but different ones can be used as well. | ||
There are more settings | There are more settings possibilities in nuconfig.php but for the beginning the following ones are sufficient to set-up: | ||
''$nuConfigDBName = "TestDB"; | ''$nuConfigDBName = "TestDB"; | ||
Line 89: | Line 89: | ||
== '''Launch of nuBuilder''' == | == '''Launch of nuBuilder''' == | ||
After configuration you can login to nuBuilder with link to the folder on your http server. | After the configuration you can login to nuBuilder with link to the folder on your http server. | ||
(But of course you need to use your own server address) | (But of course you need to use your own server address) | ||
Line 95: | Line 95: | ||
http://192.168.1.10/TestDB/index.php | http://192.168.1.10/TestDB/index.php | ||
when the login window appears enter user and password: | when the login window appears enter the nuBuilder user and password: | ||
User: globeadmin | |||
Password: nuBpsw | |||
All the required tables will be created automatically. So no need to import manually the initial nubuilder4.sql to MariaDB - (anyway manual import is as well allowed). | All the required tables will be created automatically. So no need to import manually the initial nubuilder4.sql to MariaDB - (anyway manual import is as well allowed). |
Revision as of 16:39, 30 December 2020
LAMP server installation on Linux Debian
Before installing nuBuilder Forte on your server you need to make sure that Apache2, MariaDB and PHP are properly installed, configured and fully operational.
To do this, you can follow any Linux/Debian installation guide. A few links which can be helpful are listed below:
(It is best to just apply the recommended settings during the installation process)
https://www.cyberciti.biz/faq/how-to-install-lamp-on-debian-10-buster/
https://www.tecmint.com/install-lamp-on-debian-10-server/
https://linuxhint.com/install_phpmyadmin_debian_10/
Creation of database.
The database for nuBuilder Forte can be created from the command line or with phpMyAdmin which will allow a more user friendly way to perform that process. (The installation of phpMyAdmin is included in the last link).
Example
(Name of database: TestDB)
In case of mysql command line the database can be created as following:
First, open the mysql command line from the system terminal with:
>>> mysql -u root -pYourRootPsw
Next, the DB and user can be created as follows:
>>> create database TestDB;
>>> grant all privileges on TestDB.* to 'globeadmin'@'%' identified by 'nuBpsw';
Downloading nuBuilder Forte
Download the nuBuilder Forte zipped files from SourceForge
>>>> wget https://sourceforge.net/projects/nubuilder/files/latest/download
Unpack the downloaded file
>>> unzip download
Rename to desired name (it can have the name of the DB or any other name):
>>> mv nubuilder4-master TestDB
The folder TestDB must be placed in the Apache2 folder to be accessible externally. Typically it will be:
/var/www/html/TestDB
nuBuilder configuration
Edit nuconfig.php (nano editor can be used or any other)
>>> nano /var/www/html/TestDB/nuconfig.php
For simplicity the same name and password both for DB and nuBuilder accounts were used here - but different ones can be used as well.
There are more settings possibilities in nuconfig.php but for the beginning the following ones are sufficient to set-up:
$nuConfigDBName = "TestDB";
$nuConfigDBUser = "globeadmin";
$nuConfigDBPassword = "nuBpsw";
$nuConfigDBGlobeadminUsername = "globeadmin";
$nuConfigDBGlobeadminPassword = "nuBpsw";
$nuConfigTitle = "TestDB - nuBuilder";
Launch of nuBuilder
After the configuration you can login to nuBuilder with link to the folder on your http server.
(But of course you need to use your own server address)
http://192.168.1.10/TestDB/index.php
when the login window appears enter the nuBuilder user and password:
User: globeadmin
Password: nuBpsw
All the required tables will be created automatically. So no need to import manually the initial nubuilder4.sql to MariaDB - (anyway manual import is as well allowed).