Course Hero Logo

debian.md - # Installing Monica on Debian <!- omit in toc...

Course Hero uses AI to attempt to automatically extract content from documents to surface to you and others so you can study better, e.g., in search results, to enrich docs, and more. This preview shows page 1 - 3 out of 5 pages.

# Installing Monica on Debian <!-- omit in toc --><img alt="Logo"src="-OpenLogo.svg/109px-Debian-OpenLogo.svg.png" width="96" height="127" />Monica can run on Debian Buster.- [Prerequisites](#prerequisites)- [Installation steps](#installation-steps)- [1. Clone the repository](#1-clone-the-repository)- [2. Setup the database](#2-setup-the-database)- [3. Configure Monica](#3-configure-monica)- [4. Configure cron job](#4-configure-cron-job)- [5. Configure Apache webserver](#5-configure-apache-webserver)- [Final step](#final-step)## PrerequisitesMonica depends on the following:-A Web server, like [Apache httpd webserver]()-[Git]()-PHP 7.4+-[Composer]()-[Node.js]()-[Yarn]()-MySQL / MariaDBAn editor like vim or nano should be useful too.**Apache:** Install Apache with:```shsudo apt updatesudo apt install -y apache2```**Git:** Install Git with:```shsudo apt install -y git```**PHP:**If you are using Debian 10 or lower, PHP 7.4 is not available from the Debianproject directly.Instead use the [deb.sury.org]() packagerepository from Ondřej Surý, maintainer of the mainline Debian packages.```shsudo wget -q -O /etc/apt/trusted.gpg.d/php-sury.gpgecho "deb $(lsb_release -sc) main" | sudo tee/etc/apt/sources.list.d/php-sury.listsudo apt update```
Install PHP 7.4 with these extensions:```shsudo apt install -y php7.4 php7.4-bcmath php7.4-curl php7.4-gd php7.4-gmp \php7.4-intl php7.4-mbstring php7.4-mysql php7.4-redis php7.4-xml php7.4-zip```

Upload your study docs or become a

Course Hero member to access this document

Upload your study docs or become a

Course Hero member to access this document

End of preview. Want to read all 5 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
Summer
Professor
N/A
Tags
Web server, Monica, Apache HTTP Server

Newly uploaded documents

Show More

Newly uploaded documents

Show More

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture