From owner-freebsd-questions@freebsd.org Sat Nov 11 15:28:20 2017 Return-Path: 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 9478CE6D2F0 for ; Sat, 11 Nov 2017 15:28:20 +0000 (UTC) (envelope-from mitch_mrc@yahoo.com) Received: from sonic308-3.consmr.mail.bf2.yahoo.com (sonic308-3.consmr.mail.bf2.yahoo.com [74.6.130.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4E40763DD9 for ; Sat, 11 Nov 2017 15:28:19 +0000 (UTC) (envelope-from mitch_mrc@yahoo.com) X-YMail-OSG: AsoT6osVM1ki7Lx6RVHFzbxK2eAwvSjaSdCc3YAsKZO7aomeBxp8gPI9nqVHtmV ugdPxyRJRWnFASpq2VLP1OubNobaNljlGHa90qLV7IOfPpP6oNINEjsf7FHmkDLtx1A_5ovkDwPY 7IWJkotUZV7eiIvnJx9.rYPGJGolliJsAGIpIWBBX_FjunnzvZYSTNuYR.grfcLhQZYYwhK0GzEy bv2gqCf.UU7XzVt7p9opS2QV.YLxuDQsS.Zrq.A8n.mokYBiK2nVcaluAif8DUR7xwPkPp3pJ6Aq sqcc9RVV6Qw4gNLYXGLuysFxkTKRas7X9GTz8KikNvLNxyDXy3jljheaXmICugEY.wQ7WLnUwAin 0.w6dI.hQi2CzGbMzdhuVY_hNtPJ5R9hgLX5BnoVZSSQRWlfL7ItVNmdsVGs36olGromnrsG3DB. sVDO5R31N5QDVWmhk_NbqPIqNOWwencCpgXcYGloq1trUyP_YPTGdYpyukD.vVOnXj3Cuz7WqEnh Ki.2BNkxu23uRUFpxUZCWvGec21hICA5e Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.bf2.yahoo.com with HTTP; Sat, 11 Nov 2017 15:28:13 +0000 Date: Sat, 11 Nov 2017 15:28:04 +0000 (UTC) From: Mitch MRC To: Outback Dingo , Vladimir Botka Cc: Mitch MRC via freebsd-questions 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> <20171111111143.130b5b31@planb.netng.org> Subject: Re: Server for web hosting and emails MIME-Version: 1.0 X-Mailer: WebService/1.1.10940 YMailNorrin Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Firefox/52.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Nov 2017 15:28:20 -0000 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 wrote: =20 =20 On Sat, 11 Nov 2017 10:52:16 +0100 Outback Dingo wrote: > On Sat, Nov 11, 2017 at 10:43 AM, Vladimir Botka 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: 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 ; 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 ; 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 To: "James B. Byrne via freebsd-questions" 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: <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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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" > 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 [..] 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 [[..]] 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