User Tools

Site Tools


zabbix_7.4_on_debian_12_with_ssl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
zabbix_7.4_on_debian_12_with_ssl [2025/07/08 05:55] – created Fabián Rodríguezzabbix_7.4_on_debian_12_with_ssl [2025/07/11 08:07] (current) – [3. Force HTTP to Redirect to HTTPS] Fabián Rodríguez
Line 13: Line 13:
 == Credits == == Credits ==
   * Fabian Rodríguez, François Baillargeon (review) - [[https://legoutdulibre.com/en/zabbix-monitoring-supervision-en-temps-reel-pour-une-infrastructure-resiliente/|Le Goût du Libre]]   * Fabian Rodríguez, François Baillargeon (review) - [[https://legoutdulibre.com/en/zabbix-monitoring-supervision-en-temps-reel-pour-une-infrastructure-resiliente/|Le Goût du Libre]]
 +  * Sources:
 +    * [[https://www.zabbix.com/download?zabbix=7.4&os_distribution=debian&os_version=12&components=server_frontend_agent&db=mysql&ws=apache|Official Zabbix installation instructions]]
 +    * [[https://wiki.debian.org/Zabbix|Debian Zabbix insstallation instructions]]
 ==== 1. Configure Locales ==== ==== 1. Configure Locales ====
-Set up ''en_US.UTF-8'' and any additional locales for multi-language support in Zabbix:+Set up ''en_US.UTF-8'' as default locale and add additional locales (French and Spanish shown here) for multi-language support in Zabbix:
 <code> <code>
-dpkg-reconfigure locales+# 1. Uncomment desired locale(s) in /etc/locale.gen 
 +sed -i 's/^# *\(en_US.UTF-8 UTF-8\)/\1/' /etc/locale.gen 
 +sed -i 's/^# *\(fr_FR.UTF-8 UTF-8\)/\1/' /etc/locale.gen 
 +sed -i 's/^# *\(es_ES.UTF-8 UTF-8\)/\1/' /etc/locale.gen 
 + 
 +# 2. Generate the locales 
 +locale-gen 
 + 
 +# 3. Set system-wide default locale 
 +update-locale LANG=en_US.UTF-8 
 + 
 +# 4. restart the apache2 service 
 +service apache2 restart
 </code> </code>
  
 +For more information about Zabbix language support, see [[https://www.zabbix.com/documentation/current/en/manual/appendix/install/locales|the project documentation]].
 ==== 2. Install MariaDB (Zabbix Database Backend) ==== ==== 2. Install MariaDB (Zabbix Database Backend) ====
 Install the default MariaDB server package: Install the default MariaDB server package:
Line 142: Line 158:
 Add inside ''<VirtualHost *:80>'': Add inside ''<VirtualHost *:80>'':
 <code> <code>
-Redirect "/" "https://your-server-ip/zabbix"+Redirect "/" "https://your-server-ip/"
 </code> </code>
 Replace ''your-server-ip'' with your actual IP or hostname. Replace ''your-server-ip'' with your actual IP or hostname.
zabbix_7.4_on_debian_12_with_ssl.1751979316.txt.gz · Last modified: by Fabián Rodríguez