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 »
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.
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 »
If you need to debug a process in a linux environment, the simplest yet very effective solution should be strace. It can be easily installed with “yum install strace” or “apt-get install strace” depending on the type of Linux you’re on. Here are some usage samples. First of all, if you don’t have a shortcut to strace, you… Read More »
An SFTP server can be accessed with a graphical client or through SFTP commands. SFTP stands for Secret File Transfer Protocol or Secure FTP.
Every system administrator (and most of users) knows the command that allows to get a snapshot of current server state. Today I will teach you how to take the most of this command. Here is how the default output of top command looks like: The top program provides a dynamic real-time view of a running system. It can… Read More »