Sunday 18 September 2022

Multiple SSH credentials gitlab and github

 https://gist.github.com/Sotatek-NuiTran/a20d6827d874ca5f5b7b01e1a6d8fd01



https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent


how to insert to ssh agent and check list of keys

 eval `ssh-agent -s`
ssh-add ~/.ssh/id_rsa
ssh-add -l

Apache2 & laravel installation in Ubuntu 20.04

step 1 - login github & create new repo

step 2 - generate ssh id_rsa and add to github

 ssh-keygen -t rsa -b 4096 "your_email"

 step 3 - installation composer 

https://www.digitalocean.com/community/tutorials/how-to-install-and-use-composer-on-ubuntu-20-04

step 3.5 (optional)

- enabling permission
    sudo chmod -777 /var/www


4. installation details

1. laravel project

https://aws.plainenglish.io/how-to-deploy-a-laravel-project-into-a-aws-ec2-instance-ae067b70e4e2

2. laravel project  

https://ioecapsule.com/how-to-deploy-laravel-application-on-aws-ec2/

3. medium

https://medium.com/nerd-for-tech/how-to-deploy-laravel-project-on-ec2-aws-6d004a57bb1f