<?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>supriyadisw.net &#187; Debian</title>
	<atom:link href="http://supriyadisw.net/debian/feed" rel="self" type="application/rss+xml" />
	<link>http://supriyadisw.net</link>
	<description>Blog, Techno, and Me</description>
	<lastBuildDate>Thu, 02 Feb 2012 00:31:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Installing Movable Type on Debian Server</title>
		<link>http://supriyadisw.net/2006/11/installing-movable-type-on-debian-server?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=installing-movable-type-on-debian-server</link>
		<comments>http://supriyadisw.net/2006/11/installing-movable-type-on-debian-server#comments</comments>
		<pubDate>Thu, 23 Nov 2006 16:53:11 +0000</pubDate>
		<dc:creator>Supriyadi Widodo</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.supriyadisw.net/2006/11/installing-movable-type-on-debian-server</guid>
		<description><![CDATA[Movable Type
Movable Type is a widely-used proprietary weblog publishing system developed by California-based Six Apart. Movable Type also supports most popular weblogging features, including user accounts, comments, categories, and themes, and is extensible through a large library of third-party plug-ins. Movable Type is free of charge for personal blogs with unlimited authors and blogs; paid support and commercial licenses, which allow more authors and weblogs on a single installation of the software, are also available. Source: http://en.wikipedia.org/wiki/Movable_Type.
Introduction
This tutorial reviews how to install Movable Type (MT) on your local Debian server. This tutorial does NOT offer easy Movable Type installation instructions. This guide was created because the official Movable Type installation guide are not written for beginner users like me  . Hopefully these guide are easier to understand for us normal people.
   Gud lak! I hope this helps save you time.
Requirements
Movable Type requires the following:

An account on a webserver that allows you to run custom CGI scripts.
Perl installed on your server, version 5.004_04 or greater. Perl version 5.6 or higher is highly recommended.
BerkeleyDB or, preferably, a SQL-based database ...]]></description>
			<content:encoded><![CDATA[<h3>Movable Type</h3>
<p>Movable Type is a widely-used proprietary weblog publishing system developed by California-based Six Apart. Movable Type also supports most popular weblogging features, including user accounts, comments, categories, and themes, and is extensible through a large library of third-party plug-ins. Movable Type is free of charge for personal blogs with unlimited authors and blogs; paid support and commercial licenses, which allow more authors and weblogs on a single installation of the software, are also available. Source: http://en.wikipedia.org/wiki/Movable_Type.</p>
<h3>Introduction</h3>
<p>This tutorial reviews how to install Movable Type (MT) on your local Debian server. This tutorial does NOT offer easy Movable Type installation instructions. This guide was created because the official Movable Type installation guide are not written for beginner users like me <img src='http://supriyadisw.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> . Hopefully these guide are easier to understand for us normal people.<br />
 <img src='http://supriyadisw.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  Gud lak! I hope this helps save you time.</p>
<h3>Requirements</h3>
<p>Movable Type requires the following:</p>
<ul>
<li>An account on a webserver that allows you to run custom CGI scripts.</li>
<li>Perl installed on your server, version 5.004_04 or greater. Perl version 5.6 or higher is highly recommended.</li>
<li>BerkeleyDB or, preferably, a SQL-based database for storage of Movable Type data. Movable Type supports MySQL, SQLite, PostgreSQL. This guide use MySQL for Database server.</li>
<li>An FTP program to upload the necessary files to your webserver, or shell access if you wish to install the system from the shell.</li>
<li>A web browser with Javascript enabled.</li>
</ul>
<h3>Prequesitions</h3>
<h4>Installing Perl, imagemagick, perlmagick, and libxml-atom-perl</h4>
<div class="terminal">
<pre>aptitude install perl imagemagick perlmagick libxml-atom-perl</pre>
</div>
<h4>Installing Webserver</h4>
<p>You can view my post about Installing Webserver on Debian Server.</p>
<h4>CGI Config</h4>
<p>We want to run cgi scripts from its default location (default on Debian is here: /usr/lib/cgi-bin) into a another location (under Movable Type folder: /var/www/myblog), therefore find this section in the httpd.conf file (/etc/apache2/sites-enabled/000-default):</p>
<div class="terminal">
<pre>vi /etc/apache2/sites-enabled/000-default</pre>
</div>
<div class="code">
<pre>ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
    &lt;Directory "/usr/lib/cgi-bin"&gt;
        AllowOverride None
        Options ExecCGI -MultiViews 
         +SymLinksIfOwnerMatch
        Order allow,deny
        Allow from all
    &lt;/Directory&gt;</pre>
</div>
<p>Replace with:</p>
<div class="code">
<pre>ScriptAlias /cgi-bin/ /var/www/myblog/
    &lt;Directory "/var/www/myblog"&gt;
        AllowOverride None
        Options ExecCGI -MultiViews 
         +SymLinksIfOwnerMatch
        Order allow,deny
        Allow from all
    &lt;/Directory&gt;</pre>
</div>
<p>Open and edit /etc/apache2/apache2.conf file, uncomment this:</p>
<div class="terminal">
<pre>vi /etc/apache2/apache2.conf</pre>
</div>
<div class="code">
<pre>AddHandler cgi-script .cgi</pre>
</div>
<p>Then restart your Apache</p>
<div class="terminal">
<pre>/etc/init.d/apache2 restart</pre>
</div>
<h4>Installing MySQL Database</h4>
<p>You can view my post about MySQL Database Server on Debian.</p>
<h4>Create MySQL Database and User</h4>
<div class="terminal">
<pre>mysql
mysql&gt; create database movabletype; 
mysql&gt; GRANT ALL PRIVILEGES ON *.* TO supriyadisw@localhost
identified by 'suprimt' with grant option;
mysql&gt; flush privileges;
mysql&gt; q</pre>
</div>
<h3>Downloading</h3>
<p>The distribution can be downloaded from the Movable Type web site.</p>
<p>Download the full version. This file that you download is a .zip and .tar.gz file that contains hundreds of files and folders inside.</p>
<p>After downloading, the file that you downloaded is saved in .tar.gz format; this is a compressed bundle containing the files in the Movable Type distribution. Unpack this archive.</p>
<div class="terminal">
<pre>tar zxvf MT-3.33-en.tar.gz</pre>
</div>
<p>Rename your MT-3.33 folder into myblog folder:</p>
<div class="terminal">
<pre>mv MT-3.33 myblog</pre>
</div>
<h3>Check your server configuration</h3>
<p>Type the following URL into your browser: http://your-server-ip-address/myblog.<br />
You should get this screen:</p>
<div class="screenshot">
<a class="imagelink" href="http://media.supriyadisw.net/movable_index.gif" title="Movable Index Page"><img src="http://media.supriyadisw.net/movable_index.thumbnail.gif" alt="Movable Index Page" /></a>
</div>
<p>Then click &#8220;Movable Type System Check&#8221; link under Installing section or type the following URL into your browser: http://your-server-ip-address/myblog/mt-check.cgi.</p>
<p>You should get a screen that lists a bunch of technical mumbu-jumbo. Scroll to the bottom and there should be a message that tells you that your server checks out and will work with Movable Type.</p>
<h3>Initialize Movable Type</h3>
<p>Type the following URL into your browser: http://your-server-ip-address/myblog/mt-wizard.cgi. Make sure your myblog writable by server <img src='http://supriyadisw.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . This Wizard will make configuration file into your myblog folder.</p>
<h4>Movable Type Configuration Wizard</h4>
<div class="screenshot">
<a class="imagelink" href="http://media.supriyadisw.net/movable_wizard_begin.gif" title="Movable Wizard Begin"><img src="http://media.supriyadisw.net/movable_wizard_begin.thumbnail.gif" alt="Movable Wizard Begin" /></a>
</div>
<p>Click Begin button to start configuration wizard.</p>
]]></content:encoded>
			<wfw:commentRss>http://supriyadisw.net/2006/11/installing-movable-type-on-debian-server/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>WordPress on Debian Linux</title>
		<link>http://supriyadisw.net/2006/08/wordpress-on-debian-linux?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-on-debian-linux</link>
		<comments>http://supriyadisw.net/2006/08/wordpress-on-debian-linux#comments</comments>
		<pubDate>Thu, 24 Aug 2006 14:42:12 +0000</pubDate>
		<dc:creator>Supriyadi Widodo</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.supriyadisw.net/2006/08/wordpress-on-debian-linux</guid>
		<description><![CDATA[This tutorial is how to install WordPress on Debian Linux. Installing WordPress on Debian? What for? Are there many easy ways to install WordPress on our server (Web hosting)? Eventually, We don&#8217;t need to know what distro that our server use or what operating system is. You right.
I have a &#8220;special&#8221; condition here. I need to install WordPress on my own Debian server for testing purpose. If You like me, play around with WordPress as a developer (perhaps you create your own theme or plugin), you should have your own server in your local PC on LAN.
You can use your own server to test your own WordPress theme or plugin before you release it. You can upload and test your theme or plugin directly on your remote server of course, but if you have a little problem with Internet connection (just like me), it is so hard way  
These are my little steps to built my WordPress theme or plugin:

Built on my local PC
Upload to my local server
Testing my work and make sure works propertly
Upload to my remote server
Testing ...]]></description>
			<content:encoded><![CDATA[<p>This tutorial is how to install WordPress on Debian Linux. Installing WordPress on Debian? What for? Are there many easy ways to install WordPress on our server (Web hosting)? Eventually, We don&#8217;t need to know what distro that our server use or what operating system is. You right.</p>
<p>I have a &#8220;special&#8221; condition here. I need to install WordPress on my own Debian server for testing purpose. If You like me, play around with WordPress as a developer (perhaps you create your own theme or plugin), you should have your own server in your local PC on LAN.</p>
<p>You can use your own server to test your own WordPress theme or plugin before you release it. You can upload and test your theme or plugin directly on your remote server of course, but if you have a little problem with Internet connection (just like me), it is so hard way <img src='http://supriyadisw.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>These are my little steps to built my WordPress theme or plugin:</p>
<ol>
<li>Built on my local PC</li>
<li>Upload to my local server</li>
<li>Testing my work and make sure works propertly</li>
<li>Upload to my remote server</li>
<li>Testing again in the &#8220;real&#8221; condition</li>
<li>Make sure I have no problem with my work</li>
<li>Sharing my work</li>
</ol>
<p>Let&#8217;s start to install WorPress on Debian</p>
<h3>Installing http server on Debian</h3>
<p>You can see my tutorial how to install http server on Debian, Installing HTTP Server on Debian.</p>
<h3>Installing MySQL Database</h3>
<p>You can see my tutorial how to install MySQL Database Server on Debian.</p>
<h3>Download WordPress</h3>
<p>You can download WordPress from their official website.</p>
<h3>Upload your WordPress archieve into your debian server</h3>
<p>You can use any ftp tools to upload your WordPress archieve into your server.</p>
<h3>Extract your WordPress archieve into your server directory</h3>
<div class="terminal">
<pre>
tar zxvf wordpress-x.x.x.tar.gz --directory=/var/www/
</pre>
</div>
<h3>Using MySQL</h3>
<p>Create a database for WordPress on your web server, as well as a MySQL user who has all privileges for accessing and modifying it.</p>
<div class="terminal">
<pre>
mysql -u ''adminusername'' -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or g.
Your MySQL connection id is 6 to server
version: 4.0.24_Debian-10sarge1-log

Type 'help;' or 'h' for help. Type 'c' to clear the buffer.

mysql&gt; CREATE DATABASE ''wordpress'';
Query OK, 1 row affected (0.00 sec)

mysql&gt; GRANT ALL PRIVILEGES ON *.* TO 'wordpress'@'localhost'
      -&gt; IDENTIFIED BY 'wordpresspassword' WITH GRANT OPTION;
Query OK, 0 rows affected (0.00 sec)

mysql&gt; FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.01 sec)

mysql&gt; EXIT
Bye
</pre>
</div>
<p>In the above:</p>
<ul>
<li>adminusername will typically be root, unless you have another high-privileged account set up.</li>
<li>wordpress or blog are good values for databasename.</li>
<li>wordpress is a good value for wordpressusername.</li>
<li>hostname will usually be localhost. If you don&#8217;t know what this value should be, check with your system administrator. If you are the system administrator, figure out what this value should be.</li>
<li>password should be a difficult-to-guess password, ideally containing a combination of upper- and lower-case letters, numbers, and symbols.</li>
</ul>
<p>Write down the values you used for databasename, wordpressusername, hostname, and password. </p>
<h3>Configure your WordPress setting</h3>
<p>Rename the wp-config-sample.php file to wp-config.php. Open and edit wp-config.php file</p>
<div class="code">
<pre>
// ** MySQL settings ** //
define('DB_NAME', 'wordpress');
define('DB_USER', 'wordpress');
define('DB_PASSWORD', 'wordpresspassword');
define('DB_HOST', 'localhost');
</pre>
</div>
<h3>Run the Install Script</h3>
<p>Using your favorite web browser, visit wp-admin/install.php within the directory into which you just installed WordPress on your web site. For example: point your browser to <strong>http://yourserver/wordpress/wp-admin/install.php</strong>.</p>
<h3>Preview your WordPress</h3>
<p>Point your browser to <strong>http://yourserver/wordpress</strong>.</p>
<p>Well done! You have your own WordPress on Your Debian Server.<br />
 <img src='http://supriyadisw.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  Gud lak</p>
]]></content:encoded>
			<wfw:commentRss>http://supriyadisw.net/2006/08/wordpress-on-debian-linux/feed</wfw:commentRss>
		<slash:comments>77</slash:comments>
		</item>
		<item>
		<title>Installing HTTP Server on Debian</title>
		<link>http://supriyadisw.net/2006/06/http-server-on-debian?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=http-server-on-debian</link>
		<comments>http://supriyadisw.net/2006/06/http-server-on-debian#comments</comments>
		<pubDate>Mon, 05 Jun 2006 12:33:19 +0000</pubDate>
		<dc:creator>Supriyadi Widodo</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[apache2]]></category>
		<category><![CDATA[debian-server]]></category>
		<category><![CDATA[installing-http-server-on-debian]]></category>
		<category><![CDATA[Noteworthy]]></category>
		<category><![CDATA[web-browser]]></category>
		<category><![CDATA[web-server]]></category>

		<guid isPermaLink="false">http://www.supriyadisw.net/2006/06/http-server-on-debian</guid>
		<description><![CDATA[This tutorial about installing HTTP Server on Debian Linux.
Installing Apache HTTP Server for HTTP (Web) Server Service

apt-get install apache2

Testing HTTP Server:
Open a web browser and enter http://localhost or its IP Address http://ip-address.
Installing PHP for Apache HTTP Server


apt-get install php4
/etc/init.d/apache2 restart
vi /var/www/testphp.php


Insert this following line into testphp.php file.


&#60;?php phpinfo(); ?&#62;


Save this new file.
Open a web browser and enter http://IP-Address/testphp.php .
Install PostgreSQL for Apache HTTP Server


apt-get install libapache2-mod-auth-pgsql
apt-get install php4-pgsql
/etc/init.d/apache2 restart


Mapping URLs to folders outside /var/www/


vi /etc/apache2/conf.d/alias


Insert this following line into the new file.


Alias /URL-path /location_of_folder/

&#60;directory /location_of_folder/&#62;
   Options Indexes FollowSymLinks
   AllowOverride All
   Order allow,deny
   Allow from all
&#60;/Directory&#62;


Save a new file.


/etc/init.d/apache2 restart


Open a web browser and enter http://IP-Address/URL-path .
Done.. Good Luck&#8230;
Link

Ubuntu Guide

]]></description>
			<content:encoded><![CDATA[<p>This tutorial about installing HTTP Server on Debian Linux.</p>
<h3>Installing Apache HTTP Server for HTTP (Web) Server Service</h3>
<div class="terminal">
<pre>apt-get install apache2</pre>
</div>
<p>Testing HTTP Server:<br />
Open a web browser and enter <strong>http://localhost</strong> or its IP Address <strong>http://ip-address</strong>.</p>
<h3>Installing PHP for Apache HTTP Server</h3>
<div class="terminal">
<pre>
apt-get install php4
/etc/init.d/apache2 restart
vi /var/www/testphp.php
</pre>
</div>
<p>Insert this following line into <strong>testphp.php</strong> file.</p>
<div class="code">
<pre>
&lt;?php phpinfo(); ?&gt;
</pre>
</div>
<p>Save this new file.</p>
<p>Open a web browser and enter <strong>http://IP-Address/testphp.php</strong> .</p>
<h3>Install PostgreSQL for Apache HTTP Server</h3>
<div class="terminal">
<pre>
apt-get install libapache2-mod-auth-pgsql
apt-get install php4-pgsql
/etc/init.d/apache2 restart
</pre>
</div>
<h3>Mapping URLs to folders outside /var/www/</h3>
<div class="terminal">
<pre>
vi /etc/apache2/conf.d/alias
</pre>
</div>
<p>Insert this following line into the new file.</p>
<div class="code">
<pre>
Alias /URL-path /location_of_folder/

&lt;directory /location_of_folder/&gt;
   Options Indexes FollowSymLinks
   AllowOverride All
   Order allow,deny
   Allow from all
&lt;/Directory&gt;
</pre>
</div>
<p>Save a new file.</p>
<div class="terminal">
<pre>
/etc/init.d/apache2 restart
</pre>
</div>
<p>Open a web browser and enter <strong>http://IP-Address/URL-path</strong> .</p>
<p>Done.. Good Luck&#8230;</p>
<h3>Link</h3>
<ul>
<li><a target="_blank" title="Ubuntu Guide" href="http://ubuntuguide.org">Ubuntu Guide</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://supriyadisw.net/2006/06/http-server-on-debian/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Installing PostgreSQL on Debian</title>
		<link>http://supriyadisw.net/2006/06/installing-postgresql-on-debian?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=installing-postgresql-on-debian</link>
		<comments>http://supriyadisw.net/2006/06/installing-postgresql-on-debian#comments</comments>
		<pubDate>Mon, 05 Jun 2006 11:11:39 +0000</pubDate>
		<dc:creator>Supriyadi Widodo</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://supriyadisw.net/2006/06/05/tutorial-installing-postgresql-on-debian/</guid>
		<description><![CDATA[Description
This tutorial is about howto installing PostgreSQL on Debian Server.
Installing PostgreSQL


apt-get update
apt-get install pgsql


Create Language
Example plpgsql


su postgres
createlang plpgsql template1
exit


Change authentication method
We need to edit file pg_hba.conf to change authentification method for accessing PostgreSQL database.


cp /etc/postgresql/pg_hba.conf /etc/postgresql/pg_hba.confbak
vi  /etc/postgresql/pg_hba.conf


Find this section


# TYPE  DATABASE  USER  IP-ADDRESS  IP-MASK  METHOD
# Database administrative login by UNIX sockets
local  all  postgres        ident sameuser
#
# All other connections by UNIX sockets
local  all  all        ident sameuser
#
# All IPv4 connections from localhost
host  all  all  127.0.0.1  255.255.255.255  ident sameuser
#
# All IPv6 localhost connections
host  all  all  ::1  ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff  ident sameuser
host  all  all    ::ffff:127.0.0.1/128  ident sameuser
#
# reject all other connection attempts
host  all  all  0.0.0.0  0.0.0.0  reject


Edit that section to


# TYPE  DATABASE  USER  IP-ADDRESS  IP-MASK  METHOD
# Database administrative login by UNIX sockets
local  all  postgres        ident sameuser
#
# All ...]]></description>
			<content:encoded><![CDATA[<h3>Description</h3>
<p>This tutorial is about howto installing PostgreSQL on Debian Server.</p>
<h3>Installing PostgreSQL</h3>
<div class="terminal">
<pre>
apt-get update
apt-get install pgsql
</pre>
</div>
<h3>Create Language</h3>
<p>Example plpgsql</p>
<div class="terminal">
<pre>
su postgres
createlang plpgsql template1
exit
</pre>
</div>
<h3>Change authentication method</h3>
<p>We need to edit file <strong>pg_hba.conf</strong> to change authentification method for accessing PostgreSQL database.</p>
<div class="terminal">
<pre>
cp /etc/postgresql/pg_hba.conf /etc/postgresql/pg_hba.confbak
vi  /etc/postgresql/pg_hba.conf
</pre>
</div>
<p>Find this section</p>
<div class="code">
<pre>
# TYPE  DATABASE  USER  IP-ADDRESS  IP-MASK  METHOD
# Database administrative login by UNIX sockets
local  all  postgres        ident sameuser
#
# All other connections by UNIX sockets
local  all  all        ident sameuser
#
# All IPv4 connections from localhost
host  all  all  127.0.0.1  255.255.255.255  ident sameuser
#
# All IPv6 localhost connections
host  all  all  ::1  ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff  ident sameuser
host  all  all    ::ffff:127.0.0.1/128  ident sameuser
#
# reject all other connection attempts
host  all  all  0.0.0.0  0.0.0.0  reject
</pre>
</div>
<p>Edit that section to</p>
<div class="code">
<pre>
# TYPE  DATABASE  USER  IP-ADDRESS  IP-MASK  METHOD
# Database administrative login by UNIX sockets
local  all  postgres        ident sameuser
#
# All other connections by UNIX sockets
local  all  all        password
#
# All IPv4 connections from localhost
host  all  all  127.0.0.1  255.255.255.255  password
#
# All IPv6 localhost connections
host  all  all  ::1  ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff  password
host  all  all    ::ffff:127.0.0.1/128  password
#
# reject all other connection attempts
host  all  all  0.0.0.0  0.0.0.0  reject
</pre>
</div>
<h3>Restart PostgreSQL Server</h3>
<div class="terminal">
<pre>
/etc/init.d/postgresql restart
</pre>
</div>
<h3>Create a New Database</h3>
<p>Example wordpress</p>
<div class="terminal">
<pre>
su postgres
createdb -T template1 wordpress
exit
</pre>
</div>
<h3>Create a New User</h3>
<p>Example: User supriyadisw with password cak3p</p>
<div class="terminal">
<pre>
su postgres
createuser supriyadisw -P
Enter password for new user: cak3p [enter]
Enter it again: cak3p [enter]
Shall the new user be allowed to create databases? (y/n) y [enter]
Shall the new user be allowed to create more new users? (y/n) n [enter]
CREATE USER
exit
</pre>
</div>
<h3>Login to PostgreSQL</h3>
<div class="terminal">
<pre>
pgsql -U supriyadisw wordpress [enter]
Password: cak3p [enter]
</pre>
</div>
<p>Good Luck <img src='http://supriyadisw.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://supriyadisw.net/2006/06/installing-postgresql-on-debian/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic (Feed is rejected)
Page Caching using disk: enhanced
Object Caching 565/609 objects using memcached

Served from: tweelab.com @ 2012-02-07 19:29:01 -->
