

#Invoice ninja install zip file#
# Right click the link to the zip file and copy the download link Sudo mkdir invoiceninja & cd invoiceninja # time for a break :) take a snapshot if possible # make sure NGINX is running and not apache # As of march 2022, InvoiceNinja still uses php7.4 and you don't need to change anything.

# If php7.4 is not the used php version anymore, you need to check the FastCGI socket path. htaccess files, if Apache's document root # as directory, then fall back to displaying a 404.įastcgi_pass unix:/run/php/ # First attempt to serve request as file, then #gzip_proxied no-cache no-store private expired auth #gzip_types application/javascript application/x-javascript text/javascript text/plain application/xml application/json # Add index.php to the list if you are using PHP Root /usr/share/nginx/invoiceninja/public # Self signed certs generated by the ssl-cert package # Read up on ssl_ciphers to ensure a secure configuration. # Note: You should disable gzip for SSL traffic. # Please see /usr/share/doc/nginx-doc/examples/ for more detailed examples. # available underneath a path with that package name, such as /drupal8. # applications, such as Drupal or Wordpress. # This file will automatically load configuration files provided by other # leave it as reference inside of sites-available where it will continue to be # In most cases, administrators will remove this file from sites-enabled/ and # of Nginx configuration files in order to fully unleash the power of Nginx. # You should look at the following URL's in order to grasp a solid understanding GRANT ALL PRIVILEGES ON ninjadb.* TO You should see Query OK, 0 rows affected # give all permissions for to the local ninja user to access ninjadb # You should see Query OK, 0 rows affected
#Invoice ninja install password#
# create the user ninja and set a Password # You should see Query OK, 1 row affected # you should see MariaDB > on the left of your cursorĬREATE SCHEMA `ninjadb` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci You should see "Thanks for using MariaDB" # Enter, Enter, Enter, insert a password for the root account, enter it again, Enter, Enter, Enter, Enter. Use default values written in capital letters # This command will take you through a guided wizard to initialize the SQL database. You should see something like active: active (running) will not work you need to use http instead of https for now! # if we visit, you should see a running NGINX page.
#Invoice ninja install install#
Sudo apt install php7.4 php7.4- mariadb-server mariadb-client curl git nginx vim composer -y # do we really need curl, git, vim, maridb-client? # Debian 11 Bullseye currently uses php 7.4 Sudo systemctl enable -now unattended-upgrades # I like to have security updates automatically installed. # uncomment by removing # and change PasswordAuhtentication from yes to no Otherwise I would recommend disabling PasswordAuth for ssh. # You can skip this, if you don't use ssh server. # I import my public ssh keys from github. # if you set a password for the root user, install sudo and add user invoiceninja to sudoer group. That way invoiceninja is member of the sudo group # no password for root, and invoiceninja as a user. # I did a mostly default Debian installation # You can also find this and report a bug on # default installation of a InvoiceNinja instance on Debian I am not a native English speaker and will reread my horrible spelling, but not today # This is a basic tutorial for a I like this forum but I think github is better suited to open bug reports than here and it is simpler for me to keep it up to date. I only tested this behind a reverse proxy and would love to hear some feedback from you.Īlso the optional supervisor part is not done yet. I wrote a basic tutorial for Debian and Ninja v5. Edit: Appereantly Ubuntu is preferred over Debian for InvoiceNinja.
