Two years ago I have written a short guide on the same subject – here it is. Since yum install git still doesn’t allow us to install git 2, let me share the fastest way to get git up and running on your server. First of all, let’s download the most recent version of git here. Most recent… Read More »
Today I have tried to setup my New Year Gift – Huawei P10 Lite with my old friend – Garmin Vivoactive. Since it took me more than 4 hours in total, I would like to share the solution with you, as it seems that the issue is related to most Huawei phone – Garmin Watch pair. I am… Read More »
If you ever made backups from command line, you’d probably wanted to do this on a regular basis, including date and time of your backup (e.g. to keep backups for a week or so). Here is a simple command, that will allow you to do this: You can specify your own format by adding or removing date parameters.… Read More »
It’s a strange thing that such a popular software is not yet included into Directadmin custombuild, but you are always welcome to install it by yourself. Let me start this brief tutorial about git installation. If you need a quick solution, you can use yum: yum install git But this will allow you to install version 1.7, that… Read More »
Sometimes when you need to install something that interacts with libz, you might get the following message (I have faced it while installing git): Solution is simple – most probably you already have a library with right version, just the symbolic link to it is wrong. First of all, find libz.so version you are using: You should see… Read More »
Sometimes when you need to list a folder via FTP with huge number of files, you might see the following message: So you will only get first 10000 files listed. If you need more, you need to change a setting in your init.d section. This solution is provided for PureFTPd FTP server, where this parameter can be set… Read More »
Sometimes you need to avoid using cURL for getting external web content for any reasons. You’re lucky that PHP has some built-in functions that allow you to get data from the Web without cURL. But if you are using default values, there is no option to set the timeout for a operation and it’s sometimes annoying. In order… Read More »
Let’s say you want to rename all files you have in a folder from .html to .php. There is a simple way to do this: rename .html .php *.html Just one line – no need for creating any shell scripts with loops.
If you are getting this error on a fresh server – most probably your nginx configuration is not tuned. In order to avoid this error, we’ll add a line to config. So open /etc/nginx/nginx.conf and add this line under http section You can set up more than 16 Mb if you need, but generally it is enough for… Read More »
A brief explanation what to do if you get updatedb: command not found error.