Skip to content

Instantly share code, notes, and snippets.

View GQuirino's full-sized avatar

Guilherme Quirino GQuirino

  • Curitiba, PR - BRA
View GitHub Profile
diff --git a/ext/openssl/extconf.rb b/ext/openssl/extconf.rb
index 8c04cb5..132d803 100644
--- a/ext/openssl/extconf.rb
+++ b/ext/openssl/extconf.rb
@@ -104,6 +104,9 @@
have_func("SSLv2_method")
have_func("SSLv2_server_method")
have_func("SSLv2_client_method")
+have_func("SSLv3_method")
+have_func("SSLv3_server_method")

Install Ruby < 2.4

UBUNTU

Ubuntu 20.04 no longer supports gcc-5 and libssl1.0-dev, if you try to install ruby versions prior to 2.4 you will find compilation problems as it depends on gcc5 and openssl-1.0.

Add to your /etc/apt/sources.list file

deb http://cz.archive.ubuntu.com/ubuntu bionic main universe
deb http://security.ubuntu.com/ubuntu bionic-security main
@GQuirino
GQuirino / Install.md
Created August 18, 2020 22:12
How to install mysql 5.7 into Ubuntu 20.04

How to install MySQL Server 5.7 on Ubuntu 20.04 LTS (Focal Fossa)

1. Remove any version other than MySQL Server 5.7

sudo apt-get purge mysql-server mysql-client mysql-common mysql-server-core-* mysql-client-core-*
sudo rm -rf /etc/mysql /var/lib/mysql
sudo apt-get autoremove
sudo apt-get autoclean