Sub-categorias

Setup Nginx as web server and as reverse proxy for

2 month atrás
We know that Nginx is more faster than Apache and most of us prefer to replace Apache with Nginx as their web server. Nginx is known to serve faster static content and run with less RAM. As of this writing, Virtualmin supports Apache as its web server. To take advantage of Nginx, we will ...

Descompacte vários arquivos da linha de comando do

3 month atrás
Aqui vai uma dica rápida que irá ajudá-lo a trabalhar com vários arquivos zip na linha de comando. Se você está em uma pasta e tem três arquivos zip nele (a.zip, b.zip, c.zip) que você deseja descompactar, “sem problema”, você pensa. “Eu posso cuidar disso com um único ...

How To: Solve PHP-FPM server reached max_children

7 month atrás
There are many possible reasons why your PHP-FPM would reach the max_children. Most common ones are: A lot of concurrent site visitors Slow execution of the PHP scripts due to server resources or buggy scripts Very low setting of max_children setting in php-fpm config If you have a busy ...

Example .htaccess Code Snippets

1 ano atrás
Here are some specific examples taken from the Htaccess Guide. Redirect Everyone Except IP address to alternate page [crayon-5a31e292ea1e5120763659/] When developing sites This lets google crawl the page, lets me access without a password, and lets my client access the page WITH a password. ...

VirtualMin WordPress Nginx Permalinks

1 ano atrás
VirtualMin WordPress Nginx Permalinks If you want to use Virtualmin with nginx, there are two nice tutorials (Using Nginx with Virtualmin and Virtualmin with NGINX+PHP-FPM+OPCACHE). To get the WordPress permalinks to work, do the following: Go to Virtualmin > Services > Configure ...

MySQL 5.7 Performance Tuning Immediately After Ins

1 ano atrás
This blog updates Stephane Combaudon’s blog on MySQL performance tuning, and covers MySQL 5.7 performance tuning immediately after installation. A few years ago, Stephane Combaudon wrote a blog post on Ten MySQL performance tuning settings after installationthat covers the (now) older ...

9 Tips for Improving WordPress Performance

2 anos atrás
WordPress is the single largest platform for website creation and web application delivery worldwide. About a quarter of all sites are now built on open source WordPress software, including sites for eBay, Mozilla, RackSpace, TechCrunch, CNN, MTV, the New York Times, the Wall Street ...

Creating NGINX Rewrite Rules

2 anos atrás
In this blog post, we discuss how to create NGINX rewrite rules (the same methods work for both NGINX Plus and the open source NGINX software). Rewrite rules change part or all of the URL in a client request, usually for one of two purposes: To inform clients that the resource they’re ...

How To Install and Configure DKIM with Postfix on

2 anos atrás
Introduction The frustration of getting falsely flagged as a spammer is not strange to most of the mail server admins. By excluding the possibility of a compromised server, a false flag is usually caused by one of the following: the server is an open mail relay the sender’s or ...

Compressing files under Linux or UNIX cheat sheet

3 anos atrás
Both Linux and UNIX include various commands for Compressing and decompresses (read as expand compressed file). To compress files you can use gzip, bzip2 and zip commands. To expand compressed file (decompresses) you can use and gzip -d, bunzip2 (bzip2 -d), unzip commands. Compressing files ...

Top 10 Mistakes to Avoid in Business Website Hosti

3 anos atrás
We all learn from our own mistakes in one way or the other. However, don’t you think it’s better to learn from others’ mistakes than doing it ourselves and then repent of them? If it’s about hosting your commercial website, you can’t afford making a single mistake.  An hour of downtime can ...

Important Shortcuts For Linux Beginners

3 anos atrás
Ctrl + Alt + F1 You would already know that Linux can support various terminals. This command helps you move to the first terminal from wherever you are. Ctrl + Alt + Fn (n=1..6) In the standard setup, Linux can support a total of 6 terminals. This command lets you move to the terminal of ...

Top 15 Examples of Practical Grep Commands In Linu

3 anos atrás
Here we present on-going 15 Examples series, where 15 detailed examples will be offered for a particular command or functionality. The current article describes 15 practical examples of Linux grep command that will be useful to both newbies as well as experts. EFYTImes.com explores how you ...

Preventing DDOS aplification open resolver attack

4 anos atrás
DDOS Attack  by open DNS resolver: Open dns resolver provides name resolution to any network outside your network. This means any one can use your server to resolve the host name and also use it to attack other server by spoofing as your server. This in return consume your server bandwidth ...

Driver NVidia no Debian 7 Wheezy GNU/Linux

4 anos atrás
Veremos como instalar o driver de vídeo proprietário NVIDIA em sistemas Debian via repositório Wheezy, onde podemos instalar drivers mais recentes via repositórios SID ou baixando diretamente do site da NVidia. IDENTIFICAÇÃO A unidade de processamento gráfico NVIDIA (GPU) series/codinome de ...

How To Set Up Project.dev Domains on a Dev Server

4 anos atrás
If you are like me and have been a Web Developer/Programmer for most of your life or even if you are new and just getting started. One of the most important tools you can get and configure is a proper Local Dev Server (Development Server). There are many ways to go about this. One of my ...

Apache with fcgid: acceptable performance and bett

5 anos atrás
Update May 2013: We no longer recommend fcgid ever since Ubuntu Server 12.04 was released. This is because that version has PHP-FPM, which provides every benefit that fcgid has, with the added advantage of a shared opcode cache for all processes. We will be writing a full article on PHP-FPM ...