From: <re...@us...> - 2008-11-21 19:37:26
|
Revision: 779 http://sciret.svn.sourceforge.net/sciret/?rev=779&view=rev Author: reinerj Date: 2008-11-21 19:37:19 +0000 (Fri, 21 Nov 2008) Log Message: ----------- add changes from PHP install on OpenBSD Modified Paths: -------------- trunk/docs/sciret-install-OpenBSD-EN-images.html trunk/docs/sciret-install-OpenBSD-EN-images.txt trunk/docs/sciret-install-OpenBSD-EN.txt Modified: trunk/docs/sciret-install-OpenBSD-EN-images.html =================================================================== --- trunk/docs/sciret-install-OpenBSD-EN-images.html 2008-11-21 19:14:04 UTC (rev 778) +++ trunk/docs/sciret-install-OpenBSD-EN-images.html 2008-11-21 19:37:19 UTC (rev 779) @@ -451,11 +451,6 @@ <div class="content"> <pre><tt># pkg_add -v -i php5-core</tt></pre> </div></div> -<div class="para"><p>Copy the php.ini file</p></div> -<div class="literalblock"> -<div class="content"> -<pre><tt># cp /usr/local/share/examples/php5/php.ini-recommended /var/www/conf/php.ini</tt></pre> -</div></div> <div class="para"><p>Edit the php.ini file</p></div> <div class="literalblock"> <div class="content"> @@ -474,7 +469,8 @@ <div class="para"><p>And activate the PHP package</p></div> <div class="literalblock"> <div class="content"> -<pre><tt># /usr/local/sbin/phpxs -s</tt></pre> +<pre><tt># ln -s /var/www/conf/modules.sample/php5.conf \ + /var/www/conf/modules</tt></pre> </div></div> <div class="para"><p>And install and activate the follow packages also</p></div> <div class="literalblock"> @@ -483,7 +479,8 @@ </div></div> <div class="literalblock"> <div class="content"> -<pre><tt># /usr/local/sbin/phpxs -a mysql</tt></pre> +<pre><tt># ln -fs /var/www/conf/php5.sample/mysql.ini \ + /var/www/conf/php5/mysql.ini</tt></pre> </div></div> <div class="literalblock"> <div class="content"> @@ -491,7 +488,8 @@ </div></div> <div class="literalblock"> <div class="content"> -<pre><tt># /usr/local/sbin/phpxs -a mcrypt</tt></pre> +<pre><tt># ln -fs /var/www/conf/php5.sample/mcrypt.ini \ + /var/www/conf/php5/mcrypt.ini</tt></pre> </div></div> <div class="literalblock"> <div class="content"> @@ -499,7 +497,8 @@ </div></div> <div class="literalblock"> <div class="content"> -<pre><tt># /usr/local/sbin/phpxs -a mhash</tt></pre> +<pre><tt># ln -fs /var/www/conf/php5.sample/mhash.ini \ + /var/www/conf/php5/mhash.ini</tt></pre> </div></div> <div class="literalblock"> <div class="content"> @@ -507,7 +506,8 @@ </div></div> <div class="literalblock"> <div class="content"> -<pre><tt># /usr/local/sbin/phpxs -a imap/</tt></pre> +<pre><tt># ln -fs /var/www/conf/php5.sample/imap.ini \ + /var/www/conf/php5/imap.ini</tt></pre> </div></div> </td> </tr></table> @@ -539,16 +539,16 @@ # chown www /var/www/tmp</tt></pre> </div></div> <div class="para"><p>The base configuration from the Apache server is finished. Now you need to activate -the webserver that he start on system start. Please change in the file <strong>/etc/rc.conf</strong> -the value from</p></div> +the webserver that he start on system start. Please add to the file +<strong>/etc/rc.conf.local</strong></p></div> <div class="literalblock"> <div class="content"> -<pre><tt>http_flags=NO</tt></pre> +<pre><tt>http_flags=""</tt></pre> </div></div> -<div class="para"><p>to</p></div> +<div class="para"><p>or for SSL support</p></div> <div class="literalblock"> <div class="content"> -<pre><tt>http_flags=""</tt></pre> +<pre><tt>http_flags="-DSSL"</tt></pre> </div></div> </td> </tr></table> @@ -748,6 +748,10 @@ <div class="content"> <pre><tt>... Success!</tt></pre> </div></div> +<div class="para"><p>Cleaning up…</p></div> +<div class="para"><p>All done! If you've completed all of the above steps, your MySQL +installation should now be secure.</p></div> +<div class="para"><p>Thanks for using MySQL!</p></div> </td> </tr></table> </div> @@ -1330,7 +1334,7 @@ </div> <div id="footer"> <div id="footer-text"> -Last updated 2008-11-21 20:09:31 CEST +Last updated 2008-11-21 20:35:59 CEST </div> </div> </body> Modified: trunk/docs/sciret-install-OpenBSD-EN-images.txt =================================================================== --- trunk/docs/sciret-install-OpenBSD-EN-images.txt 2008-11-21 19:14:04 UTC (rev 778) +++ trunk/docs/sciret-install-OpenBSD-EN-images.txt 2008-11-21 19:37:19 UTC (rev 779) @@ -72,10 +72,6 @@ # pkg_add -v -i php5-core -Copy the php.ini file - - # cp /usr/local/share/examples/php5/php.ini-recommended /var/www/conf/php.ini - Edit the php.ini file # vi /var/www/conf/php.ini @@ -90,25 +86,31 @@ And activate the PHP package - # /usr/local/sbin/phpxs -s + # ln -s /var/www/conf/modules.sample/php5.conf \ + /var/www/conf/modules And install and activate the follow packages also # pkg_add -v -i php5-mysql - # /usr/local/sbin/phpxs -a mysql + # ln -fs /var/www/conf/php5.sample/mysql.ini \ + /var/www/conf/php5/mysql.ini # pkg_add -v -i php5-mcrypt - # /usr/local/sbin/phpxs -a mcrypt + # ln -fs /var/www/conf/php5.sample/mcrypt.ini \ + /var/www/conf/php5/mcrypt.ini # pkg_add -v -i php5-mhash - # /usr/local/sbin/phpxs -a mhash + # ln -fs /var/www/conf/php5.sample/mhash.ini \ + /var/www/conf/php5/mhash.ini # pkg_add -v -i php5-imap - # /usr/local/sbin/phpxs -a imap/ + # ln -fs /var/www/conf/php5.sample/imap.ini \ + /var/www/conf/php5/imap.ini + ===================================================================================== After the packages are installed, you need to prepare the OpenBSD Apache to support PHP @@ -132,14 +134,14 @@ # chown www /var/www/tmp The base configuration from the Apache server is finished. Now you need to activate -the webserver that he start on system start. Please change in the file */etc/rc.conf* -the value from +the webserver that he start on system start. Please add to the file +*/etc/rc.conf.local* - http_flags=NO + http_flags="" -to +or for SSL support - http_flags="" + http_flags="-DSSL" ===================================================================================== PHP and the Apache web server are up and running and the first part of your installation @@ -326,6 +328,14 @@ Reload privilege tables now? [Y/n] y ... Success! + +Cleaning up... + +All done! If you've completed all of the above steps, your MySQL +installation should now be secure. + +Thanks for using MySQL! + ===================================================================================== Disabling and configuring Services Modified: trunk/docs/sciret-install-OpenBSD-EN.txt =================================================================== --- trunk/docs/sciret-install-OpenBSD-EN.txt 2008-11-21 19:14:04 UTC (rev 778) +++ trunk/docs/sciret-install-OpenBSD-EN.txt 2008-11-21 19:37:19 UTC (rev 779) @@ -72,10 +72,6 @@ # pkg_add -v -i php5-core -Copy the php.ini file - - # cp /usr/local/share/examples/php5/php.ini-recommended /var/www/conf/php.ini - Edit the php.ini file # vi /var/www/conf/php.ini @@ -90,25 +86,31 @@ And activate the PHP package - # /usr/local/sbin/phpxs -s + # ln -s /var/www/conf/modules.sample/php5.conf \ + /var/www/conf/modules And install and activate the follow packages also # pkg_add -v -i php5-mysql - # /usr/local/sbin/phpxs -a mysql + # ln -fs /var/www/conf/php5.sample/mysql.ini \ + /var/www/conf/php5/mysql.ini # pkg_add -v -i php5-mcrypt - # /usr/local/sbin/phpxs -a mcrypt + # ln -fs /var/www/conf/php5.sample/mcrypt.ini \ + /var/www/conf/php5/mcrypt.ini # pkg_add -v -i php5-mhash - # /usr/local/sbin/phpxs -a mhash + # ln -fs /var/www/conf/php5.sample/mhash.ini \ + /var/www/conf/php5/mhash.ini # pkg_add -v -i php5-imap - # /usr/local/sbin/phpxs -a imap/ + # ln -fs /var/www/conf/php5.sample/imap.ini \ + /var/www/conf/php5/imap.ini + ===================================================================================== After the packages are installed, you need to prepare the OpenBSD Apache to support PHP @@ -132,14 +134,14 @@ # chown www /var/www/tmp The base configuration from the Apache server is finished. Now you need to activate -the webserver that he start on system start. Please change in the file */etc/rc.conf* -the value from +the webserver that he start on system start. Please add to the file +*/etc/rc.conf.local* - http_flags=NO + http_flags="" -to +or for SSL support - http_flags="" + http_flags="-DSSL" ===================================================================================== PHP and the Apache web server are up and running and the first part of your installation This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |