XPEnology-DSM-Change-Add-Serial-Number http://cyanlabs.net/Thread-XPEnology-DSM-Change-Add-Serial-Number XPEnology downloads http://xpenology.me/downloads/ Synology software http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/stable/ Synology bootstrap https://forum.synology.com/MediaWiki/index.php?title=How_to_Install_Bootstrap Synology gui http://192.168.1.121:5000/webman/index.cgi Cases http://www.inter-tech.de/index.php?option=com_content&view=article&id=1028%3Asy-m-208-desktop&catid=55%3Adesktop-gehaeuse&Itemid=843&lang=en http://www.tacens.es/cases/mini-towers/versa/ Windows 10 Activator | KMSPico http://windows10activatordownload.com/
Compiling PHP 7.0.0RC2
#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=php NEW_BUILD_VER1=7.0.0RC2 NEW_BUILD_VER=$NEW_BUILD_VER1-zts MYSQL_BUILD_NAME_AND_VER=mysql-5.6.25 NEW_BUILD_NAME_AND_VER=$NEW_BUILD_NAME-$MYSQL_BUILD_NAME_AND_VER-$NEW_BUILD_VER ls -l /tmp/$NEW_BUILD_NAME- ls -l ~/ffp_0.7_armv5/packages/$NEW_BUILD_NAME- NEW_BUILD_NR=0 sed -i s/”HAVE_GD_XPM\s1″/”HAVE_GD_XPM […]
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’]), […]
Working with GIT
A Visual Git Reference Understand some basic git concepts visually A successful Git branching model Cherry-picking explained Learn Git with Bitbucket Cloud Squash your latests commits into one # show diff for last commit only git log -p HEAD -1 […]
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 […]
core dump
The path for core dump is like this: /i-data/md0/.system/core.*. # The path pattern is written in /proc/sys/kernel/core_pattern. cat /proc/sys/kernel/core_pattern /i-data/md0/.system/core.%e.%u.%g.%s # In order to generate core dump declare in php-fpm.conf: rlimit_core = unlimited # reading php-fpm’s core dump: gdb […]
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 […]
Create mysql system db
see also https://adrhc.go.ro/wordpress/mysql-command-line/ #CREATE SYSTEM DB (first step and mandatory before using mysql) export SRVPATH=/ffp/opt/srv mkdir -p $SRVPATH/mysql/innodb/ mkdir -p $SRVPATH/mysql/innodblogdir/ mkdir -p $SRVPATH/mysql/binlog/ mkdir -p $SRVPATH/mysql/log/ mkdir -p $SRVPATH/mysql/tmp/ mkdir -p $SRVPATH/mysql/data cd /ffp # use your my.cnf […]
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 Python 2.7.10 and pip commands
#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. #Compiling Python-2.7.10 export CFLAGS=”-march=armv5te -mfloat-abi=soft -mabi=aapcs-linux -fno-stack-protector -pthread -O2 -Wall -Wno-error” #export BUILD_FLAGS=”$CFLAGS -I/ffp/include -I/ffp/opt/apache-2.2.29-worker/include” […]
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 […]