Re: Version of Apache to install from /usr/ports
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 31 Mar 2003, Colin J. Raven wrote: > Hi all! > FINALLY got FreeBSD installed and playing nice. > Now to set some stuff up. I could use some help here if someone could > spare a few minutes > 1. Apache: what version should I install from /usr/ports...apache2? apache2 is the newest version, but I'm not sure it supports all of the modules yet. apache13 is "stable" and well known, and you could probably get away with installing that. > 2. How would I install apache so that it recognizes php (need to learn > php rather badly) Install the port. It will build PHP as a shared object that can be loaded by apache. The port build script will tell you which lines to add to your httpd.conf file to get apache to load php scripts correctly. > 3. Speaking of php...how do I install IT on the server? Is it in ports > someplace? I don't see it, but maybe I'm being dumb. `cd /usr/ports/www/mod_php4 && make install clean` > 4. Ditto MySQL...how/where? `cd /usr/ports/databases/mysql40-server && make install clean` -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+iJ3M1ZEy6nYcOF4RAkvtAKCm2wirVFcoIMKROIgc74NONLI8KQCg+VZa mT5Z2W6b5BFvEkLtzFrs5cY= =l+j6 -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Sendmail questions
On Mon, 24 Mar 2003, Andreas [iso-8859-1] Widerøe Andersen wrote: > I've got two questions: > > 1. I've been getting this error all day on both of my FreeBSD servers > (different physic location and version - 4.7 STABLE and 4.8 RC): ... did > not issue MAIL/EXPN/VRFY/ETRN during connection to MTA. I'm seing this in > my /var/log/maillog file and since the problems occured around 04.30 this > morning I haven't received any mails. Can anyone please explain to me > what's going on? Both servers have been delivering mail for a long > problem-free time. I'm running Sendmail 8.12.7 (patched) and 8.12.8. I see "errors" like this when people telnet to port 25 and don't do anything (usually me, checking the version in the banner that's printed). It's not usually a problem, and I would guess is probably not related to sendmail dying. Can you simply restart sendmail ("sendmail -bd -q1h" and "sendmail -Ac -q1h"), or will it not restart? > 2. When the mail server isn't sending out mail or relaying, all mail sent > from localhost end up in here: /var/spool/clientmqueue. How can I manually > send these mails off later? Run "sendmail -Ac -q1h". This will scan /var/spool/clientmqueue every hour and flush out anything that's there. If I had a 4.x box around here, I could give you better instructions to make it start at boot (in 5.0, sendmail_msp_queue_enable defaults to YES, and rc starts that daemon; I'm not sure how 4.x handles it). - Jeff Jirsa To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: out of curiosity..
On Tue, 4 Mar 2003, charles pelletier wrote: > is there an app that would allow me to play CDs on my BSD box and have that > stream over an intranet? I want to set up a CD tower that allows for that > sort of thing. Here's what i've got: > Not exactly what you're asking, but mod_mp3 works very well. "This turns apache into your basic RIAA hating, but every college student loving mp3 streaming server. It can play from a list of files, either straight through or randomly. It can also be used to cache mp3's into memory and have the server operate entirely from memory. Enjoy, groove, mp3s not included." Specifically, what you'd have to do is convert your CD collection to MP3, and then you could set up as many streams as you wanted, and players like winamp/xmms could then listen to those streams. Conversion to mp3 would be a slight hassle, but it would allow you to keep more than one cd on the system at a time, so it's a tradeoff. mod_mp3 is in the ports. - Jeff To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Aliasing Libraries or Installing Older Versions
On Tue, 4 Mar 2003, John McClure wrote: > Thanks in advance for any help. > > Trying to build mod_php4 (version 4.3.1) as a port, > basically not a big deal, BUT ... when I try to add > XSLT support via Sablotron, the Sablotron port builds > nicely from /usr/ports/textproc/sablotron but installs > a version of library that ldconfig -r lists as > lsablot.70. > > The mod_php4 build complains (as pasted below) that is > can't find sablot.69. I rebuilt the library cache by > running ldconfig, but it appears that php is looking > specifically for sablot.69 and nothing else. > You should be able to just change the scripts/configure.php appropriately (Just change the .69 to .70 in ports/www/mod_php4/scripts/configure.php. diff below for clarity, watch the wrap): # diff -u scripts/configure.php.orig scripts/configure.php --- scripts/configure.php.orig Tue Mar 4 13:45:11 2003 +++ scripts/configure.php Tue Mar 4 13:45:19 2003 @@ -278,7 +278,7 @@ fi ;; \"XSLT\") - echo "LIB_DEPENDS+= sablot.69:\${PORTSDIR}/textproc/sablotron" + echo "LIB_DEPENDS+= sablot.70:\${PORTSDIR}/textproc/sablotron" echo "CONFIGURE_ARGS+=--enable-xslt --with-xslt-sablot=\${LOCALBASE}" if [ -z "$XML" ]; then set $* \"XML\" To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: download freebsd
"Dominique Mabileau" <[EMAIL PROTECTED]> wrote: > Hello, > My screen get frozen every time I click on the link to download FreeBsd > (French, German, ...). > I'm using Windows2000/IE6. Can you help me ? Use the standard windows ftp client. From the command line, just type 'ftp'. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: proc size mismatch (73920 total, 1060 chunks)
On Thu, 20 Feb 2003, Dean Gunther wrote: > I keep getting the above error when I try to do things > like ps or even top. I have looked at everyting I can > think of, but haven't been able to figure out what is > wrong. I tried rebooting the server, but to no avail. > > Any ideas would be greatly appreciated. > Did you rebuild world and / or kernel, without doing both? That's the most common reason for that particular error. - Jeff Jirsa To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: chkrootkit on 5.0-release... false positive?
On Thu, 13 Feb 2003, Todd Zimmermann wrote: > Was wondering if anyone else has gotten positives on a rather vague lkm > trojan when running chkrootkit on 5.0-release p1 ? > Yes. And verified it was a false positive by checking with a few other people. > Thinking its probably just the port not being in sync with the new > release but being a believer in paranoia... Correct. - Jeff Jirsa To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: **CHHROOTKIT INFECTED**
On Thu, 6 Feb 2003, Remington L. wrote: > I'm using 5.0 release > > OK I was just going through and I found that chkrootkit found that chfn, > chsh, date, and ls are infected. I'm not sure if it's lying or not. I > attempted to fix ls by recompiling from /usr/src/bin/ls and redoing but > chkrootkit still says infected. That's all the information I can provide > at this time. Has anyone come across this problem? Any suggestions? > Could be 5.0 causing this or is there some validity to it? You're not infected. chkrootkit checks for the presence of "/bin/sh" or "/bin/csh" in output of `strings `, and apparently this no longer works. You'll have to wait for chkrootkit to be updated to support FreeBSD 5. - Jeff To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: kernel message when sending mail
On Fri, 31 Jan 2003, Kjell wrote: > Each time I send an email using Mutt the following message pops up on > the screen: > > > /kernel: Connection attempt to TCP 127.0.0.1:113 from 127.0.0.1:1572 > > > What could be the cause? > TCP port 113 is the Auth service. When you send mail, sendmail will attempt to verify the username on the other end of the connection by querying auth. You have auth disabled: if you want to enable it, edit /etc/inetd.conf (the comments in inetd.conf are quite good, but inetd.conf(8) will help too). - Jeff Jirsa To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: HELP! root partition full!
On Thu, 30 Jan 2003, Jason Morgan wrote: > I got a strange error from my server this morning - root partition full. > I then looked at my email and had this in my inbox (of course I get > this every day): > > Disk status: > Filesystem1K-blocksUsedAvail Capacity Mounted on > /dev/ad0s1a 516062 505036 -30258 106%/ > /dev/ad2s1a 516062 117638 35714025%/rootbackup > procfs4 40 100%/proc > /dev/vinum/usr 19850256 1112316 17149920 6%/usr > /dev/vinum/var 235792039623 21683244 0%/var > /dev/vinum/public 29776085 116 27393883 0%/public > > This was yesterday: > > Disk status: > Filesystem1K-blocksUsedAvail Capacity Mounted on > /dev/ad0s1a 516062 135492 33928629%/ > /dev/ad2s1a 516062 117638 35714025%/rootbackup > procfs4 40 100%/proc > /dev/vinum/usr 19850256 1108980 17153256 6%/usr > /dev/vinum/var 235792039323 21683544 0%/var > /dev/vinum/public 29776085 116 27393883 0%/public > > How do I determine what's going on? This is really strange. > You can use `du` to find out which directories in the / partition are using the diskspace. Specifically, /etc, /root, /bin, /sbin, and /tmp are worth checking. Have you done anything as root in the last day or two? Specifically, installing Perl modules creates temp directories and a lot of temporary files used to build the modules, and has been the source of this kind of problem for other people for quite some time. - Jeff Jirsa To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: back up Win2k workstations?
On Thu, 23 Jan 2003, P. U. Kruppa wrote: > Hi, > > I am looking for a concept to back up some Win2k workstations on > a FreeBSD machine. Can this be done and how? Can it be done: Yes. The software you'll want to look into is a combination of amanda (www.amanda.org) and samba (www.samba.org). From the amanda homepage: "AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a backup system that allows the administrator of a LAN to set up a single master backup server to back up multiple hosts to a single large capacity tape drive. AMANDA uses native dump and/or GNU tar facilities and can back up a large number of workstations running multiple versions of Unix. Recent versions can also use SAMBA to back up Microsoft Windows 95/NT hosts" The amanda servers and clients are in the ports ( /usr/ports/misc/amanda-client and /usr/ports/misc/amanda-server) as is samba (/usr/ports/net/samba). How: is slightly more complicated, but a decent description seems to be available at: http://www.coe.tamu.edu/cs/amanda/SAMBA - Jeff Jirsa To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Deleted files
On Mon, 20 Jan 2003 [EMAIL PROTECTED] wrote: > > You have given me a clue, however. I will look for undelete for UFS > You're not going to find anything of much use. There has never been undelete for UFS, for more details you can check the archives (this comes up from time to time) specifically: http://archives.neohapsis.com/archives/vendor/1999/0023.html. Basically, if it's gone, it's gone. - Jeff -- Jeff Jirsa [EMAIL PROTECTED] -- To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Getting Perl scripts to work as mail filters
On Thu, 19 Dec 2002, Mxsmanic wrote: > What about appending directly to the mailbox file under /var/mail/$USER with > the script? It looks like the format of the file is very simple. Why > wouldn't that work? I've tried writing to it, but I can't, at least not > when the script runs from the aliases file (works fine when I run it myself, > though). > > Procmail is exactly the sort of bloated tool that I'm trying to avoid. > > I don't know that calling sendmail again would be _that_ hard. After all, > I'm mostly just copying the input to the output. I guess all I'd have to do > would be to change the recipient address to avoid a loop (?). Right? Can't > I just leave all the headers intact otherwise? > Yes, using aliases would probably work to avoid a loop. You may even want to clean out the Cc: and To: lines of anyone and everyone you didn't want getting another copy (I'm not 100% sure this is the case, but it seems to me that if there's a long list of people Cc:'d, calling sendmail again without stripping them out will send them another email).. Someone else mentioned it, I think it's worth mentioning again. I'm not 100% sure what you want to do, but I'm 99% sure you'd be better off using Sendmail's Milter interface than trying to mess around with aliases and .forward files. Check out http://www.samag.com/documents/s=7178/sam0206l/. It's got an example of a small perl script Milter, and the sendmail source has some others (in C, last I checked). - Jeff Jirsa To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: enabling finger - why not?
On 21 Nov 2002, Kirk Strauser wrote: > > At 2002-11-22T03:18:29Z, Jeff Jirsa <[EMAIL PROTECTED]> writes: > > > Finger is relatively safe. Most of the arguments for not allowing it > > involve privacy rather than security (I don't really like people knowing > > when I log in and out, if they need to bother me, there are better ways to > > track me down). > > Well, privacy and security are almost directly related in this case. finger > gives a nice route for would-be attackers to get a list of usernames from > the system in that it's a pretty quick way to do a dictionary attack of > names against a server. Yes, but that can be disabled with the -s switch: -s Enable secure mode. Queries without a user name are rejected and forwarding of queries to other remote hosts is denied. He also said there were used on the box, and asked what THEY might do ... any user can always `cat /etc/passwd`, so `finger @host` doesn't add much more risk than that. - Jeff To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: enabling finger - why not?
On Fri, 22 Nov 2002, JacobRhoden wrote: > Hi, > > I have a machine which has a number of users, and its a 'possibility' that > they could do something they shouldnt. What are the reasons which I may not > want finger enabled? > > (The machine has sendmail and httpd, so a DoS through the finger port is > probably not an issue) Finger is relatively safe. Most of the arguments for not allowing it involve privacy rather than security (I don't really like people knowing when I log in and out, if they need to bother me, there are better ways to track me down). It's possible a hole may be found in finger(d) in the future, but there are none at the moment, and haven't been any in the near past. There are some horrible holes in some of the old (g|c)fingerd programs that run on some of the linux and solaris boxes I've seen, but in general, the one in whichever version of bsd you're running should be more than safe. - Jeff Jirsa To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: make recursion
On Wed, 13 Nov 2002, Miklos Janosi wrote: > I am trying to make a port and I get recursion > until my machine locks up. Does anyone know a way > to debug this? TIA Start with telling us which port you're trying to make, and then maybe some of the messages on the screen when the machine finally locks. - Jeff Jirsa To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: [Fwd: Cleaning up /]
On Tue, 5 Nov 2002, I am Insane wrote: > So, in short (the .cpan file is approx 50 MB) is removable? or is it > necessary? it appears that most of the files are source files... > > could removing them effect my system adversly? Feel free to delete it. It's used for building the modules you just installed, so it should be source and test scripts. If your modules are installed, there's no more use for them. - Jeff Jirsa To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Disk activity leading to hangs
On Sat, 2 Nov 2002, Jason Godfrey wrote: > > Basically under heavy disk load (buildworld, large package install, nightly > script run) the system will hang hard. The two systems have very little in > common, one is a P2 400 running FreeBSD-Stable from Oct 2, the other (a new > machine) is a AMD 1600+ running FreeBSD 4.5-Release. The faster machine seems > to hit the hange much more regularly. > > The only thing in common between the two machines I can think of is that they > both have Maxtor IDE drives on a Ultra-ATA channel. (On the P2 400 I've been > running in PIO mode, as that _seems_ to reduce the frequency of the hangs. > On the AMD it seems to make no difference.) > I've seen it too, with a 4.5 system with a maxtor drive. Unfortunately, I've never been able to track it down to anything certain: I was (and still am) leaning towards poor hardware over an OS fault. The only thing leading me to believe it's NOT a hardware issue is that the kernel seems to be running, although nothing responds: network activity lights flash on the NIC and switch, but NOTHING else works (have to powercycle). I remember someone else pointing out the same problem about a year ago, and nobody ever offered any explanation of the problem or even hinted at a solution. The last thread is here (watch the line wrap): http://docs.freebsd.org/cgi/getmsg.cgi?fetch=6504+0+archive/2002/freebsd-hackers/20020512.freebsd-hackers - Jeff To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Where are the 4.7 release sources?
> Wayne Lubin <[EMAIL PROTECTED]> writes: > > > I have already been there. The files are not in c > > code. They are in some wacky extensions such as .aa, > > .ai, etc.. > He's looking for the C code ... ftp://ftp.freebsd.org/pub/FreeBSD/FreeBSD-stable/src/ It's labelled -stable rather than 4.7-RELEASE, although the release was not long ago, and -stable should be VERY close to 4.7 at this point. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Bare minimum requirements for FreeBSD installation
On Tue, 1 Oct 2002, Doug Poland wrote: > On Tue, Oct 01, 2002 at 06:22:34PM -0400, Peter Leftwich wrote: > > On Tue, 1 Oct 2002, Doug Poland wrote: > > > Liquid said: > > > > Hey everyone. A family member asked me to setup a gateway in his > > > > house so that the internet can be shared between a couple of > > > > tenants. I realize it can be very easily done using a router, but > > > > I have this 486dx2 50mhz at home with 8mb ram. It has a 300mb and > > > > 640mb hd in it too. If I only wish to run a simple router setup > > > > using ipfilter and ipnat, will it run FreeBSD? The only other > > > > services running being ssh and perhaps ftp and I couldn't care > > > > less about how fast it runs, as long as it "does its job" > > > > adequately. One other thing, seeing as it'll be sharing PPPoE > > > > adsl, I'll have PPP running in dedicated mode at all times. > > > > > > > > > > > > That brings the list of stuff running to > > > > ppp -d > > > > ftpd (maybe, I might just use the old burn a cdrom and drive over > > > > method instead)0 > > > > openssh > > > > ipnat > > > > ipfilter > > > > > > I started with two 10Mbit hubs but had terrible results when I started adding > 100Mbit full-duplexing NICS on some servers. I "splurged" and bought a 16-port > 10/100 switch (the best $150US I've ever spent) and never looked back. > If you'd rather spend $30 and get something you know will work, you might consider refurbished netgear products (refurbished, but I've never had a problem...) from returnbuy.com ... For instance, you can get a decent router for $19.99 (search for rt311). - Jeff -- Jeff Jirsa [EMAIL PROTECTED] -- To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Default software package management on FreeBSD?
On Tue, 1 Oct 2002, Bryan Hodgson wrote: > > Well, this sounds to me like a "and why didn't you find an answer > to that one?" kind of problem. > > I've inherited some FreeBSD machines. And with a moderate amount > of looking I haven't been able to turn up what kind of software > package management tools are used with FreeBSD (as in pkgadd, > swinstall, rpm, & so forth ..). > > pkg_add(1), /stand/sysinstall (probably not what you want - but it will fetch and install packages if you want), and check out /usr/ports (or www.freebsd.org/ports if /usr/ports is empty or does not exist). - Jeff -- Jeff Jirsa [EMAIL PROTECTED] -- To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Limit Network Traffic APACHE 1.3
On Mon, 23 Sep 2002, Philip Hallstrom wrote: > There are some apache modules that can do this to various extents, and I > think you could use ipfw's dummynet as well. > # cat /usr/ports/www/mod_throttle/pkg-descr This Apache module is intended to reduce the load on your server & bandwidth generated by popular virtual hosts, directories, locations, or users accordingto supported polices that decide when to delay or refuse requests. Also mod_throttle can track and throttle incoming connections by IP address or by authenticated remote user. Every request now passes through four levels of throttling, which are: by client's IP address , by authenticated remote user name (ThrottleRemoteUser), by local user ID (ThrottleUser), and by directory, location, virtual host, or server (ThrottlePolicy). WWW: http://www.snert.com/Software/mod_throttle/ - Jeff -- Jeff Jirsa [EMAIL PROTECTED] -- To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Who-is-the-list-GuRu??? (must read)
On Thu, 25 Jul 2002, RDWestSr wrote: > > while installing PHP the ./configure goes like this - > ./configure --with-mysql=/usr/local/mysql \ > --with-xml --with-apache=../apache_1.3.xx \ > --with-curl=/usr/local/curl \ > --with-pspell=/usr/local/pspell \ > --with-jpeg-dir=path > --with-t1lib=path > --enable-shared-pdflib \ > --enable-track-vars \ > > mysql compiles without any errors i just can't get it started... > i don't have a clue how to setup the start up scripts or whatever > > i need ./configure prefix=/usr/local/mysql > > so what would the prefix be if i just add the port? > the port installs to local everywhere files are scattered all over > that i seen... > so i dunno how to prefix php for build? > Make sure you have the ports collection installed ( check /usr/ports .. if it's not there, or it's empty, you don't have them installed - either download them from http://www.freebsd.org/ports or run /stand/sysinstall ), and install php from the ports: cd /usr/ports/www/mod_php4 && make install It will prompt you for the options you want to include, including curl, xml, apache, pspell, jpeg, AND mysql. It'll even build mysql for you if you don't already have it installed. The start scripts will be placed in /usr/local/etc/rc.d/ , check them over and then rename the sample scripts to .sh so that they'll be executed when the system starts. Then you can just: '/usr/local/etc/rc.d/mysqld start' and you'll be ready to go. - Jeff Jirsa To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: FreeBSD as a Desktop
On Thu, 25 Jul 2002, Ed Yu wrote: > 4. Things like right click to change resolution and > wizards to help setup things, and various other small > things. But once you get the hang of it, you will > stick with FreeBSD, trust me. This type of thing is what still bothers me, after years of using various systems... X, by its very nature, is not made to be reconfigured once it's running. If someone would take the time to make it 1) easy to configure (linux installers have basically done this) 2) easy to reconfigure while running (if it exists, I haven't seen it) X would instantly become more usable. > You can find substitutes for AIM (I know there is one > because I used it before, not Jabber, sorry I don't > remember the name) and Yahoo IM has FreeBSD version. Gaim and Everybuddy work well (read: acceptable as long as AOL/Yahoo/MSN have not changed their protocol in the last week). - Jeff Jirsa To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: KDE = K.D.E.A.D! (2.2.2 to 3.0.1, cvspass?)
On Thu, 25 Jul 2002, Peter Leftwich wrote: > On 25 Jul 2002, Kirk Strauser wrote: > > At 2002-07-25T21:22:55Z, Peter Leftwich <[EMAIL PROTECTED]> writes: > > Cool date and time code, but what time zone is it? :) > > > PL> http://developer.kde.org/build/compile_cvs.html > > What's wrong with: `cd /usr/ports/x11/kde3; make install` > > # cd /usr/ports/x11/kde3 > /usr/ports/x11/kde3: No such file or directory. > > Is this where some manual ftp comes in, or the wicked portupgrade command? It appears that you don't have the ports installed. If /usr/ports/ doesn't exist, or is empty, you might want to either go the hard route and install cvsup, add ports-all to your cvsup file, and cvsup your ports, or download ftp://ftp.freebsd.org/pub/FreeBSD/branches/-current/ports.tar.gz into /usr and extract it... THEN you'll be able to 'cd /usr/ports/x11/kde3 && make install' - Jeff Jirsa To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: pdf, *.doc; Java and jvm and flash
On Thu, 25 Jul 2002, Peter Leftwich wrote: > my newest problem is needing a *.DOC file > reader. Micro$oft themselves offer a free reader download but for Windows. > > Having failed the process of installing openoffice and not wishing to shell > out $75 just yet for StarOffice, does anyone have a read-only .doc solution? Try openoffice (basically star office, minus a few parts you'll never use) /usr/ports/editors/openoffice Hope that helps, - Jeff Jirsa To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
RE: Number of mbuf clusters (NMBCLUSTERS)
On Wed, 24 Jul 2002, Balaji, Pavan wrote: > > You can increase the maximum number of clusters in /usr/src/sys/sys/sysctl.h > and recompile the kernel. But make sure that you have a stable kernel image > ready, just in case you increase this value so much that your kernel doesn't > boot ;) > > I guess the default value is around 9, while for 256MB mem, you can go upto > maybe 1 clusters. That's questionable advice. Reading the tuning(7) man page: NMBCLUSTERS may be adjusted to increase the number of network mbufs the system is willing to allocate. Each cluster represents approximately 2K of memory, so a value of 1024 represents 2M of kernel memory reserved for network buffers. You can do a simple calculation to figure out how many you need. If you have a web server which maxes out at 1000 simultaneous connections, and each connection eats a 16K receive and 16K send buffer, you need approximate 32MB worth of network buffers to deal with it. A good rule of thumb is to multiply by 2, so 32MBx2 = 64MB/2K = 32768. So for this case you would want to se NMBCLUSTERS to 32768. We recommend values between 1024 and 4096 for machines with moderates amount of mem- ory, and between 4096 and 32768 for machines with greater amounts of mem- ory. Under no circumstances should you specify an arbitrarily high value for this parameter, it could lead to a boot-time crash. The -m option to netstat(1) may be used to observe network cluster use. Figure out how many connections you'll deal with, and then increase the value accordingly, rather than simply guessing and possibly wasting memory you may want to use elsewhere. I'd also recommend modifying your kernel config file rather than sysctl.h, and then rebuilding. - Jeff To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message