<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.ixheim.de/index.php?action=history&amp;feed=atom&amp;title=Install</id>
	<title>Install - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ixheim.de/index.php?action=history&amp;feed=atom&amp;title=Install"/>
	<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=Install&amp;action=history"/>
	<updated>2026-06-29T10:41:10Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Xinux Wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.ixheim.de/index.php?title=Install&amp;diff=30352&amp;oldid=prev</id>
		<title>Mario.zimmermann: Die Seite wurde neu angelegt: „=Update Debian System=  sudo apt update sudo apt -y full-upgrade sudo systemctl reboot  =Install= sudo apt install wget apt-transport-https gnupg2 libimlib2 li…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=Install&amp;diff=30352&amp;oldid=prev"/>
		<updated>2021-11-26T11:32:48Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „=Update Debian System=  sudo apt update sudo apt -y full-upgrade sudo systemctl reboot  =Install= sudo apt install wget apt-transport-https gnupg2 libimlib2 li…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Update Debian System=&lt;br /&gt;
&lt;br /&gt;
sudo apt update&lt;br /&gt;
sudo apt -y full-upgrade&lt;br /&gt;
sudo systemctl reboot&lt;br /&gt;
&lt;br /&gt;
=Install=&lt;br /&gt;
sudo apt install wget apt-transport-https gnupg2 libimlib2 libimlib2-dev -y&lt;br /&gt;
&lt;br /&gt;
==add Elasticsearch repository==&lt;br /&gt;
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;deb https://artifacts.elastic.co/packages/oss-7.x/apt stable main&amp;quot; | sudo tee  /etc/apt/sources.list.d/elastic-7.x.list&lt;br /&gt;
&lt;br /&gt;
sudo apt update&lt;br /&gt;
&lt;br /&gt;
==Install MariaDB and Apache Web Server==&lt;br /&gt;
sudo apt install wget apt-transport-https gnupg2 libimlib2 libimlib2-dev&lt;br /&gt;
&lt;br /&gt;
sudo apt install locales&lt;br /&gt;
&lt;br /&gt;
sudo locale-gen de_DE.UTF-8&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;LANG=de_DE.UTF-8&amp;quot; | sudo tee /etc/default/locale&lt;br /&gt;
&lt;br /&gt;
sudo apt install mariadb-server&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo mysql_secure_installation&lt;br /&gt;
&lt;br /&gt;
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB&lt;br /&gt;
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!&lt;br /&gt;
&lt;br /&gt;
In order to log into MariaDB to secure it, we'll need the current&lt;br /&gt;
password for the root user.  If you've just installed MariaDB, and&lt;br /&gt;
you haven't set the root password yet, the password will be blank,&lt;br /&gt;
so you should just press enter here.&lt;br /&gt;
&lt;br /&gt;
Enter current password for root (enter for none):&lt;br /&gt;
OK, successfully used password, moving on...&lt;br /&gt;
&lt;br /&gt;
Setting the root password ensures that nobody can log into the MariaDB&lt;br /&gt;
root user without the proper authorisation.&lt;br /&gt;
&lt;br /&gt;
Set root password? [Y/n] y&lt;br /&gt;
New password:&lt;br /&gt;
Re-enter new password:&lt;br /&gt;
Password updated successfully!&lt;br /&gt;
Reloading privilege tables..&lt;br /&gt;
 ... Success!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default, a MariaDB installation has an anonymous user, allowing anyone&lt;br /&gt;
to log into MariaDB without having to have a user account created for&lt;br /&gt;
them.  This is intended only for testing, and to make the installation&lt;br /&gt;
go a bit smoother.  You should remove them before moving into a&lt;br /&gt;
production environment.&lt;br /&gt;
&lt;br /&gt;
Remove anonymous users? [Y/n] y&lt;br /&gt;
 ... Success!&lt;br /&gt;
&lt;br /&gt;
Normally, root should only be allowed to connect from 'localhost'.  This&lt;br /&gt;
ensures that someone cannot guess at the root password from the network.&lt;br /&gt;
&lt;br /&gt;
Disallow root login remotely? [Y/n] y&lt;br /&gt;
 ... Success!&lt;br /&gt;
&lt;br /&gt;
By default, MariaDB comes with a database named 'test' that anyone can&lt;br /&gt;
access.  This is also intended only for testing, and should be removed&lt;br /&gt;
before moving into a production environment.&lt;br /&gt;
&lt;br /&gt;
Remove test database and access to it? [Y/n] y&lt;br /&gt;
 - Dropping test database...&lt;br /&gt;
 ... Success!&lt;br /&gt;
 - Removing privileges on test database...&lt;br /&gt;
 ... Success!&lt;br /&gt;
&lt;br /&gt;
Reloading the privilege tables will ensure that all changes made so far&lt;br /&gt;
will take effect immediately.&lt;br /&gt;
&lt;br /&gt;
Reload privilege tables now? [Y/n] y&lt;br /&gt;
 ... Success!&lt;br /&gt;
&lt;br /&gt;
Cleaning up...&lt;br /&gt;
&lt;br /&gt;
All done!  If you've completed all of the above steps, your MariaDB&lt;br /&gt;
installation should now be secure.&lt;br /&gt;
&lt;br /&gt;
Thanks for using MariaDB!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
sudo systemctl restart mariadb&lt;br /&gt;
&lt;br /&gt;
sudo apt install apache2&lt;br /&gt;
&lt;br /&gt;
==Install Zammad==&lt;br /&gt;
wget -qO- https://dl.packager.io/srv/zammad/zammad/key | sudo apt-key add -&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;deb https://dl.packager.io/srv/deb/zammad/zammad/stable/debian 10 main&amp;quot; | sudo tee /etc/apt/sources.list.d/zammad.list&lt;br /&gt;
&lt;br /&gt;
sudo apt update&lt;br /&gt;
&lt;br /&gt;
sudo apt install zammad&lt;br /&gt;
&lt;br /&gt;
==Elasticsearch install attachment plugin==&lt;br /&gt;
&lt;br /&gt;
sudo /usr/share/elasticsearch/bin/elasticsearch-plugin install ingest-attachment&lt;br /&gt;
&lt;br /&gt;
=Konfiguration Zammad=&lt;br /&gt;
&lt;br /&gt;
sudo /usr/share/elasticsearch/bin/elasticsearch-plugin install ingest-attachment&lt;br /&gt;
&lt;br /&gt;
sudo systemctl start zammad&lt;br /&gt;
&lt;br /&gt;
sudo systemctl enable zammad&lt;br /&gt;
&lt;br /&gt;
sudo zammad run rails r &amp;quot;Setting.set('es_url', 'http://localhost:9200')&amp;quot;&lt;br /&gt;
&lt;br /&gt;
sudo zammad run rake searchindex:rebuild&lt;br /&gt;
&lt;br /&gt;
sudo a2dissite 000-default.conf&lt;br /&gt;
&lt;br /&gt;
sudo systemctl restart apache2&lt;br /&gt;
&lt;br /&gt;
==potenzielle Fehler==&lt;br /&gt;
===“apachectl[2095]: Invalid command ‘RequestHeader’, perhaps misspelled or defined by a module not included in the server configuration“===&lt;br /&gt;
*Lösung&lt;br /&gt;
 sudo vim /etc/apache2/sites-enabled/zammad.conf&lt;br /&gt;
 # Line 36&lt;br /&gt;
 #RequestHeader unset X-Forwarded-User&lt;br /&gt;
&lt;br /&gt;
===3.2.x: CSRF token verification failed===&lt;br /&gt;
*Lösung&lt;br /&gt;
 sudo vim /etc/apache2/sites-enabled/zammad.conf&lt;br /&gt;
&lt;br /&gt;
 RequestHeader set X_FORWARDED_PROTO 'https' &lt;br /&gt;
 RequestHeader set X-Forwarded-Ssl on&lt;br /&gt;
&lt;br /&gt;
 a2enmod headers&lt;br /&gt;
 systemctl restart apache2&lt;/div&gt;</summary>
		<author><name>Mario.zimmermann</name></author>
	</entry>
</feed>