tomcat
there doesn't seem to be a linux-jdk13 in the ports I just have a fresh install of 5.2.1 and 5.1 all the tutorials I find seem to want linux-jdk13 I only see things like linux-sun-jdk13 linux-ibm-jdk13 linux-blackdown-jdk13 any help would be much appreciated ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php postgres issues
is it a lost cause to: /usr/ports/lang/php4-extensions make config (choose pgsql support) apache restart but still no support for postgres in php perhaps there is some extra configuration I am missing I changed my php.ini to incudle pgsql.so http.config is set up to add the php module users pages run php, but not the postgres API my method for installing everything, in short, was: make install apache13 port make install mod_php4 port (posgres already there) apache rc script restart (recently) make config php4-extensions make install php4-extensions apache rc script restart still no pg api ;( thanks for any help R. On Wed, 18 Aug 2004 13:18:27 -0700, Randy Grafton [EMAIL PROTECTED] wrote: I'm sorry to see you're having so much trouble. I've been using the apache-php-postgresql for some time now and wanted to compliment you on your choice as well as offer some help. First, I would definitely recommend that you do everything, (or as much as you can) through the ports. Second, I strongly suggest that you start with a minimal installation. The packages are a great place to start for beginners but the ports are much more robust, flexible and CURRENT. The minimal install is available as a choice when performing an install. Assuming that you have done a minimal install and therefore clearing any possible conflicts with other possibly outdated packages install the following items in the listed order: 1. Apache. Your choice of version though I've heard that PHP may not be fully ready for the threading in Apache2. I've not experienced any problems with Apache2 and PHP5 or PHP4, so this is just a FYI. cd /usr/ports/www/apache13 or cd /usr/ports/www/apache2 and do 'make install clean'. 2. PostgreSQL. Straight forward install here. cd /usr/ports/database/postgresql73 and do 'make install clean' I'm assuming that you aware of the requirement to do initdb as pgsql to initialize the databases after installation from the ports. 3. PHP. If your curious about PHP5 then the steps get a little different and I list those next. As for PHP4 just cd /usr/ports/www/mod_php4 and do ' make install clean'. The last time I ran this, and every time before, I was presented with a menu to select the options for PHP such as PostgreSQL, GD, PDFLib..., so you don't have to worry about command line defines. PHP5, here you'll goto /usr/ports/lang/php5-extensions and do a 'make install clean'. Again the menu will pop up with php extension choices as stated above. Once this is done goto /usr/ports/www/mod_php5 and do 'make install clean'. Obviouosly the above steps have been completed goto /usr/local/etc/apache/httpd.conf and make sure that you have the LoadModule and AddType lines in there for php. Then goto /usr/local/etc/rc.d and run the apache and postgresql startup scripts with the 'start' command line option. Let me know if you need more detail. -Randy Rail mail writes: I am having issues with getting postgress extensions for php4 do you have to configure it via ports/compiling or can you get away with with just pkg_dd -r Iv'e tried pkg_add -r apache pkg_add -r mod_php4 and the ports way cd /usr/ports/www/mod_php4 make cd work/php-4.3.8 ./configure --with-pgsql cd ../../ make install and variations of that I also thought that I might have wanted something from lang/php4-extensions make config //choose pgsql make install I havn't seemed to have any luck the ol sys admin already set up httpd.conf I was mucking around with php.ini trying to get it to use pgsql.so what is the best direction to take I'd like to stick to packages or ports I found tutorials on how to do it with rpms or tar.gz and do it by hand, but freebsd has set up a nice system with ports and packages and I would like to stick to that if I can thanks for any help ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
php postgres issues
I am having issues with getting postgress extensions for php4 do you have to configure it via ports/compiling or can you get away with with just pkg_dd -r Iv'e tried pkg_add -r apache pkg_add -r mod_php4 and the ports way cd /usr/ports/www/mod_php4 make cd work/php-4.3.8 ./configure --with-pgsql cd ../../ make install and variations of that I also thought that I might have wanted something from lang/php4-extensions make config //choose pgsql make install I havn't seemed to have any luck the ol sys admin already set up httpd.conf I was mucking around with php.ini trying to get it to use pgsql.so what is the best direction to take I'd like to stick to packages or ports I found tutorials on how to do it with rpms or tar.gz and do it by hand, but freebsd has set up a nice system with ports and packages and I would like to stick to that if I can thanks for any help ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
updating issues
I have compiled kernel and now want to find easiest, safest way to upgrade a production machine. I'm trying to make a decision on to either A just always do a cvsup with RELENG_5_X and make world or B try to pull something together with freebsd-update. of course freebsd-update 1.4 gets upset since files were modified, due to src update and compile. thanks R. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: updating issues
well I was thinking either I do binary updates or recompile updates. My first question started off with can I get security fixes with out recompiling?. I knew about upgrade in sysinstall, but the word was that gets the release specified, not necessarily security fixes. So then I thought you have to recompile to get updates. But freebsd-update was then introduced to me. But It complained since we had to recompile the src for the release (5.1) to get certain features in the kernel. So I am still stuck with the question can I get security fixes with out recompiling?. R. On Fri, 13 Aug 2004 22:27:31 -0500, Chris [EMAIL PROTECTED] wrote: Rail mail wrote: I have compiled kernel and now want to find easiest, safest way to upgrade a production machine. I'm trying to make a decision on to either A just always do a cvsup with RELENG_5_X and make world or B try to pull something together with freebsd-update. of course freebsd-update 1.4 gets upset since files were modified, due to src update and compile. I could be wrong but I thought the whole idea of FreeBSDUpdate is NOT to mess with the source. I always thought that the before mentioned updeated only the binaries. That being said, and if you did tamper with the source - then cvsup (to me) is the proper course of action. -- Best regards, Chris Real programmers can do octal, hexadecimal and binary math in their heads. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
freebssd-upgrade
according to freebsd-update one should not compile any part of the system, which if true poses a problem, since we had to recompile the kernel to get SMP working, 5.1 must have not had that in the generic kernel. I'm not sure, but i think the stock kernel that goes with the 5.2 has it. I just used pkg_add -r to get freebsd-update and got v1.4 I was reading that v1.5 handles recompiled parts better. Where should I be looking for v1.5? I keep finding v1.4 does anyone have any notes on using freebsd-update with a system that has been compiled locally? Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
upgrade
moved from slowlaris to freebsd for a web server. it is in a production environment. will a binary upgrade catch all the security updates? should I expect anything to break? (at least web server, ftp and ssh) besides time and effort, how does cvsup and build world compare to binary upgrade? should I run the upgrade from sysinstall from disk, or throw in a cd and use that sysinstall? the quick and dirty of the system is running 5.1 on a dual xeon, hot swap scsi disks, tape drive thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]