wheezy


Installing AWS Cloudformation Scripts on Debian Wheezy

First install needed packages: apt-get install python-pip python-yaml unattended-upgrades These packages are needed to build the AWS package: pip install pystache pip install argparse pip install python-daemon Now get the latest scripts from here: wget https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz And install it: tar -xvpf aws-cfn-bootstrap-latest.tar.gz cd aws-cfn-bootstrap-1.4/ python setup.py build python setup.py install When the installation has finished successfully […]


Install PHP 5.6 on Debian Wheezy

To install PHP 5.6 on Wheezy, you can add this repo: echo "deb http://packages.dotdeb.org wheezy-php56 all" >> /etc/apt/sources.list.d/dotdeb.list echo "deb-src http://packages.dotdeb.org wheezy-php56 all" >> /etc/apt/sources.list.d/dotdeb.list Add the key: wget http://www.dotdeb.org/dotdeb.gpg -O- |apt-key add – And install PHP: apt-get update apt-get install php5-cli php5-fpm ….. (or whatever package you might need)  


Installing SOLR 4.9 with Tomcat 7 on Debian Wheezy

First of all, let's install Java: apt-get install openjdk-7-jre-headless   Installing Tomcat: apt-get install tomcat7 tomcat7-admin You should now be able to open http://<your-ip>:8080/ in a web browser.   Configuring Tomcat manager auth: The tomcat7-admin package comes with two web apps: Web Application Manager and Virtual Host Manager. For security reasons none of them are […]


Installing grive on Debian for Google Drive Sync

Prerequesites: apt-get install cmake gcc make build-essential libjson0-dev libcurl4-openssl-dev binutils binutils-dev libboost-dev libboost-filesystem-dev libboost-program-options-dev libboost-test-dev libboost-test libqt4-core libqt4-dev libqt4-dev-bin libqt4-gui qt4-dev-tools libgcrypt11 libgcrypt11-dev libyajl-dev yajl-tools libjson-c-dev libjson-c2 libjson0-dev git   Installation: git clone git://github.com/Grive/grive.git cd gdrive mkdir build cd build cmake ../ make mkdir grive/bgrive/doc touch grive/bgrive/doc/grive.1 make install The file /root/grive/bgrive/doc/grive.1 was missing in my […]


Install PHP 5.5 on Debian Wheezy

To install PHP 5.5 on Wheezy, you can add this repo: echo "deb http://packages.dotdeb.org wheezy-php55 all" >> /etc/apt/sources.list.d/dotdeb.list echo "deb-src http://packages.dotdeb.org wheezy-php55 all" >> /etc/apt/sources.list.d/dotdeb.list Add the key: wget http://www.dotdeb.org/dotdeb.gpg -O- |apt-key add – And install PHP: apt-get update apt-get install php5-cli php5-fpm ….. (or whatever package you might need)  


Installing Gitlab on Debian

First install these packages to resolve all dependancies: apt-get install -y build-essential zlib1g-dev libyaml-dev libssl-dev libgdbm-dev libreadline-dev libncurses5-dev libffi-dev curl git-core openssh-server redis-server checkinstall libxml2-dev libxslt-dev libcurl4-openssl-dev libicu-dev logrotate python python-docutils Install Ruby 2.0: cd /tmp wget ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.gz tar -xvpf ruby-2.0.0-p247.tar.gz cd ruby-2.0.0-p247 ./configure make make install Install Bundler: gem install bundler Create the git […]


Segmentation Fault using Zend Server with SSL and Curl

Using the apache module mod_ssl and the php extension curl may result in apache not running. Usually there's something like this in the logs: seg fault or similar nasty error detected in the parent process It took me quite a while to figure out how to get this working nevertheless, perhaps I can save someone else's time!! […]


Installing libssl0.9.8 on Debian Wheezy

Sometimes you run into the problem that libraries or packages are linked against libssl0.9.8, but the default version on Wheezy is libssl1.0.0. You can simply install the Squeeze package on Debian Wheezy like this (also having already installed libssl1.0.0): wget http://ftp.us.debian.org/debian/pool/main/o/openssl/libssl0.9.8_0.9.8o-4squeeze14_amd64.deb dpkg -i libssl0.9.8_0.9.8o-4squeeze14_amd64.deb


Installing apt-cacher-ng proxy to accelerate installations and save bandwidth

The Installation is quite simple. On a Debian or Ubuntu just type: apt-get install apt-cacher-ng This will install the package and already start the service. Then you will have to point you clients to use your proxy when installing new packages. Therefore just create /etc/apt/apt.conf.d/01proxy with the following content: Acquire::http { Proxy "http://10.0.1.100:3142"; }; whereas […]