forked from vufind-org/vufind
-
Notifications
You must be signed in to change notification settings - Fork 0
Installation on Debian
Stefan Weil edited this page Oct 14, 2025
·
2 revisions
These instructions were tested on Debian trixie (the current stable release) in a Podman container.
# Update Debian packages.
apt-get update
apt-get upgrade -y
# Install editor.
apt-get install -y vim-tiny
# Install Apache web server.
apt-get -y install apache2
a2enmod rewrite
# Install MariaDB database server.
apt-get -y install mariadb-server
# Install required PHP modules.
apt-get -y install php-fpm php-mbstring php-pear php php-dev php-gd php-intl php-json php-ldap php-mysql php-xml php-soap php-curl
a2enmod proxy_fcgi setenvif
a2enconf php8.4-fpm
# Install OpenJDK (Java).
apt-get -y install default-jdk
# Get latest VuFind code.
git clone https://github.com/UB-Mannheim/vufind.git /usr/local/vufind
# Install composer.
apt-get -y composer
cd /usr/local/vufind
composer install
# Install npm.
apt-get -y npm
npm install
npm run build
# Create log file.
touch /var/log/vufind.log
chown www-data: /var/log/vufind.log
chown -R www-data: /usr/local/vufind/local/
# Add and enable Apache configuration.
ln -s /usr/local/vufind/local/httpd-vufind.conf /etc/apache2/conf-available
a2enconf httpd-vufind
# (Re)start all required services.
service apache2 restart
service mariadb restart
service php8.4-fpm restart
# Start Solr.
/solr.sh start