$ sudo install -o redis -g redis -d /var/lib/redis2
$ sudo cp -p /etc/redis/redis.conf /etc/redis/redis2.conf
window.addEventListener('load', function(){ | |
Postmon = { | |
data: {}, | |
uf: {AC:"Acre",AL:"Alagoas",AP:"Amapá",AM:"Amazonas",BA:"Bahia",CE:"Ceará",DF:"Distrito Federal",ES:"Espírito Santo",GO:"Goiás",MA:"Maranhão",MT:"Mato Grosso",MS:"Mato Grosso do Sul",MG:"Minas Gerais",PA:"Pará",PB:"Paraíba",PR:"Paraná",PE:"Pernambuco",PI:"Piauí",RJ:"Rio de Janeiro",RN:"Rio Grande do Norte",RS:"Rio Grande do Sul",RO:"Rondônia",RR:"Roraima",SC:"Santa Catarina",SP:"São Paulo",SE:"Sergipe",TO:"Tocantins"}, | |
autofill: function() { | |
if ($j('#billing\\:street1').val().trim() == '' && typeof this.data.logradouro != 'undefined') { | |
$j('#billing\\:street1').val(this.data.logradouro); | |
} | |
if ($j('#billing\\:street4').val().trim() == '' && typeof this.data.bairro != 'undefined') { |
Based on https://techwombat.com/enable-http2-apache-ubuntu-16-04/
This totorial is for an older Ubuntu 16.04, for a Ubuntu 18.04 please read here --> https://gist.github.com/GAS85/8dadbcb3c9a7ecbcb6705530c1252831
Based on https://gist.github.com/GAS85/990b46a3a9c2a16c0ece4e48ebce7300
Per default it will be apache2 version 2.4.29 what is enought for http2 support.
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).