Compiling nodejs

cd ~/compile #wget 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: Fonz Fun Plug repositories: fonz adrhc Mijzelf Uli rsync:// Uli -> URL la care vad packages KyleK Memiks barmalej2,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/ cu “java -Xms128m -Xmx192m”. ./ –vm client –dest ~/jdk1.8.0-full-cli+ext –no-compression –extension locales,charsets -v ./ –vm client –dest ~/jdk1.8.0-full-cli –no-compression -v

CPU information

Processor information (cpu info): cat /proc/cpuinfo CPU count: wc -l /proc/net/softnet_stat Features: swp half thumb fastmult edsp /bin/dmesg | grep ‘ARM’ gcc -march=native -mtune=native -Q -O2 –help=target ARMv5 Linux – Headless EABI, SoftFP ABI, Little Endian3 The MarvellĀ® […]

Compiling memcached

cd $HOME/compile wget tar xvzf memcached-1.4.21.tar.gz cd $HOME/compile/memcached-1.4.21 #export PATH=/ffp/sbin:/usr/sbin:/sbin:/ffp/bin:/usr/bin:/bin:/ffp/opt/ejre1.7.0_60/bin export LDFLAGS=”-L/ffp/lib -lintl” export CPPFLAGS=”-I/ffp/include -I/ffp/include/readline -DLINUX” export CXXFLAGS=”-I/ffp/include -I/ffp/include/readline” export CFLAGS=”-march=armv5te -mtune=xscale -mfloat-abi=soft -mabi=aapcs-linux -pthread -O2 -lintl -Wall” export LC_ALL=POSIX export PKG_CONFIG=/ffp/bin/pkg-config ./configure –help > ./configure –prefix=/ffp […]