Tuesday 22 August 2023

Poem aymen

 Aymen, a name that rings like a bell,

A person of character, with stories to tell.

With a heart full of kindness and a mind sharp and bright,

Aymen shines like a star in the darkest of night.


With a smile that warms and eyes that gleam,

Aymen is a friend, a true friend indeed.

With laughter and joy, Aymen brings light,

To the lives of those lucky enough to be in sight.


So here's to you, Aymen, may your days be bright,

May your heart be full and your dreams take flight.

For you are special, in so many ways,

Aymen, you are loved, now and always.


Wednesday 16 August 2023

strapi installation tutorials

npm cache clean --force


npm install --prefix /tmp/strapic41d56ede4e0 strapi-connector-bookshelf@3.1.0-alpha.5

npm install --prefix /tmp/strapic41d56ede4e0 knex@<0.20.0

npm install --prefix /tmp/strapic41d56ede4e0 mysql@latest


npm cache clean --force
npm install --prefix /tmp/strapic41d56ede4e0

npm install --prefix /tmp/strapic41d56ede4e0 strapi-connector-bookshelf@latest --force
npm install --prefix /tmp/strapic41d56ede4e0 strapi-connector-bookshelf@latest --legacy-peer-deps
npm install --prefix /tmp/strapic41d56ede4e0 knex@0.21.18
npm install --prefix /tmp/strapic41d56ede4e0 strapi-connector-bookshelf@latest

npm install -g npm
npm install -g npm@6.0.0


npm install --prefix /tmp/strapic41d56ede4e0 knex@0.19.5


npm install --prefix /tmp/strapic41d56ede4e0 strapi-connector-bookshelf@latest


 curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.4/install.sh | bash


source ~/.bashrc  

source ~/.nvm/nvm.sh


nvm install node 
nvm install 10

nvm use 10

npm install --prefix /tmp/strapi840898b76475 strapi-connector-bookshelf@latest knex@0.19.5 mysql@latest

sudo npm install strapi@alpha -g

strapi version

sudo strapi new myproject

npm install -g npm@latest

npm install --prefix /tmp/strapi840898b76475 strapi-connector-bookshelf@latest knex@0.19.5 mysql@latest




? Choose your default database client mysql ? Database name: strapi_db ? Host: 127.0.0.1 ? Port: 3306 ? Username: admin ? Password: ********* ? Enable SSL connection: No ⛔️ Connection test failed: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client Retrying...

ALTER USER 'admin'@'127.0.0.1' IDENTIFIED WITH mysql_native_password BY 'your_password';





















Monday 7 August 2023

listing files size in MB/GB in linux using command

 ls -l --block-size=G

 ls -l --block-size=M

ls -ltr --block=m


delete files older than 90 days linux bash script

 cd /home/ubuntu/apps/logs/search

find /home/ubuntu/apps/logs/search -type f -mtime +90 -exec rm {} \;


Poem aymen

 Aymen, a name that rings like a bell, A person of character, with stories to tell. With a heart full of kindness and a mind sharp and brigh...