This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# This is a VERY simple script to run couchdb-lucene as a daemon on CentOS 6.x | |
# It is assumed that Java is installed and that couchdb-lucene is present on /usr/local | |
# | |
### BEGIN INIT INFO | |
# Provides: couchdb-lucene | |
# Short-Description: Starts couchdb-lucene as a daemon | |
# Description: Starts couchdb-lucene as a daemon | |
### END INIT INFO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir ~/Downloads | |
cd ~/Downloads | |
MONOVERSION="3.8.0" | |
GECKOSHARPVERSION="2.0-0.12" | |
MONODEVELOPVERSION="5.0.1-0" | |
# download the source files we are about to build | |
wget http://download.mono-project.com/sources/mono/mono-$MONOVERSION.tar.bz2 | |
wget http://download.mono-project.com/sources/gtk-sharp212/gtk-sharp-2.12.21.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# run me as root | |
mkdir ~/Downloads | |
cd ~/Downloads | |
MONOVERSION="3.10.0" | |
GECKOSHARPVERSION="2.0-0.12" | |
yum install wget |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# a script to build MonoDevelop 5.7 under Mono 3.12, most likely will work for all Mono 3.x and MonoDevelop 5.2+ | |
# WFM on CentOS 6.6 | |
curl http://download.mono-project.com/sources/monodevelop/monodevelop-5.7.0.660.tar.bz2 -O | |
tar xvfj monodevelop-5.7.0.660.tar.bz2 | |
cd monodevelop-5.7 | |
mkdir temp | |
pushd temp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo yum install libmpc-devel mpfr-devel gmp-devel | |
cd ~/Downloads | |
curl ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-4.9.2/gcc-4.9.2.tar.bz2 -O | |
tar xvfj gcc-4.9.2.tar.bz2 | |
cd gcc-4.9.2 | |
./configure --disable-multilib --enable-languages=c,c++ | |
make -j 4 | |
make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# first update sudoers for the current user, run: sudo visudo | |
# append the line: username ALL = NOPASSWD : ALL | |
# suppress hash errors by removing files from this dir | |
sudo rm /var/lib/apt/lists/* | |
sudo apt-get update | |
sudo apt-get install -y gcc g++ git | |
sudo apt-get install -y curl | |
sudo apt-get install -y python-dev python-software-properties |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get install -y erlang-nox erlang-dev | |
apt-get install -y libnspr4 libnspr4-0d libnspr4-dev libcurl4-openssl-dev curl libicu-dev | |
apt-get install -y libmozjs185-1.0 libmozjs185-dev | |
wget ftp://ftp.mirrorservice.org/sites/ftp.apache.org/couchdb/source/1.6.1/apache-couchdb-1.6.1.tar.gz | |
tar xzf apache-couchdb-1.6.1.tar.gz | |
cd apache-couchdb-1.6.1 | |
./configure --prefix=/usr/local --with-js-lib=/usr/lib --with-js-include=/usr/include/mozjs --enable-init | |
make | |
make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install libmpc-dev | |
sudo apt-get install libmpfr-dev | |
sudo apt-get install libgmp-dev | |
export LDFLAGS='-L/usr/lib/arm-linux-gnueabihf/ -L/usr/lib/gcc/arm-linux-gnueabihf/4.6/' | |
export CFLAGS='-I/usr/include/arm-linux-gnueabihf/ -mfloat-abi=hard '${LDFLAGS} | |
export CXXFLAGS=${CFLAGS} | |
export CPPFLAGS=${CFLAGS} | |
sudo ln -s /usr/lib/arm-linux-gnueabihf/crti.o /usr/lib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt-get upgrade | |
# replace wheezy with jessie | |
sudo nano /etc/apt/sources.list | |
# update from the jessie sources | |
sudo apt-get update | |
# install gcc 4.9 and soft link the binaries into /usr/local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# the script below is under development, use it and weep because it will probably fail | |
GECKOSHARPVERSION="2.0-0.12" | |
# Download missing packages | |
sudo apt-get update | |
sudo apt-get install libgtk2.0-0 libgtk2.0-dev | |
sudo apt-get install libglade2-dev | |
sudo apt-get install libcanberra-gtk-module | |
sudo apt-get install dos2unix |
OlderNewer