Freebsd. An Installation Report - An attempt to document live freeBSD installation

Pages: 1, 2, 3
free web hosting

Read Latest Entries..: (Post #20) by aciminsk on Mar 12 2006, 04:14 AM. (Line Breaks Removed)
So, reinstall the whole stuff from scratch. Yes, and not once, but still with the same failure result when trying to enable logical RAID5 drives. Chill out guys, I’m not going to tell the whole story from the very beginning, though there were quite a few rakes that I’ve luckily avoided during my first install, but did not miss later on. Just the solution. Turned out to be not soft but hard related... read more.
Read the FIRST post of this Topic. - Express your Opinion! Contribute Knowledge :-).

Free Web Hosting > Computers & Tech > Operating Systems > Free/OpenBSD

Freebsd. An Installation Report - An attempt to document live freeBSD installation

aciminsk
I need hosting. Well, how to get those golden points? Hope you wouldn’t mind if I tell my FreeBSD story.

A little foreword. I’m working in a pure MS shop, where Open Source is big NO-NO. Nevertheless I have a small test-bed LAN where I can test whatever I think is appropriate. Lately not the latest and greatest but quite decent server has been decommissioned. I had been using Debian Linux workstation already for quite a while, so I’ve decided to setup a Debian Linux server into W2k3 LAN. Honestly, I don’t like to give up, but this time I had to. The machine is HP Netserver LH3000 U3. The older Debian distribution version (Called woody) installs base system but does not recognize NIC, so I could not connect to mirror site to continue installation. The newer stable version completely refuses to recognize NetRAID controller and does not go even as far as the base system. Describing everything what I’ve tried would be way too long, so just the result. I’ve given up. What’s next to try? The criteria was that it should be not as huge as Debian (The whole distro is 14 CDs), and it should be somewhere nearby so that it would not take me forever to download. It turned out to be FreeBSD.

Hope you would not mind if I continue later on….

 

 

 


Reply

miCRoSCoPiC^eaRthLinG
Carry on - installation adventures are always fun to read about - and you never know who it might help in similar problems in future. Also do post back any problems that you faced and actually managed to solve it on your own, along with HOW YOU DID IT.

Simply keep posting original stuff and you'd have your golden points in no time. smile.gif

Reply

Jeigh
OMG YOU STOPPED THE THE MOST CLIFFHANGER MOMENT EVER! AAAH!~

Hehe, I'll assume freeBSD worked wink.gif But yea I know I wanted to try debian out once but I couldn't bring myself to care enough to download/burn all the install media when there were comaprable distro's out there on 1 cd and just download the rest as you need it heh.

Where I work currently I also had toruble getting linux onto my box as it's a temporarily unused Dell Poweredge server and the sata raid was incompatible with the base installers for a couple distro's we tried (we don't have the documentation for the actual type of raid controller so coulnd't even try loading drivers for it) Finally ubuntu managed to handle it on its own so thats where my story ends haha.

Make sure to finish yours so In know if the poor old server ever got to be alive again ohmy.gif

 

 

 


Reply

xboxrulz
kool, but have you tried other distributions like Fedora, Ubuntu or SuSE? They're stable and usually support all NIC. Also, Debian (older versions) are all 2.4.x based and they may not have the drivers for your NIC.

Usually, if Linux don't have drivers for 'em, I don't think FreeBSD would.

xboxrulz

Reply

aciminsk
OK, show goes on...
I went to http://www.freebsd.org, spent some time looking around, reading to make sure I know what I'm doing. Though quite a few questions, it did not look too scary, so I went to ftp://ftp2.ru.freebsd.org/pub/FreeBSD/ and grabbed all three disk images (ISOs ) of FreeBSD6.0, which was the latest at that time. One for basic system and network install, and two for complete distribution (Doesn't it seem, well... a little bit too light-weight comparing to 14 CDs Debian distribution?) just in case network install does not work. Burned CDs on my Debian machine. Then I have opened FreeBSD handbook as a single file from http://www.freebsd.org/doc/en_US.ISO8859-1...dbook/book.html, saved it to the local disk and hit Print. (This has been the first rake I've stepped on. For those who wonders how rakes are related to the subject you might wish to check up the thread at http://www.astahost.com/page-2-t10342-s10.html for explanation. The HandBook turned out to be 1300 plus pages, took several hours to print out on an HP DeskJet, has eaten month's supply of paper and cartridges). Everything seems ready to commence the installation. Popped Network Install CD into the retired guy, reboot. Carefully reading prompts, suggestions and handbook and mainly accepting defaults has completed base system installation in about twenty min, another 15 min for initial configuration like creating a user. Another reboot and here you are, welcome, please login. Too good to be true. Nevertheless, I'm logging-in as root. It works. Running some basic commands like ls and ps, works. What about something more complicated? Starting GNOME? Works. KDE? Works, got this beautifull masterpice of GUI design. Unbelievable. Happy end? Well, I'll tell you next time

Reply

xboxrulz
kool, I was about to suggest you DesktopBSD/PCBSD.

xboxrulz

Reply

abhiram
QUOTE
The HandBook turned out to be 1300 plus pages, took several hours to print out on an HP DeskJet, has eaten month's supply of paper and cartridges).


You actually took such a massive print? blink.gif

Wouldn't it have been cheaper to have referred to it in another computer or maybe a laptop even?

QUOTE
Happy end? Well, I'll tell you next time


I sure hope so. This is turning out to be quite an interesting read. Hehe ... maybe you should call this "The Chronicles of aciminsk" smile.gif.

Reply

aciminsk
QUOTE(xboxrulz @ Feb 23 2006, 02:31 AM) *

kool, I was about to suggest you DesktopBSD/PCBSD.

xboxrulz

May be later on. When the saga is over

QUOTE(abhiram @ Feb 23 2006, 08:11 AM) *

You actually took such a massive print? blink.gif

Wouldn't it have been cheaper to have referred to it in another computer or maybe a laptop even?
I sure hope so. This is turning out to be quite an interesting read. Hehe ... maybe you should call this "The Chronicles of aciminsk" smile.gif.

Yeah, know it's foollish. But sometimes could not resist doing foollish things

Reply

abhiram
QUOTE

Yeah, know it's foollish. But sometimes could not resist doing foollish things


Hehe ... I hear ya. Happens to the best of us sometimes smile.gif.

Reply

aciminsk
So, where did I leave?
Yeah, about happy end... Not yet. I have to use the server for something. So, let's add some useful stuff and do a test web server. Easy.

#pkg_add -r mc

And you have Midnight commander.
#mc

Works, great...

#pkg_add -r mysql

A little bit of humming, installed.
#cd /user/local/bin
#mysql_safe --user=mysql &

No error messages
#ps -ax | grep mysql
Lists mysql daemon running. Great
#mysqladmin -u root status
Statistics displayed. Cool

Let's do Apache
#pkg_add -r apache2
Brake for a smoke, done
#/usr/local/sbin/httpd -k start
No error messages. Good
#ps -ax | grep httpd
apache daemon running. Go to my Debian machine, open Mozilla, type in URL
192.xxx.xxx.xxx
Get this lovely Apache feather. Think that I'm probably not that bad in BSD
Do PHP. Go back to the server...
#pkg_add -r php
Yees, done
#vi test.php
make this little test file
<?php phpinfo()?>
Save it to the apache document root. Go back to my Mozilla, type in
192.xxx.xxx.xxx/test.php
Here you are. I'm php info page, I'm here....

One might say that it just could not be that easy and fast. Yeah, but who cares about those little shadows during the happy hour?

Well, enough for today.

Still to be continued if you do not mind...

Reply

Latest Entries

aciminsk
So, reinstall the whole stuff from scratch. Yes, and not once, but still with the same failure result when trying to enable logical RAID5 drives. Chill out guys, I’m not going to tell the whole story from the very beginning, though there were quite a few rakes that I’ve luckily avoided during my first install, but did not miss later on. Just the solution. Turned out to be not soft but hard related. One of the physical SCSI hard drives failed. Took some efforts to figure out which of twelve. So, finally I have ended up removing two and replacing one. Besides I’ve changed NetRAID configuration to 1xRAID1 and 1xRAID5 logical drives. After this I did the base system installation already by heart. As to the final system, I’ve done it a little bit different. Instead of installing prepackaged Apache+MySQL+PHP+GD bundle, I got the latest releases of each and did three steps configure – make – make install for each. A bit time consuming and no automatic updates. But it will serve for awhile.
Seems as if that’s the end. Unless I recall something worth telling

Reply

aciminsk
So, the next task is to enable remaining two RAID5 logical drives. And I want do it from the comfort of my chair. OK
On the Debian box open SU terminal and do
#ssh user@192.xxx.xxx.xxx // to connect to the server
No problems, just supply the password and you are in. Now, to partition the disk you have to have admin rights. Should not be difficult.
$su //Switch to super user mode, worked fine on my Debian machine

Responce is ...Well, no responce and no SU. OK, once more... No responce, no SU. RTF1300pagesM. Found the reason on page 428. Turns out that in FreeBSD to be able to switch to SU mode, the user must belong to WHEEL group. Fine. Now, How to assign my User to the WHEEL group? Turns out 1300 pages are not enough to explain. Read the f****g pw manual page. Took some time to make up sense out of 100 or so switches options and what else and several runs to the server to log-on as root to came up with the command I need. (See some of you smiling).
#pw usershow -n User -P //to see human description of User's properties
#pw usermod -n User -g wheel //To assign Users to wheel group

Good, done. Back to my chair and back to configuring the drives. Handbook comes handy. Chapter 16.3 at page 536 lists three options to add disks, one for dummies, and two for users. Who am I? Well, after all I've gone through definitely not a dummy. So, go to section 16.3.2.2 "Dedicated" and look at method 1. Easy, I can do it. Strictly follow the steps... No luck. OK, may be method 2 is better. Try it. No luck. Well, probably I've overestimated myself a little bit. Go back to Section 16.3.1 "Using sysinstall" (For dummies). Follow the guidance to configure both my RAID5 drives, commit changes, reboot.

What a surprise! After spitting at me quite a few error messages, my so well behaving so far server went into single user mode. After 20 min of trying to make use of it, I've decided that 30 min installation is not that bad after all. So, one more installation. Though next time...

Reply

aciminsk
So, what did I finally get after all the above? Here is the layout.
Decommissioned HP NetServer LH3000U, with two P4/1.2GHz processors, RAM 4GB, NetRaid SCSI controller and 12 SCSI physical hard drives configured into three logical drives, 5GB RAID1 and 2x90GB RAID5 drives, connected to a small test w2K3 LAN. (You might guess that I have thrown in quite a few of available resources scattered around in a Network Center).
The server has been happy with FreeBSD6.0.The Apache2.4+MySQL+PHP4+GD bundle has been installed, slightly configured and properly serving test pages. X server has been running serving as Gnome so KDE. SSHD has been running giving me an option to access the server from a remote workstation. The only tail to cut was those 2x90GB RAID5 logical drives. As one might guess I have installed everything on one 5GB RAID1 logical drive planning to enable other two later on.
That’s where the problems started…

Reply

aciminsk
^^^ Agree
Good addon. Thanks. Though if you want the latest version of Apache+mysql+php+perl+gd +Whatever else you want Bundle, you will have to download and install it manually. The shadow site of this kind of installation is that you would not be able to update it using BSD pkg system.

Reply

unimatrix
For future reference points for folks, might want to consider buying the SAMS FreeBSD book. Last version I own covers the 5.x series and comes with a single FreeBSD disc to conduct a basic install onto most system.

Installing FreeBSD does not take 3 discs, just disc 1. Typically the other discs contain the actual ports system and sometimes might have some really odd device drivers. But mainly all the drivers and core functions you'll need (like X11 & KDE) are including on disc 1. Now if you do not have access to a high speed internet connection, then you will want to purchase or have someone download all the ISO because your going to need them. FreeBSD works best when it has a fast connection to the internet.

For a light FreeBSD install, grab the ISO to disc 1 and install normally. Hopefully you've got all your hardware detected. Persionally, I keep a coupleolder jumper ISA (not much use anymore) and PCI 10Mbs ethernet cards around just incase.

Once the primary installation is set, it is time to get to know cvsup and the ports system. By default Apache is installed, but now you need PostgreSQL, Python, PERL, PHP, and MySQL.

Go in to usr/bin/ports/

type ls

now see all those directories? Each is an appliaction that has basically an automatic installer. What is even better is that it searches out, finds, and downloads EVERYTHING you need to get that package to work. PHP needs the GD library? Then the install scripts goes through a list of mirrors, finds the package, downloads, it and then continues with the PHP installation.

You want MySQL then do this:

type: cd /usr/bin/ports/mysql and then hit return

type: make && make install and then hit return

Sit back and let the Ports system do its job. It downloads everything it needs and then installs the package.

By doing it this way, you really save in download and set up time because your downloading only what you need and by default, the ports tree searches for updates and fetches the latest version of mysql and installs.

So you installed FreeBSD 5.2 and want to up grade to 6.x.

Just type CVSUP and let the system go fetch the latest stable kernal build and install. You can also update the ports system in a similar fashion too.

We have one database server in the office running on a dual Pentium Pro 200 system. It has an uptime of over 6 years now and it's running FreeBSD 3.4 still. It is the only non-macintosh system left other than the two Windows boxes we keep just because.

FreeBSD is still my fav. server operating system on the market today. Unlike Linux, BSD is more standardized and has been far easier to maintain and manage thanks to the ports tree. For the longest time the ports system was the only way I ever got PostgreSQL to actually intall without issue.


Reply


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Pages: 1, 2, 3
Recent Queries:-
  1. midnight commander mc pbi bsd download - 205.09 hr back. (1)
  2. vmware "netraid controller" - 439.36 hr back. (1)
Similar Topics

Keywords : freebsd, installation, report, attempt, document, live, freebsd, installation

  1. Freebsd Commands..
    Read the Topic Title.. ^ (1)
  2. Introduction To Openbsd With A Brief Installation Guide
    As the topic is (7)
    OpenBSD is the operating system derived from NetBSD. OpenBSD derived from NetBSD seeking for strong
    security features. Since OpenBSD was based on NetBSD, OpenBSD comes with variety of support toward
    hardwares while this figure not seems pretty much obsolete since it's been quite a long time
    after the split. OpenBSD comes with so security intensive features and as well as for major
    applications for UNIX line such as Apache,SQL databases, and PHP. Really notable figures of
    OpenBSD is that OpenBSD comes with really strong features for security issues and so that with....
  3. Pc-bsd
    Alternative to FreeBSD but based on same kernel (6)
    After looking through this forum, I noticed nobody had commented about PC-BSD, which is in version
    1.2 based on FreeBSD kernel 6.1. I have had some very good success with this system, admittedly
    using vmware-workstation, and I didn't even have to install it, as they provide a downloadable
    hard file that works with vmware-workstation as well as vmware-player. The GUI Desktop is KDE 3.5.3
    and the site for further information is here One overrriding reason to use this system is that
    they use PBI files to install applications so you don't have to worry about depe....
  4. Help, Attempting To Boot Freebsd-6 <solved>
    Cant even get past the boot screen :( (2)
    Ive downloaded the latest FreeBSD-6.0 for amd64. All MD5's passed. Hardware... CPU: Athlon64
    3400+ Socket 754 Ram: 2 * 512 Kingston ValueRam DDR400 (DoubleSided) Chipset: nForce3-250
    Motherboard: Asus K8N (Bios 1006.001) Partiton setup: 1: Windows - 20Gb (FAT32) 2: Linux root (XFS)
    3: FreeBSD 3a: FreeBSD root 3b: FreeBSD swap 4: Linux Swap 5: boot (reiserFS) HoldsGRUB filesand
    Linux kernel. Attempting to boot with Grub using both of the following commands... (from grub)
    CODE root (hd0,2,a) kernel /boot/loader boot CODE rootnoverify (....
  5. Freebsd Internet Connection
    how to configure internet connection (2)
    hello people, i got a littol problem with internet conection configuration in freebsd. there is a
    router in dhcp with sharing all togehter 4 computers. i dont want freebsd to dhcp server but client
    and just simply want to connect. thks /huh.gif' border='0' style='vertical-align:middle'
    alt='huh.gif' /> ....
  6. Freebsd Burning & Installation Problems
    (4)
    I had freeBSD. I just didnt work out. I burned it correctly like I do with all my other linux stuff
    ( i know, BSD is unix) but It just stops on the second cd and makes strange sounds. I've given
    up hope and just moved on to Connectiva. moved to the BSD section, you will probably got more
    relevant help here. ....
  7. Linux User Needs Help Learning Freebsd
    (7)
    Recently, i decided that FreeBSD was somthing i wasnted to be able to say i could use, and afdmin
    comfortably. I was reading several comparasons between GNU/Linux (what i currently use) and
    f'BSD. Apart from the differences in the Licences, and they way they were developed, and of
    cource the history, they were very very similar. Ive used and become comfortable with several Linux
    distro's inclusing Linux From Scratch, Slackware, Gentoo Mandrake, Fedora/Redhat, and maybe a
    few others, LOL. After becomming comfortable with linux, i started university, where i use....
  8. Installed Freebsd, Need Instruction For Gui
    At the dawn of a personal FreeBSD era (3)
    I'm at the beginning of learning about FreeBSD, and have installed the OS (version 5.4). I only
    made it to the black screen with text/command line. So I need those quick and easy pointers to get
    started with the graphical interface of things. So...how easy can I get a graphical user interface
    like mousecursor, windows, programmenu's and such (like in windows, ubuntu, mandrake and so on)
    working for my FreeBSD installation? I read some stuff about X11 and Xorg, but it seems quite
    complicated to me, but I consider that as just being a mild obstacle because I'm....
  9. Problems Dowloading Freebsd 5.3
    (5)
    Hi there, Has anyones out there met this problem before, I cannot download FreeBSD 5.3 iso images
    off their download mirrors. The download always broken somewhere around 50-70% of the file and
    cannot be resume in any way. I've tried with their FreeBS Centre mirror, Japan, Germany, Hong
    Kong ... mirrors, with or without download manager programs (Filezilla, Flashget...) but the results
    are the same - a broken download :-( Could anyones can help me to solve this, I acctually need
    FreeBSD but cannot buy it herein Vietnam. Tks!....

    1. Looking for freebsd, installation, report, attempt, document, live, freebsd, installation

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for freebsd, installation, report, attempt, document, live, freebsd, installation
advertisement




Freebsd. An Installation Report - An attempt to document live freeBSD installation



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE