Commit ebc67eba authored by Martin Mai's avatar Martin Mai
Browse files

kix17

parent 73e7ecf2
......@@ -14,7 +14,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
cron \
byobu \
openssh-server \
curl
curl \
mysql-workbench
RUN curl http://packages.kixdesk.com/repository/debian/PublicKey > kixkey
RUN cat kixkey | apt-key add -
......@@ -29,10 +30,10 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
kix
RUN a2ensite default-ssl && a2enmod ssl
RUN a2ensite default-ssl && a2enmod ssl && a2enmod rewrite
RUN make-ssl-cert generate-default-snakeoil --force-overwrite
# das brauchen wir später im normalen Dateisystem, wird aber beim moutnen von Volumes verdeckt
# das brauchen wir später im normalen Dateisystem, wird aber beim mounten von Volumes verdeckt
RUN mkdir -p /root/uniba.de/initial/var/lib/mysql/
RUN rsync -a /var/lib/mysql/ /root/uniba.de/initial/var/lib/mysql/
......
......@@ -3,6 +3,22 @@
rsync -a -v /root/uniba.de/share/overlay/ /
chown -R www-data /opt/kix17/
mkdir /var/log/kix/
chown -R www-data /var/log/kix/
mkdir /var/log/otrs/
chown -R www-data /var/log/otrs/
cd /opt/kix17/
sudo -u www-data bin/kix.Console.pl Maint::Cache::Delete
sudo -u www-data bin/kix.Console.pl Maint::Config::Rebuild
a2enconf uniba.de
exit
#mit dem folgenden kann man die Volumes initialisieren,
# löscht aber alle Inhalte, deshab das exit oben
......@@ -11,8 +27,14 @@ service mysql stop
service apache2 stop
rsync -a --delete /root/uniba.de/initial/var/lib/mysql/ /var/lib/mysql/
ls -l /var/lib/mysql
service mysql restart
rsync -a --delete /root/uniba.de/initial/opt/ /opt/
service apache2 restart
#login mit
#root@localhost
#root
\ No newline at end of file
......@@ -60,5 +60,5 @@ deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
## developers who want to ship their latest software.
# deb http://extras.ubuntu.com/ubuntu xenial main
# deb-src http://extras.ubuntu.com/ubuntu xenial main
deb http://packages.kixdesk.com/repository/debian kix2016 stable
deb http://packages.kixdesk.com/repository/debian kix2017 stable
......@@ -13,8 +13,8 @@ chmod 700 /root/.ssh/authorized_keys2
service ssh restart
service rsyslog restart
service apache2 restart
service mysql restart
service apache2 restart
cron
tail -f /start
<Location "/">
#put your config here
#RewriteEngine On
#RewriteRule (otrs/)(.*$) https://141.13.241.46/kix/$2 [QSA,L]
#RewriteEngine On
#RewriteCond %{HTTPS} off
#RewriteRule ^(.*)$ https://141.13.241.46 [L]
</Location>
......@@ -2,5 +2,3 @@
quick
quote-names
max_allowed_packet = 128M
##
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<otrs_config version="1.0" init="Framework">
<ConfigItem Name="Ticket::Frontend::MenuModule###900-Remove" Required="0" Valid="1">
<Description Translatable="1">Shows a link in the menu to provide quick close action in the agent interface.</Description>
<Group>Ticket</Group>
<SubGroup>Frontend::Agent::Ticket::MenuModule</SubGroup>
<Setting>
<Hash>
<Item Key="Module">Kernel::Output::HTML::TicketMenu::Generic</Item>
<Item Key="Name">Muell</Item>
<Item Key="Description" Translatable="0">Muell = Status auf 'entfernt'</Item>
<Item Key="Group"></Item>
<Item Key="Action">AgentTicketCloseBulk</Item>
<Item Key="Link">Action=AgentTicketCloseBulk&amp;TicketID=[% Data.TicketID | html %]&amp;QuickClose=1&amp;[% Env("ChallengeTokenParam") | html %]</Item>
<Item Key="LinkParam"></Item>
<Item Key="Target"></Item>
<Item Key="PopupType">TicketAction fa fa-trash-o</Item>
<Item Key="ClusterName" Translatable="1"></Item>
<Item Key="ClusterPriority"></Item>
</Hash>
</Setting>
</ConfigItem>
<ConfigItem Name="Ticket::Frontend::MenuModule###901-Close" Required="0" Valid="1">
<Description Translatable="1">Shows a link in the menu to provide quick close action in the agent interface.</Description>
<Group>Ticket</Group>
<SubGroup>Frontend::Agent::Ticket::MenuModule</SubGroup>
<Setting>
<Hash>
<Item Key="Module">Kernel::Output::HTML::TicketMenu::Generic</Item>
<Item Key="Name">Schliessen</Item>
<Item Key="Description" Translatable="0">erfolgreich geschlossen</Item>
<Item Key="Group"></Item>
<Item Key="Action">AgentTicketCloseBulk</Item>
<Item Key="Link">Action=AgentTicketCloseBulk&amp;TicketID=[% Data.TicketID | html %]&amp;QuickClose=2&amp;[% Env("ChallengeTokenParam") | html %]</Item>
<Item Key="LinkParam"></Item>
<Item Key="Target"></Item>
<Item Key="PopupType">TicketAction fa fa-check-circle</Item>
<Item Key="ClusterName" Translatable="1"></Item>
<Item Key="ClusterPriority"></Item>
</Hash>
</Setting>
</ConfigItem>
<ConfigItem Name="Ticket::Frontend::MenuModule###902-TwoDaysReopen" Required="0" Valid="1">
<Description Translatable="1">Shows a link in the menu to provide quick close action in the agent interface.</Description>
<Group>Ticket</Group>
<SubGroup>Frontend::Agent::Ticket::MenuModule</SubGroup>
<Setting>
<Hash>
<Item Key="Module">Kernel::Output::HTML::TicketMenu::Generic</Item>
<Item Key="Name">Wiedervorlage: in zwei Tagen</Item>
<Item Key="Description" Translatable="0">Wiedervorlage: in zwei Tagen</Item>
<Item Key="Group"></Item>
<Item Key="Action">AgentTicketCloseBulk</Item>
<Item Key="Link">Action=AgentTicketCloseBulk&amp;TicketID=[% Data.TicketID | html %]&amp;QuickClose=9&amp;[% Env("ChallengeTokenParam") | html %]</Item>
<Item Key="LinkParam"></Item>
<Item Key="Target"></Item>
<Item Key="PopupType">TicketAction fa fa-repeat</Item>
<Item Key="ClusterName" Translatable="1"></Item>
<Item Key="ClusterPriority"></Item>
</Hash>
</Setting>
</ConfigItem>
<ConfigItem Name="Ticket::Frontend::MenuModule###903-OneYearReopen" Required="0" Valid="1">
<Description Translatable="1">Shows a link in the menu to provide quick close action in the agent interface.</Description>
<Group>Ticket</Group>
<SubGroup>Frontend::Agent::Ticket::MenuModule</SubGroup>
<Setting>
<Hash>
<Item Key="Module">Kernel::Output::HTML::TicketMenu::Generic</Item>
<Item Key="Name">liegen lassen</Item>
<Item Key="Description" Translatable="0">Wiedervorlage: in einem Jahr</Item>
<Item Key="Group"></Item>
<Item Key="Action">AgentTicketCloseBulk</Item>
<Item Key="Link">Action=AgentTicketCloseBulk&amp;TicketID=[% Data.TicketID | html %]&amp;QuickClose=11&amp;[% Env("ChallengeTokenParam") | html %]</Item>
<Item Key="LinkParam"></Item>
<Item Key="Target"></Item>
<Item Key="PopupType">TicketAction fa fa-info-circle</Item>
<Item Key="ClusterName" Translatable="1"></Item>
<Item Key="ClusterPriority"></Item>
</Hash>
</Setting>
</ConfigItem>
<ConfigItem Name="Ticket::Frontend::MenuModule###904-OneWeekReopen" Required="0" Valid="0">
<Description Translatable="1">Shows a link in the menu to provide quick close action in the agent interface.</Description>
<Group>Ticket</Group>
<SubGroup>Frontend::Agent::Ticket::MenuModule</SubGroup>
<Setting>
<Hash>
<Item Key="Module">Kernel::Output::HTML::TicketMenu::Generic</Item>
<Item Key="Name">Wiedervorlage: in 1 Woche</Item>
<Item Key="Description" Translatable="0">Wiedervorlage: in 1 Woche</Item>
<Item Key="Group"></Item>
<Item Key="Action">AgentTicketCloseBulk</Item>
<Item Key="Link">Action=AgentTicketCloseBulk&amp;TicketID=[% Data.TicketID | html %]&amp;QuickClose=3&amp;[% Env("ChallengeTokenParam") | html %]</Item>
<Item Key="LinkParam"></Item>
<Item Key="Target"></Item>
<Item Key="PopupType">TicketAction fa fa-repeat</Item>
<Item Key="ClusterName" Translatable="1"></Item>
<Item Key="ClusterPriority"></Item>
</Hash>
</Setting>
</ConfigItem>
<ConfigItem Name="Ticket::Frontend::MenuModule###905-OneWeekRemind" Required="0" Valid="0">
<Description Translatable="1">Shows a link in the menu to provide quick close action in the agent interface.</Description>
<Group>Ticket</Group>
<SubGroup>Frontend::Agent::Ticket::MenuModule</SubGroup>
<Setting>
<Hash>
<Item Key="Module">Kernel::Output::HTML::TicketMenu::Generic</Item>
<Item Key="Name">Erinnerung: in 1 Woche</Item>
<Item Key="Description" Translatable="0">Erinnerung: in 1 Woche</Item>
<Item Key="Group"></Item>
<Item Key="Action">AgentTicketCloseBulk</Item>
<Item Key="Link">Action=AgentTicketCloseBulk&amp;TicketID=[% Data.TicketID | html %]&amp;QuickClose=13&amp;[% Env("ChallengeTokenParam") | html %]</Item>
<Item Key="LinkParam"></Item>
<Item Key="Target"></Item>
<Item Key="PopupType">TicketAction fa fa-repeat</Item>
<Item Key="ClusterName" Translatable="1"></Item>
<Item Key="ClusterPriority"></Item>
</Hash>
</Setting>
</ConfigItem>
<ConfigItem Name="Ticket::Frontend::MenuModule###906-TomorrowRemind" Required="0" Valid="0">
<Description Translatable="1">Shows a link in the menu to provide quick close action in the agent interface.</Description>
<Group>Ticket</Group>
<SubGroup>Frontend::Agent::Ticket::MenuModule</SubGroup>
<Setting>
<Hash>
<Item Key="Module">Kernel::Output::HTML::TicketMenu::Generic</Item>
<Item Key="Name">Erinnerung: morgen</Item>
<Item Key="Description" Translatable="0">Erinnerung: morgen</Item>
<Item Key="Group"></Item>
<Item Key="Action">AgentTicketCloseBulk</Item>
<Item Key="Link">Action=AgentTicketCloseBulk&amp;TicketID=[% Data.TicketID | html %]&amp;QuickClose=3&amp;[% Env("ChallengeTokenParam") | html %]</Item>
<Item Key="LinkParam"></Item>
<Item Key="Target"></Item>
<Item Key="PopupType">TicketAction fa fa-repeat</Item>
<Item Key="ClusterName" Translatable="1"></Item>
<Item Key="ClusterPriority"></Item>
</Hash>
</Setting>
</ConfigItem>
<ConfigItem Name="Ticket::Frontend::MenuModule###907-TodayRemind" Required="0" Valid="0">
<Description Translatable="1">Shows a link in the menu to provide quick close action in the agent interface.</Description>
<Group>Ticket</Group>
<SubGroup>Frontend::Agent::Ticket::MenuModule</SubGroup>
<Setting>
<Hash>
<Item Key="Module">Kernel::Output::HTML::TicketMenu::Generic</Item>
<Item Key="Name">Erinnerung: heute</Item>
<Item Key="Description" Translatable="0">Erinnerung: heute</Item>
<Item Key="Group"></Item>
<Item Key="Action">AgentTicketCloseBulk</Item>
<Item Key="Link">Action=AgentTicketCloseBulk&amp;TicketID=[% Data.TicketID | html %]&amp;QuickClose=4&amp;[% Env("ChallengeTokenParam") | html %]</Item>
<Item Key="LinkParam"></Item>
<Item Key="Target"></Item>
<Item Key="PopupType">TicketAction fa fa-info-circle</Item>
<Item Key="ClusterName" Translatable="1"></Item>
<Item Key="ClusterPriority"></Item>
</Hash>
</Setting>
</ConfigItem>
</otrs_config>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment