Posts by ciscllc

    You can update your i-MSCP gui Tools by uploading them in the right directory on your server using SFTP or SCP.


    But for Spamassassing, programs running on your machine, you habe to connect via ssh and start your package installer like apt or aptitude and do the update there.

    I would not wait for an update of the plugin. But make a backup first. Maybe the plugin has problems with the new version.
    And make a copy of the tools directories befor uploading a new version of phpmyadmin or roundcube.

    Yes,

    You should always update.

    If you use letsencrypt Plugin do an upgrade too.

    You maybe need to add -n as option to the config file as the certbot needs the info to not be on cli.

    Hmmmm... Dann ist dein Server (also der Webserver, nicht SSH oder Mail) ja bereits hinter der Cloudflare Wall und damit nicht sichtbar. Für was dann den vorgeschalteten VPS?

    Servus!


    An ein update von Debian hast du sicher schon gedacht.

    Was läuft auf dem kleinen VPS? Nginx? Apache?


    Du hast doch sicher schon mal nach "Debian Apache Proxy" gesucht, oder?


    Solltest du derzeit noch ohne Apache am zweiten Server arbeiten:


    Code
    1. apt install apache2
    2. a2enmod proxy
    3. a2enmod proxy_http
    4. a2dissite 000-Default.conf
    5. service apache2 reload

    Damit hast du Apache installiert und die Module Proxy und Proxy_http geladen und die Standard Website "entladen".


    Jetzt wechselst du in diesen Unterordner: /etc/apache2/sites-available


    Dort legst du sowas an (weiterleitung.conf):


    Code
    1. <VirtualHost *:80>
    2. ServerAdmin Deine-E-Mail-Adresse
    3. ServerName dein.Domainname.com
    4. ProxyPreserveHost On
    5. DocumentRoot /var/www/html
    6. ProxyPass /.well-known !
    7. ProxyPass / http://die-weiterleitungs-ip:Port/
    8. ProxyPassReverse / http://die-weiterleitunsg-ip:Port/
    9. </VirtualHost>

    Dann die ganze Sache noch laden (mit a2ensite) und den Apachen neu laden

    Code
    1. a2ensite weiterleitung.conf
    2. service apache2 reload

    Sollte soweit funktionieren.
    Dann kann man noch Let's Encrypt installieren:


    Code
    1. apt-get remove certbot
    2. wget https://dl.eff.org/certbot-auto
    3. mv certbot-auto /usr/local/bin/certbot-auto
    4. chown root /usr/local/bin/certbot-auto
    5. chmod 0755 /usr/local/bin/certbot-auto

    Und dann noch

    Code
    1. /usr/local/bin/certbot-auto --apache

    Automatisches Update der Zertifikate:

    Code
    1. echo "0 0,12 * * * root python -c 'import random; import time; time.sleep(random.random() * 3600)' && /usr/local/bin/certbot-auto renew" | sudo tee -a /etc/crontab > /dev/null
    Quote

    Wenn es geht, einfach kurze Info hier geben. Hab keine Debian 8 mehr zum Testen.


    LG

    Hallo!


    Ich versuche ein zweite PHP Version (ohne den PHP Switcher) einzustellen.

    i-MSCP setzt den Proxy dazu ja in der entsprechenden sites-available conf file.


    Code
    1. <Proxy "unix:/run/php/php7.0-fpm-domain.com.sock|fcgi://www.domain.com" retry=0>
    2. ProxySet connectiontimeout=5 timeout=7200
    3. </Proxy>


    Ich habe versucht im imscp Ordner unter Apache2, in dem ich sonst alle entsprechenden Änderungen einstelle, den Proxy Code entsprechend zu modifizieren

    Code
    1. <Proxy "unix:/run/php/php7.3-fpm-domain.com.sock|fcgi://www.domain.com" retry=0>
    2. ProxySet connectiontimeout=5 timeout=7200
    3. </Proxy>

    Das übernimmt mit der Apache aber nicht.
    Es wird weiterhin die PHP Version aus der sites-available verwendet.


    Hat jemand eine Idee, wie ich das dauerhaft umschreiben kann, außer nach jeder Domain Änderung die 0 in eine 3 umschreiben?


    Danke!

    Du musst erst phpinfo zulassen. Geht übers webadmin.

    Schau dir auch die Apache Files der einzelnen Domains an.

    /Etc/apache2/sites-available/Domain.conf

    Schau einmal unter

    Code
    1. /etc/imscp/php/php.data

    Dort sind die Einträge inkl. Pfade.


    und

    Code
    1. /etc/imscp/imscp.con

    Da gibt es den Eintrag "PHP_SERVER = phpX.X"


    Pass das einmal ein.


    Alle Services neu starten und checken ob sie gehen. Ev. muss die php.ini abgepasst werden. (Zwischen 5.6 und 7.2 sogar ganz sicher)



    Vorher aber ein Backup vom Server. Keine Garantie, dass das funktioniert. Hab ich noch nie gemacht, könnte aber gehen.


    LG


    PS.: Möglicherweise sind dann die 32,- EUR aber nicht mehr so schlimm. Btw wieviel zahlst du monatlich für den (v)Server, wenn 32,- EUR schon zuviel sind. Nuxwin muss auch von etwas leben.