Sudo Apt Install Openssh-Server
Sudo Apt Install Openssh-Server
Sudo Apt Install Openssh-Server
Start
INPUT
- username
- servername
- password
Get IP ADDRESS
- CODE: ifconfig
- make sure your network in VBM is bridge adapter.
- IF “ifconfig” not found type this CODE: sudo apt install net-tools
INSTALL APACHE
INSTALL PUTTY
https://www.putty.org/
- CLICK HERE
INSTALL FILEZILLA
https://filezilla-project.org/
GO BACK TO PUTTY
- INSTALL VSFTPD
o CODE: sudo apt-get install vsftpd
-IP ADDRESS
- USERNAME
- PASSWORD
- GO TO PUTTY
cd /
cd etc
ls
cd var/www
sudo chown –R (username):(username) html
DRAG THE HTML FILE IN LOCAL SITE TO THE REMOTE SITE OR DPUBLE CLICK THE HTML FILE IN THE
LOCAL SITE
- CLICK OK
TRY RELOADING THE OPENED BROWSER OF SITE OF YOUR IP ADDRESS IF IT SUCCESSFULLY CHANGED
DATABASE:
GO TO MYSQL:
CREATE DATABASE:
NOTE : MAKE SURE NGA GE TAWAG NINYO ANG login.php or kaning php file sa inyong index.html like
dizzzz :
NOTE: DOUBLE CHECK SA MGA VARIABLES/NAME SA INYONG FIELDS SA LOGIN FORM GUI like
username and password
IF ERROR: NOT FOUND, The requested URL was not found on this server:
cd var/www/
sudo chmod -R 755 html
IF ERROR 500 :
cd /
cd /
exit
cd /var/www/html
777 - directories with proper permissions on files in directory, use this one very carefully
755 - web store folder, CGI scripts
751 - log folder
701 - webalizer and modlogan folders
666 - data files
644 - configuration files (files not updated by scripts, html, gif,etc...)