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: cd /ffp/opt/apache-tomcat-7.0.54/webapps/ rm -r jforum mkdir jforum & cp -r ~/temp/jforum-2.1.9/ jforum mysql -p #DROP DATABASE jforum; CREATE DATABASE jforum CHARACTER SET utf8; GRANT ALL ON jforum. TO ‘jforum’@’%’ IDENTIFIED BY ‘jforum’ […]