-
-
Save fhferreira/9276481 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## Install ISPCOnfig3 + Nginx + OTRS + OpenSUSE 12.2 | |
| ## Howto instal ISPConfig3 | |
| ## http://www.howtoforge.com/perfect-server-opensuse-12.2-x86_64-nginx-dovecot-ispconfig-3 | |
| ## Install Nginx 1.5 | |
| wget http://download.opensuse.org/repositories/home:/microchip8:/branches:/server:/http/openSUSE_12.2/x86_64/nginx-1.5.6-55.1.x86_64.rpm | |
| zypper in nginx-1.5.6-55.1.x86_64.rpm | |
| usermod -A www nginx | |
| wget http://ftp.otrs.org/pub/otrs/RPMS/suse/11.0/otrs-3.3.0.beta3-01.noarch.rpm | |
| zypper in otrs-3.3.0.beta3-01.noarch.rpm | |
| usermod -A www otrs | |
| ln -s /opt/otrs/bin/fcgi-bin /opt/otrs/bin/otrs | |
| ## In file: /etc/nginx/nginx.conf | |
| ## Add: include /etc/nginx/otrs.conf; | |
| ## In file: /etc/nginx/otrs.conf | |
| echo 'location /otrs-web { | |
| gzip on; | |
| alias /opt/otrs/var/httpd/htdocs; | |
| } | |
| location /otrs { | |
| gzip off; | |
| root /opt/otrs/bin/; | |
| index index.pl index.html index.htm; | |
| location ~ ^/otrs/(.+\.pl)$ { | |
| try_files $uri =404; | |
| root /opt/otrs/bin/; | |
| fastcgi_pass unix:/var/run/fcgiwrap.socket; | |
| fastcgi_index index.pl; | |
| fastcgi_param SCRIPT_FILENAME $request_filename; | |
| include /etc/nginx/fastcgi_params; | |
| fastcgi_param PATH_INFO $fastcgi_script_name; | |
| fastcgi_buffer_size 128k; | |
| fastcgi_buffers 256 4k; | |
| fastcgi_busy_buffers_size 256k; | |
| fastcgi_temp_file_write_size 256k; | |
| fastcgi_intercept_errors on; | |
| } | |
| } | |
| ' > /etc/nginx/otrs.conf | |
| ## Links: | |
| ## http://www.otrs.com/en/open-source/get-otrs/software-download/ | |
| ## http://www.haschmi.de/de/otrs/otrs-on-nginx.html | |
| ## http://hirantha.wikidot.com/setting-up-nginx-for-otrs | |
| ## http://download.opensuse.org/repositories/home:/microchip8:/branches:/server:/http/openSUSE_12.2/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment