...assume that all commands will be executed as local postgres user on a database server master. Please mind that you should stop the replication on a slave PostgreSQL server before...
...this dump. This is useful for moving the content of a database to another server. WARNING: Sourcing this dump will drop the existing databases in the cluster if they exist...
...chrome queue limited to 1 for e.g. PDF processing to not overload the application server an api queue, that limits a queue to 2 to protect the API server from...
...too many requests in parallel Example: Sidekiq.configure_server do |config| # Edits the default capsule config.queues = %w[critical default low] config.concurrency = 5 # Define a new capsule which processes jobs from the...
For our production servers we use Passenger as a Ruby application server. While it is possible to use Passenger for development as an Apache module, the installation process is not...
Get performance behavior that is closer to what you'll get on production servers Get a full-featured Ruby application server without configuration Usage Install Passenger Standalone with gem...
...if you do not know. How are cookies transferred between your browser and the server? Open the development tools in your browser for this page. Can you find the cookies...
...network tab, can you see how the cookies are transferred to or from the server? Can you log yourself out by manipulating a cookie? Can you log yourself back in...
set :assets_roles, %i[webpack] # Give the webpack role to a single server (see code block below) set :assets_prefix, 'packs' # Assets are located in /packs/
...related to Webpacker, but a nice thing Give the webpack role to a single server: # config/deploy/production.rb (analog to config/deploy/staging.rb) ... server ' ', user: ' ', roles: %w(... webpack) Make sure to read as well...
...proxy_hide_header in different contexts: Syntax: proxy_hide_header field; Default: — Context: http, server, location Source But if you use it in multiple contexts only the "lowest" occurrences are...
So if you specify it in the server and location context (even if you hide different header) only the proxy_hide_header in the location block are used.
We had a strange behaviour on one of our mariadb-servers: Everyday at around midnight we saw that the root-account on one of our servers is trying to access...
# journalctl -u mariadb Dec 16 00:00:03 cool-server mariadbd[788]: 2022-12-16 0:00:03 34996 [Warning] Access denied for user 'root'@'localhost' (using password...
This is for people recovering from Subversion. Get an existing from the server for the first time git clone git@example.com:repositoryname See what's changed git status Check in locally...
...git commit -m "good description" Push local commits to the server git push Get and merge updates from the server git pull Stage a file for the next local commit...
...affected table. Warning pg_repack writes a copy of the whole table. The database server needs to have at least ($size_of_biggest_table * 2) + some buffer free disk space...
Install pg_repack, e.g. for Ubuntu install the package according to your PostgreSQL Server version. There is no need to restart the PostgreSQL Server. $ sudo apt-get install postgresql...
...is a single process in play. It runs both your test script and the server responding to the user interactions scripted by your test. A Selenium (Javascript) test has a...
...you spawn by running cucumber. A second thread within the same process runs the server responding to your test. A second process runs the browser that is scripted by the...
wkhtmltopdf/wkhtmltopdf wkhtmltopdf/packaging Please note: We do not compile the package ourselves on the server. Instead, we install the most recent available version of the prebuilt package. Example:
...app server runs on Ubuntu 24.04, and you request version 0.12.6.1-3, we would install the corresponding package for Ubuntu 22.04 (Jammy). Be aware that using a package not compiled...
The puppet server caches custom functions. If you edit an existing function (e.g. while you’re developing it), you’ll need to restart the puppet server before the new version...
The Oracle mysql client has an odd behavior if your server uses latin1 as default character-set-server. Command mysql --version mysql Ver 8.0.31-0ubuntu0.20.04.2 for Linux on x86...
...character_set_database | utf8mb4 | | character_set_filesystem | binary | | character_set_results | latin1 | | character_set_server | latin1 | | character_set_system | utf8 | +--------------------------+----------------------------------------------+ Explanation The client can't handle the --default-character-set...
Occasionally you need to do something directly on the server -- like having all records recalculate something that cannot be done in a migration because it takes a long time.
...you may have been successful with this on your development machine or the staging server, keep in mind that production machines often hold a lot more records. Using all may...
Du verstehst, welche Aufgaben der Kubernetes API Server übernimmt. Du weißt, wie der API Server in das Management des Cluster States involviert ist. Du weißt, auf welchem Port der...
...API Server per Default hört und welches Protokoll gesprochen wird. Du weißt, dass der API Server ein self signed Certificate verwendet und wie du diesem auf einem anderen System vertrauen...
...Improved the performance of internal form lookups. HTML content-type required ⚠️ Unpoly now requires server responses with an HTML content-type, like text/html or application/xhtml+xml. Trying to render responses...
Support partial tables responses In the past Unpoly didn't allow a server to optimize its response when the result was a single table row (or cell) without...
...Rails console does not crash while starting up. Disable eager loading again. Get rails server running Fix all errors until rails server can render a page. Click around a bit...
You might use screen or tmux to run a temporary command on a server which continues to run after the SSH session is closed. Consider systemd-run as alternative. It...
...will turn every command in a systemd service unit: # Run `openssl speed` as unit run-benchmark.service $ sudo systemd-run --unit=run-benchmark openssl speed # Query the current status $ systemctl status run-benchmark.service...
Work with the stash git stash Learn how to work with a server: git clone git push git fetch git pull Learn to use the tool tig
...with SSH. Otherwise, you would have to send your git credentials to the remote server every time you interact with it. Resources Basic tutorial Proper git config Interactive Git Cheatsheet...
First we export the checks on the nodes we want to monitor: @@nagios_service { “check_unicorns-${::hostname}”: host_name => $::hostname, service_description => ‘Unicorn Status’, check_command => ‘check_unicorn-${::hostname...
...Then we realize the resources on the Nagios server Nagios_service <<| |>> Now it is quite easy to create new monitoring checks with Puppet. With the ease of creating monitoring checks...
To capture and log Sentry events locally during development without sending to the server, add this to config/initializers/sentry.rb inside the Sentry.init block: if Rails.env.development? # Use dummy transport to prevent...
...appendix below for available event attributes end DummyTransport — Prevents actual HTTP transmission to Sentry servers; events are captured locally but not sent background_worker_threads = 0 — Disables async processing; events...
...BY c.relpages DESC; This requires superuser permissions to install the amcheck extension to the server. If you're a makandra customer, we've already added this extension for you.
...Test All Indexes In All Databases? If you have admin permissions on your database servers, you can use this script to check all databases on your server: #!/usr/bin/env bash
...good thing. It's possible to configure this requirement at the web- or proxy server level, where nginx or apache will just redirect every request on http to https. Some...
...application directly on the VM it's running and usually it's the proxy server or webserver that does handles SSL, the port where the application is running is often...
...the MariaDB monitor. Commands end with ; or \g. Your MySQL connection id is 2 Server version: 5.7.35 MySQL Community Server (GPL) Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and...