Compiling diffutils

cd ~/compile wget http://ftp.gnu.org/gnu/diffutils/diffutils-3.3.tar.xz tar -xJf diffutils-3.3.tar.xz cd diffutils-3.3 ./configure –help > configure.help.txt 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 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 […]