<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="home" title="HomePage" href="HomePage.html" />
<link rel="help" title="HowToUseWiki" href="HowToUseWiki.html" />
<link rel="copyright" title="GNU General Public License" href="http://www.gnu.org/copyleft/gpl.html#SEC1" />
<link rel="author" title="The PhpWiki Programming Team" href="http://phpwiki.org/ThePhpWikiProgrammingTeam" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Language" content="en" />
<meta name="robots" content="noindex,nofollow" />
<meta name="language" content="en" />
<meta name="document-type" content="Public" />
<meta name="document-rating" content="General" />
<meta name="generator" content="PhpWiki" />
<meta name="PHPWIKI_VERSION" content="1.3.14" />

<link rel="stylesheet" type="text/css" charset="iso-8859-1" href="phpwiki-printer.css" />
<title>PhpWiki - SME6.5 Contribs</title>
</head>
<body>

<div id="header">
  
<!-- Page title -->
<h1>SME6.5 Contribs</h1>
</div>
<div id="content">



<div class="wikitext"><h4>Introduction</h4>
<h2>Please read this first</h2>
<p class="tightenable top">This wiki pages contains scripts to install contrib addons for SME 6.5, which is still not final.  I would encourage you to wait for the final version and only add the contribs that you absolutely need if system stability is of importance to you.  <b>Adding any contribs will most likely impair you from easily updating to future versions of SME</b>, including 7.0, which is under development now.  So does that mean you shouldn't add any contribs?  I would again recommend only to add what you really need.</p>
<h3>Updates</h3>
<ul><li class="tightenable top bottom">Yum</li>
<li class="tightenable top bottom">MySQL 4.0.24</li>
<li class="tightenable top bottom">PHP and Horde3/IMP4 (webmail)</li>
</ul>
<p class="tightenable top bottom"><br /></p>
<h2>These are not official updates and no support or warranty is provided.<br /></h2>
<p class="tightenable top bottom">Use on a fresh install of 6.5RC1 only.<br />
<br /></p>
<h4>Wiki Page revision information</h4>
<p class="tightenable top bottom">Look here to see what changes have been made to this page.<br />
<a href="SME6.5UpdateScripts.html" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />SME6.5UpdateScripts&amp;action=PageHistory</span></a><br />
<a href="SME6.5Contribs.html" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />SME6.5Contribs&amp;action=PageHistory</span></a><br />
<br /></p>
<h4>Outline</h4>
<p class="tightenable top bottom">yum.sh installs yum and does the updates from the official 6.5 updates directory.  After this step it would be a good idea to configure your server.  Access the server-manager and set up the remote access, email, directory, and any other settings.<br />
<br />
mysql40.sh updates MySQL to 4.0.24.  Probably a good idea to reboot after this one too. - NOTE: Just edited on Jan 26, 2005 to reflect corrections from: <a href="HomePage.html/How%20to%20Upgrade%20MySQL%20to%204.0.x%20for%20SME%20Server" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />HomePage.html/How%20to%20Upgrade%20MySQL%20to%204.0.x%20for%20SME%20Server</span></a><br />
<br />
horde3.sh Installs php 4.3.10 and installs or upgrades to Horde3/IMP4. - Added on 2-14-05<br />
Updated script to remove all manually entry - Added on 3-3-05<br />
Updated script to include mimp - Added on 3-5-05<br />
<br />
Authors: Greg Swallow, John H. Bennett III<br />
(feel free to make any changes to this page if you think I'm wrong or there is a better way to do something - just leave a comment in the 'Summary' field when you save your changes)<br />
<br /></p>
<h3>YUM (For uchecking for and downloading/installing official updates)</h3>
<h4>yum.sh</h4>
<pre class="tightenable top">
#!/bin/sh

#Install yum and configure yum.conf
mkdir -p /root/plus/yum
cd /root/plus/yum
wget -nc http://www.contribs.org/contribs/dmay/smeserver/6.x/contrib/yum/yum-1.0.3-1_73.noarch.rpm
rpm -Uvh yum-1.0.3-1_73.noarch.rpm
mv -f /etc/yum.conf /etc/yum.conf.old
touch /etc/yum.conf
echo '[main]' &gt; /etc/yum.conf
echo 'cachedir=/var/cache/yum' &gt;&gt; /etc/yum.conf
echo 'debuglevel=2' &gt;&gt; /etc/yum.conf
echo 'logfile=/var/log/yum.log' &gt;&gt; /etc/yum.conf
echo 'pkgpolicy=newest' &gt;&gt; /etc/yum.conf
echo '[base]' &gt;&gt; /etc/yum.conf
echo 'name=SME 6.5 Beta2 Base' &gt;&gt; /etc/yum.conf
echo 'baseurl=http://mirror.contribs.org/smeserver/releases/6.5beta2/os/e-smith/RPMS/' &gt;&gt; /etc/yum.conf
echo '[updates]' &gt;&gt; /etc/yum.conf
echo 'name=SME 6.5 Beta2 Updates' &gt;&gt; /etc/yum.conf
echo 'baseurl=http://mirror.contribs.org/smeserver/updates/6.5beta2/i386/' &gt;&gt; /etc/yum.conf

#Do yum updates
yum -y update

#Post-upgrade and reboot
/sbin/e-smith/signal-event post-upgrade
clear
echo &quot;The server needs to reboot, press any key to continue...&quot;
read answer
/sbin/e-smith/signal-event reboot</pre>
<h3>MySQL 4.0.24</h3>
<h4>mysql40.sh</h4>
<pre class="tightenable top">
#!/bin/sh

#Update to mysql 4.0.24
mkdir -p /root/plus/mysql4024
cd /root/plus/mysql4024
service mysqld stop&amp;&amp;sleep 20
rpm -e --nodeps mysql mysql-server
rpm -e mysql-devel
rpm -e mysqlclient9
wget -nc ftp://mysql.mirrored.ca/Downloads/MySQL-4.0/MySQL-shared-compat-4.0.24-0.i386.rpm
wget -nc ftp://mysql.mirrored.ca/Downloads/MySQL-4.0/MySQL-client-4.0.24-0.i386.rpm
wget -nc ftp://mysql.mirrored.ca/Downloads/MySQL-4.0/MySQL-server-4.0.24-0.i386.rpm
wget -nc ftp://mysql.mirrored.ca/Downloads/MySQL-4.0/MySQL-devel-4.0.24-0.i386.rpm
rpm -Uvh MySQL-*.rpm
mv -f /etc/rc.d/init.d/mysql /etc/rc.d/init.d/mysqld
ln -s /etc/rc.d/init.d/mysqld /etc/rc.d/init.d/mysql
chkconfig --levels 2345 mysqld on
chkconfig --levels 016 mysqld off
/sbin/e-smith/config setprop mysqld LocalNetworkingOnly no
/sbin/e-smith/expand-template /root/.my.cnf
ln -s /usr/sbin/mysqld /usr/libexec/
service mysqld start&amp;&amp;sleep 20
MYSQL_PW=`sed q /etc/openldap/ldap.pw`
/usr/bin/mysql_fix_privilege_tables --user=root --password=$MYSQL_PW

#Post-upgrade and reboot
/sbin/e-smith/signal-event post-upgrade
clear
echo &quot;The server needs to reboot, press any key to continue...&quot;
read answer
/sbin/e-smith/signal-event reboot</pre>
<h3>PHP 4.3.10 and Horde3/IMP4/etc (Please test and provide commments at below thread)</h3>
<p class="tightenable top"><a href="http://forums.contribs.org/viewtopic.php?t=25707" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://forums.contribs.org/viewtopic.php?t=25707</span></a></p>
<p class="tightenable">Please download the installation script from here:
wget -nc <a href="http://www.contribs.org/contribs/jbennett/install_horde30.sh" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://www.contribs.org/contribs/jbennett/install_horde30.sh</span></a></p>
<p class="tightenable bottom">Also check out these other helpful links:</p>
<ul><li class="tightenable top bottom"><a href="http://www.contribs.org/contribs/jbennett/howto/Horde-SME-Recover.htm" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://www.contribs.org/contribs/jbennett/howto/Horde-SME-Recover.htm</span></a></li>
<li class="tightenable top bottom"><a href="http://www.contribs.org/contribs/jbennett/howto/Additional%20Horde%20Functionality%20Howto.htm" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://www.contribs.org/contribs/jbennett/howto/Additional%20Horde%20Functionality%20Howto.htm</span></a></li>
</ul>
</div>

<div id="footer">  <hr class="printer" noshade="noshade" />
<p class="editdate">Owner: &quot;mrjhb3&quot;  Last edited on July 28, 2005 11:57 pm by &quot;mrjhb3&quot;</p>
</div>

</div>
<!-- Add your Disclaimer here -->
</body>
</html>
