Uninstall KOHA

Posted On February 25, 2010

Filed under 1

Comments Dropped leave a response

KOHA:

Koha is the first open-source Integrated Library System (ILS).

UNINSTALL KOHA

1. Drop or delete the Koha database,
2. Delete the koha-httpd.conf (/etc/koha/koha-httpd.conf)
3. Delete the koha installation folder (/usr/share/koha)
and proceed for fresh installation.
Advertisements

PHP

Posted On February 23, 2010

Filed under 1

Comments Dropped leave a response

Redirect a page

<?php
header( ‘Location: http://www.yoursite.com/new_page.html&#8217; ) ;
?>

How to install PostgreSQL Database Server on Fedora

Posted On February 10, 2010

Filed under 1

Comments Dropped leave a response

Install Django

Download the python:

http://www.python.org/ or add/remove software

Download the Django:
http://www.djangoproject.com/download/
tar xzvf Django-1.1.tar.gz
cd Django-1.1.1
sudo python setup.py install

Install postgresql and postgresql-server packages:

$ yum install postgresql postgresql-server python-psycopg2

Configure PostgresSQL:

edit: /var/lib/pgsql/data/postgresql.conf

Uncomment this two line:

listen_addressses = ‘ ‘

port = 5432

or

listen_addresses=’localhost’

Start  PostgreSQL Server:

service postgresql start  OR /etc/init.d/postgresql start

Configuring Postgresql

Setting up Postgres Users

Changing the postgres users database password:

su postgres

psql template1

template1=# ALTER USER postgres WITH PASSWORD ‘password’;

template1=\q

Where “password” is the new password.

Changing the postgres user OS password:

sudo passwd -d postgres

sudo su postgres -c passwd

Setting up Postgres Users

How to install fonts

Posted On February 9, 2010

Filed under 1

Comments Dropped leave a response

Ubuntu:

Copy the fonts to this directory /usr/share/fonts/truetype

Fedora:

Copy the fonts to this directory /usr/share/fonts/

For Both:

After copy the fonts to the directory then give this command in terminal

fc-cache -f -v

Latex

Posted On January 6, 2010

Filed under 1

Comments Dropped 6 responses

How to install latex on fedora :

$ sudo yum install texlive-latex

RUN:

Way 1:

#latex hello                                      % hello is the filename,its gives the dvi file

#dvips hello.dvi -o hello.ps           % converting to postscript

#dvipdf hello.dvi hello.pdf            % converting to PDF

way 2:

#pdflatex hello.tex                           %convert the tex file directly to pdf.

Simple document using latex:(save hello.tex)

\documentclass[12pt]{article}
\begin{document}
hello world!
\end{document}

How to write letter using latex:

\documentclass[12pt]{letter}
\address{}
\date{\today}

\begin{document}
\begin{letter}
{To,\\
The Principal,\\
Little Flowers School,\\
Delhi.\\}

\opening{Dear Madam}

Subject:Application for leave of absence from 16-20th January.

My daughter,Priya,a student of Little Flowers School will
unable to attend school from 12-16th of this month due to some familial
problems.I hope you would grant her leave of absence for those days only.

\closing{Sincerely\\
R. S. Shanmugam}
\end{letter}
\end{document}

NOTES:

All latex command begin with a reverse  slash.

1.\documentclass[12pt]{letter}

The document class belongs to letter.  It have some option like article,report,book etc.,12pt is the text size.

2.\address{ from address}

The from address will display in the right hand side default, with current date.

3. \\

To start new line

4.\date{9 July 2007}

If  you want put your own date give this command, or   you want current date \data{\today} it will display American style month date year..

5.\opening {   }

It represent the recipient