Openresolv Config

2012-08-07 Thread Iqbal Aroussi
Hi

Can you please give some hints on configuring Openresolv on FreeBSD-9
My server is configured with DHCP, but I want to change the nameservers in
/etc/resolv.conf to use mein.

Thanks in advance
Best Regards

-- 
*
Iqbal Aroussi
*
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Openresolv Config

2012-08-07 Thread Iqbal Aroussi
Hi Matthew,

Thank you so much for your quick reply.
How Can I override using openresolv/resolvconf or configuring it for static
IP on a server ?
Currently my servers are configured with DHCP by the webhost company.
I prefer to have them configured with static IP but right now I'm stuck on
the openresolv problem.

Do you know where can I find a openresolv howto for FreeBSD-9 please.

Best Regards



On Tue, Aug 7, 2012 at 1:41 PM, Matthew Seaman 
m.sea...@infracaninophile.co.uk wrote:

 On 07/08/2012 14:05, Iqbal Aroussi wrote:
  Can you please give some hints on configuring Openresolv on FreeBSD-9
  My server is configured with DHCP, but I want to change the nameservers
 in
  /etc/resolv.conf to use mein.

 I'm not sure that Openresolv is necessarily the right thing to use.

 This is how you would override the resolvers handed out to you by a DHCP
 server using dhclient.  Edit the file /etc/dhclient.conf and add lines
 like so:

 interface em0 {
supersede domain-name-serves 192.0.2.1, 192.0.2.2;
 }

 Obviously, substitute the correct interface name and the IP numbers of
 your own DNS servers.  There's also 'prepend' instead of 'supersede,'
 which allows you to stick your nameservers in as the preferred choice,
 but still keep the original ones as a fallback.  See dhclient.conf(5).

 This assumes you've only got the one ethernet interface being configured
 by DHCP, and that you always want to use your own nameservers
 irrespective of what network you're connecting to.

 Cheers,

 Matthew

 --
 Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
   Flat 3
 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW




-- 
*
Iqbal Aroussi
*
 *+212 699 206 390*
 *iq...@aroussi.name*
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: portmaster embarrassingly simple question (y- option)

2012-07-03 Thread Iqbal Aroussi
Hi Jakub,


On Tue, Jul 3, 2012 at 12:45 PM, Dean E. Weimer dwei...@dweimer.net wrote:

 -d tells it to always delete old files without prompting.

 Thanks,
  Dean Weimer

 On Jul 3, 2012, at 5:29 AM, Jakub Lach jakub_l...@mailplus.pl wrote:

  === Starting check for runtime dependencies
  === Gathering dependency list for archivers/unzip from ports
  === No dependencies for archivers/unzip
  === Installing package
 
  === Installation of archivers/unzip (unzip-6.0_1) succeeded
 
 
  === Delete unzip60.tar.gz? y/n [n]
 
  What option do I need to specify with -y to automatically answer those?
 
  I've tried --clean-distfiles, --clean-packages but it's not it.
 
  It usually happens when doing portmaster --packages-build
  --delete-build-only
  build.



usually I use: portmaster -dbg port

-b  create and keep a backup package of an installed port
-g  create a package of the new port
-d  always clean distfiles

Best Regards

Iqbal A.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: PostgreSQL Slony-I Replication

2012-07-02 Thread Iqbal Aroussi
*
*
On Mon, Jul 2, 2012 at 9:34 AM, Jorge Medina jo...@bsdchile.cl wrote:

 look this
 http://raghavt.blogspot.com/2012/07/simple-slony-i-replication-setup.html

 On Sun, Jul 1, 2012 at 6:37 PM, Wojciech Puchar
 woj...@wojtek.tensor.gdynia.pl wrote:
  AFAIK postgres is just unix processes nothing special compared to say ..
  linux
 
 
  On Sun, 1 Jul 2012, Iqbal Aroussi wrote:
 
  Hi dear friends,
 
  I'm trying to setup a master-slave replication with PostgreSQL 9.1 /
  Slony-I, this is first time I'm doing it and I'm kind of lost :(
  Is there any tutorial explaining the steps how to do it with FreeBSD ?
 
  I'm using FreeBSD db1 9.0-RELEASE / postgresql-server-9.1.4 /
  slony1v2-2.1.1
 
  Thanks a lot in advance
 
  Best Regards
 
  Iqbal A.
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  freebsd-questions-unsubscr...@freebsd.org
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org



 --
 Jorge Andrés Medina Oliva.
 Computer engineer.
 IT consultant
 http://www.bsdchile.cl



Hi Jorge.

Thanks so much for your link , This is what I wanted, a clean detailed
steps like this.

Best Regards.

Iqbal A.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


PostgreSQL Slony-I Replication

2012-07-01 Thread Iqbal Aroussi
Hi dear friends,

I'm trying to setup a master-slave replication with PostgreSQL 9.1 /
Slony-I, this is first time I'm doing it and I'm kind of lost :(
Is there any tutorial explaining the steps how to do it with FreeBSD ?

I'm using FreeBSD db1 9.0-RELEASE / postgresql-server-9.1.4 / slony1v2-2.1.1

Thanks a lot in advance

Best Regards

Iqbal A.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Percona55-server failing to compile

2012-06-28 Thread Iqbal Aroussi
Hi Matthew,

Thanks a lot for the useful explanation you provided.
I really appreciated it.

I'm gonna try MariaDB.

Best Regards

Iqbal A.


On Thu, Jun 28, 2012 at 11:41 AM, Matthew Seaman matt...@freebsd.orgwrote:

 On 28/06/2012 11:23, Iqbal Aroussi wrote:
  ===  percona-server-5.5.19.24.0 cannot install: unknown MySQL version:
 55p.
  *** Error code 1
 

 It seems that the percona55-client and percona55-server ports are still
 a work in progress.  They aren't properly hooked up to the ports tree
 yet, and there need to be some modifications to
 ${PORTSDIR}/Mk/bsd.database.mk before it is going to work.

 See http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/164072 for the
 story so far.

 Unfortunately all I can suggest at the moment is to use mysql55-server
 or mariadb-server[*] temporarily until the percona ports get sorted out.

Cheers,

Matthew

 [*] Which is equivalent to the unreleased mysql53 rather than mysql55.

 --
 Dr Matthew J Seaman MA, D.Phil.
 PGP: http://www.infracaninophile.co.uk/pgpkey




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


lrzip error

2012-05-20 Thread Iqbal Aroussi
Hi,

I've installed lrzip from ports 'portmaster archivers/lrzip' on both
FreeBSD 8.2 / 9
but when I try using it it always fail.
I get the following error:

iA# lrzip file.sql
Output filename is: file.sql.lrz
pthread_mutex_lock failedNo such file or directory
Fatal error - exiting

I need your help please.
Thanks in advance.
*

--
*
*Iqbal Aroussi*
 *+212 660 304 583*
 *iq...@aroussi.name*
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Replacing FreeBSD Base System's BIND

2011-12-16 Thread Iqbal Aroussi
Hi,

After installing FreeBSD 8.2, I noticed it's using BIND 9.6 but in ports
collection there is newer versions 9.7 and 9.8.
I'd like to know if there is any advantages in upgrading BIND to 9.8
instead of using the base install version.
I'd really appreciate if you can give me some hints of the best way to do
it for future needs while retaining all the advantages
of the base install configuration.
I found this article on the net 
http://static.closedsrc.org/articles/dn-articles/bind9.html; but it's seems
to be outdated
*

PS: I'm new FreeBSD convert user coming from Linux world :)

--
*
*Iqbal Aroussi*
 *+212 665 025 032*
 *iq...@aroussi.name*
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Replacing FreeBSD Base System's BIND

2011-12-16 Thread Iqbal Aroussi
Hi Matthew,

thanks a lot for your detailed reply, as I will be using BIND for standard
task. regular SOA for domain names
no domain keys or DNSSEC. I think I'll stick with the version that comes
pre-installed.

Best Regards
*


--
*
*Iqbal Aroussi*
 *+212 665 025 032*
 *iq...@aroussi.name*





On Fri, Dec 16, 2011 at 12:22, Matthew Seaman 
m.sea...@infracaninophile.co.uk wrote:

 On 16/12/2011 10:04, Iqbal Aroussi wrote:
  After installing FreeBSD 8.2, I noticed it's using BIND 9.6 but in ports
  collection there is newer versions 9.7 and 9.8.
  I'd like to know if there is any advantages in upgrading BIND to 9.8
  instead of using the base install version.
  I'd really appreciate if you can give me some hints of the best way to do
  it for future needs while retaining all the advantages
  of the base install configuration.
  I found this article on the net 
  http://static.closedsrc.org/articles/dn-articles/bind9.html; but it's
 seems
  to be outdated
  *
 
  PS: I'm new FreeBSD convert user coming from Linux world :)

 It depends what you're using bind for.

 If you are serving domains to the public in something more than a
 trivial way, then yes, using the latest ports version is recommended.

 Otherwise, there's little to choose one way versus the other.  Using the
 base system bind is less effort, and you'll get automatic patching of
 any significant problems assuming you're keeping the system up to date
 by any of the recognised methods.

 Also, if you do choose to use the ports version, to keep things simple,
 I'd recommend not *replacing* the base system bind.  This means you'll
 still be able to use services like freebsd-update(8) without any hassle.
  Simply install the ports version dns/bind98 under /usr/local, and then
 something like this in your /etc/rc.conf will switch to using that
 version.  Note -- still uses the standard /etc/rc.d/named startup script.

 named_enable=YES
 named_program=/usr/local/sbin/named

 You'll tend to get the base system version of applications like dig(1)
 with this unless you tweak $PATH or some such.  However, there's very
 little difference between the client-side apps in recent bind versions,
 and if you do happen to run into an area where there are significant
 changes, all you need to do is run /usr/local/bin/dig instead.

Cheers,

Matthew

 --
 Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org