サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
買ってよかったもの
serversforhackers.com
Mysqldump with Modern MySQL Learn how to best use mysqldump in a modern version of MySQL. Mysqldump has many options (I count 111 options ?). Most of us are likely keeping it simple. Here's how I've typically exported a single database: mysqldump some_database > some_database.sql # Or with user auth mysqldump -u some_user -p some_database > some_database.sql # Or with gzip compression mysqldump so
Using SSL Certificates with HAProxy Using HAProxy with SSL certificates, including SSL Termation and SSL Pass-Through. Overview If your application makes use of SSL certificates, then some decisions need to be made about how to use them with a load balancer. A simple setup of one server usually sees a client's SSL connection being decrypted by the server receiving the request. Because a load balan
Nginx Caching See how to cache both dynamic and static content using Nginx! Like Varnish, Nginx is a very capable web cache. Many administrators reach for Varnish, often before it's really needed. However, there are two things to know about Nginx: Nginx can serve static content (directly) very, very efficiently. This is good when the static files are on the same server as Nginx. Nginx can also act
Learn how to manage how PHP-FPM creates and uses PHP processes to get the most out of your server.I'm running Ubuntu 14.04 in this video: # See the version used. lsb_release -a Nginx is configured to run PHP with PHP-FPM via the default configuration found at /etc/nginx/sites-available/default, with the PHP portions uncommented, so PHP requests are proxied to PHP-FPM. The only php file used is ind
Load Balancing with HAProxy Setting up and using HAProxy 1.5 on Ubuntu 14.04. While there are quite a few good options for load balancers, HAProxy has become the go-to Open Source solution. It's used by many large companies, including GitHub, Stack Overflow, Reddit, Tumblr and Twitter. HAProxy (High Availability Proxy) is able to handle a lot of traffic. Similar to Nginx, it uses a single-process,
Learn to use Nginx 1.9.* to load balance TCP traffic. In this case, we'll setup SSL Passthrough to pass SSL traffic received at the load balancer onto the web servers.Nginx 1.9.3+ comes with TCP load balancing. Prior to this, Nginx only dealt with the HTTP protocol. However, now Nginx can work with the lower-level TCP (HTTP works over TCP). With SSL-Pass thru, Nginx is dealing in encrypted TCP tra
Compiling Third-Party Modules Into Nginx Learn how to add the Nginx HTTP Upload and Pagespeed modules without missing out on Debian package extras. Normally in Ubuntu we might add the Nginx repository and install Nginx like so: sudo add-apt-repository -y ppa:nginx/stable sudo apt-get update sudo apt-get install -y nginx But if we want some extra modules, such as Google's Pagespeed or perhaps the H
Running Ansible Programmatically Learn how to use Python to add dynamic inventory, variables and get more control over how you use Ansible! The Use Case I've recently had a need to run Ansible programmatically. In this case, I was spinning up EC2 servers for potential customers of what usually is an on-premise application. These servers are used for trials, but can easily be turned into a paid-for
I'm writing an eBook Servers for Hackers! Check out the page for more information - it should be out in early September. Ansible is a configuration management and provisioning tool, similar to Chef, Puppet or Salt. I've found it to be one of the simplest and the easiest to get started with. A lot of this is because it's "just SSH"; It uses SSH to connect to servers and run the configured Tasks. On
While there are quite a few good options for load balancers, HAProxy has become the go-to Open Source solution. It's used by many large companies, including GitHub, Stack Overflow, Reddit, Tumblr and Twitter. HAProxy (High Availability Proxy) is able to handle a lot of traffic. Similar to Nginx, it uses a single-process, event-driven model. This uses a low (and stable) amount of memory, enabling H
We use SSH to log into our servers, but it actually has a lot of neat tricks it can help us with as well! We'll cover some of them here. Logging in Of course, we use SSH to login: $ ssh user@hostname And, if needed, we can specify a different port: $ ssh -p 2222 user@hostname Sometimes, if we have a lot of SSH keys in our ~/.ssh directory, we'll often find that SSHing into servers with the intent
What is Docker? Docker is a Container. While a Virtual Machine is a whole other guest computer running on top of your host computer (sitting on top of a layer of virtualization), Docker is an isolated portion of the host computer, sharing the host kernel (OS) and even its bin/libraries if appropriate. To put it in an over-simplified way, if I run a CoreOS host server and have a guest Docker Contai
このページを最初にブックマークしてみませんか?
『Servers for Hackers』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く