Last active
December 30, 2015 21:57
-
-
Save eljam/9911024 to your computer and use it in GitHub Desktop.
Install German script
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
#!/usr/bin/env bash | |
echo -e "\033[33m\n✔\033[33m Installing German package...\033[0m\n" | |
brew install gearman #--with-mysql or --with-postgresql for queue storage | |
echo -e "\033[33m\n✔\033[33m Installing German PHP extension...\033[0m\n" | |
brew install php54-gearman #change to your php version |
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
#!/usr/bin/env bash | |
echo -e "\033[33m\n✔\033[33m Installing dev Packages...\033[0m\n" | |
sudo apt-get update | |
sudo apt-get -y install libboost-all-dev libgearman-dev gperf libevent-dev uuid-dev build-essential make curl | |
echo -e "\033[33m\n✔\033[33m Installing postgresql and mysql dev package...\033[0m\n" | |
sudo apt-get -y install libpq-dev libmysqlclient-dev | |
echo -e "\033[33m\n✔\033[33m Downloading Gearman source package...\033[0m\n" | |
sudo wget https://launchpad.net/gearmand/1.2/1.1.12/+download/gearmand-1.1.12.tar.gz | |
echo -e "\033[33m\n✔\033[33m Extracting Gearman source package...\033[0m\n" | |
sudo tar zxf gearmand-1.1.12.tar.gz | |
echo -e "\033[33m\n✔\033[33m Configuring and install Gearman...\033[0m\n" | |
cd gearmand-1.1.12/ | |
sudo ./configure --prefix=/usr/local | |
sudo make | |
sudo make install | |
echo -e "\033[33m\n✔\033[33m Booting Gearman Server...\033[0m\n" | |
sudo gearmand --verbose DEBUG -l /var/log/gearmand.log --http-port 9090 -p 4730 > /dev/null & | |
echo -e "\033[33m\n✔\033[33m Installing Gearman pecl package...\033[0m\n" | |
sudo apt-get -y install php5-dev php-pear | |
sudo pecl install gearman |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment