<?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>huanix &#187; Moodle</title>
	<atom:link href="http://www.huanix.com/category/moodle/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.huanix.com</link>
	<description>chown -R huanix /</description>
	<lastBuildDate>Sat, 31 Dec 2011 14:53:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Moodle installation on Ubuntu Gutsy 7.10 gives blank pages &#8211; after install EVERY page is blank!</title>
		<link>http://www.huanix.com/2007/12/05/moodle-installation-on-ubuntu-gutsy-710-gives-blank-pages-after-install-every-page-is-blank/</link>
		<comments>http://www.huanix.com/2007/12/05/moodle-installation-on-ubuntu-gutsy-710-gives-blank-pages-after-install-every-page-is-blank/#comments</comments>
		<pubDate>Thu, 06 Dec 2007 02:15:46 +0000</pubDate>
		<dc:creator>huanix</dc:creator>
				<category><![CDATA[Moodle]]></category>

		<guid isPermaLink="false">http://www.huanix.com/2007/12/05/moodle-installation-on-ubuntu-gutsy-710-gives-blank-pages-after-install-every-page-is-blank/</guid>
		<description><![CDATA[I wanted to create a fresh Gutsy server to run Moodle (after I FOOLISHLY destroyed the previous install), but after I installed Moodle and went into X to do the front-end install, all I got were blank pages. I could view the whole directory tree, but I got absolutely 0 code! This drove me absolutely [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted to create a fresh Gutsy server to run Moodle (after I FOOLISHLY destroyed the previous install), but after I installed Moodle and went into X to do the front-end install, all I got were blank pages. I could view the whole directory tree, but I got absolutely 0 code! This drove me absolutely CRAZY. The problem is with the /etc/php5/apache2/php.ini file, but right now I&#8217;m not sure WHERE. I did find an easy solution though, I copied the recommended php.ini file from the docs. Try this:<br />
<code><br />
sudo cp /usr/share/doc/php5-common/examples/php.ini-recommended  /etc/php5/apache2/php.ini<br />
</code></p>
<p>I also noticed that php5-mysql was not installed by default when I ran &#8220;sudo apt-get install moodle&#8221; on a new Gutsy server install. I&#8217;m not sure if that&#8217;s correct, or if I was just confused.</p>
<h4>Incoming search terms:</h4><ul><li>moodle blank page</li><li>moodle blank page after install</li><li>moodle install blank page</li><li>moodle admin page blank</li><li>moodle blank</li><li>moodle blank page during install</li><li>moodle displays a blank page</li><li>while installing moodle it shows empty page</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.huanix.com/2007/12/05/moodle-installation-on-ubuntu-gutsy-710-gives-blank-pages-after-install-every-page-is-blank/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Connecting to MySQL 5.0.xx from a remote client on Ubuntu Gutsy (or other)</title>
		<link>http://www.huanix.com/2007/11/09/connecting-to-mysql-50xx-from-a-remote-client-on-ubuntu-gutsy-or-other/</link>
		<comments>http://www.huanix.com/2007/11/09/connecting-to-mysql-50xx-from-a-remote-client-on-ubuntu-gutsy-or-other/#comments</comments>
		<pubDate>Sat, 10 Nov 2007 02:48:30 +0000</pubDate>
		<dc:creator>huanix</dc:creator>
				<category><![CDATA[geek]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Moodle]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.huanix.com/2007/11/09/connecting-to-mysql-50xx-from-a-remote-client-on-ubuntu-gutsy-or-other/</guid>
		<description><![CDATA[It took me a few minutes to connect remotely to a mysql database. My use for this is to use the same database for multiple installations of web software (moodle). I&#8217;ll go into that in-depth later, but right now, let&#8217;s just connect to the database from remote. These instructions are based on Ubuntu Gutsy or [...]]]></description>
			<content:encoded><![CDATA[<p>It took me a few minutes to connect remotely to a mysql database. My use for this is to use the same database for multiple installations of web software (moodle). I&#8217;ll go into that in-depth later, but right now, let&#8217;s just connect to the database from remote. These instructions are based on Ubuntu Gutsy or Feisty, but should be pretty general to any mysql and linux server. These steps are done on the database server.</p>
<p>1. edit /etc/mysql/my.cnf to remove the lock for localhost (127.0.0.1)<br />
<code><br />
sudo nano +47 /etc/mysql/my.cnf</code><br />
comment out the line (add a # at the VERY beginning of the line)<br />
<code><br />
#bind-address            = 127.0.0.1<br />
</code></p>
<p>2. edit /etc/hosts.allow to allow connections from your server (10.0.0.1 in this example &#8211; change it to the address you are connecting FROM). Note: &#8220;ALL&#8221; is too general, but I had trouble using &#8220;mysqld&#8221;, which was recommended.<br />
<code><br />
sudo nano /etc/hosts.allow<br />
</code><br />
scroll to the bottom and add:<br />
<code><br />
ALL : 10.0.0.55</code></p>
<p><code> </code><br />
3. Add the user in mysql with the correct host identification. Enter mysql as root (mysql -u root -p) and do the following:<br />
<code><br />
create user remoteguy@10.0.0.55 identified by 'l33ta0l';<br />
</code><br />
4. You could restart your mysql and inet services, but i just restart the server &#8211; sometimes easier <img src='http://www.huanix.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>NOW, go to the client (in this case, we&#8217;re calling it 10.0.0.55) and do, (we&#8217;re calling the mysql server 10.0.0.2) :<br />
<code><br />
mysql -u remoteguy@10.0.0.55 -p -h 10.0.0.2<br />
</code></p>
<h4>Incoming search terms:</h4><ul><li>ubuntu mysql connect remotely</li><li>connect to mysql remotely ubuntu</li><li>ubuntu connect to mysql database remote</li><li>ubuntu connect to mysql remote</li><li>how to connect mysql remotely in ubuntu</li><li>how to connect to mysql ubuntu remotely</li><li>ubuntu mysql connect from remote</li><li>remote connection to mysql database ubuntu</li><li>connecting to mysql database remotely ubuntu</li><li>ubuntu connect to remote mysql database</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.huanix.com/2007/11/09/connecting-to-mysql-50xx-from-a-remote-client-on-ubuntu-gutsy-or-other/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Learning to set up a Moodle Server with Ubuntu and CVS</title>
		<link>http://www.huanix.com/2007/10/13/learning-to-set-up-a-moodle-server-with-ubuntu-and-cvs/</link>
		<comments>http://www.huanix.com/2007/10/13/learning-to-set-up-a-moodle-server-with-ubuntu-and-cvs/#comments</comments>
		<pubDate>Sat, 13 Oct 2007 06:46:35 +0000</pubDate>
		<dc:creator>huanix</dc:creator>
				<category><![CDATA[K12 Open Minds]]></category>
		<category><![CDATA[Moodle]]></category>

		<guid isPermaLink="false">http://www.huanix.com/2007/10/13/learning-to-set-up-a-moodle-server-with-ubuntu-and-cvs/</guid>
		<description><![CDATA[NOTE: DO *NOT* USE THIS METHOD TO INSTALL A MOODLE SERVER ON UBUNTU. THIS IS AN EXAMPLE OF TRIAL AND ERROR, AND THE METHOD IS NOT USEFUL FOR LONG TERM INSTALLATIONS. INSTALL MOODLE FROM THE UBUNTU REPOSITORY (&#8220;sudo apt-get install moodle&#8221;) OR FROM THE CVS REPOSITORY, BUT DO NOT MIX THE METHODS! (sorry for yelling [...]]]></description>
			<content:encoded><![CDATA[<p><strong>NOTE: DO *NOT* USE THIS METHOD TO INSTALL A MOODLE SERVER ON UBUNTU. THIS IS AN EXAMPLE OF TRIAL AND ERROR, AND THE METHOD IS NOT USEFUL FOR LONG TERM INSTALLATIONS. INSTALL MOODLE FROM THE UBUNTU REPOSITORY (&#8220;sudo apt-get install moodle&#8221;) OR FROM THE CVS REPOSITORY, BUT DO NOT MIX THE METHODS! (sorry for yelling <img src='http://www.huanix.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </strong></p>
<ol>
<li>Install stock Ubuntu Server (7.04)</li>
<li>Check the option for a LAMP server (if it shows)</li>
<li>edit /etc/apt/sources.list and comment out the cd (sudo nano +4 /etc/apt/sources.list)</li>
<li>set /etc/network/interfaces to static<br />
iface eth0 inet static<br />
address 192.168.1.42<br />
netmask 255.255.255.0<br />
broadcast 192.168.1.255<br />
gateway 192.168.1.1</li>
<li>add openssh-server (sudo apt-get install openssh-server)</li>
<li>stop and start the interface to bring up the new ip (sudo ifdown eth0; sudo ifup eth0)</li>
<li>switch to ssh managment (ssh user@192.168.1.42)</li>
<li> edit /etc/apache2/ports.conf to listen on a good port (this is only necessary because i run a different server on port 80. If this were set up for SSL, you would change ports.conf to listen on 443.</li>
<li> sudo apt-get update; sudo apt-get upgrade; sudo apt-get dist-upgrade (look at using unattended upgrade package)</li>
<li>sudo /etc/init.d/mysql reset-password (set the root password for mysql)</li>
<li>add a database and user to mysql for moodle<br />
mysql -u root -p<br />
create user moodle identified by &#8216;PASSWORD&#8217;;<br />
create database moodle;<br />
grant all on moodle.* to moodle;<br />
exit</li>
<li> sudo apt-get install moodle (enter the following information)<br />
Apache2<br />
MySQL<br />
localhost<br />
root<br />
PASSWORD<br />
moodle<br />
PASSWORD</li>
<li> sudo nano +16 /etc/moodle/config.php (change this to the static ip to allow access from your ssh computer)</li>
<li> sudo nano +12 /etc/moodle/apache.conf (remove the # on line 12 to allow access from outside localhost)</li>
<li> restart apache, sudo apache2 -k restart</li>
<li> go through the web browser setup (this writes the tables!)</li>
<p>click continue through a few pages&#8230;<br />
change the country name<br />
probably should run clam on startup&#8230; must have it installed first!<br />
set the smtp (if needed)<br />
max editing time..i like 60 &#8211; i hate to lose my work!<br />
enable stats</p>
<li> Log into the adming for the site and convert all the data in your database to Unicode using our migration script. Click here to run the migration script now!</li>
<li> DELETE /var/www/apache-default</li>
<li> apt-get remove moodle, it leaves the /etc/moodle files and the database entries.</li>
<li> cd /var/www</li>
<li> sudo apt-get install cvs</li>
<li> login to the CVS repository<br />
cvs -d:pserver:anonymous@eu.cvs.moodle.org:/cvsroot/moodle login<br />
No password for anonymous, so just hit the Enter button.</li>
<li> sudo cvs -z3 -d:pserver:anonymous@eu.cvs.moodle.org:/cvsroot/moodle co -r MOODLE_19_STABLE moodle</li>
<li> when you go back to the web browser, it will start a new migration script. teh only thing i had to change was the data location from /var/moodledata to /var/lib/moodle</li>
<li> this created a directory called moodle in the www files. do &#8220;sudo nano index.php&#8221; to create a redirector</li>
<p>meta http-equiv=&#8221;refresh&#8221; content=&#8221;0;url=/moodle&#8221;</p>
<li> open up /etc/moodle/apache.conf, comment out the alias, and change the directory match to /var/www/</li>
<li>log back in to the web page and run updates</li>
<li>sudo a2enmod ssl</li>
<li>sudo apt-get install ssl-cert</li>
<li>sudo mkdir /etc/apache2/ssl</li>
<li>sudo /usr/sbin/make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/apache2/ssl/apache.pem</li>
<li>edit cp the default site enabled to your new name and edit for *.443, also add (in the ## area in the middle)<br />
SSLEngine on<br />
SSLCertificateFile /etc/apache2/ssl/apache.pem<br />
SSLProtocol all<br />
SSLCipherSuite HIGH:MEDIUM</li>
<li>sudo a2ensite [sitename]</li>
<li>change /etc/apache2/ports.conf to 443</li>
</ol>
<ul>
<li>http://docs.moodle.org/en/Upgrading</li>
<li>To update, just go into the Moodle root directory and update to the new files: cvs update -dP</li>
<li>To update to a new version type in the following and change 18 to whatever newest version upgrade number is cvs -Q update -dP -r MOODLE_18_STABLE</li>
</ul>
<h4>Incoming search terms:</h4><ul><li>uninstall moodle ubuntu</li><li>remove moodle from ubuntu</li><li>install moodle ubuntu</li><li>moodle unicode ubuntu</li><li>how to uninstall moodle from ubuntu</li><li>ubuntu moodle ssl</li><li>setting up moodle on ubuntu</li><li>setup moodle ubuntu</li><li>remover moodle do ubuntu</li><li>moodle unicode ubuntu apt</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.huanix.com/2007/10/13/learning-to-set-up-a-moodle-server-with-ubuntu-and-cvs/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

