How to Install Crater Invoicing Solution on Rocky Linux 8.5

Click here for Govt Schemes

How to Install Crater Invoicing Solution on Rocky Linux 8.5

 in This Tutorial you will Learn " How to Install Crater Invoicing Solution on Rocky Linux 8.5"

Crater is a free and open-source invoicing application based on the Laravel PHP framework. It is designed for individual users or small and medium-sized businesses to help track payments and expenses as well as create professional invoices. It comes with a suite of tools that are used to manage invoices. Crater allows users to create and send professional invoices to their clients.
Server - Os:  Rocky Linux 8.5  64Bit      |    IP -        |     Hostname -
cat /etc/os-releases ; getconf LONG_BIT ; hostname ; hostname -I ; sestatus
dnf makecache ; dnf groupinstall "Development Tools" -y
dnf module enable php:7.4 ; dnf install httpd httpd-tools mariadb-server mariadb php php-cli php-mysqlnd php-gd php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-snmp php-soap php-curl php-opcache php-bcmath php-fpm php-common php-json php-zlib php-gmp php-apcu php-openssl php-pdo php-intl php-json php-zip -y

systemctl enable httpd mariadb php-fpm ;  systemctl start httpd mariadb php-fpm

wget -O
unzip ; mv crater /var/www/html/crater

mysql -u root -p
create database db;
create user `dbuser`@`localhost` IDENTIFIED BY 'dbpassword';
grant all on db.* TO `dbuser`@`localhost`;
flush privileges;

nano /etc/httpd/conf.d/
<VirtualHost *:80>
    DocumentRoot /var/www/html/crater/public/
    <Directory /var/www/html/crater/public/>
        Options -Indexes +FollowSymLinks
        AllowOverride All
    ErrorLog /var/log/httpd/
    CustomLog /var/log/httpd/ combined

chown -R $USER:$USER /var/www/html/* ; chmod -R 777 /var/www/*
apachectl configtest ; echo "" >> /etc/hosts
firewall-cmd --permanent --add-service={http,https} ; firewall-cmd --reload  
mv /etc/httpd/conf.d/welcome.conf /etc/httpd/conf.d/welcome.conf_backup

systemctl restart httpd ; systemctl status httpd

Share on Pinterest
Share on LinkedIn
Share on WhatsApp
Share on Telegram