-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathINSTALL
More file actions
45 lines (27 loc) · 1016 Bytes
/
INSTALL
File metadata and controls
45 lines (27 loc) · 1016 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
To build:
# make
To test:
# make test
To create chroot tree:
# make chroot
Will create chroot tree with all libraries in '/var/www'. Use Makefile
as reference.
To install:
# make install
Install all files in '/var/www'.
To setup:
# vi /var/www/etc/rssrollrc
Edit config file and add proper options.
# sqlite3 PATH_TO_SQLITE_DB < scripts/database_create.sql
Create empty database.
# sqlite3 PATH_TO_SQLITE_DB "insert into tags (title) values ('news')"
Add tag into database.
# sqlite3 PATH_TO_SQLITE_DB "insert into tags (title) values ('tech')"
Add more tags into database.
# sqlite3 PATH_TO_SQLITE_DB "insert into channels (tagid, modified, link) values (2, 123456, 'http://www.freebsd.org/security/rss.xml')"
Add RSS URL for tracing.
# chroot -u www -g www /var/www /bin/rssroll -d PATH_TO_SQLITE_DB
Run rssroll to fetch feeds.
Load index.cgi into your web browser.
Add rssroll into crontab
51 9,17 * * * root chroot -u www -g www /var/www /bin/rssroll -d PATH_TO_SQLITE_DB