sudo ufw default deny sudo ufw allow http sudo ufw allow https sudo ufw allow ssh sudo ufw enableDone.
Friday, June 7, 2013
Ubuntu Firewall Make Easy - UWF
uwf is the default firewall configuration tool to ease the firewall configuration of iptables. To limit the firewall for http/https/ssh, just a few commands will do:
Wednesday, May 8, 2013
Install Tesseract-OCR in Ubuntu
Installation
- Tesseract OCR
sudo apt-get install tesseract-ocr
sudo apt-get install imagemagick
sudo apt-get update sudo apt-get install poppler-utils
Download from https://code.google.com/p/tesseract-ocr/downloads/list Put it in /usr/share/tesseract-ocr/tessdata
Shell Script to OCR PDF
#!/bin/sh STARTPAGE=1 # set to pagenumber of the first page of PDF you wish to convert RESOLUTION=600 # set to the resolution the scanner used (the higher, the better) dumphelp(){ echo "sudo $0
Subscribe to:
Posts (Atom)