Skip to content

Shkodenko Taras

web development and system administration of Linux

  • PHP Mentorship Program
  • Privacy Policy
  • Security Consulting
  • About

Author: tadmin

Install multiple php versions on Ubuntu server

April 17, 2022April 17, 2022 ~ tadmin

How to Install PHP 7.4 on Ubuntu. All packages should be installed as a root administrator user. Update Ubuntu Server Packages Before we install anything new on a server, you should update your server packages: # apt-get update && apt-get upgrade Install PHP 7.4 Next, to install PHP 7.4 on Ubuntu 20.04, just run the … Continue reading Install multiple php versions on Ubuntu server

Git create and apply patch files

March 28, 2022 ~ tadmin

To create a git patch file from the uncommitted changes in the current working directory use command: git diff > filename.patch In case some part of the work you’re doing are new files that are untracked and won’t be in your git diff output. So, one way to do a patch is to stage everything … Continue reading Git create and apply patch files

Git undo last commit

March 19, 2022March 19, 2022 ~ tadmin

To undo last commit in git you can use the following command below: $ git reset HEAD~

Git show: display commit information

March 8, 2022July 27, 2022 ~ tadmin

To display changes in the particular commit you can use the following command: You can find commit hash using one of the following commands: … or by commit message text: You can also find more information in git show documentation.

MySQL: change table auto increment value

September 4, 2021September 3, 2021 ~ tadmin

If you need to change current value of auto_increment for table you could use the following SQL query:

Git: search commits by message text

Git
September 3, 2021September 3, 2021 ~ tadmin

If you need to find some commits by commit message text you could use the command below:

Pimcore CMS Developer Senior Certification

June 17, 2021July 31, 2022 ~ tadmin

I’ve completed Pimcore CMS Senior Developer Certification.

Composer: how to downgrade to first version

Composer logo
June 15, 2021June 15, 2021 ~ tadmin

To downgrade composer to version 1 the following command should be used:

Make tar archive without .git folder or any other version control systems

May 27, 2021 ~ tadmin

To make tar archive without .git folder or any other version control systems –exclude-vcs option can be used for tar. Example tar command could be:

Git: how to list all the files in a commit

Git
May 27, 2021July 27, 2022 ~ tadmin

To list all the files in a commit use command: To get a commitId use command:

Posts navigation

Older posts
Newer posts

Support My Work!

Categories

  • Apache
  • CMS
  • Databases
  • Docker
  • Drupal
  • Git
  • Laravel
  • Lean
  • Linux
  • macOs
  • Magento
  • MySQL | MariaDB
  • Nginx
  • PHP
  • Pimcore CMS
  • Plesk
  • PostgreSQL
  • Server configuration
  • Symfony
  • Uncategorized
  • WordPress
  • Yii2
DigitalOcean Referral Badge

Tags

.htaccess Apache archive bash certificate composer diff docker Drupal ffmpeg git git best practices grep IPTables Laravel Laravel best practices Laravel tips Linux Linux commands Linux file management Linux system administration MySQL mysqldump Odin openssl PHP PHP development Pimcore Plesk PostgreSQL ProFTPD script Security sed shell software development ssh ssl Symfony system administration tar ubuntu web development wordpress zip

Donations

You can support this project if you like what I'm writing

Recent Posts

  • How to Back Up a MySQL Database in Docker (MySQL 8.4)
  • How to Find Files Modified Between Specific Dates in Linux Using the find Command
  • How to Set Up Passwordless SSH Authentication with ssh-copy-id in Linux
  • How to Display a Configuration File Without Empty Lines and Comments in Linux
  • Happy 35-th Birthday, Linux: The Operating System That Changed the World
  • What does sed -n ‘BEGIN,ENDp’ /path/to/file.txt Linux shell command do?
  • PHP 31-th Anniversary — A Quick Look at the Evolution of the Language Code from Version 7.4 to 8.4

Search

  • GitHub
  • YouTube
  • Telegram
  • Patreon
  • Instagram
  • Pinterest
Register on NIC.UA get permanent 10% discount
Proudly powered by WordPress ~ Theme: Shcom-child by Taras Shkodenko.