Convert pdf file to html file

Two methods for converting the pdf  file into html file

  1. Use online converter :
  2. Install poppler-utils in Ubuntusudo aptitude install poppler-utils. This will complete the installationUsing pdftohtmlpdftohtml Syntaxpdftohtml [options] [pdf file] [html file]

             For more help : $ pdftohtml -h

A summary of options are included below:

-h, -help – Show summary of options.

-f – first page to print

-l – last page to print

-q – don’t print any messages or errors

-v – print copyright and version info

-p – exchange .pdf links with .html

-c – generate complex output

-i – ignore images

-noframes – generate no frames. Not supported in complex output mode.

-stdout – use standard output

-zoom – zoom the pdf document (default 1.5)

-xml – output for XML post-processing

-enc – output text encoding name

-opw – owner password (for encrypted files)

-upw – user password (for encrypted files)

-hidden – force hidden text extraction

-dev – output device name for Ghostscript (png16m, jpeg etc)

-nomerge – do not merge paragraphs

-nodrm – override document DRM settings


Installation of Django

Type the following commands in terminal:

#tar xzvf Django-1.3.tar.gz
#cd Django-1.3
#sudo python install

You can verify that Python is installed by typing python from your shell; you should see something like:

Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17)

[GCC 4.0.1 (Apple Inc. build 5465)] on darwin

Type “help”, “copyright”, “credits” or “license” for more information.


To verify that Django can be seen by Python, type python from your shell. Then at the Python prompt, try to import Django:

>>> import django

>>> print django.get_version()


How to install LAMP

Type the following commands in terminal:

$sudo apt-get install apache2

Then type y

$sudo apt-get install php5 libapache2-mod-php5

Type y

$sudo apt-get install mysql-server mysql-server

Type y

After this fill the password as username ‘root’

then press Tab

then press space to select ok

$sudo apt-get install phpmyadmin

press y

Firstly press Space to select apache2

then press Tab and then Space to select ok

Press Tab and Space to select ok

Press Tab and Space  to select yes

Fill password here. Then press Tab and Space to select ok

then press Tab

then press Space to select ok

Retype the same password to confirm

$sudo apt-get install libapache2-mod-auth-mysql php5-mysql

$sudo /etc/init.d/apache2 restart


Open with browser:


it shows :

Then open in browser:


login with username and password