comme.nirmisi.org
?SSH into the server from your terminal
ssh avinash@comme.nirmisi.org
In the server you'll see a prompt that says my-username@vultr:~$
Go to the web root with cd /var/www/html
You can see what's already there with ls
xxxxxxxxxx
21username@vultr:/var/www/html$ ls
2index.html my_pairs_folder
Make your own folder mkdir folder_name
Close the SSH session. exit
In the terminal navigate to the folder you placed you zip in, maybe your home folder
cd /Users/myusername
See if you zip is there ls name_of_my_package.zip
xxxxxxxxxx
1avinash@iris~> ls name_of_my_package.zip
2name_of_my_package.zip
Move it using SCP to the server scp name_of_my_package.zip username@comme.nirimisi.org:
The :
is very important.
x1aviansh@iris~> scp name_of_my_package.zip avinash@comme.nirmisi.org:
2name_of_my_package.zip 100% 8 0.1KB/s 00:00
SSH into the server and verify it's there.
x51aviansh@iris~> ssh avinash@comme.nirmisi.org
2Last login: Sat Nov 26 19:36:42 2022 from 103.107.196.212
3avinash@vultr ~ ls
4name_of_my_package.zip things
Unzip the files unzip name_of_my_package.zip
xxxxxxxxxx
41avinash@vultr ~ unzip name_of_my_package.zip
2Archive: name_of_my_package.zip
3creating: name_of_my_package/
4inflating: name_of_my_package/name_of_my_package.html
See what you got ls
xxxxxxxxxx
21avinash@vultr ~ ls
2name_of_my_package name_of_my_package.zip things
Copy ALL the contents of the folder name_of_my_package with the wildcard *
to your folder in the webroot /var/www/html/my_pairs_folder using cp name_of_my_package/* /var/www/html/my_pairs_folder
Go to your newly set up folder and check if it's all good cd /var/www/html/my_pairs_folder
and ls
Verify it all works by opening your URL in a browser.