CouchPotato

#search for extract errors: grep -nri “Failed to extract” /ffp/opt/couchpotato_data/logs/ | awk ‘{print $8;}’ | sort | uniq #https://github.com/outkastm/Filelist.ro mkdir /ffp/opt/couchpotato_data/custom_plugins/filelist cd /ffp/opt/couchpotato_data/custom_plugins/filelist git clone https://github.com/outkastm/Filelist.ro #/ffp/opt/couchpotato_data/custom_plugins/filelist/init.py: class Filelist(MovieProvider, Base): cat_ids = [ ([25], [‘3d’]), ([19], [‘720p’, ‘1080p’, ‘brrip’, ‘dvdr’]), […]

Gallery 3

Gallery3 requires mysql and msgpack: php_value[extension]=mysql.so php_value[msgpack]=mysql.so or extension=mysql.so extension=msgpack.so See https://adrhc.go.ro/wordpress/configure-command-for-building-various-software/ for learning how to compile msgpack. The user/group of the php processes (specified in php-fpm.conf) show be the same for gallery3 directory: chown -R nobody:nobody ~/apache-htdocs/gallery3 After installing […]

NSA310: phpMyAdmin setup

#start configuration mkdir $HOME/apache-htdocs/myadmin/config chown -R nobody:nobody ~/apache-htdocs/myadmin Access https://adrhc.go.ro/myadmin/setup. #you’ll then have $HOME/apache-htdocs/myadmin/config/config.inc.php which you must move to $HOME/apache-htdocs/myadmin/config.inc.php #then delete $HOME/apache-htdocs/myadmin/config #bzopen and bzcompress functions required This means you don’t have extension=bz2.so somehow enabled into php. #Enable Features […]

Compiling Perl 5.22.0

#See https://adrhc.go.ro/wordpress/common-commands-when-building/ for building environment, x.sh script and other things not defined here. #Before starting do declare the environment variables specified to the link above. #search http://search.cpan.org/ for modules #see http://www.thegeekstuff.com/2008/09/how-to-install-perl-modules-manually-and-using-cpan-command/ #Installing Perl modules from CPAN (didn’t work): http://perl.about.com/od/packagesmodules/qt/perlcpan.htm #environment […]

Compiling mysql 5.6.24

#See https://adrhc.go.ro/wordpress/common-commands-when-building/ for building environment, x.sh script and other things not defined here. #Before starting declare the environment variables specified at the link above. NEW_BUILD_NAME=mysql #NEW_BUILD_VER=5.6.24.large NEW_BUILD_VER=5.6.24.small+innodb NEW_BUILD_NAME_AND_VER=$NEW_BUILD_NAME-$NEW_BUILD_VER ls -l /tmp/$NEW_BUILD_NAME- ls -l ~/ffp_0.7_armv5/packages/$NEW_BUILD_NAME- NEW_BUILD_NR=0 cd $HOME/compile rm -r $HOME/compile/$NEW_BUILD_NAME_AND_VER […]

Compiling nginx 1.9.2

#See https://adrhc.go.ro/wordpress/common-commands-when-building/ for building environment, x.sh script and other things not defined here. #Before starting do declare the environment variables specified to the link above. NEW_BUILD_NAME=nginx NEW_BUILD_VER=1.9.1 NEW_BUILD_NAME_AND_VER=$NEW_BUILD_NAME-$NEW_BUILD_VER ls -l /tmp/$NEW_BUILD_NAME- ls -l ~/ffp_0.7_armv5/packages/$NEW_BUILD_NAME- NEW_BUILD_NR=0 cd /ffp/home/root/compile/$NEW_BUILD_NAME_AND_VER ~/x.sh ffpg-all ./configure […]

Compiling boost 1.46.0

#See https://adrhc.go.ro/wordpress/common-commands-when-building/ for building environment, x.sh script and other things not defined here. #Before starting do declare the environment variables specified to the link above. NEW_BUILD_NAME=boost NEW_BUILD_VER=1.46.0 NEW_BUILD_NAME_AND_VER=$NEW_BUILD_NAME-$NEW_BUILD_VER ls -l /tmp/$NEW_BUILD_NAME- ls -l ~/ffp_0.7_armv5/packages/$NEW_BUILD_NAME- NEW_BUILD_NR=0 cd ~/compile wget http://sourceforge.net/projects/boost/files/boost/1.46.0/boost_1_46_0.tar.gz/download tar […]

Using zyxel utils hooks

#you can’t apply/stop one hook; you start/stop all of them with: /ffp/start/zyxel_utils.sh start/stop #you enable/disable hook by uncommenting/commenting entries in /ffp/start/zyxel_utils.sh #e.g. enable nfs hooking: #uncomment hook_nfs entry in /ffp/start/zyxel_utils.sh #see zyxel_utils.sh log cat /tmp/intercept.log #see active zyxel_utils.sh hooks cat […]

Compiling LuaJIT-2.0.3

#See https://adrhc.go.ro/wordpress/common-commands-when-building/ for building environment, x.sh script and other things not defined here. #Before starting do declare the environment variables specified to the link above. NEW_BUILD_NAME=LuaJIT NEW_BUILD_VER=2.0.3 NEW_BUILD_NAME_AND_VER=$NEW_BUILD_NAME-$NEW_BUILD_VER ls -l /tmp/$NEW_BUILD_NAME- ls -l ~/ffp_0.7_armv5/packages/$NEW_BUILD_NAME- NEW_BUILD_NR=0 cd /ffp/home/root/compile/LuaJIT-2.0.3 ~/x.sh ffpg sed […]

Compiling and using luarocks

#See https://adrhc.go.ro/wordpress/common-commands-when-building/ for building environment, x.sh script and other things not defined here. #Before starting do declare the environment variables specified to the link above. NEW_BUILD_NAME=luarocks NEW_BUILD_VER=2.2.2 NEW_BUILD_NAME_AND_VER=$NEW_BUILD_NAME-$NEW_BUILD_VER ls -l /tmp/$NEW_BUILD_NAME- ls -l ~/ffp_0.7_armv5/packages/$NEW_BUILD_NAME- NEW_BUILD_NR=0 cd /ffp/home/root/compile/luarocks-2.2.2 ~/x.sh ffpg ./configure […]

Compiling nginx 1.9.0

#See https://adrhc.go.ro/wordpress/common-commands-when-building/ for building environment, x.sh script and other things not defined here. #Before starting do declare the environment variables specified to the link above. NEW_BUILD_NAME=nginx NEW_BUILD_VER=1.9.0 NEW_BUILD_NAME_AND_VER=$NEW_BUILD_NAME-$NEW_BUILD_VER ls -l /tmp/$NEW_BUILD_NAME- ls -l ~/ffp_0.7_armv5/packages/$NEW_BUILD_NAME- NEW_BUILD_NR=1 cd /ffp/home/root/compile/nginx-1.9.0 ~/x.sh ffpg ./configure […]

Compiling boost 1.49.0

#See https://adrhc.go.ro/wordpress/common-commands-when-building/ for building environment, x.sh script and other things not defined here. #Before starting do declare the environment variables specified to the link above. NEW_BUILD_NAME=boost NEW_BUILD_VER=1.49.0 NEW_BUILD_NAME_AND_VER=$NEW_BUILD_NAME-$NEW_BUILD_VER ls -l /tmp/$NEW_BUILD_NAME- ls -l ~/ffp_0.7_armv5/packages/$NEW_BUILD_NAME- NEW_BUILD_NR=0 cd ~/compile wget http://sourceforge.net/projects/boost/files/boost/1.49.0/boost_1_49_0.tar.gz/download tar […]

Compiling anyterm-1.1.29

#See https://adrhc.go.ro/wordpress/common-commands-when-building/ for building environment, x.sh script and other things not defined here. #Before starting do declare the environment variables specified to the link above. cd ~/compile wget http://anyterm.org/download/anyterm-1.1.29.tbz2 tar jxf anyterm-1.1.29.tbz2 cd anyterm-1.1.29 ~/x.sh ffpg NEW_BUILD_NAME=anyterm NEW_BUILD_VER=1.1.29 NEW_BUILD_NAME_AND_VER=$NEW_BUILD_NAME-$NEW_BUILD_VER ls […]