Compiling transmission 2.84

NEW_BUILD_NAME=transmission NEW_BUILD_VER=2.84 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 ~/compile wget https://transmission.cachefly.net/transmission-2.84.tar.xz tar -xf $NEW_BUILD_NAME_AND_VER.tar.xz cd ~/compile/$NEW_BUILD_NAME_AND_VER/ find . -type f ( -exec sed -i s/”\/usr\/bin\/perl”/”\/ffp\/bin\/perl”/ {} \; , -exec sed -i s/”\/usr\/bin\/python”/”\/ffp\/bin\/python”/ {} \; , -exec sed […]

Compiling Apache 2.2.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 you must declare the environment variables specified at the link above. #building env vars (required when rebuilding too) APACHE_MPM=worker NEW_BUILD_NAME=apache NEW_BUILD_VER=2.2.29-$APACHE_MPM NEW_BUILD_NAME_AND_VER=$NEW_BUILD_NAME-$NEW_BUILD_VER ls -l /tmp/$NEW_BUILD_NAME-* […]

Compiling litmus 0.13

cd ~/compile rm -r litmus-0.13 tar -xzf litmus-0.13.tar.gz cd ~/compile/litmus-0.13 export LDFLAGS=”-L/ffp/lib -lintl” export CPPFLAGS=”-I/ffp/include -I/ffp/include/readline” export CXXFLAGS=”-I/ffp/include -I/ffp/include/readline” export CFLAGS=”-march=armv5te -mtune=xscale -mfloat-abi=soft -mabi=aapcs-linux -O2 -lintl -Wall” export LC_ALL=POSIX ./configure –help > configure.help.txt ./configure –prefix=/ffp –disable-debug –enable-threadsafe-ssl=posix –with-ssl=openssl –with-included-neon nohup […]

Compiling php 5.5.x

cd ~/compile curl -L -k http://de1.php.net/get/php-5.5.19.tar.gz/from/this/mirror -o php-5.5.19.tar.gz tar -xzf php-5.5.19.tar.gz cd ~/compile/php-5.5.19 find . -type f ( -exec sed -i s/”\/usr\/bin\/perl”/”\/ffp\/bin\/perl”/ {} \; , -exec sed -i s/”\/usr\/bin\/python”/”\/ffp\/bin\/python”/ {} \; , -exec sed -i s/”\/usr\/bin\/bash”/”\/ffp\/bin\/bash”/ {} \; , -exec […]

Install linux headers

cd ~/compile rm -r linux-2.6.31.8 rm -r linux_headers mkdir linux_headers wget https://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.31.8.tar.gz tar xvzf linux-2.6.31.8.tar.gz cd linux-2.6.31.8 export ARCH=arm export ARM_ARCH=armv5te export CLFS_FLOAT=soft unset CFLAGS unset CPPFLAGS unset CXXFLAGS #For Zyxel NSA310 only: #Replace /ffp/home/root/compile/linux-2.6.31.8/arch/arm/Makefile with #/ffp/home/root/temp/build_NSA310/trunk/linux-2.6.31.8/arch/arm/Makefile #from http://gpl.nas-central.org/ZYXEL/NSA310_GPL/FW4.40/build_NSA310.tar.gz cp […]

Install & configure ghost

Installing ghost on linux (official) Compiling nodejs cd /ffp/opt/ rm -r ghost #rm ghost.zip #curl -L -k https://ghost.org/zip/ghost-latest.zip -o ghost.zip unzip -uo ghost.zip -d ghost cd /ffp/opt/ghost find . -type f -exec sed -i s/”\/usr\/bin\/bash”/”\/ffp\/bin\/bash”/ {} \; find . -type […]

Compiling nodejs

cd ~/compile #wget http://nodejs.org/dist/v0.10.30/node-v0.10.30.tar.gz rm -r ~/compile/node-v0.10.30 tar xvzf node-v0.10.30.tar.gz cd ~/compile/node-v0.10.30 find . -type f -exec sed -i s/”\/usr\/bin\/bash”/”\/ffp\/bin\/bash”/ {} \; find . -type f -exec sed -i s/”\/usr\/bin\/sh”/”\/ffp\/bin\/sh”/ {} \; find . -type f -exec sed -i s/”\/usr\/bin\/env”/”\/ffp\/bin\/env”/ […]

Linux ps command

Listeaza procesele ce in comanda de start a lor cuprind cuvantul polipo: ps -C polipo -o pid,pcpu,pmem,rss,state,stat,start,time,nlwp,args ps -C stunnel -o pid,pcpu,pmem,rss,state,stat,start,time,nlwp,args ps -C java -o pid,pcpu,pmem,rss,state,stat,start,time,nlwp,cmd ps -C httpd -o pid,pcpu,pmem,rss,state,stat,start,time,nlwp,cmd ps -C php-cgi -o pid,pcpu,pmem,rss,state,stat,start,time,nlwp,cmd Listeaza procesele userului […]

Zyxel NSA310 info

Packages (compiled by me) for Zyxel NSA310: https://adrhc.go.ro/ffp_0.7_packages/packages/ Fonz Fun Plug repositories: fonz http://www.inreto.de/ffp/0.7/arm/PACKAGES.html adrhc https://adrhc.go.ro/ffp_0.7_packages/packages/ Mijzelf http://downloads.zyxel.nas-central.org/Users/Mijzelf/FFP-Stick/packages/0.7/arm Uli rsync://funplug.wolf-u.li/funplug/0.7/arm/packages Uli http://funplug.wolf-u.li/0.7/arm/packages/ -> URL la care vad packages KyleK http://kylek.is-a-geek.org:31337/files/ffp/0.7-arm Memiks http://ffp.memiks.fr/pkg/ barmalej2 http://downloads.zyxel.nas-central.org/Users/barmalej2/ffp/0.7/arm/packages https://adrhc.go.ro/pkg/ffp/?0.7/arm,not_chrooted -> info page about Fonz […]

Zyxel NSA310 and Java 8

tar xvzf ejdk-8-fcs-b132-linux-arm-sflt-03_mar_2014.gz cd /ffp/home/root/ejdk1.8.0/bin #Modifica /ffp/home/root/ejdk1.8.0/bin/jrecreate.sh cu “java -Xms128m -Xmx192m”. ./jrecreate.sh –vm client –dest ~/jdk1.8.0-full-cli+ext –no-compression –extension locales,charsets -v ./jrecreate.sh –vm client –dest ~/jdk1.8.0-full-cli –no-compression -v