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

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 […]

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/ […]

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 […]

Install & configure wordpress

#Install & configure wordpress: cd /i-data/md0/www/pages rm -r wordpress wget https://wordpress.org/latest.zip unzip latest.zip && rm -r latest.zip chown -R nobody:nobody /i-data/md0/www/pages/wordpress/ mysql -p CREATE DATABASE wordpress CHARACTER SET utf8; GRANT ALL ON wordpress.* TO ‘wordpress’@’%’ IDENTIFIED BY ‘wordpress’ WITH GRANT […]

Install & configure JForum

http://jforum.net/install_no_wizard.jsp cd ~/temp wget http://jforum.net/jforum-2.1.9.zip unzip jforum-2.1.9.zip /ffp/opt/apache-tomcat-7.0.54/conf/context.xml: <Resource name=”jforum” auth=”Container” type=”javax.sql.DataSource” factory=”org.apache.tomcat.jdbc.pool.DataSourceFactory” testWhileIdle=”true” testOnBorrow=”true” testOnReturn=”false” validationQuery=”SELECT 1″ validationInterval=”30000″ timeBetweenEvictionRunsMillis=”30000″ maxActive=”10″ minIdle=”1″ maxIdle=”3″ maxWait=”5000″ initialSize=”1″ removeAbandonedTimeout=”60″ removeAbandoned=”false” logAbandoned=”false” minEvictableIdleTimeMillis=”30000″ jmxEnabled=”false” jdbcInterceptors=”org.apache.tomcat.jdbc.pool.interceptor.ConnectionState” username=”jforum” password=”jforum” driverClassName=”com.mysql.jdbc.Driver” url=”jdbc:mysql://localhost:3306/jforum”/> cd /ffp/opt/apache-tomcat-7.0.54/webapps/ rm -r jforum […]