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.
Sometimes you might need to open Microsoft project files without having the software installed. Especially when you’re using Linux :) Here is the link to free online mpp viewer, that offers almost same functionality as viewer from Microsoft. Just upload the file you would like to view and enjoy.
If you want to launch Selenium on a Linux server, you need to have Java support installed. If your Java version is lower than 1.6, most probably you will get the following error while trying to launch Selenium: [root@ns1 selenium]# java -jar /usr/local/bin/selenium-server-standalone-2.41.0.jar -role hub May 27, 2014 2:06:12 p.m. org.openqa.grid.selenium.GridLauncher main INFO: Launching a selenium grid server… Read More »
As you might already know, most recent version of Apache is 2.4.9 (for today). If you want to upgrade to it, you should perform too many changes in your server software, since it has references to many other packages. If you need a stable server – you should upgrade it to legacy 2.2.27 version. You can download source… Read More »
Nowadays everyone can afford a VPS – its prices start from $5 per month. Today I will describe the process of setting a PPTP VPN server, that can be used to secure your own Internet connection. If you’re paying for a VPS or even for a server – why paying more for a separate VPN access if you… Read More »