Archive for February, 2002

Server Databases Clash

February 28th, 2002 by Rob


Oracle en MySQL winnen eWeek database benchmark!
De goede performance van MySQL 4.0.1 was voor een belangrijk deel toe te schrijven aan de nieuwe query cache die in 4.0.1 werd geïntroduceerd. De query cache kan identieke queries direct vanuit geheugen beantwoorden mits de inhoud van de betreffende tabellen niet is gewijzigd sinds de laatste keer dat de query werd uitgevoerd. Versie 4.0.1 heeft overigens nog de alpha status.

Overall, Oracle9i and MySQL had the best performance and scalability, with Oracle9i just very slightly ahead of MySQL for most of the run. ASE, DB2, Oracle9i and MySQL finished in a dead heat up to about 550 Web users. At this point, ASE’s performance leveled off at 500 pages per second, about 100 pages per second less than Oracle9i’s and MySQL’s leveling-off point of about 600 pages per second. DB2′s performance dropped substantially, leveling off at 200 pages per second under high loads.

[FreeBSD] ERROR: version of config(8) does not match kernel!

February 28th, 2002 by Rob


Als je een upgrade doet van FreeBSD 4.4 naar 4.5 kan je te maken krijgen met de bovenstaande ERROR.
Gelukkig is er iemand zo handig geweest om daar een kleine oplossing voor te schrijven :)

I’ve seen this problem occur with other people when I was upgrading from 4.4 to 4.5. And now I’ve encountered this joy. Personally‚ I blame my not being on a bike since early December. That’s two months without a ride!

Link

[FreeBSD] XFree86 met GeForce ondersteuning

February 28th, 2002 by Rob


Probleem:
Bij de standaard installatie van XFree86 onder FreeBSD 4.5 werkt de GeForce soms niet met XFree86 (dit was bij mij het geval).

Doel:
Dit tutorial legt uit hoe je een nieuwe versie van XFree86 (versie 4.1) installeert op je FreeBSD systeem ( Getest met FreeBSD 4.5. en een GeForce 3 Ti-200 )

De nieuwe versie van XFree86 (4.1) ondersteunt de GeForce en moet daarom geinstalleert worden. Standaard
installeert FreeBSD versie 3.3.6 van XFree86. Dit moet dus voorkomen worden of ongedaan gemaakt worden. Als je
naderhand XFree86 4.1 installeert raken de configuratie bestanden door elkaar (althans dit was bij mij het
geval) waardoor het configureren steeds niet lukte.
Dit tutorial behandelt een schone installatie met XFree86 4.1 en WindowMaker (maar het werkt waarschijnlijk ook
met KDE of Gnome).

In het installatie programma kies je ‘Custom’
Je maakt partities aan onder ’3 Partition’
Je labelt de partities onder ’4 Label’
Je gaat naar ’5 Select distributions to extract’
- Je gaat naar ‘>> Custom’ (onderaan)
- Je selecteert onder andere de volgende packages (SELECTEER DE XFREE86 PACKAGE NIET):
- bin
- compat4x
- man

Je gaat naar ’6 Media’ en selecteert je installatie medium (CDROM‚ FTP enz)
Je gaat naar ’7 Commit’ om de installatie te beginnen
- Na de installatie wordt gevraagd of je nog een aantal laatste instellingen wilt veranderen. Kies YES
- Ga naar ‘Packages’
- Kies het installatie medium (CDROM‚ FTP enz)
- Installeer de XFree86 packages (deze beginnen op de 2e pagina). Het zijn er 16.

Nu zijn we aangekomen bij het configureren.
- Ten eerste willen we ervoor zorgen dat elke user XFree86 kan gebruiken.
- Hiervoor moet XFree86 als root draaien.
- Als root:

Shell:

# chmod 4755 /usr/X11R6/bin/XFree86

Om XFree86 te laten werken met jouw videokaart en monitor moeten we een aantal dingen configureren.

- Start xf86config. Eerst configureer je je muis.
- Voor de configuratie van je monitor heb twee gegevens nodig‚ de horizontale refresh rate en de verticale refresh rate.
- Deze zijn te vinden in de handleiding van de monitor‚ op internet of soms op de achterkant van de monitor.
- Deze zul je in moeten voeren.
- Bij de grafische kaarten kies je de NVidia GeForce

Om te testen of de configuratie werkt‚ start je XFree86 door startx in te typen.

Nu XFree86 werkt kunnen we WindowMaker als windowmanager instellen.
- Open het bestand /usr/X11R6/lib/X11/xinit/xinit;

Shell:

# ee /usr/X11R6/lib/X11/xinit/xinit

- en vervang de laatste 5 regels door /usr/X11R6/bin/wmaker en sla het bestand op door ESC‚ a‚ a in te typen.

Als je nu startx intypt start XFree86 met WindowMaker op.

Shell:

# startx

PHP remote vulnerabilities

February 27th, 2002 by Rob


Bron: PHP.net

Er is wegens een security bug een nieuwe release van PHP.
Iedereen wordt aangeraden deze nieuwe versie of de patch te installeren!
Downloads
[pagebreak]
Info:

Due to a security issue found in all versions of PHP (including 3.x and 4.x), a new version of PHP has been released. Details about the security issue are available here. All users of PHP are strongly encouraged to either upgrade to PHP 4.1.2, or install the patch (available for PHP 3.0.18, 4.0.6 and 4.1.0/4.1.1).

Details:

PHP supports multipart/form-data POST requests (as described in RFC1867) known as POST fileuploads. Unfourtunately there are several flaws in the php_mime_split function that could be used by an attacker to execute arbitrary code. During our research we found out that not only PHP4 but also older versions from the PHP3 tree are vulnerable.

Lees meer…

CylantSecure Available for FreeBSD

February 24th, 2002 by Rob


The latest version of CylantSecure adds support for FreeBSD 4.4. CylantSecure is a host-based intrusion detection and prevention system that uses kernel-level behavioral monitoring to detect attacks. The CylantSecure system supports multiple platforms (FreeBSD and Linux at the present).

We have released the kernel level components of CylantSecure into the public domain through the Kernel Instrumentation Project kip.sf.net. The FreeBSD 4.4 patch is at:
[pagebreak]
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/kip/patches/freebsd-4.4-kp.patch

A free evaluation version of CylantSecure can be downloaded at:
http://www.cylant.com/products/cs/eval.html

Link

Interview J. Hubbard (FreeBSD maint

February 21st, 2002 by Rob


Bij Osnews is een interview verschenen met de FreeBSD maintainer. Dit interview is
opgezet uit een irc log en daarna herschreven.

Er worden vrij diepgaande vragen beantwoord en als je een beetje thuis ben in het OS
is het erg leuk om dit te weten.
[pagebreak]
Wat leuke quote’s:

Jordan Hubbard: I think the coolest feature of 5.0 will be the ferret thread. This is a kernel thread which runs around throughout the system and randomly moves
things around, playfully changes file modes, “bites” through open connections and just generally raises havok. We feel that this feature will make the computer more of a pet
than a simple inanimate object.

Hier ben ik het ook wel mee eens:
How do you feel about X windows ? Would it be feasable to mimick some of the better attributes of the OS X GUI with GNUStep or perhaps a BSD liscensed implementation?

Well, I certainly have been using the X window system for a long time and have written a fair amount of software for it; For what it does, it rocks but for what it doesn’t do, it really sucks.
Don’t even talk to me about font handling or printing. I think that before you’re going to see X really get some decent applications, you’re going to have to finish the missing 5% of X –
the part that was scheduled to take 90% of the time and so nobody got around to it. Plus, the whole UI war thing needs to end — Adobe is never going to port photoshop while nobody can answer “Which
GUI environment is dominant and therefore recommended for use?”. I think X will probably remain the DOS of window systems.


Volg deze link voor het interview.

[*BSD] Hoe een NFS server op te zetten

February 19th, 2002 by Rob


Bij ONLamp is een artikel verschenen over hoe je een NFS (Network File System) server
moet opzetten. NFS wordt veel gebruikt om files te sharen tussen *NIX systemen.

Volg dezel link voor het artikel

Het toekomstbeeld van BSD

February 17th, 2002 by Rob


Bron: ZDNet.com

In dit vrij diepgaande artikel van Mark Hubley wordt de toekomst bekeken van de
verschillende BSD’s.

Er wordt eerst even naar het verleden gekeken hoe de BSD’s zijn ontstaan en daarna
worden de verschillen ten opzichte van Linux uitgelegd.
[pagebreak]
Na deze vergelijking worden de verschillende BSD besproken en gaat men verder in op de toekomst van deze BSD’s.

Wat leuke quote’s uit het erg prettig geschreven artikel:


One of the hurdles right now for the most widely used BSD distribution, FreeBSD, is the decision in October 2001 by Wind River Systems (WRS) to divest itself of the
FreeBSD project. FreeBSD has gone through a whirlwind of changes over the past couple of years, as its major distributors changed from Walnut Creek to BSDi and in
early 2001 to WRS. WRS currently owns the FreeBSD trademark, and its decision to discontinue its involvement lends credence to the impression that the operating
system’s future is in question as the company decides what to do with it.

But the company is not the moving force behind FreeBSD�its major backing is in the form of the FreeBSD community�a group of hundreds of worldwide volunteers who
continue to be enthusiastic and develop FreeBSD.

Tuurlijk moet Yahoo nog even aangehaald worden:

Yahoo continues to use thousands of FreeBSD servers, with more being put
into production all the time.

De compatibiliteit van de BSD’s
All three major open source BSDs now have good Linux support and claim
some Linux binaries run faster on BSD than on Linux. BSDs also variously claim to be
capable of running binaries for SVR4, SCO Unix, character-mode DOS, SunOS, and
HP-UX

De rest kun je hier lezen

[FreeBSD] Automount

February 10th, 2002 by Rob


In dit artikel wordt uitgelegd hoe je ervoor kunt zorgen dat je niet eerst
mount /cdrom hoeft te doen als je een cd’tje in je cdrom doet.

Automount op FreeBSD

Migrating from Linux to FreeBSD

February 2nd, 2002 by Rob


Source: OSNews.com

OSNews published a guide that could help users migrate from Linux to FreeBSD by spotting the main differences between the two popular systems. Interesting read & relevant to the recent FreeBSD 4.5 release a few days ago.

Link

SEO Powered by Platinum SEO from Techblissonline