Re: How to properly set-up an SSH tunnel on FreeBSD for automatic backups

2005-11-22 Thread Matt Crossley
Olaf Greve wrote:

> Hi all,
>
> Thanks for the replies!
>
> I also received several very helpful off-list replies, and they caused
> me to opt for my plan B, which is simply a 'rendez vous' type
> pull-mechanism. I already had a nightly cron job set up on the live
> server that neatly dumps the MySQL DB instances to a convenient
> directory. Also, I already had set up Rsync such that it only ever
> allows connections from my fall-back machine (I use this for the
> nightly file syncing), so I just decided to add an additional DB
> import script which is scheduled well after the DB dumping on the live
> machine takes place. Those dumps are now picked up using rsync (called
> from the fall-back machine) and they are then simply locally processed
> and worked into my DB.
>
> The main reason for deciding for this mechanism after all is that for
> two normal users I want (and need!) to have SSH access enabled from
> all over the world, using a client like PuTTY, using password
> authentication, yet opening up SSH in anyway for root is for me a no-no
> (I see too many SSH hack attempts in my daily security reports in
> order to feel comfortable with that ;) ).
>
> O.k., at the expense of having a perhaps slightly less elegant DB
> syncing mechanism I have opted for the above and I just tested it and
> it works fine...:)
>
> Cheers,
> Olafo
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

You may also want to look into MySQL replication, which is pretty easy
to set up. There are some instructions available on the MySQL site here:
http://dev.mysql.com/doc/refman/5.0/en/replication-howto.html although
you need MySQL 4.1 at a minimum. This will allow for near-instant
replication of your MySQL databases, rather than one that is set on a
schedule, which would reduce the data loss in the case of a disaster.
You could implement something similar to an SSH tunnel for tunnelling
the mysql traffic if you so wished, as well.


I have written a quick little howto on my website, that discusses a
similar project. I had started to write it a little while ago, but I
forgot about it. Your post reminded me that it was still sitting around
unfinished! You can find it at
http://www.freebsdfreaks.net/articles/postfix_secondary_mx_mailbox_replication_mysql_replication_under_freebsd_failover_mx.html
. I use this system on our mail servers, and it works quite well. If we
ever encounter a problem, I have several options for allowing clients to
still receive their email.



Cheers,
Matt

http://www.freebsdfreaks.net/index.php

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Suggestions for server hardware sub 800 dollars

2005-10-21 Thread Matt Crossley

Eric F Crist wrote:


On Oct 21, 2005, at 4:18 PM, Matt Crossley wrote:

I've found that if it's not really all that heavy a load, machines  
at Dell that regularly come up are worth it.
The latest one that I saw in a Dell flyer (in Canada), was a  Celeron 
2.9, 512MB, 80 or 60GB, etc, etc for $349 CAD.

Can beat it, in many ways!

If you want to build it yourself, then maybe you can build yourself  
a little mini-ATX machine, one that's small and out of the way?


Cheers,
Matt




Speaking of Dell... I know that I have seen some pretty nifty 1u rack  
servers for as little as $450.

You don't to build it, but not a bad deal IMHO.



hmmm, Do you have any links for that? I'd be interested, even if it is 
US Dollars!



Matt


http://www.freebsdfreaks.net/


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Suggestions for server hardware sub 800 dollars

2005-10-21 Thread Matt Crossley

Ben Siemon wrote:


I need to make a server box that will serve web pages ( light ), do
light file storage for my home network and allow me ssh access when I
am away from the apartment. I have read a great deal about this on the
site and looked at the manufactures sites. I see a great deal of
potential there but I have more fun building it up myself. I would be
glad for any suggestions any of you have.
--
cheers

Ben Siemon

254 723 6937

cs.baylor.edu/~siemon
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
 

I've found that if it's not really all that heavy a load, machines at 
Dell that regularly come up are worth it.
The latest one that I saw in a Dell flyer (in Canada), was a Celeron 
2.9, 512MB, 80 or 60GB, etc, etc for $349 CAD.

Can beat it, in many ways!

If you want to build it yourself, then maybe you can build yourself a 
little mini-ATX machine, one that's small and out of the way?


Cheers,
Matt



http://www.freebsdfreaks.net/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: LDAP tutorial

2005-10-21 Thread Matt Crossley

Sasa Stupar wrote:


Hi!

Can someone provide me a link for a good tutorial for installing and 
configuring a LDAP server on FBSD 5.4?


Regards,
Sasa


I've been able to successfully set up an openLDAP server pretty quickly 
using the docs at http://www.openldap.org/doc/admin23/


The setup is pretty painless and simple. Populating it with useful data 
and schemas is more difficult. :-)


For that, I've found that following the instructions for the basics will 
work, and I've also found using phpLDAPAdmin to be useful as well.



cheers,
Matt


--
http://www.freebsdfreaks.net/
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Creative Sound Blaster Audigy LS

2005-05-17 Thread Matt Crossley
Ariff Abdullah wrote:
Audigy *LS* is not the same *Audigy* like other Audigy series,
it use different chipset, and unfortunately, not supported in current
emu10k driver.
--
Ariff Abdullah
MyBSD
 

Ah! My mistake. I'm not really up to date on the latest sound cards or 
video stuff. :)

It also doesn't look like the emu10kx driver supports them either. From 
the Changelog:

09-10-2004
   1. Remove Audigy LS and Audigy 2 Value from list of supported cards.
   They are too different from SB Live!/Audigy, according to their 
Linux
   driver.

Oh well.
Matt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Creative Sound Blaster Audigy LS

2005-05-17 Thread Matt Crossley
Fafa Hafiz Krantz wrote:
That didn't really work :(
Any other suggestions?
Thanks.
--
I'm using mine just fine...
I didn't include mine in the kernel yet, I just tested with a kldload, 
in 5.4:

kldload snd_emu10k1
from /var/log/messages:
May 16 18:31:34 bsdmoose kernel: pcm0:  port 
0xa000-0xa01f irq 18 at device 13.0 on pci0
May 16 18:31:34 bsdmoose kernel: pcm0: 

bsdmoose# kldstat
Id Refs AddressSize Name
19 0xc040 5dde24   kernel
2   14 0xc09de000 56270acpi.ko
31 0xc1e67000 17000linux.ko
41 0xc298a000 6000 snd_emu10k1.ko
51 0xc299 18000sound.ko
Works like a charm. It used to be that I needed to compile the emu10kx 
drivers.

Maybe if you included some more information, it would prove to be more 
useful. What is your dmesg saying when you boot up now? What did it say 
before? What happens with a kldload snd_emu10k1, followed by a kldstat 
(if it gave no error)?

HTH,
Matt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Missing libnss_winbind.so file..where do I get this?

2005-03-21 Thread Matt Crossley
JP wrote:
Hello,
I'm making progress slowy but surely with my install of Samba.  I am running 
FreeBSD 5.3 and appear to be missing or unable to locate libnss_winbind.so . Do 
you know how/where I get this?
Thanks!
 

When I installed winbind with nsswitch, I found the appropriate files 
in:   
/usr/ports/net/samba3/work/samba-3.0.11/source/nsswitch/nss_winbind.so  
I just checked my system, and I didn't rename the file to 
libnss_winbind.so, I left them as original.

HTH,
MM
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"