<?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>Raymondopedia &#187; Linux</title>
	<atom:link href="http://lucraymond.net/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://lucraymond.net</link>
	<description>Multimedia, programming and more!</description>
	<lastBuildDate>Fri, 04 Nov 2011 01:42:18 +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>Installing Apache2 and PHP 5.4 from source on Ubuntu 11.10</title>
		<link>http://lucraymond.net/2011/10/31/installing-apache2-and-php-5-4-from-source-on-ubuntu-11-10/</link>
		<comments>http://lucraymond.net/2011/10/31/installing-apache2-and-php-5-4-from-source-on-ubuntu-11-10/#comments</comments>
		<pubDate>Mon, 31 Oct 2011 14:01:08 +0000</pubDate>
		<dc:creator>Luc</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[apache2]]></category>
		<category><![CDATA[fastcgi]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[mysql5]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[source]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://lucraymond.net/?p=230</guid>
		<description><![CDATA[This guide will show you how to install Apache 2.2 (2.2.21) and PHP 5.4 and MySQL 5.6 from the latest source First, we will make sure that [...]]]></description>
			<content:encoded><![CDATA[<h1>This guide will show you how to install Apache 2.2 (2.2.21) and PHP 5.4 and MySQL 5.6 from the latest source</h1>
<p>First, we will make sure that the development environment and libraries are install on your server<br />
Setup Development Environment tools and libraries</p>
<p><code>sudo apt-get update<br />
sudo apt-get -y -q install make g++ flex bison build-essential zlib1g-dev binutils cmake<br />
sudo apt-get -y -q install libmcrypt-dev libmhash-dev libxslt1-dev libtidy-dev libbz2-dev libxml2-dev libssl-dev libmysqlclient16 libmysqlclient16-dev<br />
sudo apt-get -y -q install libpng12-dev libpng12-0 libpng3 libjpeg62 libjpeg62-dev libxpm-dev libpcre3 libpcre3-dev zlib1g zlib1g-dev libltdl-dev libltdl7<br />
sudo apt-get -y -q install pkg-config libcurl4-openssl-dev libfreetype6 libfreetype6-dev libc-client2007e libc-client2007e-dev libkrb5-3 libkrb5-dev<br />
sudo apt-get -y -q install openssl libglobus-openssl libglobus-openssl-dev libcurl4-openssl-dev libicu-dev libicu44 libpspell-dev<br />
sudo apt-get -y -q install linux-libc-dev libc-dev-bin libc-bin libc-client2007e-dev eglibc-source libkrb5-3 libkrb5-dev libkrb53 libkrb5support0<br />
sudo apt-get -y -q install libncurses5-dev libncurses5 ncurses-base ncurses-bin ncurses-term libaio-dev</code></p>
<h1>Installing Apache 2.2.21 from source</h1>
<p><code> wget http://apache.mirror.nexicom.net//httpd/httpd-2.2.21.tar.gz<br />
tar zxf httpd-2.2.21.tar.gz cd httpd-2.2.21<br />
./configure --enable-file-cache --enable-cache --enable-disk-cache --enable-mem-cache --enable-deflate --enable-expires --enable-headers --enable-usertrack --enable-ssl --enable-cgi --enable-vhost-alias --enable-rewrite --enable-so<br />
make -s<br />
sudo make install<br />
sudo mkdir /var/www/<br />
sudo chgrp -R www-data /var/www/</code></p>
<p>Configure Apache2 to start automatically when system is rebooted</p>
<p><code>runlevel (should output a number like 2)<br />
cd /etc/rcX.d/ (replace X with the number you saw when you run 'runlevel') </code></p>
<p>sudo ln -s -T /usr/local/apache2/bin/apachectl S80apache</p>
<p>Easy enough, Apache2 is already installed and ready to serve normal HTML web pages.</p>
<p>You can control the status of the web server with these commands:</p>
<p>Stop the web server<br />
<code>/usr/local/apache2/bin/apachectl stop</code></p>
<h1>Start the web server<br />
<code>/usr/local/apache2/bin/apachectl start</code><br />
Installing MySQL 5.6 from source<br />
<code><br />
sudo groupadd mysql<br />
sudo useradd -r -g mysql mysql </code></h1>
<p>sudo mkdir /var/log/mysql/<br />
sudo chgrp -R mysql /var/log/mysql/</p>
<p>wget http://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.3-m6.tar.gz/from/http://mirror.csclub.uwaterloo.ca/mysql/<br />
mv index.html mysql.tar.gz<br />
tar zxf mysql.tar.gz<br />
cd mysql-5.6.3-m6/<br />
mkdir bld<br />
cd bld<br />
cmake -DBUILD_CONFIG=mysql_release ..<br />
sudo make install</p>
<p>cd /usr/local/mysql<br />
sudo chown -R mysql .<br />
sudo chgrp -R mysql .<br />
sudo scripts/mysql_install_db &#8211;user=mysql &#8211;basedir=/usr/local/mysql/ &#8211;datadir=/usr/local/mysql/data</p>
<p>sudo chown -R root .<br />
sudo chown -R mysql data</p>
<p>sudo cp support-files/my-medium.cnf /etc/my.cnf<br />
sudo cp support-files/mysql.server /etc/init.d/mysql.server</p>
<p>Edit configuration file sudo nano /etc/mysql/my.cnf</p>
<p>under [MYSQLD] edit or add the following lines:<br />
<code>basedir=/usr/local/mysql<br />
datadir=/usr/local/mysql/data</code><br />
to save<br />
to exit</p>
<p><code>sudo /usr/local/mysql/bin/mysqld_safe --user=mysql &amp;<br />
sudo /usr/local/mysql/bin/mysqladmin -u root password "NEW PASSWORD"<br />
</code></p>
<p>Installing PHP 5.4 from source</p>
<p><code>wget http://downloads.php.net/stas/php-5.4.0beta2.tar.gz<br />
tar zxf php-5.4.0beta2.tar.gz<br />
cd php-5.4.0beta2/<br />
'./configure' '--disable-short-tags' '--enable-exif' '--with-zlib' '--with-bz2' '--with-openssl' '--with-pcre-regex' '--with-gettext' '--with-mcrypt' '--with-mhash' '--with-iconv' '--with-gd' '--with-jpeg-dir' '--with-png-dir' '--with-zlib-dir' '--with-xpm-dir' '--with-xsl' '--with-tidy' '--with-freetype-dir' '--enable-gd-native-ttf' '--enable-calendar' '--enable-mbstring' '--enable-ftp' '--enable-bcmath' '--enable-sockets' '--enable-dom' '--enable-xml' '--enable-soap' '--enable-libxml' '--enable-session' '--enable-simplexml' '--enable-calendar' '--without-pear' '--enable-mbstring' '--disable-cli' '--with-png-dir=/usr/lib/libpng12.so' '--with-mysql-sock' '--with-mysql=mysqlnd' '--with-mysqli=mysqlnd' '--with-pdo-mysql=mysqlnd' --with-imap-ssl --with-kerberos --with-curl --enable-ftp<br />
make -s<br />
sudo make install</code></p>
<p>If you want to configure PHP in development mode, run this line:<br />
<code>sudo cp php.ini-development /usr/local/lib/php.ini</code></p>
<p>If you want to configure PHP in production mode, run this line:<br />
<code>sudo cp php.ini-production /usr/local/lib/php.ini</code></p>
<p>Configuring Apache2 to run PHP scripts</p>
<p><code>wget http://apache.parentinginformed.com/httpd/mod_fcgid/mod_fcgid-2.3.6.tar.gz<br />
tar zxf mod_fcgid-2.3.6.tar.gz<br />
cd mod_fcgid-2.3.6<br />
APXS=/usr/local/apache2/bin/apxs ./configure.apxs<br />
make<br />
sudo make install </code></p>
<p>You also need to edit Apache2 config file<br />
<code><br />
Order allow,deny<br />
Allow from all<br />
AllowOverride All<br />
Options MultiViews Indexes Includes FollowSymLinks ExecCGI<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://lucraymond.net/2011/10/31/installing-apache2-and-php-5-4-from-source-on-ubuntu-11-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building a HD Linux based multimedia streaming server PART 1 – (dvd and bluray and more)</title>
		<link>http://lucraymond.net/2010/03/24/building-a-hd-linux-based-multimedia-streaming-server-part-1-%e2%80%93-dvd-and-bluray-and-more/</link>
		<comments>http://lucraymond.net/2010/03/24/building-a-hd-linux-based-multimedia-streaming-server-part-1-%e2%80%93-dvd-and-bluray-and-more/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 17:50:39 +0000</pubDate>
		<dc:creator>Luc</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[bluray]]></category>
		<category><![CDATA[dvd]]></category>
		<category><![CDATA[streaming]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://lucraymond.net/?p=176</guid>
		<description><![CDATA[I started a new article to show how to build a HD home entertainment streaming server. If you ever wanted to watch Bluray/DVD from anywhere in your [...]]]></description>
			<content:encoded><![CDATA[<p>I started a new article to show how to build a HD home entertainment streaming server. If you ever wanted to watch Bluray/DVD from anywhere in your house, this is for you.</p>
<p>You will learn:</p>
<ul>
<li>how to setup your network</li>
<li>setup a server</li>
<li>stream music</li>
<li>stream pictures</li>
<li>stream DVD movies</li>
<li>stream Bluray movies</li>
<li>access files and documents across any machines</li>
</ul>
<p>You can see the first part of the article <a href="http://lucraymond.net/linux/building-a-hd-linux-based-multimedia-streaming-server-part-1-dvd-and-bluray-and-more/">here</a> :</p>
<p>http://lucraymond.net/linux/building-a-hd-linux-based-multimedia-streaming-server-part-1-dvd-and-bluray-and-more/</p>
]]></content:encoded>
			<wfw:commentRss>http://lucraymond.net/2010/03/24/building-a-hd-linux-based-multimedia-streaming-server-part-1-%e2%80%93-dvd-and-bluray-and-more/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New linux hard disk performance article</title>
		<link>http://lucraymond.net/2009/07/09/new-linux-hard-disk-performance-article/</link>
		<comments>http://lucraymond.net/2009/07/09/new-linux-hard-disk-performance-article/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 04:03:20 +0000</pubDate>
		<dc:creator>Luc</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[hdd]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://www.lucraymond.net/?p=99</guid>
		<description><![CDATA[This article talks about how to measure hard disk performance and give a few tips on how to improve it. You can read the article by clicking [...]]]></description>
			<content:encoded><![CDATA[<p>This article talks about how to measure hard disk performance and give a few tips on how to improve it.</p>
<p><span>You can read the article by <a href="http://www.lucraymond.net/linux/hard-disk-performance-on-linux/">clicking here</a><br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://lucraymond.net/2009/07/09/new-linux-hard-disk-performance-article/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

