quick_install.rst 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. *************
  2. Quick Install
  3. *************
  4. .. image:: ../_static/images/logo_right.png
  5. :scale: 85%
  6. |
  7. Welcome to the FusionPBX installation guide.
  8. |
  9. FusionPBX can be installed on several different operating systems. However this guide assumes you are starting with a **minimal** install of Debian 12 with SSH enabled. This install has been designed to be fast, simple and modular, and generally takes 5 minutes or less. Installation times depend on factors like CPU, RAM, disk I/O and bandwidth. Install Video https://youtu.be/XpiVyHqLaus
  10. .. raw:: html
  11. <div style="text-align: center; margin-bottom: 2em;">
  12. <iframe width="100%" height="350" src="https://www.youtube.com/embed/XpiVyHqLaus" frameborder="0" ; encrypted-media" allowfullscreen></iframe>
  13. </div>
  14. **1.** Run the following commands as root. The script installs FusionPBX, FreeSWITCH release package and its dependencies, iptables, Fail2ban, NGINX, PHP-FPM and PostgreSQL.
  15. Start with a **minimal** install of Debian 12 with SSH enabled.
  16. Paste the following commands in the console window **one line at a time**.
  17. ::
  18. wget -O - https://raw.githubusercontent.com/fusionpbx/fusionpbx-install.sh/master/debian/pre-install.sh | sh;
  19. |
  20. ::
  21. cd /usr/src/fusionpbx-install.sh/debian && ./install.sh
  22. |
  23. If using **Debian on Proxmox LXC** containers please run the following **BEFORE** starting the FusionPBX install.
  24. ::
  25. apt-get update && apt-get upgrade
  26. apt-get install systemd
  27. apt-get install systemd-sysv
  28. apt-get install ca-certificates
  29. reboot
  30. |
  31. **2.** At the end of the install, the script will instruct you to go to the ip address of the server (or domain name) in your web browser to login. The script will also provide a username and secure random password for you to use. This can be changed after you login. The install script builds the fusionpbx database. If you need the database password it is located in /etc/fusionpbx/config.php .
  32. ::
  33. Installation has completed.
  34. Use a web browser to login.
  35. domain name: https://000.000.000.000
  36. username: admin
  37. password: zxP5yatwMxejKXd
  38. The domain name in the browser is used by default as part of the authentication.
  39. If you need to login to a different domain then use username@domain.
  40. username: [email protected]
  41. Additional information.
  42. https://fusionpbx.com/support.php
  43. https://www.fusionpbx.com
  44. http://docs.fusionpbx.com
  45. https://www.fusionpbx.com/training.php
  46. |
  47. .. image:: ../_static/images/ilogin.png
  48. :scale: 80%
  49. |
  50. After the install script has completed go to your web browser and login with the information provided by the install script.
  51. After the installation script finishes, the option for anything to register to the ip address is **ENABLED**.
  52. * If you plan on registering devices to the FusionPBX ip address then no further action is required.
  53. It is however recommended to register to a domain name (FQDN) since most scripted attacks happen to the public ip. Registering to the ip address will be blocked by the fail2ban rules freeswitch-ip and auth-challenge once these rules are set to true.
  54. * To help secure your FusionPBX installation, enable the `fail2ban rules <http://docs.fusionpbx.com/en/latest/firewall/fail2ban.html>`_ [freeswitch-ip] and [auth-challenge-ip] in /etc/fail2ban/jail.local.
  55. ::
  56. [freeswitch-ip]
  57. enabled = true
  58. ::
  59. [auth-challenge-ip]
  60. enabled = true