Tuesday, January 29, 2013

How to Enable Java script in your Browser

 

Internet Explorer 6 and above

  • 1. Select Internet Options from the Tools menu.
  • 2. In Internet Options dialog box select the Security tab.
  • 3. Click the Custom Level... button. The Security Settings dialog box will pop up.
  • 4. Under Scripting category enable Active scripting.
  • 5. Click OK twice to close out.
  • 6. Click Refresh.

Mozilla 3.6.X and above

  • 1. Select Options from the Tools Menu
  • 2. Select Content tab
  • 3. Make sure Enable JavaScript is checked

Google Chrome

  • 1. Click the settings next to Address bar.
  • 2. Click Settings.
  • 3. Click on Show advanced settings...
  • 4. Click on Content Settings under Privacy.
  • 5. Check Allow all sites to run JavaScript (recommended) under Javascript.
  • 6. Click OK.

Wednesday, January 23, 2013

INSTALL OCR TESSERACT


Download the Tesseract-ocr package at
http://tesseract-ocr.googlecode.com/files/tesseract-2.00.tar.gz

Download the Tesseract-ocr language data package you want here:
http://code.google.com/p/tesseract-ocr/downloads/list

Choose the different packages you want, named "tesseract-2.00.XX.tar.gz" where "XX"
represents the language you want.
Now open a terminal and go to the folder containing your lastest downloads with the command "cd".
You need to run the next commands to install OCR Tesseract : ($> represents the prompt of your terminal)
$>tar –xvzf tesseract-2.00.tar.gz
$>cd tesseract-2.00
$>./configure
$>make
$>sudo make install
$>tar –xvzf tesseract-2.00.XX.tar.gz ("XX" represents the prefix language)| do it
$>sudo cp ./tessdata/* /usr/local/share/tessdata/ | for each language archive | 
$>rm –rf tessdata

Now that you have OCR tesseract on your computer, you can try it with these commands:
$>tesseract phototest.tif test
$>cat test.txt "test.txt" contains the same text than the picture "phototest.tif".

How to upgrade litespeed

Follow the steps below:

1. cd /usr/local/lsws/autoupdate

2. wget http://www.litespeedtech.com/packages/4.0/lsws-4.2-ent-x86_64-linux.tar.gz
3. tar -zxf lsws-4.2-ent-x86_64-linux.tar.gz
4. cd lsws-4.2
5. ./install.sh

You will be getting an interactive menu as shown below:


Do you agree with above license? Yes

Please specify the destination directory. You must have permissions to
create and manage the directory. It is recommended to install the web server
at /opt/lsws, /usr/local/lsws or in your home directory like '~/lsws'.

ATTENTION: The user 'nobody' must be able to access the destination
           directory.

Destination [/usr/local/lsws]:

Found old configuration file under destination directory /usr/local/lsws.

To upgrade, press 'Enter', current configuration will not be changed.
To reinstall, press 'R' or 'r'.
To change directory, press 'C' or 'c'.

Would you like to Upgrade, Reinstall or Change directory [U/r/c]? U

Contacting licensing server ...

2012-10-31 09:44:17.926 [NOTICE] [OK] Updated license key has been created at /usr/local/lsws/autoupdate/lsws-4.2/license.key.
[OK] License key received.
[OK] License key #1 verification passed! Software upgrade expires in 246 days.
Would you like to reset the login password for Administration Web Interface [y/N]? N

Chroot is disabled with your current setup.

Would you like to change chroot settings [y/N]? N

Installing, please wait...

groupadd: group 'lsadm' already exists
useradd: user 'lsadm' already exists
EasyApache Hooks is enabled, update scripts

LiteSpeed Web Server Plugin for WHM Installed.
You can access it from WHM web console plugins section.

Congratulations! The LiteSpeed Web Server has been successfully installed.
Command line script - "/usr/local/lsws/bin/lswsctrl"
can be used to start or stop the server.

It is recommended to limit access to the web administration interface.
Right now the interface can be accessed from anywhere where this
machine can be reached over the network.

Three options are available:
  1. If the interface needs to be accessed only from this machine, just
     change the listener for the interface to only listen on the loopback
     interface - localhost(127.0.0.1).
  2. If the interface needs to be accessible from limited IP addresses or sub
     networks, then set up access control rules for the interface accordingly.
  3. If the interface has to be accessible via internet, SSL (Secure Sockets
     Layer) should be used. Please read respective HOW-TOs on SSL configuration.

To change configurations of the interface, login and click
"Interface Configuration" button on the main page.
The administration interface is located at http://localhost:/
or http://:


The default configuration file contain support for both PHP4 and PHP5,
A prebuilt PHP4 binary comes with this package, however, we recommend
you to build your own PHP4 and PHP5 binaries though our web console with
the same configuration parameters as your current PHP installation. You
can check your current PHP configuration via a phpinfo() page.

Press [ENTER] to continue

When you replace Apache with LiteSpeed, remember to stop Apache completely.
On most Linux servers, you should do:

    service httpd stop
    chkconfig httpd off
or
    service apache stop
    chkconfig apache off

If "Port Offset" has been set to "0", you should do it now.

Press [ENTER] to continue

Would you like to restart it right now [Y/n]? Y

[OK] Send SIGUSR1 to 31934

LiteSpeed Web Server started successfully! Have fun!


Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Affiliate Network Reviews