debian-scripted.rst 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. *************************
  2. Debian - Scripted Install
  3. *************************
  4. .. note::
  5. This is currently the **recommended** installation method.
  6. Requirements
  7. ------------
  8. Software
  9. ~~~~~~~~
  10. * **Database** : PostgreSQL 9.x / MySQL / SQLite *(PostgreSQL recommended)*
  11. * **Web Server** : nginx / apache *(nginx recommended)*
  12. * **PHP** : 5.x *(Version 5.5 recommended)*
  13. * **FreeSWITCH** : 1.4.x * *(Version 1.4.12 recommended)*
  14. Hardware
  15. ~~~~~~~~
  16. * **RAM** : x.x *(X recommended)*
  17. * **DISK** : x.x *(X recommended)*
  18. * **CPU** : x.x *(X recommended)*
  19. Installation Guide
  20. ------------------
  21. # 1 - Debian ISO Download
  22. ~~~~~~~~~~~~~~~~~~~~~~~~~
  23. `Download <http://www.debian.org/distrib/netinst>`_ Debian Lenny net install ISO
  24. # 2 - nginx Configuration
  25. ~~~~~~~~~~~~~~~~~~~~~~~~~
  26. Sample contents of ``nginx.conf``
  27. .. code-block:: nginx
  28. user www www;
  29. worker_processes 2;
  30. events {
  31. worker_connections 1024;
  32. multi_accept on;
  33. }
  34. http {
  35. server_names_hash_bucket_size 64;
  36. include mime.types;
  37. default_type text/html;
  38. server_tokens off;
  39. sendfile on;
  40. tcp_nopush on;
  41. add_header rt-Fastcgi-Cache $upstream_cache_status;
  42. keepalive_timeout 20;
  43. client_header_timeout 20;
  44. client_body_timeout 20;
  45. reset_timedout_connection on;
  46. send_timeout 20;
  47. open_file_cache max=10000 inactive=1m;
  48. open_file_cache_valid 2m;
  49. open_file_cache_min_uses 1;
  50. open_file_cache_errors on;
  51. client_max_body_size 40m;
  52. gzip on;
  53. gzip_vary on;
  54. gzip_min_length 1100;
  55. gzip_buffers 16 8k;
  56. gzip_types text/css text/x-component application/json application/x-javascript application/javascript text/javascript text/x-js text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon;
  57. gzip_proxied any;
  58. gzip_comp_level 4;
  59. gzip_disable “MSIE [1-6].(?!.*SV1)”;
  60. ignore_invalid_headers on;
  61. include /opt/local/etc/nginx/sites-enabled/*;
  62. }