Freebsd


Recommended Posts

Hey people, can you create the new topic rather than post/hijack the topic? Now, too many different stuff in a topic, which it's confusing.

Anyway raipe, sounds like you need to update the ports tree. Ports will install the dependencies; therefore, you must have done something wrong.

>> When i tried to install mysql server it asked for dbXML then dbXML asked for jsdk.

What? MySQL doesn't need Java and XML, there's even no extra option for Java and XML in the Makefile of /usr/ports/databases/mysql323-server.. The default (make install clean) will install those following:

mysql-client-3.23.53_1

p5-DBI-1.28

p5-Mysql-modules-1.2216

libtool-1.3.4_4

p5-Data-ShowTable-3.3

p5-Storable-2.05

p5-Test-Harness-2.26

p5-Test-Simple-0.47_1

p5-Net-Daemon-0.36

p5-PlRPC-0.2016

mysql-server-3.23.53_4

>> "Sorry, the host 'server' could not be looked up.

>> Please configure the 'hostname' command to return a correct hostname.

Doesn't it said all? You need either local DNS or add your IP in the /etc/hosts. Apache always read /etc/hosts too, so it's very important file. As for me, I use local DNS, so I don't have to edit /etc/hosts on each machines.

Link to comment
Share on other sites

Can you tell me where can i find a step by step to "build" a that server above?

I suggest you to search in google.com and www.freebsdsearch.com .. Like, if you want to install Apache, then you can search for freebsd apache or whatever..

Really, it's simple.. Always install MySQL first. You already knew how to do that as above.

>> apache+php

# cd /usr/ports/www/mod_php4 ; make install clean

It will install both Apache and php4 for you by automatic. That's simple step for the newbie.

Myself, I always go in www/apache13 and do the make extract, so I can configure my very own options such as change the paths, add options, read docs in the work/apache* and etc. Then, do the make install and go to www/mod_php4 and do the same thing.

>> ftp+mail

There have so many different ftp and mail server, so I highly recommend you to do the research first. Use google.com, search in the maillist, forums (bsdforums.org) and etc. Myself, I like qmail as mail server but want to give Exim a try sometime. Because, qmail can be quiet pain in ass by need to add few patches, some crap license and etc.

Link to comment
Share on other sites

Doesn't it said all? You need either local DNS or add your IP in the /etc/hosts. Apache always read /etc/hosts too, so it's very important file. As for me, I use local DNS, so I don't have to edit /etc/hosts on each machines.

How do i configure local DNS on my machine... i chose "named" on post-install network screen but it doesn't seem to be working...

Anyway freeBSD machine currently directly connected. should i connect it before it's configured?

Thanx

Link to comment
Share on other sites

raipe

can u ping localhost?

i think apache required a hostname to be input under this binary.

Depending where is the apache is installed.

I just qoute an example.

/usr/local/apache/conf/httpd

Look for this file.

#vi httpd.conf

Look for this line that said.

#ServerName new.host.name

Input this line below

ServerName localhost OR ServerName Hammer <--my hostname

Restart the httpd daemon and see if it works or not

Link to comment
Share on other sites

How do i configure local DNS on my machine... i chose "named" on post-install network screen but it doesn't seem to be working...

I suggest you to start with /etc/hosts and learn more about BIND. BIND is DNS server that came with FreeBSD by default, which it's named. There have awful plenty of tutorial about BIND in the google.com, it doesn't matter if you get BIND tutorial for linux or whatever, they all are still same. BIND is BIND.

Anyway freeBSD machine currently directly connected. should i connect it before it's configured?

I don't quiet understand what you are trying to say?

Depending where is the apache is installed.

FreeBSD always follow the hier(7) "man 7 hier" standard, which everything is installed in the /usr/local by default. The prefix is /usr/local; not /usr/local/apache. That's violate the standard. Yes, I am picky on the follow the standard.

/usr/local/apache/conf/httpd

/me coughs @ /usr/local/apache.. In FreeBSD, it's installed in /usr/local/etc/apache/httpd.conf.

Restart the httpd daemon

In case, if you (raipe) don't know how to restart, start and top Apache. Do the apachectl graceful to restart apache and start too. To stop, do the apachectl stop and to start do the apachectl start.. I always use apachectl graceful instead apachectl start.

Link to comment
Share on other sites

I think this topic is getting way off topic. Wasn't this supposed to be specifically about FreeBSD? Seems more like its drifted in a howto setup a Unix server. I could understand having some specific questions about using the program but to go on a forum to ask how to set it up w/o first reading anything is a waste of your time raipe.

I don't want to sound harsh but if you're interested in doing that, RTFM. There's other stuff you have to worry about other than just setting it up, like security. Read the Linux Howtos. Its all the same, except some of the directories might be different.

Link to comment
Share on other sites

I think this topic is getting way off topic.

Did you read replies? I keep tell the users to create the new topic if they have the problem. I said that twice, but they simple don't listen. Now, different problems of FreeBSD in a topic and it's confusing topic. Maybe, moderator needs to lock this topic or use split feature to split them into new topics.

Wasn't this supposed to be specifically about FreeBSD? Seems more like its drifted in a howto setup a Unix server.

Yeah, howto setup a FreeBSD server. Well, everything are talking about on FreeBSD's problems. Just many different problems of FreeBSD in a topic, so this topic is getting confuse. Same as my answer above.

I could understand having some specific questions about using the program but to go on a forum to ask how to set it up w/o first reading anything is a waste of your time raipe.

I don't want to sound harsh but if you're interested in doing that, RTFM. There's other stuff you have to worry about other than just setting it up, like security. Read the Linux Howtos. Its all the same, except some of the directories might be different.

Now, I love you.. I always love to tell users to search in google.com, just like my replied above about search for BIND tutorial and etc.

Link to comment
Share on other sites

NP. I also don't mind helping people. Its really silly though when people just jump right in w/o reading about the topic first.

Back to FreeBSD though. Do you know of any place I can get the lastest build of Evolution in source format. The developers only seem intent on supporting RH, Mandrake and Debian. They've announced intentions to port to FreeBSD but haven't. It makes a nice looking desktop w/ some nice apps to boot. I've checked the ports package list and its not there. Many people seem to want it - based on news groups etc, but its not there.

Link to comment
Share on other sites

Back to FreeBSD though. Do you know of any place I can get the lastest build of Evolution in source format. The developers only seem intent on supporting RH, Mandrake and Debian. They've announced intentions to port to FreeBSD but haven't. It makes a nice looking desktop w/ some nice apps to boot. I've checked the ports package list and its not there. Many people seem to want it - based on news groups etc, but its not there.

I just check in the ports and you are right, it's not there. But, you can get v1.0.8 one from -> http://www.freebsd.org/cgi/ports.cgi?query...ution&stype=all .. Then, you just download, edit Makefile and etc to match newest one's need/requirement. You can create your own ports tree. The source of it, check -> http://www.ximian.com/mirrors.html , I saw they have source for it. Or, you can compile on your own without edit the old Makefile one. If you create one for ports, you can send to the maillist and let FreeBSD add it.

If you have any of problem with it, I suggest you to try visit at bsdforums.org .. Maybe, the users know the answer or are willing to help you, because I don't use and know anything about Evolution. I use Mutt, I love it.

BTW: I have created very few of my own ports tree, such as Linux-Opera 6.1, Openbox 2.x and etc. I use Linux-Opera instead native, because I have the license for Linux-Opera; not FreeBSD-Opera.

Link to comment
Share on other sites

Thanks for the info mezz.

Straight from Ximian's web site:

We don't have definite plans for the BSD operating systems yet. Our hackers need to focus on HP-UX and Solaris for a while longer.

The more I think about it, the more I realise they're not really intent on supporting all the open source movement. They say they only support RPMs because it has package management features. I couldn't care less. I was hoping to use it for the Office Apps that are all integrated but I'll find better alternatives, I'm sure. I'll wait for Gobe Productive to go open source which should be soon; Open Office is just too bloated.

I couldn't be bothered going w/ Ximian. I'll stick with Window maker or enlightenment. If I take any time compiling something it'll be E-17. That looks so sweet! With TT font rendering I'll have a huge :D :D

Link to comment
Share on other sites

I'll wait for Gobe Productive to go open source which should be soon; Open Office is just too bloated.

I agree, OpenOffice is slow and too big. I believe, it can be done to write smaller. They just need one of smarter developer to join. Honestly, I do really love M$'s Office2k/XP. They are the best office product that I ever have tried. I usually use family computer, just because to use Photoshop, Quicktime and M$ OfficeXP. Only, when I need them. ;)

I'll stick with Window maker or enlightenment. If I take any time compiling something it'll be E-17. That looks so sweet! With TT font rendering I'll have a huge

I start to like Openbox much more than Blackbox/Fluxbox. Just, because Openbox is more flexible than Blackbox and less bloated than Fluxbox. Also, it has the Xft2 support, which I am using it. I have tried RedHat 8, I near addict to Gnome 2. It's too nice, but little slow. I am going to try install Gnome 2 on FreeBSD machine later when XFree86 4.3 is releasing, so I can compile with it FreeBSD 5.0 w/ GCC 3.2.1. Hope, it will be faster. If not, then I will stick to Openbox.

BTW: My desktop box is only 464Mhz w/ 384mb ram.

I do agree that E-17 does really look very nice. But, one problem is that.. The project just look like it's dead at this moment. The CVS hasn't been update for long time by now or maybe I am blind; there just have too many folders to surf.

Link to comment
Share on other sites

Curious, how's FreeBSD 5.0? I know, it's unstable and not full ready, but what do you think of it so far? I haven't tried it yet.

You sh1tting me? I'm running -CURRENT since 9 months, it's rock-stable unless you don't read the mailinglists and sync the sourcetree in middle of a major commit, like when KSE M3 got comitted.

Link to comment
Share on other sites

I'll just mess around and find a WM that I like. I like the way E-16 looks just that it doesn't have much functionality and Gnome and KDE apps are way too buggy for my liking. Rasterman, the lead developer for Enightenment, has stated that he's in no rush to finish. Most people don't realise this but he's using E as the basis for a UI in embedded hardware for the company he works for (read this in an interview) which is why with E-17 he developed EVAS which can be scaled down quite considerably.

I am definately switching back to FreeBSD soon. I just need Linux on there a bit longer to finish a Shell Scripting class I'm in then its all gone. My work is all on the Linux box and I don't have time to install it right now. The Linux kernel is just too slow - it really needs those latency patches now and not in 2.6 (it won't make it in 2.5).

Tom, 5.0 should be out soon but isn't the new Kernel only better for SMP stuff? They're still going to realease another 4.x build after 4.7.0 (which is already out). BTW Tom nice web site! The one in the orange bars http://www.tomservo.cc/index.aspx looks really cool. Nice and simple. I'd keep that one.

Link to comment
Share on other sites

Oops, it's there! I just changed the ftp of CVSup. Also, another board told me it's in the ports. Take the look -> http://www.freshports.org/mail/evolution .. I guess, you can rest.. ;)

isn't the new Kernel only better for SMP stuff?

Not only for SMP, a lot of things have been improve and still more.. GCC 3.2.x, ported the NetBSD's rc* system and etc.. Here are links with full of information for you to read.

http://www.freebsd.org/releases/5.0R/DP2/relnotes.html

http://www.freebsd.org/releases/5.0R/DP2/hardware.html

http://www.freebsd.org/releases/5.0R/DP2/errata.html

http://www.freebsd.org/releases/5.0R/DP2/e...ly-adopter.html

Link to comment
Share on other sites

Hehehehe!

I guess someone did port it. Cool. I did so many google searches and went to the FreeBSD homepage and searched for ports. Anyways I might reconsider. Though some of the other WM's might convince me otherwise. Though some of the office apps seem too tempting. Pine is still my fav e-mail program and I'm going to use it.

I didn't realise 5.x included GCC 3.2.x. I read through the release notes and the general impression I had was that it was mostly SMP support. I guess I will read though it *more slowly* next time. :D :D

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.