Let's install...
- apt install unzip
- apt install php
- apt install php-mysqli
- systemctl restart apache2
Wordpress Latest
Install Wordpress
- cd /var/www/html
- wget https://wordpress.org/latest.zip
- unzip latest.zip
- chgrp -R www-data wordpress
- chmod -R 771 wordpress
- http://x.x.x.x/wordpress
- https://docs.craftycontrol.com/pages/getting-started/installation/linux/
Create User on Server for SSH Key Login
- On Server:
- adduser {your_user_name_here}
- Follow the prompts.
- su {your_user_name_here}
- ssh localhost
- yes to confirm
- wait for prompt to fail
- cd .sshtouch authroized_keys
- chmod 600 authorized_keys
- On Local Machine (Your Laptop)
- cd %userprofile%\.ssh
- locate your .pub public key
- If .pub doesn't exist run ssh-keygen
- type *.pub
- Copy the contents of the pub key into your server authorized keys