16b6f FreeBSD customization tools - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Development > FreeBSD Development

FreeBSD Development Kernel development, writing drivers, coding, and questions regarding FreeBSD internals.

Reply
 
Thread Tools Display Modes
  #1  
Old December 5th, 2011, 21:27
delusion777 delusion777 is offline
Junior Member
 
Join Date: Dec 2011
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
Default FreeBSD customization tools

Hi

I would like to know if I could get your assistance on something im struggling with. I am currently working with a programmer on trying to develop a communications system server (it's going to be hardware-based) and we would like to use FreeBSD as the base operating system and running our applications on top of it.

Since this is going to be a client/server architecture I would like to know if there is any info on modifying the freebsd FreeBSD OS in order to suit us in terms of what's part of the OS and how we can build stuff within it such as a voice server etc. Would it be possible to get some guide or something on modifying this?

I hope this makes sense, sort of like cusotmizing your linux distro (I know the differences between FreeBSD and linux so please, no flaming ) similar to suse stuido.

Thank you so much for your help in advance!

Last edited by DutchDaemon; December 5th, 2011 at 21:59. Reason: Mind your writing style: http://forums.freebsd.org/showthread.php?t=18043
Reply With Quote
  #2  
Old December 6th, 2011, 08:15
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,694
Thanks: 47
Thanked 2,020 Times in 1,859 Posts
Default

There's a strict separation between the base OS and the ports. In your case you would probably need to create a port.

I'm not sure what 'modifications' you're looking for but I doubt the base OS will need to be modified.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #3  
Old December 6th, 2011, 11:29
fluca1978 fluca1978 is offline
Member
 
Join Date: May 2010
Posts: 661
Thanks: 27
Thanked 60 Times in 57 Posts
Default

If I get it right you want to customize the installation of a FreeBSD system. I've never done it, but I would suggest to have a look at the PC-BSD installer, which can be customized and automated and can install also a "pure" FreeBSD system.
This could help.
Reply With Quote
The Following User Says Thank You to fluca1978 For This Useful Post:
delusion777 (December 7th, 2011)
  #4  
Old December 7th, 2011, 20:36
delusion777 delusion777 is offline
Junior Member
 
Join Date: Dec 2011
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by SirDice View Post
There's a strict separation between the base OS and the ports. In your case you would probably need to create a port.

I'm not sure what 'modifications' you're looking for but I doubt the base OS will need to be modified.
Yeah this is basically the info I was looking for. I was hoping the base OS didn't really need to be modified at least for now though. Thanks for the responses. Problem is I'm based in South Africa and there aren't programming firms here that I find can code what I need, so I'm looking at outsourcing.

Does this mean that all features I need for the operating system have to be created in the form of ports?

Last edited by DutchDaemon; December 8th, 2011 at 03:54. Reason: Mind your writing style: http://forums.freebsd.org/showthread.php?t=18043
Reply With Quote
  #5  
Old December 7th, 2011, 20:52
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,701
Thanks: 429
Thanked 1,757 Times in 1,456 Posts
Default

Ports are generally add-on applications, not modifications to the operating system itself. There are lots of ways of modifying and packaging the operating system. The right one for you will depend on what is being done. Some examples of customized versions of FreeBSD are pfSense, FreeNAS, and PC-BSD. There's also nanoBSD, a way to build a small, embeddable version of FreeBSD.
Reply With Quote
  #6  
Old December 8th, 2011, 08:35
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,694
Thanks: 47
Thanked 2,020 Times in 1,859 Posts
Default

Yes, you can also create 'custom' installs of FreeBSD. Have a look at release(7) and the scripts in /usr/src/release/.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #7  
Old December 8th, 2011, 11:45
delusion777 delusion777 is offline
Junior Member
 
Join Date: Dec 2011
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Alright, well, if you have seen Microsoft Lync, it's a similar system with a few mods and will be a hardware-based platform. I hope this helps?

If you haven't seen Lync, check out http://en.wikipedia.org/wiki/Microsoft_Lync.

But the main features include voip, video, IM etc. I've seen Lync (set up the whole server + client side) and it's okay, but there's quite a few things that Microsoft has done that can be changed to improve the entire system.

I do know that this is a huge project as I'm told by a lot of people, because of maintenance even after the the system is written.

So i guess the question is, how to go around planning a system like this using BSD?

Last edited by DutchDaemon; December 9th, 2011 at 05:23. Reason: Mind your writing style: http://forums.freebsd.org/showthread.php?t=18043
Reply With Quote
  #8  
Old December 9th, 2011, 14:55
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,694
Thanks: 47
Thanked 2,020 Times in 1,859 Posts
Default

I guess this can be done using a custom install script. This functionality already exists. You can tell the installer which parts of the base OS you need and which additional ports will need to be installed.

Have a look at sysinstall(8) and /usr/src/usr.bin/sysinstall/install.cfg.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #9  
Old December 9th, 2011, 15:15
segfault's Avatar
segfault segfault is offline
Junior Member
 
Join Date: Aug 2009
Location: Canada
Posts: 83
Thanks: 55
Thanked 12 Times in 8 Posts
Default

My company just started using Microsoft's Lync and I find it quite lame. It is clunky and boy is it ugly.
Would be nice to see a FreeBSD varient done right.
Best of luck on it!
Reply With Quote
  #10  
Old December 9th, 2011, 16:18
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,701
Thanks: 429
Thanked 1,757 Times in 1,456 Posts
Default

Quote:
Originally Posted by SirDice View Post
I guess this can be done using a custom install script. This functionality already exists. You can tell the installer which parts of the base OS you need and which additional ports will need to be installed.

Have a look at sysinstall(8) and /usr/src/usr.bin/sysinstall/install.cfg.
Except sysinstall is on life support...

After the complete embedded application works on a development system, it needs to be squeezed onto some type of media to go into the target hardware. NanoBSD can do that, or a custom script can do it too. But while final packaging might be nontrivial, it's secondary to developing the actual application.
Reply With Quote
  #11  
Old December 9th, 2011, 16:22
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,694
Thanks: 47
Thanked 2,020 Times in 1,859 Posts
Default

Quote:
Originally Posted by wblock@ View Post
Except sysinstall is on life support...
And rightfully so. Thought about this too but couldn't find the right documentation for the new system.

Regardless, 8.2 is going to be around for a while. Not sure what 8.3 will be using but I suspect 8.x will keep sysinstall(8). While 9.x will use the new system.

For stability reasons I would base the system on 8.x, 9.0 is just too new.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #12  
Old December 9th, 2011, 23:20
delusion777 delusion777 is offline
Junior Member
 
Join Date: Dec 2011
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Wow thanks for all the feedback guys, really appreciate it.

Quote:
Originally Posted by segfault View Post
My company just started using Microsoft's Lync and I find it quite lame. It is clunky and boy is it ugly.
Would be nice to see a FreeBSD varient done right.
Best of luck on it!
Yeah, this is what i want to get around lol, i used Lync for a while and i found it rubbish, so i came up with quite a few things eventually it became too big just to label an improvement.

From a developer’s perspective, what do you think the Base OS would require besides the usual networking tools. Does FreeBSD offer load balancing amongst different systems. Sort of like the HA stuff out there or simple cluster support? And how far does it span?
Reply With Quote
  #13  
Old December 21st, 2011, 10:57
mix_room mix_room is offline
Member
 
Join Date: Aug 2009
Posts: 496
Thanks: 8
Thanked 39 Times in 36 Posts
Default

Quote:
Originally Posted by delusion777 View Post
Does FreeBSD offer load balancing amongst different systems. Sort of like the HA stuff out there or simple cluster support? And how far does it span?
For a start:
http://forums.freebsd.org/showthread.php?t=17133
http://www.freebsd.org/doc/handbook/carp.html
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
vmware-tools and FreeBSD 8.0 m0ps Installation and Maintenance of FreeBSD Ports or Packages 22 August 6th, 2011 18:05
WM customization links graudeejs Other Window Managers 4 February 10th, 2011 23:39
progreiserfs tools help in FreeBSD 8.1-R litu Installing & Upgrading 4 January 21st, 2011 12:24
FreeBSD 7.1: Linux development tools. Where? jamm62 General 2 February 24th, 2009 07:58
The FreeBSD SysAdmin's Favorite Tools APseudoUtopia General 82 December 23rd, 2008 16:48


All times are GMT +1. The time now is 16:05.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0