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 for building environment, 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 […]

Compiling diffutils

cd ~/compile wget tar -xJf diffutils-3.3.tar.xz cd diffutils-3.3 ./configure –help > export CFLAGS=”-march=armv5te -mtune=xscale -mfloat-abi=soft -mfpu=vfp -mabi=aapcs-linux -mthumb -O2 -Wall” export LDFLAGS=”-L/ffp/lib -lintl” export CPPFLAGS=”-I/ffp/include -I/ffp/include/readline” export CXXFLAGS=”-I/ffp/include -I/ffp/include/readline” ./configure –prefix=/ffp –with-libiconv-prefix=/ffp –with-libintl-prefix=/ffp nohup /ffp/bin/make V=1 & renice […]

Install & configure wordpress

#Install & configure wordpress: cd /i-data/md0/www/pages rm -r wordpress wget unzip && rm -r 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 cd ~/temp wget unzip /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 […]