[ale] OpenBSD Webserver
Jay AleList
jay_ale_list at yahoo.com
Tue Feb 22 09:00:35 EST 2005
oops, forgot a few things regarding this:
1. Verify you have the following line:
local_rcconf="/etc/rc.conf.local"
at the bottom of /etc/rc.conf
2. Add mysql=YES line to /etc/rc.conf.local
3. Add the following:
if [ X"${mysql}" == X"YES" -a -x
/usr/local/bin/safe_mysqld ]; then
echo -n " mysqld";
/usr/local/share/mysql/mysql.server start
fi
to /etc/rc.local
Then I think you're golden.......
--- Jay AleList <jay_ale_list at yahoo.com> wrote:
> go to /etc/rc.conf.local, add line mysql=YES
>
>
> --- Jeb Barger <jeb at rev-x.com> wrote:
>
> > Yeah, It's 3.6. Sorry. I will try it. My next
> > question is I installed
> > mysql from ports. What do I add rc.conf to start
> it
> > automatically? I
> > have checked the web and could not find anything.
> >
> > M Raju wrote:
> > > I am assuming you are talking about OpenBSD 3.6
> > and not 4.6 (that's
> > > several releases away:-)). The apache in OpenBSD
> > is chrooted by
> > > default and requires to run it as [httpd="-u"]
> for
> > non-chrooted mode
> > > in /etc/rc.conf or /etc/rc.conf.local. More
> > information at
> > > http://www.openbsd.org/faq/index.html
> > >
> > > Also the best was is to use BSD ports
> > (/usr/ports/www/php4) to install
> > > php and then add the packages from
> > /usr/ports/distfiles/**
> > >
> > > or
> > >
> > > pkg_add -v
> >
>
http://openbsd.mirrors.pair.com/3.6/packages/i386/"package-name.tgz"
> > >
> > > will download and install all the dependencies
> as
> > well. Enjoy!
> > >
> > > _Raju
> > >
> > >
> > > On Mon, 21 Feb 2005 21:17:40 -0600, Jeb Barger
> > <jeb at rev-x.com> wrote:
> > >
> > >>Ok, after stumbling through installing php on my
> > new OpenBSD 4.6 box,
> > >>I'm not sure that php-mysql module is installed.
> > >>
> > >> From phpinfo():
> > >>mod_php4, mod_ssl, mod_keynote, mod_setenvif,
> > mod_so, mod_auth,
> > >>mod_access, mod_alias, mod_userdir, mod_actions,
> > mod_imap, mod_asis,
> > >>mod_cgi, mod_dir, mod_autoindex, mod_include,
> > mod_status,
> > >>mod_negotiation, mod_mime, mod_log_config,
> > mod_env, http_core
> > >>
> > >>Is it installed my default with php4? If it's
> not
> > how do I go about
> > >>installing it?
> > >>_______________________________________________
> > >>Ale mailing list
> > >>Ale at ale.org
> > >>http://www.ale.org/mailman/listinfo/ale
> > >>
> > >
> > >
> > >
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > http://www.ale.org/mailman/listinfo/ale
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250
More information about the Ale
mailing list