Page 1 of 1

Advise needed: Migrating from Debian to FreeBSD

Posted: Mon Oct 11, 2004 7:21 pm
by myleow
I am currently considering switching from Debian-Stable to FreeBSD for my development server.

Could anyone comment on this on issues of
1) Package Management System
2) PHP compatibility issues (would PHP codes from Debian work on FreeBSD without bug)
3) PostgreSQL compatibility issues (would SQL from Debian work on FreeBSD without bug)
4) And any other points/advise/comments that you would like to share

Regards
Mian

Posted: Mon Oct 11, 2004 11:37 pm
by phice
2) PHP compatibility issues (would PHP codes from Debian work on FreeBSD without bug)
Apart from directory locations, configuration settings (like config.php files), and the like - you shouldn't have a problem at all with using the same PHP code.

Posted: Mon Oct 11, 2004 11:48 pm
by timvw
pkg_add and then portage system are nice (but because of habitude i like apt-get more)

freebsd is by default more restricted than debian, fe you will have to add users to the wheelgroup if you want to allow them to "su"

Posted: Tue Oct 12, 2004 1:28 am
by m3mn0n
phice wrote:2) PHP compatibility issues (would PHP codes from Debian work on FreeBSD without bug)
Apart from directory locations, configuration settings (like config.php files), and the like - you shouldn't have a problem at all with using the same PHP code.
My thoughts also.

Operating system doesn't have much to do with how your code will operate--barring any use of OS-specific things like [php_man]win32api[/php_man] and shell commands via [php_man]exec[/php_man]().

As long as you coded your code to be portable, besides updating a few config settings, you should be good to go.

Posted: Tue Oct 12, 2004 2:17 pm
by myleow
Thank you for all the information

Configuring FreeBSD is not fun

Posted: Wed Oct 13, 2004 1:39 am
by myleow
Configuration wise, i think Debian is easier. I have been messing around with FreeBSD minimum installation for the entire night and stil hasn't gotten far.

When i install Apache using the sysinstall since i forgot to install Ports. I couldn't find the httpd.conf file anywhere. I checked the FreeBSD handbook and the mentioned directory doesn't even exist let alone the file.

Just frustrating, hate confguring stuff like this.

Regards
Mian

P.S. Any one has good newbie resources for newbie on FreeBSD please post it so i can read. Don't give me FreeBSD Handbook though, its too comprehensive for my current tired-state liking.

Posted: Wed Oct 13, 2004 5:56 am
by kettle_drum
You dont have to mess about with the ports though - just compile apache and things yourself. FreeBSD is certainly secure and powerful.