Giter VIP home page Giter VIP logo

Comments (15)

malutanpetronel avatar malutanpetronel commented on September 27, 2024

maybe something like

  • name: Install required binary packages
    apt: name={{item}} state=present
    with_items:
    • apache2
    • libapache2-mod-php5
      notify: restart apache ?

need it there ?

from ansible-roles.

frjo avatar frjo commented on September 27, 2024

Yes, you need to fix the web server yourself since I have not added any public role for it.

I use Apache 2.4 with PHP-FPM 7 myself, highly recommend that combination.

Read more on my setup here : https://xdeb.org/post/2017/11/09/running-drupal-on-debian-9-with-apache-2-4-http2-event-mpm-and-php-fpm-via-socks-and-proxy/

from ansible-roles.

malutanpetronel avatar malutanpetronel commented on September 27, 2024

I did installed

Server version: Apache/2.4.25 (Debian)
Server built: 2018-06-02T08:01:13

PHP 7.0.30-0+deb9u1 (cli) (built: Jun 14 2018 13:50:25) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.30-0+deb9u1, Copyright (c) 1999-2017, by Zend Technologies

I did enabled some modules you suggested and I assume I need to change the mail.conf too ?

from ansible-roles.

frjo avatar frjo commented on September 27, 2024

If you want to install into other directories or do some other changes you can edit mail.conf.j2.

Sent with GitHawk

from ansible-roles.

frjo avatar frjo commented on September 27, 2024

If you have not already you really should make use of the letsencrypt role as well.

Sent with GitHawk

from ansible-roles.

malutanpetronel avatar malutanpetronel commented on September 27, 2024

Ok ;) So it looks some missing info in the blog here : https://xdeb.org/post/2018/02/07/run-your-own-mail-server-with-postfix-and-dovecot/

image

I did added letsencrypt at first, as common contains - include: misc.yml which verify the letsencrypt cert... but I fail with

...frjo/files/letsencrypt/account_aes256.key which is missing
I've thought letsencrypt should be used with certbot ? or should I generate the key locally ?

from ansible-roles.

frjo avatar frjo commented on September 27, 2024

If you are unsure what the the letsencrypt role does after looking at it then I think the official certbot is an better option.

The "account_aes256.key” is a local file containing the encrypted account key for lets encrypt.

I use the letencrypt role since it avoids the need to do any manual setup on a server.

from ansible-roles.

malutanpetronel avatar malutanpetronel commented on September 27, 2024
  1. so I should get somehow / somewhere a key for lets encrypt..
  2. and I should encrypt shomehow the account key for lets encrypt from point 1 :)

from ansible-roles.

frjo avatar frjo commented on September 27, 2024

Just use certbot instead.

from ansible-roles.

malutanpetronel avatar malutanpetronel commented on September 27, 2024

it still looks that the server load until it output timeout ! Any hints please ?

from ansible-roles.

frjo avatar frjo commented on September 27, 2024

Need the log output to see what the issues are.

Sent with GitHawk

from ansible-roles.

malutanpetronel avatar malutanpetronel commented on September 27, 2024

Do you have an email?

from ansible-roles.

frjo avatar frjo commented on September 27, 2024

There is a contact form on my blog.

from ansible-roles.

malutanpetronel avatar malutanpetronel commented on September 27, 2024

I noticed you did not shared the content of etc/postfixadmin/config.local.php.j2
Did you forgot ot push it content? or I am supposed to copy the default file to local, customise it iwth vars and reuse it later ?

from ansible-roles.

malutanpetronel avatar malutanpetronel commented on September 27, 2024

I wrongly look in another folder

from ansible-roles.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.