Sunday, 18 September 2022

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

  1. 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)"
  1. 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)
  1. Copy and paste the first line on the same terminal window, then hit enter
echo 'eval $(/opt/homebrew/bin/brew shellenv)' >> /Users/$USER/.zprofile
  1. 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

Saturday, 23 October 2021

Guidline @ Reference Step By Step Deploy Node JS onto Digital Ocean

 https://medium.com/nerd-for-tech/deploy-your-nodejs-application-to-a-digital-ocean-droplet-step-by-step-guide-3f6f928f776

Install latest node JS in Ubuntu --> Digital Ocean

 //STEP 1:install using curl (PPA)

sudo apt update && sudo apt install curl -y

//STEP 2:install latest version (replace 14.x with requird one(i.e 15.x))

curl -sL https://deb.nodesource.com/setup_15.x | sudo -E bash -

sudo apt install nodejs

nodejs -v

v15.3.0