Serverinstallation Linux
TheWir followinghaben stepsdie describeDokumentation howfür todie installInstallation on a Debian 10 server. Generally you can try to install on otherunter Linux systems.
Thisentfernt, mayweil worksie ifveraltet allwar.
Falls Sie Squeeze dependenciesauf like the correct PHP version, PHP modules and Apache extensions are present in your operating systems package repositories.
Linux (Debianinstalllieren 10)
möchten, 1.was Preparewir Debiansehr forbegrüßen, installationdann viamelden apt
Sie Beforesich installingbitte Squeeze some third party applications need to be installed. Follow the steps below to install these applications.
Please note that using a proxy to connect to the internet might need some additional configuration like:export https_proxy=https://proxy.intra.net:proxy_portorexport http_proxy=http://user:password@proxy.intra.net:proxy_port
apt update
apt upgrade2. Install PHP 7.4
apt-get update
apt-get install php7.4 php7.4-cli php7.4-common php7.4-imap php7.4-mysql php7.4-mailparse php7.4-bcmath php7.4-intl php7.4-gd php7.4-xml php7.4-xsl php7.4-mbstring php7.4-opcache php7.4-curl php7.4-zip php7.4-bz2 php7.4-soap php7.4-json php7.4-imagick libapache2-mod-php7.43. Install Apache
To install Apache run the following command
apt install apache2And enable the following modules
a2enmod proxy rewrite deflate filter headers4. Install MariaDB
apt update
apt install mariadb-server
systemctl status mariadbrun the follwing command and follow the instructions to secure the installation:
mysql_secure_installationCreate a new user for later use
mysql --user=root mysqlCREATE USER 'squeeze'@'localhost' IDENTIFIED BY 'secret';
GRANT ALL PRIVILEGES ON *.* TO 'squeeze'@'localhost' WITH GRANT OPTION;
FLUSH PRIVILEGES;5. Install RabbitMQ
Run the following command to install RabbitMQ including the management web interface
apt-get install rabbitmq-server
rabbitmq-plugins enable rabbitmq_management
If needed add a new user to RabbitMQ
rabbitmqctl add_user username password
rabbitmqctl set_user_tags username administrator
rabbitmqctl set_permissions -p / username ".*" ".*" ".*"6. Install ElasticSearch
Run the following command to install ElasticSearch
nano /etc/apt/sources.list
deb http://ftp.us.debian.org/debian sid main
apt-get update
apt install openjdk-8-jre-headless
apt install gnupg2
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | apt-key add -
echo "deb https://artifacts.elastic.co/packages/5.x/apt stable main" | tee -a /etc/apt/sources.list.d/elastic-5.x.list
apt update && apt upgrade
apt install apt-transport-https uuid-runtime pwgen
apt update
apt install elasticsearch
cd /usr/share/elasticsearch/bin
./elasticsearch-plugin install analysis-icu
./elasticsearch-plugin install mapper-attachments
To be able to install the plugins behind a proxy please use the following commands:
ES_JAVA_OPTS="-Dhttp.proxyHost=proxy.intra.net -Dhttp.proxyPort=3128 -Dhttps.proxyHost=proxy.intra.net -Dhttps.proxyPort=3128" ./elasticsearch-plugin install analysis-icu
ES_JAVA_OPTS="-Dhttp.proxyHost=proxy.intra.net -Dhttp.proxyPort=3128 -Dhttps.proxyHost=proxy.intra.net -Dhttps.proxyPort=3128" ./elasticsearch-plugin install mapper-attachmentsOptional:
nano /etc/elasticsearch/elasticsearch.yml
cluster.name: my-applicationnano
/etc/elasticsearch/jvm.options
-Xms512m
-Xmx512mEnable and start ElasticSearch
systemctl daemon-reload
systemctl enable elasticsearch.service
systemctl restart elasticsearch.service
systemctl status elasticsearch.serviceapt install tesseract-ocr tesseract-ocr-deu imagemagick ghostscript poppler-utils zbar-tools git sudo8. Install Squeeze
cd /var/www/html
git clone https://git.dexpro-solutions.de/dex/squeeze/Squeeze.git
chown -R www-data Squeeze/
chmod -R 775 Squeeze/nano /etc/apache2/sites-enabled/000-default.conf
DocumentRoot /var/www/html/Squeeze/public
<Directory "/var/www/html/Squeeze/public">
AllowOverride All
</Directory>Now restart the apache webserver:
systemctl restart apache29. Web installer
Once the installer finished, start your preferred browser and openbei http://localhostsupport@squeeze.one tooder runim theForum, webum installerHilfe. Dabei möchten Wir Sie gern unterstützen.