There is a reasonable simple way to move data between Redis servers: Simply temporarily configure the new server as a replica of the old server. To do this:
...the new Redis server can access the old server. If they are on different networks, a simple SSH tunnel will do. Connect to the new server using redis-cli.
Install Ubuntu Server Download an image from this site Select File > New… to and follow the instructions, choose the .iso file you downloaded as image file Deselect "Simple installation" – you...
...but allows SSH, you can tunnel your e-mail connection through a trusted, intermediary server: sudo ssh -i /home/local-user/.ssh/local-user.key -L 143:mail-server.tld:143 remote-user@trusted-server.tld Explanation for the command above: | sudo | Secure...
| ssh -i /home/local-user/.ssh/local-user.key | Private half of your SSH key for the trusted server | | -L 143:mail-server.tld:143 | Forward connections to port 143 on your mail server mail-server.told to port...
Use the following command to test if a server (in this example: makandra.com on port 443) uses Perfect Forward Secrecy (PFS): openssl s_client -connect makandra.com:443 -cipher ECDHE-RSA-RC4...
...Note that OpenSSL keeps the connection open if PFS is supported. In case the server does not support PFS, it looks like this: ~ > openssl s_client -connect localhost:443 -cipher...
The bin/webpack-dev-server command is not as smart as e.g. rails server, where it shows the proper fix within the error message. $ bin/webpack-dev-server yarn run v1.19.1 error Command "webpack-dev-server...
...keep the files you actually need, you should remove stale Paperclip styles from your server. This script has been used in production successfully. Use at your own risk. # Config #######################################################################
I followed this nice guide Connecting to MSSQL with Ruby on Ubuntu - lambie.org until I ran in the following errors...
...not investigate in the 2342 tools that exist for migrating IMAP accounts from one server to another. They all suck. Try your luck with imapsync. We have no clue why...
...is from a real project: In a long form, a automatically validates against the server when changed. One test changed the , then immediately scrolled down many pages and submitted the...
...JavaScript periodically requests updates from a server to keep a in sync with the latest server-site data. Sometimes the test ended right after a polling request was sent, but...
...this 3rd party website! Now download the older version directly from Google's Download Servers: $ VERSION_STRING="85.0.4183.121-1" # Replace this value with the one you copied earlier
...VERSION_STRING}_amd64.deb" It's possible that Google remove older versions from their download servers and not all listed versions are still present for downloading. Keep in mind that the...
...their custom DSL and use Rake instead. For connecting with and operating on the servers, they bring a new gem SSHKit which does the heavy lifting. It's SSHKit's...
...user setting any more. Set the deploy user directly as an option to the server directive. Also, the roles syntax has become more ruby'esque, and the first server will...
By default, Capistrano truncates server responses and places an ellipsis at the end of lines that are longer than your terminal. Error messages are never truncated. While this can be...
For server-to-server requests to the Facebook Graph API you can skip requesting an Oauth token, an instead use the combination of app_id|app_secret as...
...aws-credential-file ./aws-credential.txt The output should look something like this: arn:aws:iam::322191361670:server-certificate/www.example.com arn:aws:iam::322191361670:server-certificate/testCert Now you have to upload...
...and includes the server certificate Amazon Resource Name (ARN) and GUID: arn:aws:iam::322191361670:server-certificate/www.example.com-2011 ASCACexampleKEZUQ4K If you got the error message similar to A client error...
...inaction_mailer. Setup inaction_mailer Install the gem: sudo gem install popthis Start the server: popthis tmp/sent_mails/ # e.g. the folder containing the .txt-mails generated by inaction_mailer Now, configure...
...your mail client as follows: Server: localhost Protocol: POP3 Port: 2220 Username: anything Password: anything
Unless all MySQL server defaults are set to UTF-8, mysqldump encodes UTF-8 characters incorrectly and only outputs correct UTF-8 when you switch to Latin 1 (!). Also you...
...this, make sure your /etc/mysql/my.cnf looks like this: [mysqld] default-character-set = utf8mb4 collation-server = utf8mb4_unicode_ci [mysql] default-character-set=utf8mb4 After that do sudo /etc/init.d/mysql restart
To reduce download time, application servers usually serve content using gzip compression, if the browser supports it. When using a tool like Wget to explicitly download an application's response...
...the server responds with the uncompressed version: wget http://example.com/ If you are curious about the compressed file's size, pass the corresponding HTTP header: wget --header="accept-encoding: gzip...
After you configured your ODBC describe in Fix [RubyODBC]Cannot allocate SQLHENV when connecting to MSSQL 2005 with Ruby 1.8.7...
...ECONNREFUSED or Timeout::Error) Finally you might to be smart in case your Solr server is unreachable (crashed, network unreachable, etc.). Even if you decide not to present a cool...
...Solr on your production machines but run it on top of some Java application server, e.g., Tomcat. So tell your SysOp team that you'll need Solr on staging and...
...and Bundler 1.17.3 with https://rubygems.org/ anymore. This is a result of a server certificate on December 5th, 2020. The resulting errors will look like following: TypeError: can't modify...
...certificate for https://index.rubygems.org/versions. Error fetching data: hostname was not match with the server certificate (https://rubygems.org/*) Fix 1: Use docker and gemstash (recommended for makandra employees)
Switch to MariaDB Remove MySQL: sudo apt remove mysql-common mysql-client mysql-server mysql-apt-config Install MariaDB: sudo apt install mariadb-server mariadb-client mariadb-common libmariadb2...
...liberal SQL mode for your app, you must make sure that all developers, staging server and production server use the same SQL mode...
...tcp -SecurityTypes None &>/dev/null DISPLAY=":6" Your webdriver will now start within a VNC server (which will only listen to your machine). To take a look, open a VNC viewer...
...the tests will keep running. Custom resolution The X session provided by the VNC server can have a custom resolution. Just pass your preferred resolution like this: -geometry 1280x1024
...or RAILS_ENV=env_name if you want to run a script on the server. at Rails 2 it's script/runner bundle exec script/runner -e env_name path/to/script.rb argument1 argument2...
...will tunnel HTTP requests to one given domain and port through an intermediary SSH server: ssh -L 8080:targethost:80 tunnelhost http://localhost:8080 will now connect you to...