Info despre configuratia de la build gcc gcc -v Paths http://en.wikipedia.org/wiki/Rpath http://man7.org/linux/man-pages/man8/ld.so.8.html A sure-fire way to determine the name of the dynamic linker is to inspect a random binary from the host system by running: readelf -l /ffp/bin/find | grep […]
Compiling uClibc toolchain 0.9.33.2
#The test suite will be installed into /root/uClibc directory. To run # x the test suite enter the /root/uClibc/test directory and type # x “make UCLIBC_ONLY=1 CC=/bin/true check”. # x See the /root/uClibc/test/README for additional information. export CFLAGS=”-march=armv5te -mtune=xscale -mfloat-abi=soft […]
Build, install & configure mod_spdy
https://code.google.com/p/mod-spdy/wiki/GettingStarted chrome://net-internals/#spdy https://svn.apache.org/viewvc/httpd/mod_spdy/trunk/ #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. #When depot_tools is already updated than run once: cd /ffp/home/root/compile/depot_tools ~/x.sh ffpg […]
Integrate apache 2.2 with zyxel firmware apache modules
WSGIPythonHome /usr -> existing line LoadModule actions_module /ffp/opt/apache-2.2.9/modules/mod_actions.so LoadModule alias_module /ffp/opt/apache-2.2.9/modules/mod_alias.so LoadModule asis_module /ffp/opt/apache-2.2.9/modules/mod_asis.so LoadModule authn_default_module /ffp/opt/apache-2.2.9/modules/mod_authn_default.so LoadModule authn_file_module /ffp/opt/apache-2.2.9/modules/mod_authn_file.so LoadModule authz_default_module /ffp/opt/apache-2.2.9/modules/mod_authz_default.so LoadModule authz_groupfile_module /ffp/opt/apache-2.2.9/modules/mod_authz_groupfile.so LoadModule authz_host_module /ffp/opt/apache-2.2.9/modules/mod_authz_host.so LoadModule authz_user_module /ffp/opt/apache-2.2.9/modules/mod_authz_user.so LoadModule auth_basic_module /ffp/opt/apache-2.2.9/modules/mod_auth_basic.so LoadModule autoindex_module /ffp/opt/apache-2.2.9/modules/mod_autoindex.so LoadModule cgi_module […]
Install & configure Owncloud
cd /i-data/60cb70cf/www/pages #mv /i-data/md0/www/pages/owncloud to /i-data/md0/www/pages/owncloud{vezi versiunea in version.php} #rm -r /i-data/md0/www/pages/owncloud wget https://download.owncloud.org/community/owncloud-7.0.2.tar.bz2 tar xjf owncloud-7.0.2.tar.bz2 -> creaza folderul owncloud (atentie la vechiul owncloud) mysql -p CREATE DATABASE owncloud702 CHARACTER SET utf8; GRANT ALL ON owncloud702.* TO ‘owncloud702’@’%’ IDENTIFIED […]
Plex behind Apache proxy
Sorry for moving you around; didn’t have time to transfer the content below to here. https://adrhc.go.ro/ffp/plex-apache.html
FFP 0.7 NSA310 packages
All packages here (when you’re in trouble don’t miss the details/readme below the packages list) root@nsa310:~# uname -a Linux nsa310 2.6.31.8 #2 Fri Aug 2 11:21:44 CST 2013 armv5tel GNU/Linux I’m successfully using (or used) all these packages with my […]
Install & configure google’s mod_pagespeed for apache
#See https://adrhc.go.ro/blog/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. #mod_pagespeed (see depot_tools and modpagespeed-patch.sh below) rm -r ~/compile/mod_pagespeed mkdir ~/compile/mod_pagespeed cd ~/compile/mod_pagespeed #export PATH=/ffp/sbin:/usr/sbin:/sbin:/ffp/bin:/usr/bin:/bin:/ffp/opt/ejre1.7.0_60/bin:/ffp/home/root/compile/depot_tools/ […]
Compiling findutils
mkdir -p ~/temp/findutils make install DESTDIR=/ffp/home/gigi/temp/findutils/ cd ~/temp/findutils rm /tmp/findutils-4.5.15-arm-1.txz #makepkg findutils version buildnumber makepkg findutils 4.5.15 1 cp /tmp/findutils-4.5.15-arm-1.txz /usr/local/zy-pkgs/gui/ffp_0.7_armv5
How To Decompress Linux Archive Files
extract archive: unrar e rar-archive.rar unzip sqlite-amalgamation-3071501.zip unzip -uo ghost.zip -d ghost -> extract ghost.zip to ghost tar xvzf mkvtoolnix-6.5.0-arm-1.tgz tar xvzf mkvtoolnix-6.5.0-arm-1.tar.gz tar xvzf ffp_0.7_arm_003.zpkg tar xvfp wget-1.16.tar.xz tar xvfJ archive.txz tar jxf libebml-1.3.0.tar.bz2 gzip -cd aria2c.1.gz > […]
Compiling findutils
#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. #requires: pth-2.0.7-arm-1.txz, libiconv-1.14-arm-1.txz, texinfo-5.2-arm-1.txz cd ~/compile rm -r ~/compile/findutils #rel-4-4-fixes branch (stable) #git clone -q […]
Copy/extract iso
mount -o loop X-Men.Days.of.Future.Past.2014.NTSC.DVDR.Ro-playON.iso /mnt/iso #nohup cp -R /mnt/iso/* /i-data/md0/video/filelist9/X-Men.Days.of.Future.Past.2014.NTSC.DVDR.Ro-playON/ & umount /mnt/iso
Install & configure MediaWiki
Modify /usr/local/zy-pkgs/gui/mediawiki/includes/installer: search: protected static function getPossibleBinPaths() { patch: return array(‘/ffp/sbin’, ‘/ffp/bin’, ‘/ffp/opt/ejre1.7.0_60/bin’); Preinstalation: # mediawiki source files modifications cd /usr/local/zy-pkgs/gui/mediawiki find . -type f ( -name “.py” -o -name “.sh” -o -name “.php” -o -name “.pl” ) -exec sed […]
Using PECL
#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. #BEFORE RUNNING any “php peclcmd.php install xxx” these also have to be set: export PKG_CONFIG=/ffp/bin/pkg-config […]
Install & configure phpBB
cd /i-data/60cb70cf/www/pages/ wget https://www.phpbb.com/files/release/phpBB-3.0.12.zip unzip phpBB-3.0.12.zip chown -R nobody:nobody . cd phpBB3 mysql -p CREATE DATABASE phpbb CHARACTER SET utf8; GRANT ALL ON phpbb.* TO ‘phpbb’@’%’ IDENTIFIED BY ‘phpbb’ WITH GRANT OPTION; FLUSH PRIVILEGES; exit;