<?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>All About Web &#38; Mobile Application Development &#187; Linux</title>
	<atom:link href="http://www.londatiga.net/category/it/software/linux-software-it/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.londatiga.net</link>
	<description>All About Web &#38; Mobile Application Development</description>
	<lastBuildDate>Sat, 14 Jan 2012 16:56:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>How to Connect AT&amp;T USB Connect 881 Modem Using WvDial in Fedora</title>
		<link>http://www.londatiga.net/it/software/how-to-connect-att-usb-connect-881-modem-using-wvdial-in-fedora/</link>
		<comments>http://www.londatiga.net/it/software/how-to-connect-att-usb-connect-881-modem-using-wvdial-in-fedora/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 15:03:54 +0000</pubDate>
		<dc:creator>lorenz</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[connect internet]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[sierra wirless]]></category>
		<category><![CDATA[USB Connect 881]]></category>
		<category><![CDATA[usb modem]]></category>
		<category><![CDATA[usb modem 881 linux]]></category>
		<category><![CDATA[usb modem linux]]></category>
		<category><![CDATA[wvdial]]></category>
		<category><![CDATA[wvdialconfig]]></category>

		<guid isPermaLink="false">http://www.londatiga.net/?p=270</guid>
		<description><![CDATA[A couple of weeks ago i installed my laptop with the new release of Fedora Linux: Fedora 12 with code name Constantine. As usual, i had to make it connected to internet. I used my AT&#38;T USB Connect 881 modem with WvDial to connect. WvDial is a small linux utility that helps in making modem [...]]]></description>
			<content:encoded><![CDATA[<p>A couple of weeks ago i installed my laptop with the new release of Fedora Linux: <a title="Fedora 12" href="http://docs.fedoraproject.org/release-notes/f12/" target="_blank">Fedora 12</a> with code name Constantine. As usual, i had to make it connected to internet. I used my <a title="AT&amp;T USB Connect 881" href="http://www.wireless.att.com/businesscenter/usbconnect881/" target="_blank">AT&amp;T USB Connect 881</a> modem with WvDial to connect. <a title="WvDial" href="http://freshmeat.net/projects/wvdial/" target="_blank">WvDial</a> is a small linux utility that helps in making modem based connection to internet. It dials the modem and starts pppd in order to connect to internet.</p>
<p>WvDial consists of two main components which must be run as root:</p>
<ul>
<li><span style="color: #800000;">wvdial</span>, the pppd dialer that dials the modem</li>
<li><span style="color: #800000;">wvdialconf</span>, is used to build configuration file for wvdial</li>
</ul>
<p>How to connect:</p>
<ul>
<li>Run<span style="color: #800000;"> wvdialco<span style="color: #800000;">n</span></span><span style="color: #800000;">f</span> to generate a configuration file, <span style="color: #800000;">/etc/w</span><span style="color: #800000;">vdial.conf</span>, that contains information about modem and ISP.</li>
<div class="wp-caption alignnone" style="width: 410px"><img title="wvdialconf messages" src="http://londatiga.net/images/wvdial/wvdialconf.jpg" alt="wvdialconf messages" width="400" height="471" /><p class="wp-caption-text">wvdialconf messages</p></div>
<p><span style="color: #800000;">wvdialconf</span> probes for modem information and found it on /dev/ttyUSB0</p>
<li>The generated <span style="color: #800000;">/etc/wvdial.co<span style="color: #800000;">n</span></span><span style="color: #800000;">f</span> should look something like this</li>
<div class="wp-caption alignnone" style="width: 316px"><img title="Generated /etc/wvdial.conf" src="http://londatiga.net/images/wvdial/wvdialdotconf.jpeg" alt="Generated /etc/wvdial.conf" width="306" height="161" /><p class="wp-caption-text">Generated /etc/wvdial.conf</p></div>
<li>Remove the &#8216;;&#8217; character from the<span style="color: #800000;"> Phone</span>, <span style="color: #800000;">Username</span>, and<span style="color: #800000;"> Password</span> line and replace the <span style="color: #800000;">&lt;Target Phone Number&gt;</span>, <span style="color: #800000;">&lt;Your Login Name&gt;</span>, and<span style="color: #800000;"> &lt;Your Password&gt;</span> with the dial number, username and password from your ISP.</li>
<li>The final configuration should look something like this (one line are added to suit with my ISP settings)</li>
<div class="wp-caption alignnone" style="width: 307px"><img title="/etc/wvdial.conf" src="http://londatiga.net/images/wvdial/newconf.jpg" alt="/etc/wvdial.conf" width="297" height="147" /><p class="wp-caption-text">/etc/wvdial.conf</p></div>
<li>Run <span style="color: #800000;">w</span><span style="color: #800000;">vdial</span> to connect to internet</li>
<div class="wp-caption alignnone" style="width: 410px"><img title="wvdial connected" src="http://londatiga.net/images/wvdial/connected.jpg" alt="wvdial connected" width="400" height="410" /><p class="wp-caption-text">wvdial connected</p></div>
<li>To disconnect, use<span style="color: #800000;"> Ctrl+C</span> to terminate the wvdial.</li>
</ul>
<p><span style="text-decoration: underline;">Notes:</span></p>
<p>By default, <span style="color: #800000;">wvdial </span>will copy DNS address from ISP to <span style="color: #800000;">/etc/resolv.conf</span>, but in Fedora 12 you have to copy it manually (seems to be a bug).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.londatiga.net/it/software/how-to-connect-att-usb-connect-881-modem-using-wvdial-in-fedora/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Installing TeamSpeak Server on FreeBSD</title>
		<link>http://www.londatiga.net/it/installing-teamspeak-server-on-freebsd/</link>
		<comments>http://www.londatiga.net/it/installing-teamspeak-server-on-freebsd/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 17:24:28 +0000</pubDate>
		<dc:creator>lorenz</dc:creator>
				<category><![CDATA[Featured Articles]]></category>
		<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[distfiles]]></category>
		<category><![CDATA[emulator]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[install teamspeak]]></category>
		<category><![CDATA[install teamspeak freebsd]]></category>
		<category><![CDATA[install teamspeak linux]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ports]]></category>
		<category><![CDATA[teamspeak server]]></category>

		<guid isPermaLink="false">http://www.londatiga.net/?p=129</guid>
		<description><![CDATA[TeamSpeak is a powerfull voice over IP software which enables people to speak with one another over the internet. TeamSpeak consists of both client and server software which the server acts as a host to multiple client connections, capable of handling literally thousands of simultaneous users. The target audience for TeamSpeak are gamers, who can use [...]]]></description>
			<content:encoded><![CDATA[<p>TeamSpeak is a powerfull voice over IP software which enables people to speak with one another over the internet. TeamSpeak consists of both client and server software which the server acts as a host to multiple client connections, capable of handling literally thousands of simultaneous users. The target audience for TeamSpeak are gamers, who can use the software to communicate with other players on the same team of a multiplayer game. Communicating by voice gives a competitive advantage by allowing players to keep their hands on the controls.</p>
<p>In this article, i&#8217;ll explain how to install TeamSpeak Server 2 on Unix machine running FreeBSD 7.0 using ports installation.  TeamSpeak server was designed only for Windows and Linux platform, so, for FreeBSD platform, you must install linux emulator first.</p>
<p>Installation steps:</p>
<ol>
<li>Install linux Fedora Core 4  emulator with the following command:<br />
<span style="color: #000000;"># cd /usr/ports/emulators/linux_base-fc4 </span><span style="color: #000000;">.</span><br />
# make</p>
<div class="wp-caption alignnone" style="width: 510px"><img title="linux base make command result" src="http://londatiga.net/images/teamspeak/linuxbase_make.jpg" alt="linux base make command result" width="500" height="135" /><p class="wp-caption-text">linux base &#39;make&#39; command result</p></div>
<p># make install</p>
<div class="wp-caption alignnone" style="width: 510px"><img title="linux base make install command result" src="http://londatiga.net/images/teamspeak/linuxbase_make_install.jpg" alt="linux base make install command result" width="500" height="188" /><p class="wp-caption-text">linux base &#39;make install&#39; command result</p></div></li>
<li>Install TeamSpeak server with the following command:<br />
# cd /usr/ports/audio/teamspeak_server<br />
# make</p>
<p><div class="wp-caption alignnone" style="width: 510px"><img title="team speak make command result" src="http://londatiga.net/images/teamspeak/tsserver_make.jpg" alt="team speak make command result" width="500" height="102" /><p class="wp-caption-text">team speak &#39;make&#39; command result</p></div>
<p># make install</p>
<div class="wp-caption alignnone" style="width: 510px"><a href="http://londatiga.net/images/teamspeak/tsserver_makeinstall-orig.jpg"><img title="team speak make install command result" src="http://londatiga.net/images/teamspeak/tsserver_makeinstall.jpg" alt="team speak make install command result" width="500" height="217" /></a><p class="wp-caption-text">team speak &#39;make install&#39; command result</p></div></li>
<li> Start TeamSpeak server with the following command:<br />
# cd /usr/local/lib/teamspeak_server<br />
# ./server-linux -PID=tsserver2.pid</p>
<p><div class="wp-caption alignnone" style="width: 510px"><img title="start team speak server" src="http://londatiga.net/images/teamspeak/tsserver_run.jpg" alt="start team speak server" width="500" height="52" /><p class="wp-caption-text">start team speak server</p></div>
<p>Check if server is running</p>
<p># ps aux | grep server_linux</p>
<div class="wp-caption alignnone" style="width: 510px"><img title="check if ts server is running" src="http://londatiga.net/images/teamspeak/tsserver_check.jpg" alt="check if ts server is running" width="500" height="136" /><p class="wp-caption-text">check if ts server is running</p></div></li>
<li>Open web browser, point to your TeamSpeak Server address, http://yourserver:14534</li>
<p><div class="wp-caption alignnone" style="width: 510px"><img title="TeamSpeak web interface" src="http://londatiga.net/images/teamspeak/tsserver_web.jpg" alt="TeamSpeak web interface" width="500" height="259" /><p class="wp-caption-text">TeamSpeak web interface</p></div>
<li>Username and password for admin can be found on <span style="color: #0000ff;">/usr/local/lib/teamspeak_server/server.log <span style="color: #000000;">file</span></span></li>
<div class="wp-caption alignnone" style="width: 510px"><img title="server.log file" src="http://londatiga.net/images/teamspeak/tsserver_log.jpg" alt="server.log file" width="500" height="172" /><p class="wp-caption-text">server.log file</p></div>
<li> Login with username admin and password as found in <span style="color: #0000ff;">server.lo</span><span style="color: #0000ff;">g</span> file and do some setup configuration for your newly installed server.</li>
<p><div class="wp-caption alignnone" style="width: 510px"><a href="http://londatiga.net/images/teamspeak/tsserver_admin-orig.jpg"><img title="Admin panel" src="http://londatiga.net/images/teamspeak/tsserver_admin.jpg" alt="Admin panel" width="500" height="178" /></a><p class="wp-caption-text">Admin panel</p></div></ol>
]]></content:encoded>
			<wfw:commentRss>http://www.londatiga.net/it/installing-teamspeak-server-on-freebsd/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Installing MapServer and PHP MapScript on Linux</title>
		<link>http://www.londatiga.net/it/installing-mapserver-and-php-mapscript-on-linux/</link>
		<comments>http://www.londatiga.net/it/installing-mapserver-and-php-mapscript-on-linux/#comments</comments>
		<pubDate>Sat, 03 May 2008 18:35:57 +0000</pubDate>
		<dc:creator>lorenz</dc:creator>
				<category><![CDATA[Featured Articles]]></category>
		<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[GIS]]></category>
		<category><![CDATA[install mapscript linux]]></category>
		<category><![CDATA[install mapserver]]></category>
		<category><![CDATA[install mapserver freebsd]]></category>
		<category><![CDATA[install mapserver linux]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[MapServer]]></category>
		<category><![CDATA[PHP MapScript]]></category>
		<category><![CDATA[PostGIS]]></category>

		<guid isPermaLink="false">http://www.londatiga.net/it/gis/installing-mapserver-and-php-mapscript-on-linux/</guid>
		<description><![CDATA[Introduction
MapServer is an open source and free software for rendering maps, images, and vector data on the web. MapServer was originally developed by the University of Minnesota (UMN) ForNet project in cooperation with NASA and the Minnesota Department of Natural Resources. Presently, the MapServer project is hosted by the TerraSIP, a NASA sponsored project between [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal"><strong><span style="font-size: 12pt; line-height: 115%">Introduction</span></strong></p>
<p class="MsoNormal" style="text-align: justify">MapServer is an open source and free software for rendering maps, images, and vector data on the web. MapServer was originally developed by the University of Minnesota (UMN) ForNet project in cooperation with NASA and the Minnesota Department of Natural Resources. Presently, the MapServer project is hosted by the TerraSIP, a NASA sponsored project between the UMN and consortium of land management interests (<a href="http://mapserver.gis.umn.edu/">http://mapserver.gis.umn.edu</a>).</p>
<p class="MsoNormal">MapServer can be compiled on many platforms and operating systems, but in this tutorial, I will focus on unix like system, especially Linux.</p>
<p class="MsoNormal"><strong><span style="font-size: 12pt; line-height: 115%">Prerequisites</span></strong></p>
<p>Operating system used in this tutorial is Linux Fedora<span> </span>Core 7 with Apache (httpd-2.0.55), PHP (php-5.2.3), and PostgreSQL(postgresql-8.2.4) already installed using manual source installation (not using default rpm package). Required libraries that already installed are libpng, libjpeg, libtiff, and zlib. Installation manual for those softwares and libraries are beyond the scope of this tutorial.  <span id="more-12"></span></p>
<p class="MsoNormal">Required softwares and libraries:<span><span> </span></span></p>
<ol>
<li><a title="MapServer Homepage" href="http://mapserver.gis.umn.edu/" target="_blank">Mapserver</a>: is the main software.</li>
<p>Source:<a title="Download Source" href="http://download.osgeo.org/mapserver/mapserver-5.0.2.tar.gz" target="_blank"> http://download.osgeo.org/mapserver/mapserver-5.0.2.tar.gz</a></p>
<li><a title="GD Library" href="http://www.libgd.org" target="_blank">GD</a>: used by MapServer for rendering images, version 2.0.28 or greater is required.</li>
<p>Source: <a title="Download Source" href="http://www.libgd.org/releases/gd-2.0.35.tar.gz" target="_blank">http://www.libgd.org/releases/gd-2.0.35.tar.gz</a></p>
<li><a title="PROJ homepage" href="http://proj.maptools.org/" target="_blank">PROJ.4</a>: provides projection support for MapServer (also needed by PostGIS), version 4.4.6 or greater is required.</li>
<p>Source: <a title="Download Source" href="ftp://ftp.remotesensing.org/proj/proj-4.6.0.tar.gz" target="_blank">ftp://ftp.remotesensing.org/proj/proj-4.6.0.tar.gz</a></p>
<li><a title="GEOS Homepage" href="http://geos.refractions.net/" target="_blank">GEOS</a>: enables MapServer to do spatial operation (within, touches, union, difference, intersection), also needed by PostGIS.</li>
<p>Source: <a title="GEOS Homepage" href="http://geos.refractions.net/downloads/geos-3.0.0.tar.bz2" target="_blank">http://geos.refractions.net/downloads/geos-3.0.0.tar.bz2</a></p>
<li><a title="GDAL Homepage" href="http://www.gdal.org/" target="_blank">GDAL</a>: provides access to at least 42 different raster formats.</li>
<p>Source: <a title="Download Source" href="http://download.osgeo.org/gdal/gdal-1.5.1.tar.gz" target="_blank">http://download.osgeo.org/gdal/gdal-1.5.1.tar.gz</a></p>
<li><a title="GDAL Homepage" href="http://www.gdal.org/" target="_blank">OGR</a>: provides access to at least 18 different vector formats.</li>
<p>Source: <a title="Download Source" href="http://download.osgeo.org/gdal/gdal-1.5.1.tar.gz" target="_blank">http://download.osgeo.org/gdal/gdal-1.5.1.tar.gz</a></p>
<li><a title="CURL Homepage" href="http://curl.haxx.se/libcurl/" target="_blank">CURL</a>: is the foundation of OGC (WFS, WMS, WCS) client and server support, requires version 7.10 or greater.</li>
<p>Source: <a title="Download Source" href="http://curl.haxx.se/download/curl-7.18.1.tar.gz" target="_blank">http://curl.haxx.se/download/curl-7.18.1.tar.gz</a></p>
<li><a title="PostGIS Homepage" href="http://www.postgis.org/" target="_blank">PostGIS</a>: adds support for geographic objects to the PostgreSQL.</li>
<p>Source: <a title="Download Source" href="http://www.postgis.org/download/postgis-1.3.3.tar.gz" target="_blank">http://www.postgis.org/download/postgis-1.3.3.tar.gz</a></ol>
<p class="MsoListParagraphCxSpFirst" style="margin-left: 0in"><em>Note:</em></p>
<p class="MsoListParagraphCxSpMiddle" style="margin-left: 0in">Apache was installed under /usr/local/apache</p>
<p class="MsoListParagraphCxSpMiddle" style="margin-left: 0in">PostgreSQL was installed under /usr/local/pgsql</p>
<p class="MsoListParagraphCxSpMiddle" style="margin-left: 0in">All previously installed libraries (libpng, libjpeg, libtiff, and zlib) were installed under /usr/lib</p>
<p>Apache root directory is /data/www/html, cgi-bin directory is /data/www/cgi-bin</p>
<p class="MsoNormal"><strong><span style="font-size: 12pt; line-height: 115%">Installation</span></strong></p>
<p class="MsoNormal"><em><strong>GD</strong></em></p>
<p class="MsoNormal">Installation steps:</p>
<ul>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;installer]$<strong> tar –xzvf gd-2.0.35.tar.gz</strong></li>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;installer]$<strong> cd gd-2.0.35</strong></li>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;gd-2.0.35]$<strong> ./configure</strong></li>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;gd-2.0.35]$ <strong>make</strong></li>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;gd-2.0.35]$ <strong>make install</strong></li>
</ul>
<p class="MsoNormal"><em>Note</em>: default installation directory is /usr/local</p>
<p class="MsoNormal"><em><strong>PROJ.4</strong></em></p>
<p class="MsoNormal">Installation steps:</p>
<ul>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;installer]$<strong> tar –xzvf proj-4.6.0.tar.gz</strong></li>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;installer]$<strong> cd proj-4.6.0</strong></li>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;proj-4.6.0]$<strong> ./configure</strong></li>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;installer]$ <strong>make</strong></li>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;installer]$<strong> make install</strong></li>
</ul>
<p class="MsoNormal"><em>Note</em>: default installation directory is /usr/local</p>
<p class="MsoNormal"><em><strong>GEOS</strong></em></p>
<p class="MsoNormal">Installation steps:</p>
<ul>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;installer]$<strong> tar –xjvf geos-3.0.0.tar.bz2</strong></li>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;installer]$<strong> cd geos-3.0.0</strong></li>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;geos-3.0.0]$ <strong>./configure</strong></li>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;geos-3.0.0]$ <strong>make</strong></li>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;geos-3.0.0]$ <strong>make install</strong></li>
</ul>
<p class="MsoNormal"><em>Note</em>: default installation directory is /usr/local</p>
<p></p>
<p class="MsoNormal"><em><strong>GDAL</strong></em></p>
<p class="MsoNormal">Installation steps:</p>
<ul>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;installer]$<strong> tar –xzvf gdal-1.5.1.tar.gz</strong></li>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;installer]$<strong> cd gdal-1.5.1</strong></li>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;gdal-1.5.1]$ <strong>./configure</strong></li>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;gdal-1.5.1]$<strong> make</strong></li>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;gdal-1.5.1]$ <strong>make install</strong></li>
</ul>
<p class="MsoNormal"><em>Note</em>: default installation directory is /usr/local</p>
<p class="MsoNormal"><em><strong>CURL</strong></em></p>
<p class="MsoNormal">Installation steps:</p>
<ul>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;installer]$<strong> tar –xzvf curl-7.18.1.tar.gz</strong></li>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;installer]$<strong> cd curl-7.18.1</strong></li>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;curl-7.18.1]$ <strong>./configure</strong></li>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;curl-7.18.1]$<strong> make</strong></li>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;curl-7.18.1]$<strong> make install</strong></li>
</ul>
<p class="MsoNormal"><em>Note</em>: default installation directory is /usr/local</p>
<p class="MsoNormal"><em><strong>Update ld-config</strong></em></p>
<ul>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;installer]$<strong> cd /etc/ld.so.conf.d/</strong></li>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;ld.so.conf.d]$<strong> echo /usr/local/lib &gt; usrlocalib.conf</strong></li>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;ld.so.conf]$<strong> /sbin/ldconfig</strong></li>
</ul>
<p class="MsoNormal"><em><strong>PostGIS</strong></em></p>
<p class="MsoNormal">Installation steps:</p>
<ul>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;installer]$<strong> tar –xzvf postgis-1.3.3.tar.gz</strong></li>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;installer]$ <strong>cd postgis-1.3.3</strong></li>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;postgis-1.3.3]$ <strong>./configure &#8211;with-pgsql=/usr/local/pgsql/bin/pg_config &#8211;with-proj &#8211;with-geos</strong></li>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;postgis-1.3.3]$<strong> make</strong></li>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;postgis-1.3.3]$ <strong>make install</strong></li>
</ul>
<p class="MsoNormal"><em><strong>Recompile PHP as CGI</strong></em></p>
<p class="MsoNormal">Installation steps:</p>
<ul>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;installer]$<strong> cd php-5.2.3</strong></li>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;php-5.2.3]$ <strong>./configure &#8211;enable-force-cgi-redirect \</strong></li>
<p><strong>&gt; &#8211;with-gd=/usr/local/ \ </strong><strong><br />
&gt; &#8211;with-jpeg-dir=/usr/lib \ </strong><strong><br />
&gt; &#8211;with-png-dir=/usr/lib \ </strong><strong><br />
&gt; &#8211;with-tiff-dir=/usr/lib \ </strong><strong><br />
&gt; &#8211;with-zlib-dir=/usr/lib \ </strong><strong><br />
&gt; &#8211;with-freetype-dir=/usr/lib \ </strong><strong><br />
&gt; &#8211;without-ttf \ </strong><strong><br />
&gt; &#8211;with-mysql=/usr/local/mysql/ \ </strong><strong><br />
&gt; &#8211;with-pgsql=/usr/local/pgsql/ \ </strong><strong><br />
&gt; &#8211;with-curl=/usr/local/ \ </strong><strong><br />
&gt; &#8211;with-gettext \ </strong><strong><br />
&gt; &#8211;enable-ftp \ </strong><strong><br />
&gt; &#8211;enable-xml \ </strong><strong><br />
&gt; &#8211;with-zlib \ </strong><strong><br />
&gt; &#8211;with-regex=system \ </strong><strong><br />
&gt; &#8211;enable-dbase \ </strong><strong><br />
&gt; &#8211;enable-dbx \ </strong><strong><br />
&gt; &#8211;with-config-file-path=/usr/local/lib</strong></p>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;php-5.2.3]$ <strong>make</strong></li>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;php-5.2.3]$ <strong>cp sapi/cgi/php-cgi /data/www/cgi-bin</strong></li>
</ul>
<p><em>Note</em>: DO NOT do a “make install”</p>
<p class="MsoNormal"><em><strong>MapServer</strong></em></p>
<p class="MsoNormal">Installation steps:</p>
<ul>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;installer]$ <strong>tar –xzvf mapserver-5.0.2.tar.gz</strong></li>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;installer]$ <strong>cd mapserver-5.0.2</strong></li>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;mapserver-5.0.2]$ <strong>./configure  &#8211;with-ogr=/usr/local/bin/gdal-config \</strong></li>
<p><strong>&gt; &#8211;with-gdal=/usr/local/bin/gdal-config \ </strong><br />
<strong>&gt; &#8211;with-httpd=/usr/local/apache/bin/httpd \ </strong><br />
<strong>&gt; &#8211;with-wfsclient \ </strong><br />
<strong>&gt; &#8211;with-wmsclient \ </strong><br />
<strong>&gt; &#8211;enable-debug \</strong><br />
<strong>&gt; &#8211;with-curl-config=/usr/local/bin/curl-config</strong><br />
<strong>&gt; &#8211;with-proj=/usr/local \</strong><br />
<strong>&gt; &#8211;with-tiff \</strong><br />
<strong>&gt; &#8211;with-gd=/usr/local \</strong><br />
<strong>&gt; &#8211;with-jpeg \</strong><br />
<strong>&gt; &#8211;with-freetype=/usr/ \</strong><br />
<strong>&gt; &#8211;with-threads \</strong><br />
<strong>&gt; &#8211;with-wcs \</strong><br />
<strong>&gt; &#8211;with-postgis=/usr/local/pgsql/bin/pg_config \</strong><br />
<strong>&gt; &#8211;with-libiconv=/usr \</strong><br />
<strong>&gt; &#8211;with-geos=/usr/local/bin/geos-config \</strong><br />
<strong>&gt; &#8211;with-xml2-config=/usr/bin/xml2-config \</strong><br />
<strong>&gt; &#8211;with-sos \</strong><br />
<strong>&gt; &#8211;with-php=../php-5.2.3/</strong></p>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;mapserver-5.0.2]$ <strong>make</strong></li>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;mapserver-5.0.2]$ <strong>cp mapserv legend scalebar shp2img shp2pdf shptree shptreest shptreevis sortshp tile4ms /data/www/cgi-bin</strong></li>
</ul>
<p><em>Note</em>: DO NOT do a “make install”</p>
<p class="MsoNormal">PHP MapScript installation steps:</p>
<ul>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;mapserver-5.0.2]$ <strong>mkdir /usr/local/lib/php/extensions</strong></li>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;mapserver-5.0.2]$ <strong>cp mapscript/php3/php_mapscript.so /usr/local/lib/php/extensions</strong></li>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;mapserver-5.0.2]$ <strong>cd /usr/local/lib</strong></li>
<li>Edit file php.ini and add two lines below:</li>
<p>extension_dir = &#8220;/usr/local/lib/php/extensions&#8221; extension = &#8220;php_mapscript.so&#8221;</p>
<li>Edit file /usr/local/apache/conf/httpd.conf and add two lines below:</li>
<p>AddType application/x-httpd-php-cgi .phtml Action  application/x-httpd-php-cgi /cgi-bin/php-cgi</p>
<li>Restart apache (#/usr/local/apache/bin/apachectl restart)</li>
</ul>
<p class="MsoNormal"><em><strong>Test PHP Mapscript</strong></em></p>
<p class="MsoNormal">To test PHP MapScript that already installed:</p>
<ul>
<li>Go into web root directory (/data/www/html)</li>
<li>Create php file and add phpinfo() line into the file</li>
<li>Save the file as info.phtml</li>
<li>Open browser and point to http://localhost/info.phtml</li>
<li>If installation is successful, the phpinfo page should contain part like this:</li>
</ul>
<p><a title="MapScript" href="http://blog.londatiga.net/wp-content/uploads/2008/05/mapscript21.jpg"><img src="http://blog.londatiga.net/wp-content/uploads/2008/05/mapscript21.jpg" alt="MapScript" /></a></p>
<p class="MsoNormal">To test drawing map, you can download simple demo application from <a title="Download Source" href="http://www.londatiga.net/downloads/tutorial/phpmapscript-demo.tar.gz" target="_blank">http://www.londatiga.net/downloads/tutorial/phpmapscript-demo.tar.gz</a></p>
<p class="MsoNormal">To test PHP MapScript that already installed:</p>
<ul>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;installer]$ <strong>cp phpmapscript-demo.tar.gz /data/www/html</strong></li>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;installer]$ <strong>cd /data/www/html</strong></li>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;installer]$ <strong>tar –xzvf phpmapscript-demo.tar.gz</strong></li>
<li>[<span style="color: #0000ff;">lorenz</span><span style="color: #ff0000;">@devel</span>&gt;&gt;installer]$ <strong>chmod 777 tmp</strong></li>
<li>Open browser and point to http://localhost/phpmapscript-demo</li>
<li>If all things running well it should display a map</li>
</ul>
<p>You can download PDF version of this tutorial <a title="Download PDF" href="http://www.londatiga.net/downloads/tutorial/mapserver_install_linux.pdf" target="_blank">here</a></p>
<p><strong>UPDATES 06 June 2008<br />
</strong></p>
<p>For latest version of Linux such as Fedora Core 9, it comes with newest gcc compiler (gcc 4.3) , compiling those packages above may cause some errors (error when run <em>make</em> command on geos-3.0.0, gdal-1.5.1 and mapserver-5.0.2). To overcome this problem, download the latest version of those packages. At the time i write this update, latest version of gdal is gdal-1.5.2RC3 and mapserver is mapserver-5.0.3, for geos, download the following patch: <a title="Geos patch for gcc-4.3" href="http://londatiga.net/downloads/software/geos-3.0.0-gcc43.patch" target="_blank">geos-3.0.0-gcc43.patch</a> .</p>
]]></content:encoded>
			<wfw:commentRss>http://www.londatiga.net/it/installing-mapserver-and-php-mapscript-on-linux/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>

