<?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>RackWire.com Blog and Knowledge Base Articles &#187; MySQL</title>
	<atom:link href="http://blog.rackwire.com/tag/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.rackwire.com</link>
	<description></description>
	<lastBuildDate>Mon, 24 Oct 2011 18:20:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Important Passwords to Change when Setting up Trixbox for First Use</title>
		<link>http://blog.rackwire.com/2010/02/trixbox-voip-passwords-default-change-guide/</link>
		<comments>http://blog.rackwire.com/2010/02/trixbox-voip-passwords-default-change-guide/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 19:48:45 +0000</pubDate>
		<dc:creator>Nate</dc:creator>
				<category><![CDATA[Virtual VOIP PBX Hosting]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[passwords]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[Trixbox]]></category>
		<category><![CDATA[Virtual VOIP]]></category>

		<guid isPermaLink="false">http://blog.rackwire.com/?p=454</guid>
		<description><![CDATA[There are several passwords that come the same in every version of Trixbox, so you will want to change these immediately to avoid security risks. **NOTE: You will need to have Linux CLI experience and also know how to use a Linux text editor** MySQL Passwords: The first is the password for the MySQL user [...]]]></description>
			<content:encoded><![CDATA[<p>There are several passwords that come the same in every version of Trixbox, so you will want to change these immediately to avoid security risks.</p>
<p>**NOTE: You will need to have Linux CLI experience and also know how to use a Linux text editor**</p>
<p><strong>MySQL Passwords:</strong></p>
<p>The first is the password for the MySQL user that the trixbox uses to make updates to its database; this user is named &#8216;asteriskuser&#8217;.</p>
<p>You&#8217;ll need to log into MySQL at the Linux CLI.</p>
<p><a href="http://blog.rackwire.com/wp-content/uploads/MySQL1.jpg"><img class="size-full wp-image-742 alignnone" src="http://blog.rackwire.com/wp-content/uploads/MySQL1.jpg" alt="" width="127" height="21" /></a></p>
<p>You will then be promoted for a password, the default password that is supplied with every Trixbox installation is:</p>
<p>&#8216;passw0rd&#8217; (with a zero)</p>
<p>You&#8217;ll then want to enter the following commands:</p>
<p><a href="http://blog.rackwire.com/wp-content/uploads/MySQL2.jpg"><img class="size-full wp-image-743 alignnone" src="http://blog.rackwire.com/wp-content/uploads/MySQL2.jpg" alt="" width="135" height="22" /></a></p>
<p><a href="http://blog.rackwire.com/wp-content/uploads/MySQL3.jpg"><img class="size-full wp-image-744 alignnone" src="http://blog.rackwire.com/wp-content/uploads/MySQL3.jpg" alt="" width="599" height="23" /></a></p>
<p><a href="http://blog.rackwire.com/wp-content/uploads/MySQL4.jpg"><img class="size-full wp-image-745 alignnone" src="http://blog.rackwire.com/wp-content/uploads/MySQL4.jpg" alt="" width="180" height="24" /></a></p>
<p><a href="http://blog.rackwire.com/wp-content/uploads/MySQL5.jpg"><img class="size-full wp-image-746 alignnone" src="http://blog.rackwire.com/wp-content/uploads/MySQL5.jpg" alt="" width="92" height="24" /></a></p>
<p>Where you would replace &#8216;new_pass_here&#8217; with your desired password.</p>
<p>**NOTE: MySQL and the PBX Config does not like the exclamation point (!) character, so don&#8217;t use it in a password.**</p>
<p>Now doing this, will cause files that run Trixbox to not work correctly because they are set to use the old password, so we will have to update those as well.</p>
<p><strong>Amportal.conf</strong></p>
<p>First we need to edit the /etc/amportal.conf file to use the new password:</p>
<p><a href="http://blog.rackwire.com/wp-content/uploads/amportal1.jpg"><img class="alignnone size-full wp-image-750" src="http://blog.rackwire.com/wp-content/uploads/amportal1.jpg" alt="" width="175" height="28" /></a></p>
<p>You need to find the line that says:</p>
<p>&#8216;AMPDBPASS=amp109&#8242;</p>
<p>You will want to change the &#8216;amp109&#8242; to the new password that you just set in MySQL.  Please note that there are two places to set this password.  The first one at the beginning of the file is commented out, while the second one is near the very end of the file, and that is the one that needs to be changed.</p>
<p>Save and exit the file.</p>
<p><strong>Files that Use the MySQL Password:</strong></p>
<p>Next we&#8217;ll need to change all the files that are utilizing the MySQL password, which specifically are:</p>
<ul>
<li>/etc/asterisk/cdr_mysql.conf (for call detail records)</li>
<li>/etc/asterisk/res_mysql (honestly don&#8217;t know what this file does, but you have to update it)</li>
<li>/var/www/html/maint/modules/cdrreport/config/database.php</li>
</ul>
<p>You&#8217;ll want to do the same thing as when you edited the /etc/amportal.conf file, open the top two in a text editor, find the line that says &#8216;password=amp109&#8242; and change the &#8216;amp109&#8242; to the new password.  Save and exit the files.</p>
<p>For the final file (/var/www/html/maint/modules/cdrreport/config/database.php), you&#8217;ll want to open it in a text editor just like the rest:</p>
<p><a href="http://blog.rackwire.com/wp-content/uploads/file1.jpg"><img class="alignnone size-full wp-image-758" src="http://blog.rackwire.com/wp-content/uploads/file1.jpg" alt="" width="446" height="20" /></a></p>
<p>You&#8217;ll need to find the line that says <em>&#8216;connection&#8217; =&gt; &#8216;mysqli://asteriskuser:<span style="color: #ff0000;">amp109<span style="color: #000000;">@localhost/asteriskcdrdb&#8217;</span></span></em></p>
<p>Change the &#8216;amp109&#8242; (shown in red above) to the asteriskuser password you set in MySQL.</p>
<p>Once you have edited those last two files, you&#8217;ll need to restart MySQL and the AMPortal (basically the Trixbox service) so that everything starts utilizing these passwords.</p>
<p><a href="http://blog.rackwire.com/wp-content/uploads/restart1.jpg"><img class="alignnone size-full wp-image-751" src="http://blog.rackwire.com/wp-content/uploads/restart1.jpg" alt="" width="165" height="22" /></a></p>
<p><a href="http://blog.rackwire.com/wp-content/uploads/restart2.jpg"><img class="alignnone size-full wp-image-752" src="http://blog.rackwire.com/wp-content/uploads/restart2.jpg" alt="" width="124" height="23" /></a></p>
<p>Now while not necessary, its definitely a good idea to also replace the MySQL root user password from its default.  To do so, type the following:</p>
<p><a href="http://blog.rackwire.com/wp-content/uploads/rootpass.jpg"><img class="alignnone size-full wp-image-754" src="http://blog.rackwire.com/wp-content/uploads/rootpass.jpg" alt="" width="363" height="21" /></a></p>
<p>Where &#8216;new_password_here&#8217; is the new desired root user password (should NOT be the same as the asteriskuser).  When you hit &#8216;Enter&#8217; you&#8217;ll be prompted to enter a password, you&#8217;ll want to enter the default MySQL root password of &#8216;passw0rd&#8217; (with a zero).</p>
<p>Now just like before, we&#8217;ll have to change a few files to use this new password.</p>
<p>First, you&#8217;ll want to edit the following file:</p>
<p><a href="http://blog.rackwire.com/wp-content/uploads/rootpass2.jpg"><img class="alignnone size-full wp-image-755" src="http://blog.rackwire.com/wp-content/uploads/rootpass2.jpg" alt="" width="231" height="18" /></a></p>
<p>Search for the line that says &#8216;password=passw0rd&#8217; and change it to the new password that you just set.  Save and exit the file.</p>
<p>Next you&#8217;ll need to edit this file:</p>
<p><a href="http://blog.rackwire.com/wp-content/uploads/rootpass3.jpg"><img class="alignnone size-full wp-image-756" src="http://blog.rackwire.com/wp-content/uploads/rootpass3.jpg" alt="" width="335" height="18" /></a></p>
<p>Edit the line that says <em>$password = &#8216;passw0rd&#8217;; </em>to <em>$password = &#8216;your_new_mysql_root_password&#8217;;</em> Save and exit the file.</p>
<p>Now all your passwords should be up to date, and you can restart MySQL one last time:</p>
<p><a href="http://blog.rackwire.com/wp-content/uploads/restart1.jpg"><img class="alignnone size-full wp-image-751" src="http://blog.rackwire.com/wp-content/uploads/restart1.jpg" alt="" width="165" height="22" /></a>
<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.rackwire.com%2F2010%2F02%2Ftrixbox-voip-passwords-default-change-guide%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.rackwire.com%2F2010%2F02%2Ftrixbox-voip-passwords-default-change-guide%2F&amp;source=RackWire&amp;style=compact&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.rackwire.com/2010/02/trixbox-voip-passwords-default-change-guide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Web Apps, PHP, MySQL on Hyper-V Server 2008</title>
		<link>http://blog.rackwire.com/2009/12/installing-microsoft-open-source-web-apps-server-2008-mysql/</link>
		<comments>http://blog.rackwire.com/2009/12/installing-microsoft-open-source-web-apps-server-2008-mysql/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 22:47:19 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[From the LAB]]></category>
		<category><![CDATA[Internet Buzz]]></category>
		<category><![CDATA[Virtual Servers (VPS)]]></category>
		<category><![CDATA[Windows Hyper-V VPS]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Microsoft Open Source]]></category>
		<category><![CDATA[Microsoft Web Platform]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Apps]]></category>

		<guid isPermaLink="false">http://blog.rackwire.com/?p=579</guid>
		<description><![CDATA[Are you running a Hyper-V Server, or a Standalone Dedicated Server 2008, and want to utilize an use to use and install Web App, or Web Application?  Microsoft has leveraged the following Web Apps for easy Download/Install on your Web Server]]></description>
			<content:encoded><![CDATA[<p>Are you running a <a href="http://www.rackwire.com/virtual/virtual_details.html" target="_self"><strong>Hyper-V Server</strong></a>, or a <a href="http://www.rackwire.com/dedicated/dedicated_details.html" target="_self"><strong>Standalone Dedicated Server 2008</strong></a>, and want to utilize an use to use and install Web App, or Web Application?  Microsoft has leveraged the following Web Apps for easy Download/Install on your Web Server:</p>
<ul>
<li>PHP 5.2.11</li>
<li>MySQL 5.1</li>
<li>URL ReWrite 1.1</li>
<li>SQL Server 2008 Express</li>
<li>Streaming Media Services</li>
<li>Joomla! , SugarCRM, WordPress, Textcube, nopCommerce, Moodle, SilverStripe CMS, DotNetNuke, Umbraco, Drupal, nService. Amplifeeder</li>
<li><a href="http://www.microsoft.com/web/gallery/default.aspx" target="_blank">And Many More</a></li>
</ul>
<p>It is kind of hard to believe that Microsoft is leveraging all these Open Source tools on thier Platform, like SugarCRM a competing CRM product as well as MySQL.  But in my opinion, it is great!   Here is a Step by Step Guide on getting your Web Applications up and Running on MySQL/PHP:</p>
<p style="text-align: left;">1. First Step, go to Microsoft and install the <strong><a href="http://www.microsoft.com/web/gallery/install.aspx" target="_blank">Microsoft Web Platform</a></strong>.  The Installation is pretty straight forward and takes under a Minute.</p>
<p style="text-align: center;"><a href="http://www.microsoft.com/web/gallery/install.aspx" target="_blank"><img class="aligncenter" title="WebPlatform" src="http://blog.rackwire.com/wp-content/uploads/WebPlatform.png" alt="" width="192" height="43" /></a></p>
<p style="text-align: left;">2. <strong>Run the Web Platform Installer</strong>.  You can then Choose Three Catagories: What&#8217;s New, Web Platform and Web Applications.</p>
<p style="text-align: center;"><a href="http://blog.rackwire.com/wp-content/uploads/WebPlatformInstallerPHP.gif"><img class="aligncenter size-full wp-image-587" title="WebPlatformInstallerPHP" src="http://blog.rackwire.com/wp-content/uploads/WebPlatformInstallerPHP.gif" alt="" width="545" height="400" /></a></p>
<p style="text-align: left;">3. Select the Applications you want to Install, such as WordPress on Windows.</p>
<p style="text-align: center;"><a href="http://blog.rackwire.com/wp-content/uploads/WebPlatformInstallerWordPress.gif"><img class="size-full wp-image-588 aligncenter" title="WebPlatformInstallerWordPress" src="http://blog.rackwire.com/wp-content/uploads/WebPlatformInstallerWordPress.gif" alt="" width="546" height="401" /></a></p>
<p style="text-align: left;">4. The installer will require some dependacies for <strong>WordPress</strong> such as a <strong>MySQL Database</strong>, <strong>PHP 5.2</strong>.  It will ask for a Database user/password:</p>
<p style="text-align: center;"><a href="http://blog.rackwire.com/wp-content/uploads/MySQLonHyperV.gif"><img class="size-full wp-image-589 aligncenter" title="MySQLonHyperV" src="http://blog.rackwire.com/wp-content/uploads/MySQLonHyperV.gif" alt="" width="546" height="401" /></a></p>
<p style="text-align: left;">5. The installer will then ask for the Web Site Settings for the new web application, and even allow you to add new directories.</p>
<p style="text-align: center;"><a href="http://blog.rackwire.com/wp-content/uploads/Windows2008WordPressInstall.gif"><img class="aligncenter size-full wp-image-590" title="Windows2008WordPressInstall" src="http://blog.rackwire.com/wp-content/uploads/Windows2008WordPressInstall.gif" alt="" width="546" height="401" /></a></p>
<p style="text-align: left;">6. The Installer will complete with all the applications that were installed on your server.  Next, run the WordPress Easy Web Setup and you are up and running!</p>
<p style="text-align: center;"><a href="http://blog.rackwire.com/wp-content/uploads/CGIMySQLPHPInstall.gif"><img class="aligncenter size-full wp-image-591" title="CGIMySQLPHPInstall" src="http://blog.rackwire.com/wp-content/uploads/CGIMySQLPHPInstall.gif" alt="" width="546" height="401" /></a></p>
<p style="text-align: left;">As an added bonus, there are even additional Database tools and .NET Framework 4 Beta 2.  Nice!</p>
<p style="text-align: center;"><a href="http://blog.rackwire.com/wp-content/uploads/DotNet4Beta2.gif"><img class="aligncenter size-full wp-image-592" title="DotNet4Beta2" src="http://blog.rackwire.com/wp-content/uploads/DotNet4Beta2.gif" alt="" width="546" height="402" /></a></p>
<p style="text-align: left;">Well that is it, really easy to get PHP Apps up and running fast on Windows Server.  To get your own <strong><a href="http://www.rackwire.com/HyperVHosting/" target="_self">Windows Hyper-V Virtual Machine</a></strong> to Install Applicaitons on <a href="http://www.rackwire.com/HyperVHosting/" target="_self"><strong>Server2008 </strong><strong>Here</strong></a>.</p>
<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.rackwire.com%2F2009%2F12%2Finstalling-microsoft-open-source-web-apps-server-2008-mysql%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.rackwire.com%2F2009%2F12%2Finstalling-microsoft-open-source-web-apps-server-2008-mysql%2F&amp;source=RackWire&amp;style=compact&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.rackwire.com/2009/12/installing-microsoft-open-source-web-apps-server-2008-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

