Author: Rahul

I, Rahul Kumar am the founder and chief editor of TecAdmin.net. I am a Red Hat Certified Engineer (RHCE) and working as an IT professional since 2009..

Composer is the most popular way for managing packages in PHP bases applications. Laravel also relies over composer for installing, upgrading and removing packages. Composer 2.0 is the latest version available for installation. This is more powerful, fast and fully compatible with older versions. Remove Package from Laravel You can remove all packages no longer required from the Laravel application. Use the following command to remove the package from vendor. This will also update composer.json and composer.lock accordingly. composer remove vendor/package Change vendor/package with the packages name to delete. For example, below command will delete doctrine/annotations from Laravel application. composer…

Read More

The wget command is a command line utility for downloading files from the remote servers. It’s also used to triggers server side scripts using the cron jobs. Problem While using the wget with cron job saved the downloaded files under home directory. Due to this a large number of junk files get created in your system. Solution Use -O option with wget command to write the result file (data) to specific file and location. Next select /dev/null device file as target file. This will discard anything written to it. In result, no junk files will be created in your home…

Read More

A collation is a set of rules that defines how to compare and sort character strings in a database server. In this tutorial, we are discussing about an error faced during database restore on other server. Let’s see the problem and solution about the issue faces recently: Problem During the migration of an web application, I got below error while restoring a database on another server. The collation id may difference based on MySQL version. Error message: Error 1273 (HY000) at line 25 Unknown collation: ‘utf8mb4_0900_ai_ci’ See the error screenshot during database restoration. Here you go with a solution. Solution…

Read More

Gulp is an open-source JavaScript toolkit developed by by Eric Schoffstall helps developers to automate & enhance there workflow. It is a good command-line task runner for Node.js applications. Gulp let us automate processes and run repetitive tasks with ease. It provides a feature of piping output from one task as an input to the next. This tutorial describes you to how to install Gulp on Ubuntu 20.04 LTS Linux systems. Step 1 – Installing Node.js First of all, you need to install node.js on your system. Use following set of commands to add node.js PPA in your Ubuntu system…

Read More

Puppet is an popular infrastructure management tool. With the help of Puppet server, you can easily manage a large number of servers from a master server. Puppet server node is responsible for managing multiple client node. Its necessary that all the client nodes must of Puppet Agent server installed and running. Our previous tutorial describes you to configure Puppet master node on a Ubuntu 20.04 system along with client node. If you need to add more client server to existing Puppet network, just install the Agent server on the server. This tutorial describes you step-by-step setup to install Puppet Agent…

Read More

Puppet is an open-source, automation admin engine used to perform administrative tasks and server management remotely. This tool is available on Linux, Unix, and Windows. This configuration management tool will help you automate the management and configuration of your server infrastructure. After following this tutorial, you should have fully set up Puppet master and client nodes on your Ubuntu systems. This tutorial help you to install and configure Puppet master and agent nodes on Ubuntu 20.04 Linux systems. Prerequisites You must have: Two or more running Ubuntu 20.04 systems, one for master and other clients. Shell access to all systems…

Read More

The APT (Advanced Package Tool) is a powerful package management tool for Debian based systems. It provides powerful command-line tool like “apt” or “apt-get”. Which is used to install, upgrade or remove a software package on your Debian system. In this tutorial, you will learn to how to uninstall or remove packages from a Ubuntu or Debian Linux system. How to Remove Packages via Command Line You can use “apt” command line tool for removing packages from your system. For older version of operating systems use “apt-get” command with the same options. Use one of the below options to remove,…

Read More

The netstat command generates displays that show network status and protocol statistics. It is a cross-platform utility available for Linux, macOS, or Windows systems. Which is very helpful troubleshooting the network configuration and issues. Identifying the application using ports on a system. The latest Linux operating systems have default installed this tool. But some of the minimal installation may not contain this tool in your system. In that case, this tutorial will help you to install netstat command on Linux system. How to Install netstat Command in Linux Generally the net-tools package provides the netstat command for most of the…

Read More

Systemd is a software application that provides an array of system components for Linux operating systems. It is the first service to initialize the boot sequence. This always runs with pid 1. This also helps use to manage system and application service on our Linux operating system. We can also run any custom script as systemd service. It helps the script to start on system boot. This can be helpful for you to run any script which required to run at boot time only or to run always. In our previous tutorial we have provides you instructions to run a…

Read More

This tutorial will help you to remove start and ending double quote from string in shell script. Where the string is stored in a variable. Remove Double Quote from a String The sed command line utility helps to easily handle this. A single line sed command can remove quotes from start and end of the string. sed -e ‘s/^”//’ -e ‘s/”$//’

Read More