User Tools

Site Tools


tilausj:settings

This is an old revision of the document!


Palvelinvaatimukset

  • 64bit Linux-käyttöjärjestelmä (testattu Debianilla)
  • Järjestelmän vaatimat paketit
    • apache2, mod_rewrite, libapache2-mod-php (versio 7.2), php-ldap, php-mcrypt
    • libapache2-mod-auth-kerb (single-sign-on)
    • unixodbc, curl, apt-transport-https (sql-ajurit)
    • wget, cron (ajastetut tehtävät)
    • cifs-utils (efecte/csv-integrointi)

SQL-ajurit

    curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
    curl https://packages.microsoft.com/config/debian/9/prod.list > /etc/apt/sources.list.d/mssql-release.list
    apt-get update
    ACCEPT_EULA=Y apt-get install msodbcsql17
    • php_sqlsrv_72_nts.so hakemistoon: /usr/lib/php/20170718/
    • /etc/php/7.2/mods-available/sqlsrv.ini
      ; priority=20
      extension=php_sqlsrv_72_nts.so
    • phpenmod sqlsrv (tarvittaessa)

Apache

  • Apache conffiin lisättävä
    <IfModule mod_rewrite.c>
         RewriteEngine On
         RewriteBase /
    
         RewriteCond %{REQUEST_URI} ^system.*
         RewriteRule ^(.*)$ /index.php?/$1 [L]
    
         RewriteCond %{REQUEST_URI} ^application.*
         RewriteRule ^(.*)$ /index.php?/$1 [L]
    
         RewriteCond %{REQUEST_FILENAME} !-f
         RewriteCond %{REQUEST_FILENAME} !-d
         RewriteRule ^(.*)$ index.php?/$1 [L]
    </IfModule>
Single-Sign-on
  • Apache-conffiin:
    
    

PHP

  • /etc/php/7.2/apache2/php.ini-tiedostoon tarvittaessa:
    • short_open_tag = On
    • upload_max_filesize = 20M
    • post_max_size = 80M

Muut

  • sähköpostin lähetystä varten oletussähköpostiohjelma esim. exim4 tulee olla configuroitu siten, että postia voi lähettää myös palvelimen ulkopuolelle

Seuraavana step: Asennusohjeet

tilausj/settings.1544869232.txt.gz · Last modified: 2018-12-15 10:20 by krister