old-www/HOWTO/Sybase-PHP-Apache/postinst.html

176 lines
3.1 KiB
HTML

<HTML
><HEAD
><TITLE
>Post Install Tasks</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.63
"><LINK
REL="HOME"
TITLE="Sybase-PHP-Apache mini-HOWTO"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="Test the System"
HREF="testsys.html"></HEAD
><BODY
CLASS="SECT1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Sybase-PHP-Apache mini-HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="testsys.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
>&nbsp;</TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="POSTINST"
>8. Post Install Tasks</A
></H1
><P
>After you have a working system, first of all, breath a deep sigh of satisfaction.
(I also suggest eating something.) After this, there are a few post-install tasks you
should perform.</P
><P
>The FIRST thing you should do is change the password for the 'sa' user. By default this
password is blank. To set a password for sa, type the following in isql:</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="PROGRAMLISTING"
> 1&#62; sp_password null, 'new_pass123', 'sa'
2&#62; go</PRE
></FONT
></TD
></TR
></TABLE
><P
>This will set the password. You will now need to pass this as a parameter to sybase_connect.
You will also need to specify it when starting isql, which you can do by using the '-P' switch.</P
><DIV
CLASS="NOTE"
><BLOCKQUOTE
CLASS="NOTE"
><P
><B
>NOTE: </B
>Once you have ste a password, you cannot unset it. (Sybase requires a minumum of six characters
in a password, so '' won't be accepted.)</P
></BLOCKQUOTE
></DIV
><P
>You also may wish to install the Windows client tools. These can be found on a CD if you bought
a cope of ASE from Sybase. Otherwise, if you are using the free 11.0.3.3 version, you can download
a demo of ASE 12.0 for NT, and only install the 'ASE Plugin for Sybase Central', 'ASE ODBC Driver'
and 'Sybase Central' components. </P
><DIV
CLASS="NOTE"
><BLOCKQUOTE
CLASS="NOTE"
><P
><B
>: </B
>I am not sure of the licensing issues involved in using the client tools if you haven't purchased ASE.
Although I don't think it would be a problem, you should contact Sybase directly if you want to be sure.</P
></BLOCKQUOTE
></DIV
><P
>I am open to more hints to put in this section.</P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="testsys.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Test the System</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>&nbsp;</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>