MrGeneration / Useful Minio Console and Restic commands

0 лайк(-ов)
0 форк(-ов)
4 файл(-ов)
Последняя активность 1 month ago
Commands used as shown in the video https://youtu.be/P-Pr7Dy6mP8 .
1 {
2 "Version": "2012-10-17",
3 "Statement": [
4 {
5 "Effect": "Allow",
6 "Action": ["s3:*"],
7 "Resource": ["arn:aws:s3:::resticsample/*"]
8 }
9 ]
10 }

MrGeneration / Limit Elasticsearch Memory Usage

0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 4 months ago
Code snippet to create linked storage directories for Zammad. As shown in https://youtu.be/EorlfrN6n60
1 # /etc/elasticsearch/jvm.options.d/heap-size.conf
2 # Below limits Elasticsearch to 1GB memory usage
3 # It uses 50% of your hosts memory by default otherwise
4 -Xms1g
5 -Xmx1g

MrGeneration / Debian / Ubuntu Upgrade

0 лайк(-ов)
0 форк(-ов)
8 файл(-ов)
Последняя активность 7 months ago
This gist provides contextual copy paste options for Distribution upgrades with installed Zammad and PostgreSQL for Debian (10, 11, 12) and Ubuntu (18, 20, 22). Video context to this: https://youtu.be/IXp4VWU27wo
1 systemctl disable zammad --now
2 apt-mark hold zammad
3 apt update
4 apt upgrade
5
6 # Continue with step 2 or 3 depending on your current state

MrGeneration / Zammad 6.2: Enforce SSL-Verification

0 лайк(-ов)
0 форк(-ов)
4 файл(-ов)
Последняя активность 2 years ago
With Zammad 6.2 existing configurations for Email channels and i-doit by default have ssl verification disabled. This code snippet activates SSL verification. This change ONLY affects existing, update installations.
1 # If you've configured "SSL-Verification: true" on previous Zammad-Versions, this setting is going to be a problem.
2 # Below turns off SSL verification for all LDAP-Sources. You then can login again and have the time needed to fix the configuration.
3
4 LdapSource.all.each do |l|
5 l.preferences.merge!("ssl_verify"=>false)
6 l.save
7 end;
Новее Позже