Monday, 5 December 2022
docker commands cli
Wednesday, 19 October 2022
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_rsassh-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
Tuesday, 29 March 2022
Thursday, 17 March 2022
php 8.2 dependency
==> Installing php@8.2 from shivammathur/php
==> Installing dependencies for shivammathur/php/php@8.2: apr, ca-certificates, openssl@1.1, apr-util, argon2, aspell, m4, autoconf, brotli, gettext, libunistring, libidn2, libnghttp2, libssh2, openldap, rtmpdump, zstd, curl, libtool, unixodbc, freetds, libpng, freetype, fontconfig, jpeg, giflib, imath, openexr, libtiff, webp, jpeg-xl, libvmaf, aom, libavif, gd, gmp, icu4c, krb5, libpq, libsodium, libzip, oniguruma, pcre2, readline, sqlite and tidy-html5
Install brew cask & install docker
Install Brew
- Make sure you've installed Brew, with this (wait until its done installing) (Edit: added ending quote to the end)
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Then follow NEXT STEPS shown on command line, it should show something like this
==> Next steps:
- Add Homebrew to your PATH in /Users/$USER/.zprofile:
echo 'eval $(/opt/homebrew/bin/brew shellenv)' >> /Users/$USER/.zprofile
eval $(/opt/homebrew/bin/brew shellenv)
- Copy and paste the first line on the same terminal window, then hit enter
echo 'eval $(/opt/homebrew/bin/brew shellenv)' >> /Users/$USER/.zprofile
- Then Copy and paste the last line on the same terminal window, then hit enter
eval $(/opt/homebrew/bin/brew shellenv)Install Docker
To install: brew install --cask docker
To uninstall: brew uninstall --cask docker
OPEN DOCKER
open /Applications/Docker.app