Welcome Guest ( Log In | Register )



3 Pages V  < 1 2 3 >  
Reply to this topicStart new topic
> Freebsd. An Installation Report, An attempt to document live freeBSD installation
Jeigh
post Feb 23 2006, 01:08 PM
Post #11


Whitest Black Mage
Group Icon

Group: [MODERATOR]
Posts: 1,301
Joined: 20-May 05
From: NB, Canada
Member No.: 5,281



Haha maaan you know how to weave a story... everytime I check this post its like "here is a small piece of the puzzle, but wait awhile before I give you the rest" hehe. Keeps me commin back for more tho ohmy.gif

Glad to see it went fairly smoothly up until this point at least. Maybe after you are done with it you can have a bonfire with the install docs haha :|
Go to the top of the page
 
+Quote Post
aciminsk
post Feb 23 2006, 05:29 PM
Post #12


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 18
Joined: 20-February 06
Member No.: 11,431



QUOTE(Jeigh @ Feb 23 2006, 03:08 PM) *

Haha maaan you know how to weave a story... everytime I check this post its like "here is a small piece of the puzzle, but wait awhile before I give you the rest" hehe. Keeps me commin back for more tho ohmy.gif

Glad to see it went fairly smoothly up until this point at least. Maybe after you are done with it you can have a bonfire with the install docs haha :|

I better keep it at my desk to impress whoever comes (the boss especially)
Go to the top of the page
 
+Quote Post
aciminsk
post Mar 3 2006, 07:12 PM
Post #13


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 18
Joined: 20-February 06
Member No.: 11,431



Well, the story of success seems to become a little bit boring. So, to wrap it up, a final touch. When the feet started to feel mileage of running between server and workstation, I’ve configured ssh (Secure Shell). Men, I was impressed. Add terminal Server Client for W2K3, and you can access W2K3 and BSD servers from the comfort of your armchair… Cool!

Next time I'll start discovering the rakes....
Go to the top of the page
 
+Quote Post
xboxrulz
post Mar 3 2006, 09:57 PM
Post #14


Colonel Panic
Group Icon

Group: [MODERATOR]
Posts: 2,629
Joined: 25-March 05
From: Toronto, Ontario, Canada
Member No.: 3,233



lol. So this FreeBSD installation is for your server, i assume?

xboxrulz
Go to the top of the page
 
+Quote Post
aciminsk
post Mar 4 2006, 07:02 AM
Post #15


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 18
Joined: 20-February 06
Member No.: 11,431



QUOTE(xboxrulz @ Mar 3 2006, 11:57 PM) *

lol. So this FreeBSD installation is for your server, i assume?

xboxrulz


Yes, decommissioned HP Netserver LH3000u. (Huge box btw) I have mentioned it somewhere at the beginning

As you might have guessed, it's not the end of the whole story. What would be better, continue it here or start a new thread?
Go to the top of the page
 
+Quote Post
miCRoSCoPiC^eaRt...
post Mar 4 2006, 04:13 PM
Post #16


PsYcheDeLiC dR3aMeR
Group Icon

Group: Admin
Posts: 2,242
Joined: 29-January 05
From: Nakorn Chaisri, Thailand
Member No.: 2,411



Continue it here man - that way the whole saga stays together smile.gif It's getting to be a real fun reading. Good job man - carry on.
Go to the top of the page
 
+Quote Post
unimatrix
post Mar 5 2006, 03:46 AM
Post #17


Premium Member
Group Icon

Group: Members
Posts: 493
Joined: 15-August 05
Member No.: 7,873



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.

Go to the top of the page
 
+Quote Post
aciminsk
post Mar 5 2006, 08:44 AM
Post #18


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 18
Joined: 20-February 06
Member No.: 11,431



^^^ 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.
Go to the top of the page
 
+Quote Post
aciminsk
post Mar 5 2006, 07:37 PM
Post #19


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 18
Joined: 20-February 06
Member No.: 11,431



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…
Go to the top of the page
 
+Quote Post
aciminsk
post Mar 7 2006, 09:24 AM
Post #20


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 18
Joined: 20-February 06
Member No.: 11,431



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...

This post has been edited by aciminsk: Mar 7 2006, 09:25 AM
Go to the top of the page
 
+Quote Post

3 Pages V  < 1 2 3 >
Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Linux User Needs Help Learning Freebsd(7)
  2. Freebsd Burning & Installation Problems(2)
  3. Freebsd Internet Connection(2)
  4. Help, Attempting To Boot Freebsd-6 <solved>(1)
  5. Pc-bsd(6)
  6. Introduction To Openbsd With A Brief Installation Guide(7)
  7. Freebsd Commands..(1)


 



- Lo-Fi Version Time is now: 7th July 2008 - 12:06 AM