forked from nZEDb/nZEDb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL.txt
executable file
·97 lines (77 loc) · 3.12 KB
/
INSTALL.txt
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
REQUIREMENTS
PHP
php version 5.4 or higher
sessions enabled
memory limit at 1024 or more
minimum execution time of 120+ seconds
make sure you update the php.ini for both web and cli
OpenSSL (if connecting to ssl usenet provider)
php register_globals off
exif support (check the ini file).
GD Imaging Library w/PHP integration
PEAR
MySQL
max_allowed_packet=12582912
group_concat_max_len=8192
timezone set to php's
Apache
script timeout of at least 60 seconds
mod_rewrite enabled
.htaccess allow override on
3rd Party API Keys (recommended to get your own api keys)
tmdb (signup @ http://api.themoviedb.org/2.1/)
amazon (signup @ https://affiliate-program.amazon.com/gp/advertising/api/detail/main.html)
rottentomatoes (signup @ http://developer.rottentomatoes.com)
Deep rar password inspection
unrar version 3.9 or higher
Thumbnailing and media info (if feep rar inspection is enabled)
ffmpeg
mediainfo
Python 2.*
apt-get install python-setuptools
python -m easy_install
easy_install cymysql
Python 3.* - If Python 3 is installed, the module also must be installed
apt-get install python3-setuptools
python3 -m easy_install pip
pip-3.2 install cymysql
-or-
pip-3.3 install cymysql
APC
sudo apt-get install php-apc
sudo service apache2 restart
sudo cp /usr/share/doc/php-apc/apc.php /var/www/nZEDb/www/admin
Now you can go to localhost/admin/apc.php in your browser to view apc stats.
Memcache
sudo apt-get install memcached php5-memcache
sudo nano /etc/php5/apache2/php.ini -> add extension=memcache.so in the dynamic extensions section
sudo service apache2 restart
sudo nano /var/www/nZEDb/www/config.php -> change MEMCACHE_ENABLED to true
INSTALLATION
there is an installer in \install\ try it first by creating your website,
copying the application files there, and browsing to http://yournewznabserver/install.
refer to the list of requirements above if you encounter any errors during install, or the FAQ in the README
once installed activate only one or two groups to test with first (a.b.teevee is a good choice), this
will save you time if it is not working correctly.
run the update_binaries.php and update_releases.php scripts in \misc\update_scripts\ via command-line.
if updating was successful then you can continue to setup your site and configure the update scripts for
auto-updating.
RUNNING OUTSIDE OF WEB ROOT
set /.htaccess RewriteBase to your virtual directory
SAMPLE APACHE VHOST CONFIG
add this to your existing VHOST file modifying your values for ServerName, Server Alias, and DocumentRoot.
You should find this under /etc/apache2/sites-enabled/ (000-default).
<VirtualHost *:80>
<Directory /domains/www/example.com/newz/www/>
Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
</Directory>
ServerAdmin [email protected]
ServerName example.com
ServerAlias www.example.com
DocumentRoot /domains/www/example.com/newz/www
LogLevel warn
ServerSignature Off
</VirtualHost>