This error appeared today when I tried to install git on a clean Debian 9.8 server: This error means you don’t have gettext installed. Fix it with the following command as root: That’s all. The error above should not appear anymore.
Here comes the guide for global composer installation. Rename it to composer-setup.php Use this command for global installation: All done! Now you can run composer from command line by simply typing composer.
Here is a quick guide for composer setup on a DirectAdmin server (if you want to make it available for all users). We will use Directadmin Composer plugin – you can get one here First of all, we will need root access to install this plugin. Here is the list of commands for that: cd /usr/local/directadmin/plugins; wget https://github.com/Marco129/DirectAdmin-Composer/archive/master.zip;… Read More »
When you try compiling some software (in my case it was ImageMagick), you can get this error: error: Autoconf version 2.68 or higher is required It means you have probably never updated autoconf on your system. It’s quite easy to fix this in some clear steps: Download the latest version of autoconf available – for me it was… Read More »
Sometimes you need to block a certain number of IP addresses. It is ok, when you have 10 addresses to reject. But what if you have 2000? Here is the solution that will allow you to limit any number of addresses. I’m going to use ipset. In my sample there is a CentOS machine, so I will use… Read More »
Linux has really upgraded over the years and this is great news for Windows users who’re sick of paying for new Windows releases or are in general dying for a change. It’s time, folks to switch to Linux. But wait, how can you throw away your Windows set-up for something that is fairly new to you? Read on… Read More »
Just a short command to obtain user name, if you just know uid (may be useful if you are investigating logs that don’t include usernames). Let’s try to search for username with uid=0:
If you need to add composer to your server, there are just 2 command to input: And then That’s it! Now you can run composer from command line.
This error usually appears after fresh csf installation. In my sample it’s on a Directadmin Server. Here is the warning message that was on the top of panel: In order to resolve this issue, you need just a single command: This will install all the missing libraries. In my sample it was like this:
Very often when you try co compile anything from sources, you are getting error messages about any files, that are not found , but they are needed to continue with your software setup. How to determine, which package you need to install in order to resolve this dependency? Pretty simple – there is one command that will help… Read More »