explain the steps on the following:
Install Proxmox VE for my actual server.
In the server, create two Virtual Machines.
Sure! Here’s a step-by-step guide to help you install Proxmox VE, create virtual machines, set up directories, and create databases.
Download Proxmox VE ISO:
Create a Bootable USB Drive:
Boot from USB:
Install Proxmox VE:
Complete Installation:
https://<your-server-ip>:8006
in a web browser.Log in to Proxmox Web Interface:
Create Application VM:
Create Database VM:
Access the Application VM:
Create Subdirectories:
sudo mkdir -p /var/www/internet_application
sudo mkdir -p /var/www/web_application
Set Permissions (Optional):
sudo chown -R www-data:www-data /var/www/internet_application
sudo chown -R www-data:www-data /var/www/web_application
Access the Database VM:
Install MariaDB:
sudo apt update
sudo apt install mariadb-server
Secure MariaDB Installation:
sudo mysql_secure_installation
Log in to MariaDB:
sudo mysql -u root -p
Create Databases:
CREATE DATABASE internet_application_db;
CREATE DATABASE web_application_db;
Create Users and Grant Permissions (Optional):
CREATE USER 'internet_user'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON internet_application_db.* TO 'internet_user'@'localhost';
CREATE USER 'web_user'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON web_application_db.* TO 'web_user'@'localhost';
FLUSH PRIVILEGES;
Exit MariaDB:
exit;
to leave the MariaDB shell.You have now successfully installed Proxmox VE, created two virtual machines (one for applications and one for the database), established subdirectories in the Application VM, and created two databases in the MariaDB under the Database VM. You can now proceed to deploy your PHP applications and connect them to the respective databases.