Skip to content
Menu
SCCM Blog
  • Home
  • Over mij
  • Boot menu & bios instellingen
  • Documentatie
  • Windows 10
  • SCCM
    • DriverPacks
  • Linux
  • Unix
  • Links
  • Contact
  • Privacybeleid
SCCM Blog

Installeer Redis en DirectAdmin SSH Key Management Plugin

Posted on 5 november 20175 november 2020
Share

Installatie van de plugin

cd /usr/local/directadmin/plugins
git clone https://github.com/kbentlage/da-redis-management.git redis_management
sh redis_management/scripts/install.sh

Redis installatie

De installatiescript verwacht dat popen toegestaan is, mocht dit niet zo zijn, dan moet deze even tijdelijk toegestaan worden.

Ga naar:
vi /usr/local/php74/lib/php.ini

Controleer of <b>popen</b> achter de regel <b>disable_functions</b> staat, zoja, haal deze even tijdelijk weg en onthoud waar deze precies staat:

Sla het bestand op en herstart de service:
service httpd restart 


cd /usr/local/directadmin/plugins/redis_management/setup
sh install.sh

Zet vervolgens popen weer terug 
Ga naar:
vi /usr/local/php74/lib/php.ini

Controleer of <b>popen</b> achter de regel <b>disable_functions</b> staat, zoja, haal deze even tijdelijk weg en onthoud waar deze precies staat:

Sla het bestand op en herstart de service:
service httpd restart 


Mocht je na de installatie met behulp van install.sh de onderstaande foutmelding krijgen dan dien je wat extra's te installeren:

Complete!
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
downloading redis-5.3.2.tgz ...
Starting to download redis-5.3.2.tgz (266,814 bytes)
........................................................done: 266,814 bytes
29 source files, building
running: phpize74

Warning: popen() has been disabled for security reasons in PEAR/Builder.php on line 525
PHP Warning:  popen() has been disabled for security reasons in /usr/local/php74/lib/php/PEAR/Builder.php on line 525
ERROR: failed to run `phpize74'
cat: /usr/local/lib/php.conf.d/20-custom.ini: No such file or directory
install.sh: line 35: /usr/local/lib/php.conf.d/20-custom.ini: No such file or directory
Created symlink /etc/systemd/system/multi-user.target.wants/redis.service → /usr/lib/systemd/system/redis.service.

Voer het volgende uit:
pecl channel-update pecl.php.net


Geef vervolgens redis nog rechten op een map:
chown redis:redis /usr/local/directadmin/plugins/redis_management/data

Zorg dat er nog wat geplaatst wordt in onderstaande bestand:
vi /etc/redis.conf

Dit moet niet gecommend zijn:
unixsocket /tmp/redis.sock
unixsocketperm 777
daemonize yes

Herstart daarna de redis service via de volgende commando:
service redis restart

Configuratie

De plugin werkt standaard out-of-the box. Maar indien nodig zijn een aantal configuratie instellingen aan te passen.

De standaard instellingen zijn opgeslagen in het bestand:

/usr/local/directadmin/plugins/redis_management/php/Config/main.php.

Als je bijvoorbeeld de locatie waar de redis data (standaard in /var/lib/redis) wordt opgeslagen wilt veranderen, dan kun je dit in het “local.php” bestand aanpassen. Verander a.u.b. dit niet in het “main.php” configuratie bestand, omdat dit bestand kan worden overschreven als er een nieuwere versie van de plugin wordt geïnstalleerd.

Update plugin

cd /usr/local/directadmin/plugins/redis_management
git pull

Bron

https://github.com/kbentlage/da-redis-management

Geef een reactie Antwoord annuleren

Het e-mailadres wordt niet gepubliceerd. Vereiste velden zijn gemarkeerd met *

Tweets

Meest recente berichten

  • Nieuwe DirectAdmin thema beschikbaar: Evolution
  • HTTP headers
  • Opzetten van een SCCM Lab omgeving
  • SCCM SQL Query Show Direct Members
  • Aanbevolen beveiligingsinstellingen voor SSL

Recente reacties

  • James buigo op Nieuwe DirectAdmin thema beschikbaar: Evolution
  • Johnk op Update en Bios configuratie tijdens OSD Deployment

Archief

  • februari 2019
  • augustus 2018
  • mei 2018
  • maart 2018
  • december 2017
  • november 2017
  • oktober 2017
  • september 2017
  • augustus 2017
  • juni 2017
  • april 2017
  • maart 2017
  • februari 2017
  • december 2016
  • november 2016
  • oktober 2016
  • augustus 2016
  • juli 2016
  • juni 2016
  • mei 2016
  • februari 2016
  • januari 2016
  • december 2015
  • februari 2015
  • november 2014
  • september 2008
  • augustus 2008
  • juli 2008
  • juni 2008
  • mei 2008
  • april 2008
  • maart 2008
  • februari 2008
  • januari 2008
  • december 2007

Categorieën

  • BAT file scripting
  • Bios
  • Build and Capture
  • CentOS
  • DirectAdmin
  • DNS
  • FreeBSD
  • Linux
  • MDT
  • Microsoft SQL Server 2017
  • MSI
  • MySQL
  • Office 2007
  • Packaging tips
  • Plesk
  • PowerDNS
  • PowerShell
  • Registry
  • SCCM
  • SMC switch
  • SSL
  • Task Sequence
  • Uncategorized
  • Unix
  • VBScript
  • Windows 10
  • Windows 7
  • Windows Apps
  • Windows as a service
  • Windows Server 2016
  • WinPE
  • WSUS

Meta

  • Inloggen
  • Berichten feed
  • Reacties feed
  • WordPress.org

Advertentie

©2021 SCCM Blog | WordPress Theme by Superbthemes.com
Deze website maakt gebruik van cookies om u een optimale gebruikerservaring te bieden. Voor een goede website raden wij u aan de cookies te accepteren. Accepteer Weigeren Lees meer
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Noodzakelijk
Altijd ingeschakeld

Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.

Niet-noodzakelijk

Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.