Difference between revisions of "AppInventor: Menyiapkan Server Apache dan MySQL"

From OnnoWiki
Jump to navigation Jump to search
Line 4: Line 4:
 
  apt update
 
  apt update
 
  apt install apache2 php php-common php-mysql libapache2-mod-php mariadb-server
 
  apt install apache2 php php-common php-mysql libapache2-mod-php mariadb-server
 +
 +
mysql -u root -p123456
 +
CREATE DATABASE iot;
 +
CREATE USER 'iot' IDENTIFIED BY 'iot';
 +
GRANT ALL PRIVILEGES ON iot.* TO 'iot';
 +
FLUSH PRIVILEGES;
 +
exit
  
  
  
 
==Pranala Menarik==
 
==Pranala Menarik==

Revision as of 19:20, 14 January 2024

Instalasi

sudo su
apt update
apt install apache2 php php-common php-mysql libapache2-mod-php mariadb-server
mysql -u root -p123456
CREATE DATABASE iot;
CREATE USER 'iot' IDENTIFIED BY 'iot';
GRANT ALL PRIVILEGES ON iot.* TO 'iot';
FLUSH PRIVILEGES;
exit


Pranala Menarik