LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
Search this Thread
Old 11-26-2003, 03:50 PM   #1
guardian653
Member
 
Registered: Oct 2003
Distribution: Gentoo
Posts: 79

Rep: Reputation: 15
From RedHat9 to FreeBSD (Apache 2 & Mysql & PHP 4)


I'm been hearing all about the hype that FreeBSD is a very stable platform for a Web Server. And with RedHat moving away I was thinking about trying FreeBSD as my new web server. My question is there active development on FreeBSD for:

* Apache 2 (mod_ssl, mod_auth_mysql, etc)
* OpenSSL
* MySQL
* SSH
* PHP4
* Samba (Windows Filesharing)

I'm a total BSD newbie, but I heard that Linux and BSD are similar except to the kernel and drivers and such. I basically have my server box and my main computer close together and I make major changes using Dreamweaver accessing a Samba connection. I also use SSH to make any changes requiring a terminal. (I only have two connections coming out on the server box, ethernet and powercord)

So would FreeBSD be a good choice for the performance and stability? Along with those applications I presented? (I don't need much other than those presented above)

Thanks
David
 
Old 11-30-2003, 01:49 AM   #2
RJW
Member
 
Registered: Nov 2003
Location: Australia[WA]
Distribution: FreeBSD 5.x/6.x
Posts: 146

Rep: Reputation: 15
All the applications you listed are regularly updated in the Ports Collection (/usr/ports).

The only similarity between BSD and Linux is they are both `UNIX-like' (more so BSD).
 
Old 12-02-2003, 07:21 PM   #3
nullpt
Member
 
Registered: Jul 2003
Distribution: Red Hat
Posts: 94

Rep: Reputation: 15
Yes, Freebsd is a good choice for a web server. All of that software exists on the port system, and they can be updated at any moment very easily.

/usr/ports/www/mod_php4
/usr/ports/www/apache13-modssl
/usr/ports/databases/mysql41-server/
/usr/ports/net/samba

You only need to install this ports to have it all installed under /usr/local/.
The config files go to /usr/local/etc/. Edit them and protect your instalations.
At this point I think you know how to create keys with openssl and how to configure php/apache and samba. Use your traditional methods of linux, edit the configs and restart the daemon.

If you have any question, post it here and youĞll be helped!
 
Old 12-11-2003, 03:18 PM   #4
guardian653
Member
 
Registered: Oct 2003
Distribution: Gentoo
Posts: 79

Original Poster
Rep: Reputation: 15
Thanks for the info nullpt, ports makes rpm's look like hell

Btw, How do I update software? (stuff that I installed with ports that is)
 
Old 12-11-2003, 05:13 PM   #5
RJW
Member
 
Registered: Nov 2003
Location: Australia[WA]
Distribution: FreeBSD 5.x/6.x
Posts: 146

Rep: Reputation: 15
Install the PortUpgrade port: `/usr/ports/sysutils/portupgrade'.
 
Old 12-11-2003, 05:31 PM   #6
nullpt
Member
 
Registered: Jul 2003
Distribution: Red Hat
Posts: 94

Rep: Reputation: 15
# cd /usr/ports/sysutils/portupgrade
# make install clean

When it's done you'll have portinstall (to install ports), portupgrade (to upgrade ports) and portversion (to check the ports state).

# portupgrade <pack> -> will upgrade the port
# portupgrade -a -> will upgrade all ports

Toc check for outdated ports:

# portversion | grep '<'

To install a port:

# portinstall <port>


Anything else I can help?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware guide for AMP Apache MySQL & PHP xushi Slackware 35 05-11-2006 11:18 AM
Apache ADVX & PHP w/ MySQL MonServeur Mandriva 2 11-21-2004 01:39 PM
MDK10 and Apache, MySql & PhP prodigal Mandriva 2 08-05-2004 07:49 AM
Apache & PHP & Mysql thomas050682 Linux - Networking 5 03-03-2003 03:21 PM
Apache & Php & MySql te_conway Linux - Software 2 12-21-2001 04:06 PM


All times are GMT -5. The time now is 07:16 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration