From owner-freebsd-stable@FreeBSD.ORG Fri Jul 16 13:52:01 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4BC0916A4CE for ; Fri, 16 Jul 2004 13:52:01 +0000 (GMT) Received: from alogis.com (firewall.solit-ag.de [212.184.102.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55ED043D2D for ; Fri, 16 Jul 2004 13:51:58 +0000 (GMT) (envelope-from Holger.Kipp@alogis.com) Received: (from hk@localhost) by alogis.com (8.11.1/8.9.3) id i6GDpCf47895; Fri, 16 Jul 2004 15:51:12 +0200 (CEST) (envelope-from hk) Date: Fri, 16 Jul 2004 15:51:12 +0200 From: Holger Kipp To: ananth_G Message-ID: <20040716155112.A38157@intserv.int1.b.intern> References: <1089981839.1957.3.camel@tdl-b3037.satyam.net.in> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <1089981839.1957.3.camel@tdl-b3037.satyam.net.in>; from ananth_g@sifycorp.com on Fri, Jul 16, 2004 at 06:14:00PM +0530 cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD newbie Problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jul 2004 13:52:01 -0000 On Fri, Jul 16, 2004 at 06:14:00PM +0530, ananth_G wrote: > im new to freeBSD. ive been using linux( mostly redhat and mandrake, and > slackware) , lately i have moved to unix. > what are the startup script files that get executed during boot? > httpd gets started automatically in the system i work. i tired searching > /etc/rc.conf , but i couldnt find an entry for httpd. is there any other > startup script? As a start, you might like to look at the FreeBSD handbook, available via web and also in some other formats (eg pdf). Further readings: -> www.freebsd.org, www.daemonnews.org, www.google.com/bsd Have a look at: - /etc/rc which will run all the configuration scripts (/etc/rc.*) according to their dependencies. - programs from userland usually have a start script located at /usr/local/etc/rc.d/ see http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/configtuning-starting-services.html - if you install a program from the ports, eg # cd /usr/ports/www/apache13-modssl # make package # make clean it will install a start script in /usr/local/etc/rc.d/ automagically (eg ".sample") - to get all packages in one directory, you should create /usr/ports/packages/All/ as root before creating them - you might consider installing /usr/ports/sysutils/portupgrade - to cvsup, you need to install cvsup. best for starters is to get a precompiled package from ftp.freebsd.org instead of compiling it from ports (/usr/ports/net/cvsup-without-gui) Precompiled packages can be installed via pkg_add. Packages can be deletev dia pkg_delete. Installed port can be upgraded via portupgrade. More info about installed packages is available via pkg_info. - read the manpages. they are there for a reason :-) - for upgrading / configuring your kernel/system, read the handbook. http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/synching.html I usually go with # cd /usr/src # make update (if connected to the internet, cvsup installed) # make -j8 buildworld # make buildkernel KERNCONF=MYCONFIG => see /usr/src/sys/i386/conf/GENERIC and LINT # make installkernel KERNCONF=MYCONFIG # reboot (boot to singleuser!) # mergemaster -p # make installworld # mergemaster # reboot Have I mentioned reading the handbook? Regards, Holger Kipp