<?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>Tuts4Tech &#187; server</title>
	<atom:link href="http://tuts4tech.net/tag/server/feed/" rel="self" type="application/rss+xml" />
	<link>http://tuts4tech.net</link>
	<description>Tech Tutorials</description>
	<lastBuildDate>Tue, 04 May 2010 20:35:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Setting up a FTP Server on debian</title>
		<link>http://tuts4tech.net/2009/07/14/setting-up-a-ftp-server-on-debian/</link>
		<comments>http://tuts4tech.net/2009/07/14/setting-up-a-ftp-server-on-debian/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 16:26:21 +0000</pubDate>
		<dc:creator>Duffy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[file transfer]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[vsftpd]]></category>
		<category><![CDATA[Webhosting]]></category>

		<guid isPermaLink="false">http://tuts4tech.net/?p=493</guid>
		<description><![CDATA[Install vsftpd Edit the file /etc/vsftpd.conf and make the following changes: Change Yes to No in the following line Uncomment the following lines by removing the # Finally restart the vsftpd You and any of your users should now be able to FTP the server]]></description>
			<content:encoded><![CDATA[<ol>
<li>Install vsftpd
<pre class="brush: bash; title: ; notranslate">apt-get install vsftpd</pre>
</li>
<li>Edit the file /etc/vsftpd.conf and make the following changes:
<ol>
<li>Change Yes to No in the following line
<pre class="brush: plain; title: ; notranslate">Anonymous_enable = YES</pre>
</li>
<li>Uncomment the following lines by removing the #
<pre class="brush: plain; title: ; notranslate">#local_enable = YES
#write_enable = YES
#local_umask = 022
#chroot_local_user = YES</pre>
</li>
</ol>
<p>
</li>
<li>Finally restart the vsftpd
<pre class="brush: bash; title: ; notranslate">/etc/init.d/vsftpd</pre>
</li>
<li>You and any of your users should now be able to FTP the server</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://tuts4tech.net/2009/07/14/setting-up-a-ftp-server-on-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to setup a LDAP Server</title>
		<link>http://tuts4tech.net/2009/07/01/how-to-setup-a-ldap-server/</link>
		<comments>http://tuts4tech.net/2009/07/01/how-to-setup-a-ldap-server/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 01:50:29 +0000</pubDate>
		<dc:creator>Duffy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[backend]]></category>
		<category><![CDATA[clients]]></category>
		<category><![CDATA[groups]]></category>
		<category><![CDATA[ldap]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[users]]></category>

		<guid isPermaLink="false">http://tuts4tech.net/?p=403</guid>
		<description><![CDATA[Installation We need to install the ldap packages Answer the questions and then use dpkg to reconfigure slapd for more options Check that the ldap server is now running If you get this error Its likely the daemon isn't running so start it Populating the Database We can use migration tools to export all of [...]]]></description>
			<content:encoded><![CDATA[<h3>Installation</h3>
<ol>
<li>We need to install the ldap packages
<pre class="brush: bash; title: ; notranslate">apt-get install slapd ldap-utils migrationtools</pre>
</li>
<li>Answer the questions and then use dpkg to reconfigure slapd for more options
<pre class="brush: bash; title: ; notranslate">dpkg-reconfigure slapd</pre>
<p>
<pre class="brush: plain; title: ; notranslate">Omit OpenLDAP server configuration? ... No
DNS domain name: ... home.local
Name of your organization: ... home
Admin Password: some-really-strong-password
Confirm Password: some-really-strong-password
OK
BDB
Do you want your database to be removed when slapd is purged? ... No
Move old database? ... Yes
Allow LDAPv2 Protocol? ... No </pre>
</li>
<li>Check that the ldap server is now running
<pre class="brush: bash; title: ; notranslate">ldapsearch -x -b dc=home,dc=local</pre>
<p>If you get this error 
<pre class="brush: plain; title: ; notranslate">ldap_bind: Can't contact LDAP server (-1)</pre>
<p>Its likely the daemon isn't running so start it
<pre class="brush: plain; title: ; notranslate">/etc/init.d/slapd start</pre>
</li>
</ol>
<p><span id="more-403"></span></p>
<h3>Populating the Database</h3>
<li>We can use migration tools to export all of our users and groups into the LDAP db switch into the migrations tools directory
<pre class="brush: bash; title: ; notranslate">cd /usr/share/migrationtools/</pre>
</li>
<li>Edit the migrations tools config file
<pre class="brush: bash; title: ; notranslate">nano migrate_common.ph</pre>
<p>and replace the following
<pre class="brush: plain; title: ; notranslate">DEFAULT_MAIL_DOMAIN = &quot;home.local&quot;;
DEFAULT_BASE = &quot;dc=home,dc=local&quot;;</pre>
</li>
<li>Export the users and groups
<pre class="brush: bash; title: ; notranslate">./migrate_group.pl /etc/group /tmp/group.ldif
./migrate_passwd.pl /etc/passwd /tmp/passwd.ldif </pre>
</li>
<li>Migrate tools doesn't create the group and people nodes therefore we need to create them open /tmp/nodes.ldif
<pre class="brush: bash; title: ; notranslate">nano /tmp/nodes.ldif</pre>
<p>and paste in the following
<pre class="brush: plain; title: ; notranslate">dn: ou=People, dc=home, dc=local
ou: People
objectclass: organizationalUnit

dn: ou=Group, dc=home, dc=local
ou: Group
objectclass: organizationalUnit</pre>
</li>
<li>Finally we need to import the entries into our LDAP database
<pre class="brush: plain; title: ; notranslate">ldapadd -x -W -D &quot;cn=admin,dc=home,dc=local&quot; -f /tmp/nodes.ldif
ldapadd -x -W -D &quot;cn=admin,dc=home,dc=local&quot; -f /tmp/group.ldif
ldapadd -x -W -D &quot;cn=admin,dc=home,dc=local&quot; -f /tmp/passwd.ldif </pre>
</li>
<p>That is your LDAP server setup In <a href="http://tuts4tech.net/2009/07/02/configuring-ldap-clients/">this tutorial</a> it will show you how to configure your LDAP Clients</p>
]]></content:encoded>
			<wfw:commentRss>http://tuts4tech.net/2009/07/01/how-to-setup-a-ldap-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Vmware Server on Arch Linux</title>
		<link>http://tuts4tech.net/2009/06/26/installing-vmware-server-on-arch-linux/</link>
		<comments>http://tuts4tech.net/2009/06/26/installing-vmware-server-on-arch-linux/#comments</comments>
		<pubDate>Fri, 26 Jun 2009 13:16:46 +0000</pubDate>
		<dc:creator>Duffy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[2.0.1]]></category>
		<category><![CDATA[2.6.30]]></category>
		<category><![CDATA[arch]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[machine]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[virtual]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[webbased management]]></category>

		<guid isPermaLink="false">http://tuts4tech.net/?p=360</guid>
		<description><![CDATA[In this tutorial we will be showing you how to install vmware server 2.0.1 on arch linux using kernel 2.6.30 before we begin you will need the tar.gz version of vmware server it can be freely downloaded from here We need to create some folders to store the vmware scripts so run the following as [...]]]></description>
			<content:encoded><![CDATA[<p>In this tutorial we will be showing you how to install vmware server 2.0.1 on arch linux using kernel 2.6.30<br />
before we begin you will need the tar.gz version of vmware server it can be freely downloaded from <a href="http://www.vmware.com/download/server/">here</a></p>
<ol>
<li>We need to create some folders to store the vmware scripts so run the following as root
<pre class="brush: bash; title: ; notranslate">mkdir -p /etc/rc.d/vmware.d/rc{0,1,2,3,4,5,6}.d</pre>
</li>
<li>We then need to make a symlink for lsmod
<pre class="brush: bash; title: ; notranslate">ln -s /bin/lsmod /sbin/</pre>
</li>
<li>We need to install some dependiencies
<pre class="brush: bash; title: ; notranslate">pacman -S libxtst libxt libxrender xinet</pre>
</li>
<li>Move your vmware server tarball file into /tmp and extract it
<pre class="brush: bash; title: ; notranslate">tar xzf VMware-server-2.0.1*.tar.gz</pre>
</li>
<li>Run vmware-install.pl
<pre class="brush: bash; title: ; notranslate">cd /tmp/vmware-server-distrib
./vmware-install.pl</pre>
</li>
<li>When it asks where the directories for rc0.d thru rc6.d are, use /etc/rc.d/vmware.d<br />When it asks where the init directory is, use /etc/rc.d<br />Select no when it asks you do you want to run vmware-config.pl</li>
<li>Now we need to download a patch so that it will run on kernel 2.6.30<br />
<h3>For 64bit users</h3>
<ol>
<li>
<pre class="brush: plain; title: ; notranslate">cd /tmp
wget tuts4tech.net/files/vmware-server.2.0.1_x64-modules-2.6.30-fix.sh
wget tuts4tech.net/files/vmware-server.2.0.1_x64-modules-2.6.30-fix.patch</pre>
</li>
<li>We now need to run vmware-server.2.0.1_x64-modules-2.6.30-fix.sh
<pre class="brush: plain; title: ; notranslate">sh vmware-server.2.0.1_x64-modules-2.6.30-fix.sh</pre>
</li>
</ol>
<h3>For 32bit users</h3>
<ol>
<li>
<pre class="brush: plain; title: ; notranslate">cd /tmp
wget tuts4tech.net/files/vmware-6.5.2-modules-2.6.30-fix.sh
wget tuts4tech.net/files/vmware-6.5.2-modules-2.6.30-fix.patch</pre>
</li>
<li>We now need to run vmware-6.5.2-modules-2.6.30-fix.sh<br />[test]sh vmware-6.5.2-modules-2.6.30-fix.sh[/test]</li>
</ol>
</li>
<li>Most of the default options should be ok for you when its finished you'll be able to access the web management console at http://your-servers-ip:8222</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://tuts4tech.net/2009/06/26/installing-vmware-server-on-arch-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lighttpd On Windows</title>
		<link>http://tuts4tech.net/2009/04/06/lighttpd-on-windows/</link>
		<comments>http://tuts4tech.net/2009/04/06/lighttpd-on-windows/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 12:12:43 +0000</pubDate>
		<dc:creator>Duffy</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://duffys-place.co.cc/?p=69</guid>
		<description><![CDATA[Setting Up Lighttpd Download the lighttpd setup file from here. I chose the Setup Wizard (.exe) version. Double-click on the downloaded executable to start the installation. When the installation is done go to your lighttpd directory(by default its C:\program files\lighttpd) and run TestMode.bat A console window should open to indicate the server is started. Go [...]]]></description>
			<content:encoded><![CDATA[<p><object width="600" height="465" data="http://www.youtube.com/v/QbDpntqGFmg&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0x006699&amp;color2=0x54abd6" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/QbDpntqGFmg&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0x006699&amp;color2=0x54abd6" /><param name="allowfullscreen" value="true" /></object></p>
<ol>
<h4>Setting Up Lighttpd</h4>
<li>Download the lighttpd setup file from <a href="http://en.wlmp-project.net/downloads.php?cat=lighty">here</a>. I chose the Setup Wizard (.exe) version.</li>
<li>Double-click on the downloaded executable to start the installation.</li>
<li>When the installation is done go to your lighttpd directory(by default its C:\program files\lighttpd) and run TestMode.bat A console window should open to indicate the server is started.</li>
<li>Go to <a href="http://localhost">http://localhost</a> this should show a lighttpd test page.</li>
</ol>
<ol>
<h4>Enabling PHP</h4>
<li>Download php .zip package from <a href="http://www.php.net/downloads.php">here</a></li>
<li> Extract it to C:\php</li>
<li>Edit lighttpd-inc.conf (i.e. “C:\Program Files\LightTPD\conf\lighttpd-inc.conf”) with the following:
<ol>
<li>Remove the comment tag(#) for "mod-cgi" (Line 20)</li>
<li>Add this line (assuming that PHP was installed on C drive):</li>
<li>cgi.assign = ( “.php” => “C:/php/php-cgi.exe” )</li>
</ol>
</li>
<li>In your PHP directory rename the file php.ini-recommended to php.ini and edit php.ini with the following:
<ol>
<li>short_open_tag = On</li>
<li>display_errors = On</li>
<li>doc_root = “C:\Progra~1\LightTPD\htdocs”</li>
</ol>
</li>
</ol>
<ol>
<h4>Testing PHP</h4>
<li>You can test php by creating a file containing:</li>
<pre class="brush: plain; title: ; notranslate">&lt;?php phpinfo(); ?&gt;</pre>
<p>Place the file in your htdocs directory (i.e. “C:\Program Files\LightTPD\htdocs”), open up your browser and browse to the page. It should show you the php info page.
</ol>
]]></content:encoded>
			<wfw:commentRss>http://tuts4tech.net/2009/04/06/lighttpd-on-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

