SETUP
-
These scripts were written and tested on Ubuntu 12.10 where bash is located at /bin/bash. You may need to create a symlink or edit these script accordingly.
-
Please backup your database first. Something like this should do it.
mysqldump --opt -u root -p newznab > ~/newznab_backup.sql -
This first step will modify your setup using andrewit's github, if you want. If you do not convert, then use then use myisam when editing.
-
convert database to innodb, edit path if necessary
cd /var/www/newznab/misc/testing/git clone git://github.com/itandrew/Newznab-InnoDB-Dropin.git innodbphp5 innodb/lib/innodb/convertToInnoDB.php -
Clone my github
cd /var/www/newznab/misc/update_scripts/nix_scripts/git clone https://github.com/jonnyboy/newznab-tmux.git tmuxcd tmuxnano edit_these.sh -
Edit some permissions, run as root.
./set_perms.sh -
Run my script, as user.
./start.sh -
If you connect using putty, then under Window/Translation set Remote character set to UTF-8.
-
If something looks stalled, it probably isn't. If all 7 panes are still there, it is most likely, as it should be.
-
update_cleanup needs to be uncommented to actually do something, and update_parsing is good for fixing a few releases everytime it runs, not a silver bullet though
-
If you notice that the pane middle right is empty, that is intentional. I have bwm-ng ready to go into that spot, if you have it installed. Once it is installed run these commands as root from the nix_scripts/tmux folder:
sed -i -e "s/#'$BWMNG'/'$BWMNG'/" start.shsed -i -e 's/#command/command/' edit_these.sh -
If you are running this on an OVH or kimsufi server, you may need to run sudo ./start.sh because they built grsecurity into the kernel.
-
Now all panes should be running smoothly.