<?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>Ubuntu Archives - Joshua Bellendir</title>
	<atom:link href="https://www.joshuabellendir.com/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.joshuabellendir.com/tag/ubuntu/</link>
	<description>Global CIO &#124; Transformation Leader &#124; Trusted Advisor</description>
	<lastBuildDate>Tue, 18 Nov 2025 06:27:23 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://i0.wp.com/www.joshuabellendir.com/wp-content/uploads/2017/10/cropped-cropped-JBlogo.png?fit=32%2C32&#038;ssl=1</url>
	<title>Ubuntu Archives - Joshua Bellendir</title>
	<link>https://www.joshuabellendir.com/tag/ubuntu/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">186330610</site>	<item>
		<title>Preparing an Ubuntu (or Other Linux Distro) Web Server for Drupal</title>
		<link>https://www.joshuabellendir.com/preparing-a-ubuntu-or-other-distro-web-server-for-drupal/</link>
					<comments>https://www.joshuabellendir.com/preparing-a-ubuntu-or-other-distro-web-server-for-drupal/#respond</comments>
		
		<dc:creator><![CDATA[Joshua]]></dc:creator>
		<pubDate>Mon, 14 Nov 2011 00:00:00 +0000</pubDate>
				<category><![CDATA[Tech & Business]]></category>
		<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Web Server]]></category>
		<guid isPermaLink="false">http://wp.joshuabellendir.com/?p=173</guid>

					<description><![CDATA[<p>I recently set up an Ubuntu server inside VMware to test several Drupal sites offline. Installing Ubuntu is straightforward. Simply download one of the available images and run through the setup process. If you are working with older Drupal sites, especially Drupal 6, I recommend using Ubuntu 8.04.4 LTS (Hardy &#8230;</p>
<p>The post <a href="https://www.joshuabellendir.com/preparing-a-ubuntu-or-other-distro-web-server-for-drupal/">Preparing an Ubuntu (or Other Linux Distro) Web Server for Drupal</a> appeared first on <a href="https://www.joshuabellendir.com">Joshua Bellendir</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>I recently set up an Ubuntu server inside VMware to test several Drupal sites offline. Installing Ubuntu is straightforward. Simply download one of the available images and run through the setup process. If you are working with older Drupal sites, especially Drupal 6, I recommend using <strong>Ubuntu 8.04.4 LTS (Hardy Heron)</strong>. It includes PHP 5.2 by default, while later versions ship with PHP 5.3, which can cause compatibility issues for Drupal 6. If you are using Drupal 7 or newer, this is less of a concern.</p>



<p>During installation, Ubuntu will ask whether you want to include optional services. Make sure to install:</p>



<ul class="wp-block-list">
<li>LAMP Server</li>



<li>OpenSSH Server</li>



<li>Any additional packages you require</li>
</ul>



<p>This provides a basic working environment that you can fine tune for Drupal.</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h3 class="wp-block-heading">Step 1: Increase PHP and MySQL Memory Settings</h3>



<p>Drupal benefits from higher memory settings. Update your configuration files as follows:</p>



<p><strong>Edit MySQL settings</strong></p>



<pre class="wp-block-code"><code>sudo nano /etc/mysql/my.cnf
</code></pre>



<p>Search for <strong>max_allowed_packet</strong>. It appears twice. Increase both values to something higher, such as <strong>128M</strong>.</p>



<p><strong>Edit PHP settings</strong></p>



<pre class="wp-block-code"><code>sudo nano /etc/php5/apache2/php.ini
</code></pre>



<p>Find <strong>memory_limit</strong> and increase it to <strong>128M</strong> or more, depending on your needs.</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h3 class="wp-block-heading">Step 2: Enable Clean URLs (Apache Rewrite Module)</h3>



<p>Drupal relies on the Apache rewrite module to support clean URLs. Enable it with:</p>



<pre class="wp-block-code"><code>sudo a2enmod rewrite
</code></pre>



<p>Confirm it is enabled:</p>



<pre class="wp-block-code"><code>apache2ctl -M
</code></pre>



<p>You should see <code>rewrite_module</code> in the list.</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h3 class="wp-block-heading">Step 3: Update Apache Virtual Host Settings</h3>



<p>Assuming you are using the default site, modify the Apache configuration file:</p>



<pre class="wp-block-code"><code>sudo nano /etc/apache2/sites-available/default
</code></pre>



<p>Locate this section:</p>



<pre class="wp-block-code"><code>&lt;Directory /var/www/&gt;
</code></pre>



<p>Inside that block, update:</p>



<pre class="wp-block-code"><code>AllowOverride None
</code></pre>



<p>to:</p>



<pre class="wp-block-code"><code>AllowOverride All
</code></pre>



<p>This allows Drupal’s <code>.htaccess</code> file to function properly.</p>



<p>Save the file and reload Apache:</p>



<pre class="wp-block-code"><code>sudo /etc/init.d/apache2 reload
</code></pre>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h3 class="wp-block-heading">Step 4: Deploy Your Drupal Site</h3>



<p>At this point you can:</p>



<ul class="wp-block-list">
<li>Copy your web files into <code>/var/www/</code></li>



<li>Import your MySQL database</li>



<li>Update your settings.php file as needed</li>
</ul>



<p>Once everything is in place, load your site in a browser and it should behave exactly like your live environment.</p>
<p>The post <a href="https://www.joshuabellendir.com/preparing-a-ubuntu-or-other-distro-web-server-for-drupal/">Preparing an Ubuntu (or Other Linux Distro) Web Server for Drupal</a> appeared first on <a href="https://www.joshuabellendir.com">Joshua Bellendir</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.joshuabellendir.com/preparing-a-ubuntu-or-other-distro-web-server-for-drupal/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">173</post-id>	</item>
	</channel>
</rss>
