LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
Search this Thread
Old 06-12-2005, 11:50 AM   #1
kernelvn
Member
 
Registered: Aug 2004
Posts: 91

Rep: Reputation: 15
compile software by tar package


I've compile mysql by hand in my freeBSD 5.4 not from the port . It run ok but I would like to make it start from boottime . The way I did was :

./configure --prefix=/usr/local/mysql
make
make install

I'm newbe in FreeBSD, please help me to understand more about the architech of freeBSD , the fastest OS I've ever seen
 
Old 06-12-2005, 12:11 PM   #2
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 50
put the command you use to start it, in a file(executable) in the directory /usr/local/etc/rc.d.

Code:
cd /usr/local/etc/rc.d;
echo mysqlStartupCommand --parameters_I_Use > mysql.sh;
chmod +x mysql.sh
 
Old 06-12-2005, 12:17 PM   #3
kernelvn
Member
 
Registered: Aug 2004
Posts: 91

Original Poster
Rep: Reputation: 15
and add mysql_enable="YES" in the /etc/rc.conf

I'm very curious about how freeBSD could read something_enable in /etc/rc.conf and then go to the /usr/local/etc/rc.d/ and start somescript.sh ? Any relation about something and somescript ?

Give me more about it , mrcheeks .
Thank in advance
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
install srgp.tar.z package csst0136 Linux - Software 6 10-22-2005 06:25 PM
package installation from tar.gz fnoyan Linux - Software 3 03-04-2005 02:46 PM
installing a tgz.tar package? onegear Slackware 28 09-03-2004 05:57 PM
Error while installing package.tar.tar isone Linux - Software 2 11-03-2003 11:58 AM
Install HCF driver from TAR package snowbaby Linux - Newbie 4 05-02-2002 01:18 AM


All times are GMT -5. The time now is 02:56 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration