Re: Linux migration
Norberto Meijome wrote: On Thu, 23 Mar 2006 14:47:54 + Wayne [EMAIL PROTECTED] wrote: Also another thing that I was thinking about since my original mail, things like chkconfig and commands like say 'service network restart'. Does such a thing like a redhat layer type project exist so that emgineers who must convert to freebsd have as much of the day to day commands available to them while retraining? RHE has its ways, fbsd has others. it's not that hard to carry over really...you can make an simple cheatsheet for your engineeres. Or, see below. IMHO, it's quite simple in Freebsd: - if service is part of the base os, script is located in /etc/rc.d - if service is something you have installed, it's located in /usr/local/etc/rc.d Likewise, configuration for base services go in /etc, configuration for ports goes in /usr/local/etc/ ( If you can't tell what is part of the base OS or what is added...you may have other issues at hand :) ) Since you don't have the SysV style scripts in BSD, what gets run (base-system or added-from-ports) is defined in /etc/rc.conf (default options for base services are in /etc/defaults/rc.conf . options for services from ports are usually in the port documentation or the startup script) Regardless of this, scripts in either /etc/rc.d or /usr/local/etc/rc.d/ take the same params as RHE : start, stop, restart, status (+ custom ones in some services/ports). so 'service network restart' = /etc/rc.d/netif restart Very good --- and, to ease transition: echo alias 'service network restart' echo 'Did you mean /etc/rc.d/netif restart?' ~/.cshrc Of course, two issues: shell globbing and the fact that they'll be expecting bash. Probably the former is of more consequence, as neither sh/bash nor csh/tcsh seem to want to accept spaces in commands. Bash is available in ports, so using it for wheel level accounts should be fine; the OP should be cautioned about replacing root's shell, though (Bad Idea(tm), AFAIK). Nonetheless, it might be a good idea to hack together some kind of reminder script for some of the RH commands; note, as a somewhat related example, how many FTPD's accept both ls and dir You could (and I have, before) alias RHcommand FBSDequivalent, but that ends up not teaching anybody anything, and adds a layer of murk between the user and the OS; a layer that is not needed and detrimental for the most part. Shouldn't take any major corporate effort, and could be quite helpful. My $0.02, Kevin Kinsey -- My favorite sandwich is peanut butter, baloney, cheddar cheese, lettuce and mayonnaise on toasted bread with catsup on the side. -- Senator Hubert Humphrey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Linux migration
On Sun, 02 Apr 2006 12:40:21 -0500 Kevin Kinsey [EMAIL PROTECTED] wrote: Nonetheless, it might be a good idea to hack together some kind of reminder script for some of the RH commands; note, as a somewhat related example, how many FTPD's accept both ls and dir You could (and I have, before) alias RHcommand FBSDequivalent, but that ends up not teaching anybody anything, and adds a layer of murk between the user and the OS; a layer that is not needed and detrimental for the most part. nice one... /usr/ports/sysutils/rh-transition ? :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Linux migration
On Thu, 23 Mar 2006 14:47:54 + Wayne [EMAIL PROTECTED] wrote: Also another thing that I was thinking about since my original mail, things like chkconfig and commands like say 'service network restart'. Does such a thing like a redhat layer type project exist so that emgineers who must convert to freebsd have as much of the day to day commands available to them while retraining? RHE has its ways, fbsd has others. it's not that hard to carry over really...you can make an simple cheatsheet for your engineeres. IMHO, it's quite simple in Freebsd: - if service is part of the base os, script is located in /etc/rc.d - if service is something you have installed, it's located in /usr/local/etc/rc.d Likewise, configuration for base services go in /etc, configuration for ports goes in /usr/local/etc/ ( If you can't tell what is part of the base OS or what is added...you may have other issues at hand :) ) Since you don't have the SysV style scripts in BSD, what gets run (base-system or added-from-ports) is defined in /etc/rc.conf (default options for base services are in /etc/defaults/rc.conf . options for services from ports are usually in the port documentation or the startup script) Regardless of this, scripts in either /etc/rc.d or /usr/local/etc/rc.d/ take the same params as RHE : start, stop, restart, status (+ custom ones in some services/ports). so 'service network restart' = /etc/rc.d/netif restart etc ( I realise you probably know all this, but i have been asked this quite a few times...so I might as well put it down for the archives :) Hope it helped someone :) Best, Beto ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Linux migration
Hey Guys, Can anybody point me to some good resources on mingrating from Linux to FreeBSD? Since the threads issue which would have had detrimental effects on MySQL on FreeBSD has been sorted out with FreeBSD 5 we are looking at the possibility of migrating from RHEL to FreeBSD for our web services. Does anybody have any links to some good resources on migration from Linux to FreeBSD, I know google is my friend but I was hoping that some folks on here might have an idea of 'best of' that I can use for presenting the case... Thanks, Wayne ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Linux migration
On 3/23/06, Wayne [EMAIL PROTECTED] wrote: Hey Guys, Can anybody point me to some good resources on mingrating from Linux to FreeBSD? Since the threads issue which would have had detrimental effects on MySQL on FreeBSD has been sorted out with FreeBSD 5 we are looking at the possibility of migrating from RHEL to FreeBSD for our web services. Does anybody have any links to some good resources on migration from Linux to FreeBSD, I know google is my friend but I was hoping that some folks on here might have an idea of 'best of' that I can use for presenting the case... Thanks, Wayne ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] It really depends. If your setup is exotic and complex, I dont think you will ever be able to find a guide. On the other hand, if your setup is simple (eg, PHP+Apache+MySQL, not clustered) then the migration is so simple, you wont even need a guide. Your best bet is to set up a box with FreeBSD, configure it to your liking, install the software you need, and just simply copy over the configuration files, database files and user files over to the FreeBSD box. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Linux migration
Daniel A. wrote: On 3/23/06, Wayne [EMAIL PROTECTED] wrote: Hey Guys, Can anybody point me to some good resources on mingrating from Linux to FreeBSD? Since the threads issue which would have had detrimental effects on MySQL on FreeBSD has been sorted out with FreeBSD 5 we are looking at the possibility of migrating from RHEL to FreeBSD for our web services. Does anybody have any links to some good resources on migration from Linux to FreeBSD, I know google is my friend but I was hoping that some folks on here might have an idea of 'best of' that I can use for presenting the case... Thanks, Wayne ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] It really depends. If your setup is exotic and complex, I dont think you will ever be able to find a guide. On the other hand, if your setup is simple (eg, PHP+Apache+MySQL, not clustered) then the migration is so simple, you wont even need a guide. Your best bet is to set up a box with FreeBSD, configure it to your liking, install the software you need, and just simply copy over the configuration files, database files and user files over to the FreeBSD box. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Here is a resource http://www.freebsdonline.com/index.php?option=com_contenttask=viewid=30Itemid=46 with all needed packages to run under your webserver CMS software like Mambo or Joomla. If you use other version than 5.4, the packages versions might differ, but you can find the correct version by ftping to freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Linux migration
Hi Daniel, Thanks for your email. I have already done this, but I was looking more From the perspective of other companies who have done similar, case studies type things. Would help me out a great deal with my presentation. Also another thing that I was thinking about since my original mail, things like chkconfig and commands like say 'service network restart'. Does such a thing like a redhat layer type project exist so that emgineers who must convert to freebsd have as much of the day to day commands available to them while retraining? Higher ups like knowing things will be as smooth as possible and most of the inhouse experience is with RHEL so I don't want to end up lumping a lot of extra work on the people with freebsd experience... Thanks, Wayne On 23/03/2006 14:35, Daniel A. [EMAIL PROTECTED] wrote: On 3/23/06, Wayne [EMAIL PROTECTED] wrote: Hey Guys, Can anybody point me to some good resources on mingrating from Linux to FreeBSD? Since the threads issue which would have had detrimental effects on MySQL on FreeBSD has been sorted out with FreeBSD 5 we are looking at the possibility of migrating from RHEL to FreeBSD for our web services. Does anybody have any links to some good resources on migration from Linux to FreeBSD, I know google is my friend but I was hoping that some folks on here might have an idea of 'best of' that I can use for presenting the case... Thanks, Wayne ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] It really depends. If your setup is exotic and complex, I dont think you will ever be able to find a guide. On the other hand, if your setup is simple (eg, PHP+Apache+MySQL, not clustered) then the migration is so simple, you wont even need a guide. Your best bet is to set up a box with FreeBSD, configure it to your liking, install the software you need, and just simply copy over the configuration files, database files and user files over to the FreeBSD box. -- ** Email Scanned by Elive's Virus Scanning Service - http://www.elive.net ** ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Linux migration
Hi Daniel, Thanks for your email. I have already done this, but I was looking more From the perspective of other companies who have done similar, case studies type things. Would help me out a great deal with my presentation. Also another thing that I was thinking about since my original mail, things like chkconfig and commands like say 'service network restart'. Does such a thing like a redhat layer type project exist so that emgineers who must convert to freebsd have as much of the day to day commands available to them while retraining? If you really want to run in RedHat land, then just run RedHat. FreeBSD has its own tools - some of them with the same or similar name and some different that will do what you need just fine. But they won't turn FreeBSD in to RedHat. Probably it will be better. jerry Higher ups like knowing things will be as smooth as possible and most of the inhouse experience is with RHEL so I don't want to end up lumping a lot of extra work on the people with freebsd experience... Thanks, Wayne On 23/03/2006 14:35, Daniel A. [EMAIL PROTECTED] wrote: On 3/23/06, Wayne [EMAIL PROTECTED] wrote: Hey Guys, Can anybody point me to some good resources on mingrating from Linux to FreeBSD? Since the threads issue which would have had detrimental effects on MySQL on FreeBSD has been sorted out with FreeBSD 5 we are looking at the possibility of migrating from RHEL to FreeBSD for our web services. Does anybody have any links to some good resources on migration from Linux to FreeBSD, I know google is my friend but I was hoping that some folks on here might have an idea of 'best of' that I can use for presenting the case... Thanks, Wayne ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] It really depends. If your setup is exotic and complex, I dont think you will ever be able to find a guide. On the other hand, if your setup is simple (eg, PHP+Apache+MySQL, not clustered) then the migration is so simple, you wont even need a guide. Your best bet is to set up a box with FreeBSD, configure it to your liking, install the software you need, and just simply copy over the configuration files, database files and user files over to the FreeBSD box. -- ** Email Scanned by Elive's Virus Scanning Service - http://www.elive.net ** ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Linux migration
On 23/03/2006 14:54, Jerry McAllister [EMAIL PROTECTED] wrote: If you really want to run in RedHat land, then just run RedHat. FreeBSD has its own tools - some of them with the same or similar name and some different that will do what you need just fine. But they won't turn FreeBSD in to RedHat. Probably it will be better. jerry That's a fair point jerry, I was just wondering if something like that existed. I prefer a lot of parts of FreeBSD to RHEL especially dealing with the kernel. It was just a thought.. Thanks all the same for you input though.. Regards, Wayne ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Linux migration
On 3/23/06, Wayne [EMAIL PROTECTED] wrote: On 23/03/2006 14:54, Jerry McAllister [EMAIL PROTECTED] wrote: If you really want to run in RedHat land, then just run RedHat. FreeBSD has its own tools - some of them with the same or similar name and some different that will do what you need just fine. But they won't turn FreeBSD in to RedHat. Probably it will be better. jerry That's a fair point jerry, I was just wondering if something like that existed. I prefer a lot of parts of FreeBSD to RHEL especially dealing with the kernel. It was just a thought.. Thanks all the same for you input though.. Regards, Wayne ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Well, basically the point of changing to a different OS is lost if you try to make the new system act like the old one. I'm not trying to decide anything for you, but if I were to be in your situation, I would either switch to FreeBSD because there is a clear reason for me not to stay with Linux, or because there is a clear reason for me to prefer FreeBSD. In your case, however, it seems that neither is clear. Back on topic. You could ask the users of the system you are wanting to migrate (The ones who will be directly affected by the changes) if they are willing to do things the FreeBSD way instead of the Linux way. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]