Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Nov 2017 15:28:04 +0000 (UTC)
From:      Mitch MRC <mitch_mrc@yahoo.com>
To:        Outback Dingo <outbackdingo@gmail.com>, Vladimir Botka <vbotka@gmail.com>
Cc:        Mitch MRC via freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Server for web hosting and emails
Message-ID:  <966939340.163969.1510414084521@mail.yahoo.com>
In-Reply-To: <20171111111143.130b5b31@planb.netng.org>
References:  <1947620261.80174.1510389431279.ref@mail.yahoo.com> <1947620261.80174.1510389431279@mail.yahoo.com> <20171111104334.7bcbb022@planb.netng.org> <CAKYr3zxjL_%2BD8ZY0rKzGwUjgwneYTNmfepb_4LRBikH1nkc9xg@mail.gmail.com> <20171111111143.130b5b31@planb.netng.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Thank you for your replies.Is it possible to make it with dynamic IP from t=
he ISP? Or i should ask for a fixed IP?
Mircea

------------------------=20

    On Saturday, November 11, 2017, 12:11:47 PM GMT+2, Vladimir Botka <vbot=
ka@gmail.com> wrote: =20
=20
 On Sat, 11 Nov 2017 10:52:16 +0100
Outback Dingo <outbackdingo@gmail.com> wrote:

> On Sat, Nov 11, 2017 at 10:43 AM, Vladimir Botka <vbotka@gmail.com> wrote=
:
> > Hi,
> >
> > last year I started to write my configuration of FreeBSD into Ansible
> > roles. These roles are available at https://galaxy.ansible.com/vbotka/
> > and cover the services you mentioned.
> >
> > These roles are stored at https://github.com/vbotka/ and tested at
> > https://travis-ci.org/vbotka/. I put references to relevant
> > documentation into the README.md of the roles. This week I tested all
> > roles with FreeBSD 11.1.
> >
> > HTH, Cheers
> >
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 -vlado=C2=A0=20
>=20
> wow nice, now it just needs postfixadmin / virtual domains / nginx
> virtual support, and dns ... say bind... and you have a whole
> deployable hosting solution..... then he just needs a control panel to
> manage it all...

Example how to configure virtual hosts in Apache is here=20
https://github.com/vbotka/ansible-apache/blob/master/vars/main.yml

and here is the role to roll-out a DNS server including DNSSEC
https://github.com/vbotka/ansible-freebsd-dns

For Nginx and FreeBSD just search Galaxy
https://galaxy.ansible.com/list#/roles?page=3D1&page_size=3D10&autocomplete=
=3Dnginx%20freebsd
, or run command
# ansible-galaxy search --galaxy-tags freebsd,nginx
Found 3 roles matching your search:
 Name=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Description
JoergFiedler.freebsd-jailed-nginx=C2=A0 =C2=A0 Provides a jailed nginx serv=
er.
...

HTH, Cheers

=C2=A0=C2=A0=C2=A0 -vlado =20
From owner-freebsd-questions@freebsd.org  Sat Nov 11 15:45:53 2017
Return-Path: <owner-freebsd-questions@freebsd.org>
Delivered-To: freebsd-questions@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id AD8A9E6DBA3
 for <freebsd-questions@mailman.ysv.freebsd.org>;
 Sat, 11 Nov 2017 15:45:53 +0000 (UTC) (envelope-from mfv@bway.net)
Received: from smtp1.bway.net (smtp1.bway.net [216.220.96.27])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 8ADB964843
 for <freebsd-questions@freebsd.org>; Sat, 11 Nov 2017 15:45:53 +0000 (UTC)
 (envelope-from mfv@bway.net)
Received: from gecko4 (host-216-220-115-219.dsl.bway.net [216.220.115.219])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 (Authenticated sender: m1316v@bway.net)
 by smtp1.bway.net (Postfix) with ESMTPSA id 1793395875;
 Sat, 11 Nov 2017 10:45:44 -0500 (EST)
Date: Sat, 11 Nov 2017 10:45:43 -0500
From: mfv <mfv@bway.net>
To: "James B. Byrne via freebsd-questions" <freebsd-questions@freebsd.org>
Cc: byrnejb@harte-lyne.ca
Subject: Re: Regex character and collation class documentation
Message-ID: <20171111104543.11279fb7@gecko4>
In-Reply-To: <68be33ca89aab31e068253dffe129021.squirrel@webmail.harte-lyne.ca>
References: <mailman.90.1510315202.51235.freebsd-questions@freebsd.org>
 <68be33ca89aab31e068253dffe129021.squirrel@webmail.harte-lyne.ca>
Reply-To: mfv@bway.net
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.23
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 11 Nov 2017 15:45:53 -0000

> On Fri, 2017-11-10 at 08:59 "James B. Byrne via freebsd-questions"
> <freebsd-questions@freebsd.org> wrote:
>
>On Thu, November 9, 2017 16:36, mfv wrote:
>>> On Wed, 2017-11-08 at 12:47 "James B. Byrne via freebsd-questions"
>>>However I see no reference to [.NUL.] anywhere.  The sed man page has
>>>no reference to nul or NUL at all and tr only has this to say:
>>>
>>>     The tr utility has historically not permitted the manipulation
>>>     of NUL bytes in its input and, additionally, stripped NUL's from
>>>     its input stream.  This implementation has removed this behavior
>>>     as a bug.
>>>
>>>
>>>Is there a master list of character/collation classes for FreeBSD
>>>regex?  I have read the man pages for grep and re_format.  In no case
>>>is the character or collation class NUL mentioned.
>>>
>>>Where is the usage of [.NUL.] documented?
>>>  
>>
>> Hello James,
>>
>> This may help you with a bit of hacking.
>>
>> I asked myself the same question but could not find a satisfactory
>> answer.  After remembering that "man ascii" has names for all
>> non-printable ASCII characters, I placed some of these characters in
>> a text file and then removed the same characters using their name.
>>
>> Thus:
>>  - the character ^@ was removed using [[.NUL.]]
>>  - the character ^G was removed using [[.BEL.]]
>>  - the character ^F was removed using [[.ACK.]]
>>  - etc,
>>
>> I did not try all non-printable characters but a large sampling
>> followed this pattern.  Trying to use SP for a space produced the
>> following error:
>>
>> sed: 1: "/[[.SP.]]/d": RE error: invalid collating element
>>
>> Perhaps there are other exceptions similar to SP.
>>
>> This syntax also recognises printable characters as well.  For
>> example the character 'A' was removed using 's/[[.A.]]//g'.
>>
>> I would have preferred some formal documentation on this matter but
>> like yourself am still searching.
>>
>> Cheers ...
>>
>> Marek
>>
>>  
>
>Thank you.  I discovered that a [.<symbol>.] collation reference
>pertains to the active LOCALE setting as defined by LC_ALL. At least
>so I find in the documentation I have read.  But I would not have
>thought to look in man ascii for the answer to my question.
>
>

Hello James,

Thanks for this information.

As a result I did some more digging and discovered that the valid names
for [[.<name>.]] are contained in /usr/src/lib/libc/regex/cname.h.  The
names in "man ascii" are a subset of cname.h.

It also explains why [[.SP.]] generates an error message.  Even though
SP is listed in "man ascii" it is not specified in cname.h.

Cheers ...

Marek



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?966939340.163969.1510414084521>