<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SUSE &#38; openSUSE &#187; WebServer</title>
	<atom:link href="http://www.susegeek.com/category/webserver/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.susegeek.com</link>
	<description>Tips,Tricks, Tutorials,How Tos and Troubleshooting suse linux</description>
	<lastBuildDate>Wed, 30 Dec 2009 05:17:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<image>
<link>http://www.susegeek.com</link>
<url>http://www.susegeek.com/wp-content/mbp-favicon/favicon.ico</url>
<title>SUSE &amp; openSUSE</title>
</image>
		<item>
		<title>Install &amp; Configure LAMP (Apache/MySQL/PHP) in openSUSE 11.0</title>
		<link>http://www.susegeek.com/internet-browser/install-configure-lamp-apachemysqlphp-in-opensuse-110/</link>
		<comments>http://www.susegeek.com/internet-browser/install-configure-lamp-apachemysqlphp-in-opensuse-110/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 21:59:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Internet & Browser]]></category>
		<category><![CDATA[WebServer]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[opensuse]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[phpMyAdmin]]></category>

		<guid isPermaLink="false">http://www.susegeek.com/?p=155</guid>
		<description><![CDATA[
One of the many popular combinations in Linux is the LAMP setup. LAMP to expand is Linux Apache MySQL PHP. Most of the websites running on the internet these days or LAMP servers where
Linux is your flavor opensource operating system (openSUSE for us  )
Apache2 is the master webserver on the planet
MySQL is your favorite [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--><br />
One of the many popular combinations in Linux is the LAMP setup. LAMP to expand is Linux Apache MySQL PHP. Most of the websites running on the internet these days or LAMP servers where</p>
<p><strong>Linux</strong> is your flavor opensource operating system (openSUSE for us <img src='http://www.susegeek.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> )<br />
<strong>Apache2</strong> is the master webserver on the planet<br />
<strong>MySQL</strong> is your favorite opensource database<br />
<strong>PHP</strong> is the popular web programming language</p>
<p><span id="more-155"></span><br />
The easiest way to get the LAMP server installed would be to install LAMP from the YaST GUI as follows:</p>
<p>1. Computers &#8211; YaST &#8211; Install Software &#8211; Set filter to &#8220;Patterns&#8221; then select and accept &#8220;Web and LAMP&#8221; under Server functions. But, this installs things we don&#8217;t need from LAMP perpesctive like DNS, Perl modules etc.<br />
<a href="http://www.susegeek.com/wp-content/uploads/2008/07/yast2-lamp.png"><img class="alignnone size-medium wp-image-156" title="yast2-lamp" src="http://www.susegeek.com/wp-content/uploads/2008/07/yast2-lamp-300x208.png" alt="LAMP Installation from YaST" width="300" height="208" /></a></p>
<p>I prefer the manual option to setup a LAMP Server.</p>
<p>So without wasting much of time, lets proceed to get LAMP up and running on your openSUSE in no time. I&#8217;m using openSUSE 11.0 but the procedure should equally work on earlier 10.3 and other 10.2 versions.</p>
<p><span style="text-decoration: underline;"><strong>Install &amp; Configure Apache2 Webserver</strong></span></p>
<p><span style="text-decoration: underline;"><strong>Install Apache webserver</strong></span></p>
<blockquote><p><strong>opensuse11:~ # yast2 &#8211;install apache2</strong></p></blockquote>
<p>This should install apache webserver. To check try the following command:</p>
<blockquote><p><strong>opensuse11:~ # rcapache2 status</strong><br />
Checking for httpd2:                                          unused</p></blockquote>
<p>That tells you, the Apache webserver is installed but just not started yet.</p>
<p>To test if the webserver serves pages, add a file index.html into /srv/www/htdocs/ directory. This is the default web root directory for apache on your system.</p>
<blockquote><p><strong>opensuse11:~ # cd /srv/www/htdocs<br />
opensuse11:~ # vi index.html</strong></p></blockquote>
<p>and enter some text say &#8220;<em><strong>Welcome to openSUSE 11.0</strong></em>&#8221;</p>
<p><span style="text-decoration: underline;"><strong>Start Apache2 Webserver</strong></span></p>
<p>Now start the Apache 2 webserver so we can check if it works OK.</p>
<blockquote><p><strong>opensuse11:~ # rcapache2 start<br />
</strong>Starting httpd2 (prefork)                                         done</p></blockquote>
<p>Now, open a web browser like Firefox and go to http://localhost and you should see the ext you entered (here &#8220;Welcome to openSUSE 11.0&#8243;)</p>
<p>Let&#8217;s proceed to install PHP5</p>
<p><span style="text-decoration: underline;"><strong>Install PHP5</strong></span></p>
<blockquote><p><strong>opensuse11:~ # yast2 &#8211;install php5 php5-mysql apache2-mod_php5</strong></p></blockquote>
<p>This should install PHP5, PHP5-MySQL module and the Apache2 PHP5 module.</p>
<p>For Apache2 to enable the PHP5 module, restart for changes to take effect.</p>
<blockquote><p><strong>opensuse11:~ # rcapache2 restart<br />
</strong>Syntax OK<br />
Shutting down httpd2 (waiting for all children to terminate)          done<br />
Starting httpd2 (prefork)                                                          done</p></blockquote>
<p><span style="text-decoration: underline;"><strong>Install &amp; configure MySQL</strong></span></p>
<blockquote><p><strong>opensuse11:~ # yast2 &#8211;install mysql mysql-tools</strong></p></blockquote>
<p>This should install MySQL Database Server and options mysql-tools (for administration) on your openSUSE. To check the installation, run the following command:</p>
<blockquote><p><strong>opensuse11:~ # rcmysql status<br />
</strong>Checking for service MySQL:                                           unused</p></blockquote>
<p>The above indicates that the MySQL Server is installed but not started yet.</p>
<p><span style="text-decoration: underline;"><strong>Start MySQL Server</strong></span></p>
<blockquote><p><strong>opensuse11:~ # rcmysql start<br />
</strong>Starting service MySQL                                                done</p></blockquote>
<p>By default there is no root password set for MySQL and it is important to set the password for the ROOT account.</p>
<p><span style="text-decoration: underline;"><strong>Set Root Password<br />
</strong></span></p>
<blockquote><p><strong>opensuse11:~ # mysqladmin -u root -p rootpassword<br />
</strong></p></blockquote>
<p>This should set the root password as &#8220;rootpassword&#8221;. Set the password to something more appropriate.</p>
<p>To check if Root password is set and the MySQL Client can logon to the MySQL Server try the following:</p>
<blockquote><p><strong>opensuse11:~ # mysql -u root -p<br />
</strong>Enter password:<br />
Welcome to the MySQL monitor.  Commands end with ; or \g.<br />
Your MySQL connection id is 1<br />
Server version: 5.0.51a SUSE MySQL RPM</p>
<p>Type &#8216;help;&#8217; or &#8216;\h&#8217; for help. Type &#8216;\c&#8217; to clear the buffer.</p>
<p><strong>mysql&gt; show databases;</strong><br />
+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+<br />
| Database           |<br />
+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+<br />
| information_schema |<br />
| mysql              |<br />
| test               |<br />
+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+<br />
3 rows in set (0.04 sec)</p>
<p>mysql&gt;</p></blockquote>
<p>In the above, I used mysql client to logon as root, entered the password and list the databases. That completes the installation of LAMP on openSUSE 11.0</p>
<p>To administer MySQL database, the easiest and the popular tool is phpMyAdmin, given that we have discussed PHP5, apache2 setup here which are required for phpMyAdmin, it makes sense to look at quickly setting up and configure phpMyAdmin</p>
<p><span style="text-decoration: underline;"><strong>Install phpMyAdmin</strong></span></p>
<blockquote><p><strong>opensuse11:~ # yast2 &#8211;install phpMyAdmin</strong></p></blockquote>
<p>This installs phpMyAdmin and setup a website at /srv/www/htdocs/phpMyAdmin directory. Change directory and use the sample config file to quickly setup phpMyAdmin.</p>
<blockquote><p><strong>opensuse11:~ # cd /srv/www/htdocs/phpMyAdmin<br />
opensuse11:~ # cp config.sample.inc.php config.inc.php</strong></p></blockquote>
<p>Edit the file and look for</p>
<blockquote><p><span style="color: #339966;"><strong><br />
$cfg['blowfish_secret'] = &#8216;mysqladmin&#8217;;</strong></span></p></blockquote>
<p>Enter a value for blowfish secret (I&#8217;ve set it to mysqladmin here)</p>
<p>Thats done and has the default configs on it. Logon to phpMyAdmin from <strong>http://localhost/phpMyAdmin</strong> with the MySQL root username and password.</p>
<p>For advanced documentation, <a title="phpMyAdmin advanced configuration" href=" http://localhost/phpMyAdmin/Documentation.html#config" target="_self">click here</a></p>
<p><a href="http://www.susegeek.com/wp-content/uploads/2008/07/phpmyadmin.png"><img class="alignnone size-medium wp-image-157" title="phpmyadmin" src="http://www.susegeek.com/wp-content/uploads/2008/07/phpmyadmin-300x179.png" alt="phpMyAdmin Login" width="300" height="179" /></a></p>
<p><a href="http://www.susegeek.com/wp-content/uploads/2008/07/phpmyadminloggedin.png"><img class="alignnone size-medium wp-image-158" title="phpmyadminloggedin" src="http://www.susegeek.com/wp-content/uploads/2008/07/phpmyadminloggedin-300x187.png" alt="phpMyAdmin in Action" width="300" height="187" /></a></p>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.susegeek.com/monitoring/1-click-installs-for-nagios-addons-plugins-in-opensuse-11-0/" title="1-click installs for Nagios Addons &#038; plugins in openSUSE 11.0 (August 10, 2009)">1-click installs for Nagios Addons &#038; plugins in openSUSE 11.0</a> (3)</li>
	<li><a href="http://www.susegeek.com/monitoring/1-click-installs-for-nagios-in-opensuse-11-1/" title="1-click installs for Nagios in openSUSE 11.1 (August 10, 2009)">1-click installs for Nagios in openSUSE 11.1</a> (0)</li>
	<li><a href="http://www.susegeek.com/multimedia/abby-gui-addons-utilities-for-clivecclive/" title="abby GUI &#038; addons utilities for Clive/CClive (June 23, 2009)">abby GUI &#038; addons utilities for Clive/CClive</a> (1)</li>
	<li><a href="http://www.susegeek.com/office-productivity/abiword-free-opensource-word-processor-for-opensuse-linux/" title="AbiWord &#8211; Free opensource Word Processor for openSUSE Linux (September 11, 2008)">AbiWord &#8211; Free opensource Word Processor for openSUSE Linux</a> (2)</li>
	<li><a href="http://www.susegeek.com/multimedia/acetoneiso2-a-full-feature-rich-imageiso-tool-for-opensuse/" title="Acetoneiso2 &#8211; A full feature rich Image/ISO tool for openSUSE (August 22, 2008)">Acetoneiso2 &#8211; A full feature rich Image/ISO tool for openSUSE</a> (6)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.susegeek.com/internet-browser/install-configure-lamp-apachemysqlphp-in-opensuse-110/feed/</wfw:commentRss>
		<slash:comments>58</slash:comments>
		</item>
		<item>
		<title>Starting httpd2 (prefork) /usr/sbin/httpd2-prefork: symbol lookup error: /usr/sbin/httpd2-prefork: undefined symbol: apr_atomic_xchgptr</title>
		<link>http://www.susegeek.com/webserver/starting-httpd2-prefork-usrsbinhttpd2-prefork-symbol-lookup-error-usrsbinhttpd2-prefork-undefined-symbol-apr_atomic_xchgptr/</link>
		<comments>http://www.susegeek.com/webserver/starting-httpd2-prefork-usrsbinhttpd2-prefork-symbol-lookup-error-usrsbinhttpd2-prefork-undefined-symbol-apr_atomic_xchgptr/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 21:53:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WebServer]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[apr_atomic_xchgptr]]></category>
		<category><![CDATA[httpd2]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[opensuse]]></category>
		<category><![CDATA[suse]]></category>

		<guid isPermaLink="false">http://www.susegeek.com/?p=139</guid>
		<description><![CDATA[&#60;!&#8211;adsense&#8211;&#62;
After upgrading from Apache2.2.8 to Aache2-2.2.9-22.1, you may have the following error while starting Apache2 webserver. This can happen on openSUSE or SUSE Linux
Starting httpd2 (prefork) /usr/sbin/httpd2-prefork: symbol lookup error: /usr/sbin/httpd2-prefork: undefined symbol: apr_atomic_xchgptr

To resolve this problem, update the following packages:
libapr-util
libapr1
apache-utils

opensuse11:~ # yast2 &#8211;update libapr1 libapr-util apache-utils
This should resolve the problem.

	Related posts
	
	1-click installs for Nagios [...]]]></description>
			<content:encoded><![CDATA[<p>&lt;!&#8211;adsense&#8211;&gt;</p>
<p>After upgrading from Apache2.2.8 to Aache2-2.2.9-22.1, you may have the following error while starting Apache2 webserver. This can happen on openSUSE or SUSE Linux<br />
<span style="color: #ff0000;"><strong>Starting httpd2 (prefork) /usr/sbin/httpd2-prefork: symbol lookup error: /usr/sbin/httpd2-prefork: undefined symbol: apr_atomic_xchgptr<br />
</strong></span><span id="more-139"></span></p>
<p>To resolve this problem, update the following packages:</p>
<blockquote><p><strong>libapr-util<br />
libapr1<br />
apache-utils<br />
</strong></p></blockquote>
<blockquote><p><strong>opensuse11:~ # yast2 &#8211;update libapr1 libapr-util apache-utils</strong></p></blockquote>
<p>This should resolve the problem.</p>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.susegeek.com/monitoring/1-click-installs-for-nagios-addons-plugins-in-opensuse-11-0/" title="1-click installs for Nagios Addons &#038; plugins in openSUSE 11.0 (August 10, 2009)">1-click installs for Nagios Addons &#038; plugins in openSUSE 11.0</a> (3)</li>
	<li><a href="http://www.susegeek.com/monitoring/1-click-installs-for-nagios-in-opensuse-11-1/" title="1-click installs for Nagios in openSUSE 11.1 (August 10, 2009)">1-click installs for Nagios in openSUSE 11.1</a> (0)</li>
	<li><a href="http://www.susegeek.com/multimedia/abby-gui-addons-utilities-for-clivecclive/" title="abby GUI &#038; addons utilities for Clive/CClive (June 23, 2009)">abby GUI &#038; addons utilities for Clive/CClive</a> (1)</li>
	<li><a href="http://www.susegeek.com/office-productivity/abiword-free-opensource-word-processor-for-opensuse-linux/" title="AbiWord &#8211; Free opensource Word Processor for openSUSE Linux (September 11, 2008)">AbiWord &#8211; Free opensource Word Processor for openSUSE Linux</a> (2)</li>
	<li><a href="http://www.susegeek.com/multimedia/acetoneiso2-a-full-feature-rich-imageiso-tool-for-opensuse/" title="Acetoneiso2 &#8211; A full feature rich Image/ISO tool for openSUSE (August 22, 2008)">Acetoneiso2 &#8211; A full feature rich Image/ISO tool for openSUSE</a> (6)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.susegeek.com/webserver/starting-httpd2-prefork-usrsbinhttpd2-prefork-symbol-lookup-error-usrsbinhttpd2-prefork-undefined-symbol-apr_atomic_xchgptr/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
