Install instructions for DCMNZB on Linux
- Download the DCMNZB tarball download package and extract it with the command “tar -xf dcmnzb-for-linux-tar -C /”. It is recommended to extract DCMNZB on a fast SSD drive.
- Edit the webserver.ini file inside the dcmnzb folder. The webserver.ini file looks like this:
# Uncomment the lines which you want to be active
# Bind to localhost IP address
WEBSERVERIP=localhost
# Bind to any IP address
#WEBSERVERIP=any
# bind to IP v4 address
#WEBSERVERIP=192.168.178.90 #
Bind to IP v6 address
#WEBSERVERIP=2a02:8071:9281:a760:a5df:9925:ddcc:98dd
# Webserver IP port to use
WEBSERVERPORT=23456
# if you want to use a SSL cert enter the path and filename of the SSL pfx-file and the password
#SSLCERT=cert.pfx
#SSLPW=1234
# MySQL database IP port, if you have already a MySQL database or want to use a non-standard port you can change it here
# if you change the port you also have to change the port in the my.cnf file in the bin folder of MySQL
MYSQLPORT=3306
# MySQL database IP address, if you want to move the database to annother server than the DCMNZB app, you can move the
# folder MySQL of the DCMNZB app folder to a directory of another server and install it there!
# You then have also to change or add a parameter "bind-address={ipAdressOfServer}" to the "my.cnf" file in the mysql folder.
MYSQLIPADDRESS=localhost
- First choose your web-server IP-address and port. To do so uncomment one of the first 4 options. You can choose: 1. localhost, DCMNZB is then only available on the localhost address 2. any, DCMNZB is then available on all IP-addresses of your computer including localhost. 3. IPv4-address : Enter a IPv4-address under which DCMBZB should be reachable. 4. IPv6-address : Enter a IPv6-address under which DCMNZB should be reachable. Then choose your WEBSERVERPORT option, which specifies under which IP-port the web-server should be reachable. Choose a free address like Port = 80 for standard web-server address if it is available, or Port = 443 if you want to use SSL or any other free port. If you want to use SSL you have to specify a SSL pfx certifcate with it’s path and filename and password. You should then choose Port = 443. The web-sever is then reachable under the https-address of the SSL certificate. Then choose the MySQL port and address, if you want to move the database to another server, you can move the mysql folder inside the dcmbzb folder to another server and install it there. Then you have to specify the MYSQLIPADRESS = IP address of the database server.
- Install DCMNZB: To install and maintain DCMBNZB you have 7 bash-files inside the dcmnzb folder. Open a terminal window with root rights. To install DCMNZB with the database, run “/bin/sh install.sh”. This will install the database and DCMNZB web-server. If you want to move the database to another server run “/bin/sh install-without-database.sh” to install the web-server without database. If the installation was successful the web-server address of DCMNZB will be shown. On any problems during installation you can run “./DCMNZBServer” inside the dcmnzb -> publish folder to see if it is outputting some errors which avoid DCMNZB of running. To maintain DCMNZB there are the following batch-files: 1. Run “/bin/sh start.sh” to start DCMNZB services. 2. Run “/bin/sh stop.sh” to stop DCMNZB services. 3. Run “/bin/sh status.sh” to show the status of DCMNZB services. Uninstall DCMNZB: to uninstall DCMNZB you have two batch-files: run “/bin/sh uninstall.sh” to uninstall web-server and MySQL database and run “/bin/sh uninstall-without-database.sh” if you not have installed database because you have run it on another server. This will remove DCMNZB. If you plan to reinstall DCMNZB don’t forget to deactivate any existing license before uninstalling, because per license there is only one activation allowed.