![]() ![]() I highly recommend reading Arch’s excellent wiki on how to install MariaDB, create the initial database, setup systemd so that the database server starts automatically upon reboot, start the server and secure it. Prepare Cron (cronie) sudo systemctl enable -now cronie Unzip this release into /srv/http/hosts/invoiceninjaĬhange the file and folder ownership: sudo chown -R http:http /srv/http/hosts/invoiceninja ![]() Install Invoice Ninjaĭownload the latest Invoice Ninja release from here Unfortunately the packages above will also install the latest version of PHP8 as a dependency which will have to be taken into consideration when configuring the web server (see the Prepare Web Server section below). You also need to install the web server of your choice. Nss sudo pacman -S at-spi2-atk atk gtk3 mesa nss If you intend to use SnapPDF to generate PDF files for your invoices (rather than the legacy PhantomJS), these additional packages are required: Ttf-roboto sudo pacman -S mariadb mariadb-libs php php-fpm php-gd cronie composer git vi ttf-roboto The following packages need to be installed: Required PackagesĪs of Invoice Ninja v5.1.40, PHP 8 is supported. Warnings from any Perl update about “Setting locale failed” can be ignored for now as Invoice Ninja is a PHP app, but I recommend that you fix them at some point. If one of the updated packages is a new Linux kernel, reboot the VPS. Make sure that all the system packages are up to date: sudo pacman -Syu You use this guide at your own risk! First Steps Needless to say that I am not responsible if anything breaks on your system. You must change these in every command if your installation is different. the web server is configured to run as the http user in the http group.the Invoice Ninja files are installed in the /srv/http/hosts/invoiceninja folder.The Arch Linux ISO installation automatically creates a user in /etc/passwd called “http” for web servers with a home folder of /srv/http. Also there is no guarantee that the Arch ISO you or your VPS provider is using is the same as that of OVH so you might need to adapt the section below on Required Packages to suit your needs. This was a clean install of the VPS and Invoice Ninja was the first application to be installed so that there could be no conflicts with other packages or applications. This article is based on my experience using Arch on a VPS from OVH. HOWTO: Install Invoice Ninja v5 on Arch Linux Health Warning ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |