HOW HOW
Step 1 -Set root password
sudo passwd root
Step 2 - allow root login
go to /etc/ssh/sshd_config
sudo vi /etc/ssh/sshd_config
add the last line as below
PermitRootLogin yes #
enable thingsboard to auto start
sudo systemctl enable thingsboard
install mosqwuito
pi@raspberry:~ $ sudo apt update
pi@raspberry:~ $ sudo apt install -y mosquitto mosquitto-clients
make it auto start
pi@raspberry:~ $ sudo systemctl enable mosquitto.service
test the installation
pi@raspberry:~ $ mosquitto -v
install APACHE
sudo apt install apache2 -y
install PHP
sudo apt install php libapache2-mod-php -y