Run Apache2 parallel with Nginx?

  • Hi,


    I'm want to install the CloneDeploy, an alternative of Clonezilla/FOG, on OMV2.
    I posted the topic, and the mod said that there are some users running CD with Apache installed with Nginx on OMV before.
    How do I change the Apache2 port so that it will not conflict with Nginx?


    http://clonedeploy.org/



    Thanks.

    OMV v5.0
    Asus Z97-A/3.1; i3-4370
    32GB RAM Corsair Vengeance Pro

  • I made all the necessary changes, but I got an error when I restart Apache2, and Nginx is not working at all.


    Why can't Nginx & Apache2 get along?



    Code
    apache2: Syntax error on line 244 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/apache2/modules/libphp5.so: cannot open shared object file: No such file or directory
    Action 'configtest' failed.
    The Apache error log may have more information.
     failed!






    Code
    :/etc/apache2/sites-enabled$ ls -la
    total 8
    drwxr-xr-x 2 root root 4096 Aug 26 19:45 .
    drwxr-xr-x 7 root root 4096 Aug 26 19:24 ..
    lrwxrwxrwx 1 root root   26 Jun 30 19:05 000-default -> ../sites-available/default
    lrwxrwxrwx 1 root root   37 Aug 26 19:45 fog.conf -> /etc/apache2/sites-available/fog.conf



    /etc/apache2/sites-available/fog.conf

    Code
    <VirtualHost *:8000>
         ServerAdmin abc@yahoo.com
         ServerName FOG Imaging
         ServerAlias abc.xyz.com
         DocumentRoot /var/www/fog/public_html/
         ErrorLog /var/www/fog/logs/error.log
         CustomLog /var/www/fog/logs/access.log combined
    </VirtualHost>




    /etc/apache2/sites-available/default


    /etc/apache2/sites-available/default-ssl


    OMV v5.0
    Asus Z97-A/3.1; i3-4370
    32GB RAM Corsair Vengeance Pro

  • I'd to restored my OMV yesterday due to Apache2 is installed again.
    I'm try again with CloneDeploy.


    Thanks for the help.

    OMV v5.0
    Asus Z97-A/3.1; i3-4370
    32GB RAM Corsair Vengeance Pro

    Einmal editiert, zuletzt von tinh_x7 ()

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!