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 […]
Month: October 2014
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;
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’ […]