<?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>Zen Dzign &#187; Debian</title>
	<atom:link href="http://www.zendzign.com/tag/debian/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zendzign.com</link>
	<description>The official ZZ Servers Blog - Visit http://www.zzservers.com for your business hosting needs.</description>
	<lastBuildDate>Thu, 26 Jan 2012 05:59:54 +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>OpenSSL Vulnerability</title>
		<link>http://www.zendzign.com/2008/05/openssh-vulnerability/</link>
		<comments>http://www.zendzign.com/2008/05/openssh-vulnerability/#comments</comments>
		<pubDate>Fri, 23 May 2008 19:18:37 +0000</pubDate>
		<dc:creator>Peter Zendzian</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[openssl]]></category>

		<guid isPermaLink="false">http://www.zendzign.com/2008/05/openssh-vulnerability/</guid>
		<description><![CDATA[A weakness has been discovered in the random number generator used by OpenSSL on Debian and Ubuntu systems. As a result of this weakness, certain encryption keys are much more common than they should be, such that an attacker could guess the key through a brute-force attack given minimal knowledge of the system. This particularly [...]]]></description>
			<content:encoded><![CDATA[<p>A weakness has been discovered in the random number generator used by OpenSSL on Debian and Ubuntu systems. As a result of this weakness, certain encryption keys are much more common than they should be, such that an attacker could guess the key through a brute-force attack given minimal knowledge of the system. This particularly affects the use of encryption keys in OpenSSH. </p>
<p><span id="more-14"></span></p>
<p>This vulnerability only affects operating systems which (like Ubuntu) are based on Debian. However, other systems can be indirectly affected if weak keys are imported into them. We consider this an extremely serious vulnerability, and urge all users to act immediately to secure their systems. </p>
<p>The following Ubuntu releases are affected: </p>
<ul>
<li>Ubuntu 7.04 </li>
<li>Ubuntu 7.10 </li>
<li>Ubuntu 8.04 LTS</li>
<li>Debian Etch 4.0</li>
<li>Debian Lenny 5.0</li>
</ul>
<p>For more details visit these links:</p>
<ul>
<li>Ubuntu: <a title="http://www.ubuntu.com/usn/usn-612-2" href="http://www.ubuntu.com/usn/usn-612-2">http://www.ubuntu.com/usn/usn-612-2</a></li>
<li>Debian: <a title="http://www.debian.org/security/2008/dsa-1571" href="http://www.debian.org/security/2008/dsa-1571">http://www.debian.org/security/2008/dsa-1571</a></li>
</ul>
<p>We consider this an extremely serious vulnerability, and urge all users to act immediately to secure their systems.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zendzign.com/2008/05/openssh-vulnerability/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Set Up A Ubuntu/Debian LAMP Server</title>
		<link>http://www.zendzign.com/2008/05/how-to-set-up-a-ubuntudebian-lamp-server/</link>
		<comments>http://www.zendzign.com/2008/05/how-to-set-up-a-ubuntudebian-lamp-server/#comments</comments>
		<pubDate>Sat, 10 May 2008 14:03:53 +0000</pubDate>
		<dc:creator>Peter Zendzian</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[vps]]></category>

		<guid isPermaLink="false">http://www.zendzign.com/2008/05/how-to-set-up-a-ubuntudebian-lamp-server/</guid>
		<description><![CDATA[Build Your Own Debian/Ubuntu LAMP Server &#8211; Quick &#38; Easy Do it Yourself Installation Apache 2 &#8211; Linux Web server MySQL 5 &#8211; MySQL Database Server PHP4/5 &#8211; PHP Scripting Language phpMyAdmin &#8211; Web-based database admin software. Note: Linux + Apache + MySQL + PHP/Perl together commonly known as LAMP Server. First, let us prepare [...]]]></description>
			<content:encoded><![CDATA[<h3>Build Your Own Debian/Ubuntu LAMP Server &#8211; Quick &amp; Easy Do it Yourself Installation</h3>
<ul>
<li>Apache 2 &#8211; Linux Web server</li>
<li>MySQL 5 &#8211; MySQL Database Server</li>
<li>PHP4/5 &#8211; PHP Scripting Language</li>
<li>phpMyAdmin &#8211; Web-based database admin software.</li>
</ul>
<p>Note: <strong>L</strong>inux + <strong>A</strong>pache + <strong>M</strong>ySQL + <strong>P</strong>HP/Perl together commonly known as <strong>LAMP Server</strong>.</p>
<p><span id="more-8"></span></p>
<p>First, let us prepare a system that has a minimum requirement of Debian/Ubuntu version of Linux with at least<strong> <a href="http://www.zzservers.com/hosting/virtual-private-servers/256/" target="_blank">256MB of RAM available</a></strong>.<strong> </strong>Anything less than this minimum ram will cause lot of problems since we are running a server along especially MySQL and Webmin requires lots of RAM to run properly. MySQL will give you this nasty error &#8220;cannot connect to mysql.sock&#8221; if you don&#8217;t have enough memory in your server.</p>
<p>I love Debian/Ubuntu based Linux because of my enormous affinity towards this command apt-get. As a starter knowing this one command, It is so easy to install packages and you don&#8217;t need to worry about package dependency and configuration. You need to buy a dedicated server or a VPS package if you want to setup your own server. If you want to experiment with the server and installation it is recommended to buy a VPS package. Believe it or not it is so easy to install and configure your server yourself even though you are new are to Linux and dedicated/VPS hosting.</p>
<p>First download <a href="http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe" target="_blank">PuTTy</a> if you are accessing your server through SSH. Just enter the IP of your server with root login to access your host. As you probably know, <a href="http://www.webmin.com/" target="_blank">Webmin</a> is a freely available server control panel and we will setup this once we have completed the LAMP server and Mail Server. Webmin makes more easier for us to fine tune our Linux box.</p>
<p>Before proceeding to install, update the necessary packages with Debian with this command.</p>
<p class="command">apt-get install update</p>
<h3>1. Installing Apache + PHP</h3>
<p>Apache is one of the most famous web server which runs on most Linux based servers. With just few commands you can configure apache to run with PHP 4 or PHP 5.</p>
<p>If you want to install PHP 4, just apt-get</p>
<p class="command">apt-get install apache2 php4 libapache2-mod-php4</p>
<p>To install PHP5, just run the following on Linux shell. Note that if you don&#8217;t specify packages with &#8217;4&#8242;, PHP5 will be automatically installed.</p>
<p class="command">apt-get install apache2 php5 libapache2-mod-php5</p>
<p>Apache configuration file is located at: <span class="system">/etc/apache2/apache2.conf</span> and your web folder is <span class="system">/var/www</span>.</p>
<p>To check whether php is installed and running properly, just create a <span class="system">test.php</span> in your <span class="system">/var/www</span> folder with <span class="system">phpinfo()</span> function exactly as shown below.</p>
<p class="command">vi /var/www/test.php</p>
<pre class="crayon-plain-tag"><code># test.php
&amp;lt;?php phpinfo(); ?&amp;gt;</code></pre><p>Point your browser to <span class="system">http://ip.address/test.php</span> or <span class="system">http://domain/test.php</span> and this should show all your php configuration and default settings.</p>
<p>You can edit necessary values or setup virtual domains using apache configuration file.</p>
<h3>2. Installing MySQL Database Server</h3>
<p>Installing mysql database server is always necessary if you are running a database driven e-commerce site. Remember running MySQL server to a fair extend requires at least 256mb of RAM in your server. So unless you are running database driven sites you don&#8217;t absolutely need MySQL. The following commands will install MySQL 5 server and MySQL 5 client.</p>
<p class="command">apt-get install mysql-server mysql-client php5-mysql</p>
<p>Note: If you have already installed php4, you should make a slight change like this.</p>
<p class="command">apt-get install mysql-server mysql-client php4-mysql</p>
<p>The configuration file of MySQL is located at: <span class="system">/etc/mysql/my.cnf</span></p>
<h4>Creating users to use MySQL and Changing Root Password</h4>
<p>By default mysql creates user as root and runs with no passport. You might need to change the root password.</p>
<p>To change Root Password</p>
<p class="command">mysql -u root</p>
<p>mysql&gt; USE mysql;</p>
<p>mysql&gt; UPDATE user SET Password=PASSWORD(&#8216;new-password&#8217;) WHERE user=&#8217;root&#8217;;</p>
<p>mysql&gt; FLUSH PRIVILEGES;</p>
<p>You must <strong>never use root password</strong>, so you might need to create a user to connect to MySQL database for a PHP script. Alternatively you can add users to MySQL database by using a control panel like <strong>Webmin</strong> or <strong>phpMyAdmin</strong> to easily create or assign database permission to users. We will install Webmin and phpMyAdmin during later once we complete basic installation.</p>
<h3>3. PhpMyAdmin Installation</h3>
<p>PhpMyAdmin is a nice web based database management and administration software and easy to install and configure under apache. Managing databases with tables couldn&#8217;t be much simpler by using phpMyAdmin.</p>
<p>All you need to do is:</p>
<p class="command">apt-get install phpmyadmin</p>
<p>The phpMyAdmin configuration file is located at: <span class="system">/etc/phpmyadmin</span> folder.</p>
<p>To set up under Apache all you need to do is include the following line in <span class="system">/etc/apache2/apache2.conf</span>:</p><pre class="crayon-plain-tag"><code>Include /etc/phpmyadmin/apache.conf</code></pre><p>Now restart Apache:</p>
<p class="command">/etc/init.d/apache2 restart</p>
<p>Point your browser to: <span class="system">http://domain/phpmyadmin</span></p>
<p>That&#8217;s it! MySQL and phpMyAdmin are ready. Log in with your mysql root password and create users to connect to database from your php script.</p>
<p><em>This tutorial was written by Scott who currently runs <a href="http://www.mysql-apache-php.com/" target="_blank">MySQL-Apache-PHP.com</a>.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.zendzign.com/2008/05/how-to-set-up-a-ubuntudebian-lamp-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What Version of Debian Am I Running?</title>
		<link>http://www.zendzign.com/2008/05/what-version-of-debian-am-i-running/</link>
		<comments>http://www.zendzign.com/2008/05/what-version-of-debian-am-i-running/#comments</comments>
		<pubDate>Fri, 09 May 2008 18:15:25 +0000</pubDate>
		<dc:creator>Peter Zendzian</dc:creator>
				<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://zendzign.com/?p=7</guid>
		<description><![CDATA[On a Debian system, the file `/etc/debian_version&#8217; contains the release name of the Debian installed. Use cat to output the contents of this file (see Concatenating Text). * To output the release name of the Debian system you are on, type: $ cat /etc/debian_version NOTE: Debian releases have historically been named after characters from the [...]]]></description>
			<content:encoded><![CDATA[<p>On a Debian system, the file `/etc/debian_version&#8217; contains the release name of the Debian installed.</p>
<p>Use cat to output the contents of this file (see Concatenating Text).</p>
<p>* To output the release name of the Debian system you are on, type:</p>
<p>$ cat /etc/debian_version</p>
<p>NOTE: Debian releases have historically been named after characters from the motion picture Toy Story.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zendzign.com/2008/05/what-version-of-debian-am-i-running/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

