Friday, July 20, 2012

free mysql admin tool linux - HEIDI SQL.

HEIDI SQL. - Connect from Windows to Linux MySQL host, just like using your browser- SQLITEmanager.



debian 6 how to set up nginx php - Google Search

http://library.linode.com/web-servers/nginx/php-fastcgi/debian-6-squeeze


UNIX Sockets Configuration Example

Next, you'll need to define the site's virtual host file. This example uses a UNIX socket to connect to fcgiwrap. Be sure to change all instances of "example.com" to your domain name.
File:/etc/nginx/sites-available/www.example.com
server {
    server_name www.example.com example.com;
    access_log /srv/www/www.example.com/logs/access.log;
    error_log /srv/www/www.example.com/logs/error.log;
    root /srv/www/www.example.com/public_html;

    location / {
        index  index.html index.htm;
    }

    location ~ \.php$ {
        include /etc/nginx/fastcgi_params;
        fastcgi_pass unix:/var/run/php-fastcgi/php-fastcgi.socket;
        fastcgi_index index.php;
        fastcgi_param SCRIPT_FILENAME /srv/www/www.example.com/public_html$fastcgi_script_name;
    }
}





http://nginx.org/en/docs/http/server_names.html


 If someone makes a request using an IP address instead of a server name, the request’s “Host” header line will contain the IP address and you can handle the request using the IP address as the server name:
server {
listen 80;
server_name example.org
www.example.org
""
192.168.1.1;
...
}
In catch-all server examples you may see the strange name “_”:
server {
listen 80 default_server;
server_name _;
return 444;
}
There is nothing special about this name, it is just one of a myriad of invalid domain names which never intersect with any real name. You may also use something like “--”, “!@#”, and so on. 






http://interfacelab.com/nginx-php-fpm-apc-awesome/

It’s a pretty well know fact by now that Nginx (pronounced engine-x, though I call it n-jinx) in typical scenarios outpaces Apache on all kinds of fronts: i/o, cpu, memory, reqs/sec. Feel free to google around for more comparitive information. I can tell you from my own informal load testing on both setups of Massify that I’ve seen a pronounced difference between the two, specifically in the configuration I’ll be writing about in this post. I won’t be posting numbers, because my testing wasn’t scientific and it’s not really the focus of this article, but I am more than confident that we’ll be getting a level of performance a few steps above Apache. (Please don’t write me telling me I can recompile and reconfigure Apache to approach Nginx’s performance. I’m certain you are correct, but I don’t really care at this point.)














No comments:

Post a Comment