mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-03 03:38:52 +00:00
Updated README.md
This commit is contained in:
@@ -1,16 +1,15 @@
|
||||
# Newznab-tmux
|
||||
|
||||
* Screen shots identifying each pane and the process it runs is located at the bottom of this page.
|
||||
|
||||
* Before submitting a bug report, please verify that you are running the current revision of Newznab+ and these scripts. Then include as much detail as possible. A screen shot is extremely telling and very helpful.
|
||||
* Screen shots identifying each pane and the process it runs are located at the bottom of this page.
|
||||
* Before submitting a bug report, please verify that you are running the current revision of Newznab+ and these scripts. Then include as much detail as possible. A screen shot is am extremely telling and very usefull tool.
|
||||
|
||||
* This is a series of scripts that break down the stock processes of a typical Newznab+ installation and perform each task separately and at the same time. Tmux allows for several windows and panes to be created to allow the monitoring of each script as it performs its task. Each task is started by monitor.php. The post processing has also been enhanced to allow up to 32 simultaneous post processes plus another 8 for each category of releases, for a total of 40 possible post processing at once. The scripts are started by either timers, set in defaults.sh or started automatically and then sleeps for a time set in defaults.sh. Almost everything can be stopped/started from the defaults.sh without restarting the scripts.
|
||||
* This is a series of scripts that break down the stock processes of a typical Newznab+ installation and perform each task separately and at the same time. Tmux allows for several windows and panes to be created to allow the monitoring of each script as it performs its task. Each task is started and restarted by monitor.php. The post processing has also been enhanced to allow up to 32 simultaneous post processes plus another 8 for each category of releases, for a total of 40 possible post processing at once. The scripts are started by either timers, set in defaults.sh or started automatically and then sleeps for a time set in defaults.sh. Almost everything can be stopped/started from the defaults.sh without restarting the scripts.
|
||||
|
||||
* tmux 1.6 or newer is needed to runs these scripts. This script relies on tmux reporting that the "Pane is dead". That is how the script knows that is nothing running in that pane and to restart it for another loop. Seeing "Pane is dead" is normal and expected. If, you are using *bsd or MacOS, you will need to install [gnu sed](http://www.gnu.org/software/software.html) and set the path to it in defaults.sh.
|
||||
* tmux 1.6 or newer is needed to runs these scripts. These scripts relies on tmux reporting that the "Pane is dead". That is how the script knows that is nothing running in that pane and to restart it for another loop. Seeing "Pane is dead" is normal and expected. If, you are using \*bsd or MacOS, you may need to install [gnu sed(gsed)](http://www.gnu.org/software/software.html) and set the path to it in defaults.sh.
|
||||
|
||||
* To exit the scripts without any worry of causing problems. Click into the Monitor pane, top left and Ctrl-c, or edit defaults.sh and set running="false". This will stop the monitor script. When all of the other panes show dead, then it is ok to run Ctrl-a c and in new window run killall tmux.
|
||||
* To exit the scripts without any worry of causing problems. Click into the Monitor pane, top left and Ctrl-c, or edit defaults.sh and set running="false". This will stop the monitor script. When all of the other panes show dead, then it is ok to run Ctrl-a c and in new window run killall tmux. The only unsafe time to kill these scripts is when optimize is running. Monitor will display a warning whenever an optimize is in progress.
|
||||
|
||||
* These scripts were written and tested on Ubuntu 12.10 where bash is located at /bin/bash. You may need to create a symbolic link or edit these scripts accordingly.
|
||||
* These scripts were written and tested on Ubuntu 12.10 and FreeBSD 9.1. You may need to create a symbolic link or edit these scripts accordingly.
|
||||
|
||||
* Please backup your database first. Something like this should do it.
|
||||
|
||||
@@ -18,13 +17,13 @@
|
||||
mysqldump --opt -u username -p newznab > ~/newznab_backup.sql
|
||||
```
|
||||
|
||||
* If, you have just created your Newznab+ database, you can save yourself some time by importing a sql file, written by _zoggy_ and updating your TvRage database.
|
||||
* If, you have just created your Newznab+ database, you can save yourself some time by importing a sql file, written by \_zoggy\_ and updating your TvRage database.
|
||||
|
||||
```bash
|
||||
mysql -u username -p newznab < scripts/tvrage-latest.sql
|
||||
```
|
||||
|
||||
* Now, Clone my github. These scripts need to run from this location and this is where I was asked to put them. If you decided to use an alternate location, you will need to edit the file bin/config.php to point to the file www/config.php. If you do not, these scripts will not run.
|
||||
* Now, Clone my github. These scripts need to run from this location and this is where I was asked to put them. If you have decided to use an alternate location, you will need to edit the file bin/config.php to point to the file neqznab/www/config.php. If you do not, these scripts will not run.
|
||||
|
||||
```bash
|
||||
cd /var/www/newznab/misc/update_scripts/nix_scripts/
|
||||
@@ -61,7 +60,7 @@
|
||||
|
||||
* Included in the scripts folder is revert.sh. This file will update your Newznab+ installation and overwrite the changes from these scripts.
|
||||
|
||||
* Almost any variable in defaults.sh can be changed, except the paths to the commands, and the changed will take effect on the next loop of the monitor.
|
||||
* Almost any variable in defaults.sh can be changed, except the paths to the commands, and the changes will take effect on the next loop of the Monitor.
|
||||
|
||||
* If you connect using **putty**, then under Window/Translation set Remote character set to UTF-8 and check "Copy and paste line drawing characters". To use 256 colors, you must set Connection/Data Terminal-type string to "xterm-256color" and in Window/Colours check the top three boxes, otherwise only 16 colors are displayed.
|
||||
|
||||
@@ -75,9 +74,9 @@
|
||||
|
||||
|
||||
|
||||
* Thanks go to all who offered their assistance and improvement to these scripts, especially kevin123, zombu2, epsol, DejaVu, ajeffco, pcmerc, zDefect, shat, evermind, coolcheat, sy, ll, crunch, ixio, AlienX, Solution-X, cryogenx, convict, wicked, McFuzz, pyr2044, Kragger and _zoggy_. If, your nick is missing from this this list, PM and I'll fix it quick.
|
||||
* Thanks go to all who have offered their assistance and improvement to these scripts, especially kevin123, zombu2, epsol, DejaVu, ajeffco, pcmerc, zDefect, shat, evermind, coolcheat, sy, ll, crunch, ixio, AlienX, Solution-X, cryogenx, convict, wicked, McFuzz, pyr2044, Kragger and \_zoggy\_. If your nick is missing from this this list, PM and I'll fix it quick.
|
||||
|
||||
* These scripts include scripts written by [kevin123's](https://github.com/kevinlekiller), [itandrew's](https://github.com/itandrew/Newznab-InnoDB-Dropin), [tmux-powerline](https://github.com/erikw/tmux-powerline), [thewtex](git://github.com/thewtex/tmux-mem-cpu-load.git), [cj](https://github.com/NNScripts/nn-custom-scripts) and [_zoggy_](http://zoggy.net/tvrage-latest.sql).
|
||||
* These scripts include scripts written by [kevin123's](https://github.com/kevinlekiller), [itandrew's](https://github.com/itandrew/Newznab-InnoDB-Dropin), [tmux-powerline](https://github.com/erikw/tmux-powerline), [thewtex](git://github.com/thewtex/tmux-mem-cpu-load.git), [cj](https://github.com/NNScripts/nn-custom-scripts) and [\_zoggy\_](http://zoggy.net/tvrage-latest.sql).
|
||||
|
||||
<hr>
|
||||
* If you find these scripts useful and would like to show your support or just buy me a beer, please use one of the donation links below. Donations are greatly appreciated. Thank you
|
||||
|
||||
Reference in New Issue
Block a user