Skip to content

Latest commit

 

History

History
98 lines (48 loc) · 1.95 KB

README.md

File metadata and controls

98 lines (48 loc) · 1.95 KB

NewCrawler

Free Web Scraping Tool

NewCrawler Quick Start

www.newcrawler.com

Install NewCrawler

Installing software packages on Centos / Fedora servers:

x86

wget --no-check-certificate https://raw.githubusercontent.com/speed/newcrawler/master/install_i586.sh

sh install_i586.sh

x64

wget --no-check-certificate https://raw.githubusercontent.com/speed/newcrawler/master/install_x86_64.sh

sh install_x86_64.sh

Installing software packages on Ubuntu / Debian servers:

x86

wget --no-check-certificate https://raw.githubusercontent.com/speed/newcrawler/master/install_Debian_i586.sh

sh install_Debian_i586.sh

x64

wget --no-check-certificate https://raw.githubusercontent.com/speed/newcrawler/master/install_Debian_x86_64.sh

sh install_Debian_x86_64.sh

	# OS Version 、 NewCrawler Directory
	
	[root@localhost ~]# rpm -q centos-release
	centos-release-7-0.1406.el7.centos.2.5.x86_64

	[root@localhost ~]# ls
	install.sh  newcrawler

	[root@localhost ~]# ls newcrawler
	db  jetty  jre  phantomjs  start.sh  stop.sh  war

Modify the database to MySQL or use the default file database

#edit 'war/WEB-INF/classes/datanucleus.properties'

javax.jdo.option.ConnectionURL=jdbc:mysql://127.0.0.1:3306/newcrawler?characterEncoding=UTF-8
javax.jdo.option.ConnectionUserName=root
javax.jdo.option.ConnectionPassword=123456

Docker install NewCrawler

docker pull newcrawler/spider

docker run -itd -p 8500:8500 --name=newcrawler newcrawler/spider

docker logs -f newcrawler

Startup NewCrawler

sh newcrawler/start.sh &

http://127.0.0.1:8500

ScreenShot

NewCrawler Cluster

ScreenShot